Fix ldbl-128 expm1l (sNaN) (bug 20232).
[glibc.git] / ChangeLog
blob2d88f74d6b709cf13f701931802edba4fa4815ae
1 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
3         [BZ #20232]
4         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
5         itself.
7 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
9         * sysdeps/x86_64/start.S (_start): Always indirect branch to
10         __libc_start_main via GOT.
12 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
14         * sysdeps/x86_64/memcopy.h: New file.
15         * sysdeps/x86_64/wordcopy.c: Likewise.
17 2016-06-09  Florian Weimer  <fweimer@redhat.com>
19         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
20         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
21         <cstdlib>.
22         (optimization_barrier): New.
23         (do_test): Use it.  Call quick_exit in the global namespace.
24         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
25         instead of <cstdlib>, <thread>.
26         (optimization_barrier): New.
27         (non_main_thread): Adjust declaration.  Call optimization_barrier.
28         Call quick_exit in the global namespace.
29         (do_test): Call optimization_barrier.  Use pthread_create,
30         pthread_join instead of std::thread.
32 2016-06-09  Andreas Schwab  <schwab@suse.de>
34         [BZ #19755]
35         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
36         new entries in auto-propagate mode.
37         * nscd/grpcache.c (cache_addgr): Likewise.
39 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@gmail.com>
41         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
42         New functions.
43         (add_temp_file): Use them.
45 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
47         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
49 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
51         [BZ #20229]
52         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
53         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
54         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
56         [BZ #20228]
57         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
58         itself.
59         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
60         * math/libm-test.inc (log10_test_data): Add sNaN tests.
62         [BZ #20227]
63         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
64         itself.
65         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
66         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
67         * math/libm-test.inc (log_test_data): Add sNaN tests.
69         [BZ #20226]
70         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
71         itself.
72         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
73         * math/libm-test.inc (exp_test_data): Add sNaN tests.
74         (exp10_test_data): Likewise.
75         (expm1_test_data): Likewise.
77         [BZ #20225]
78         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
79         itself.
80         * math/s_ldexpf.c (__ldexpf): Likewise.
81         * math/s_ldexpl.c (__ldexpl): Likewise.
82         * math/w_scalbln.c (__w_scalbln): Likewise.
83         * math/w_scalblnf.c (__w_scalblnf): Likewise.
84         * math/w_scalblnl.c (__w_scalblnl): Likewise.
85         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
86         (scalbln_test_data): Likewise.
88         [BZ #20224]
89         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
90         argument to itself.
91         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
93 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
95         [BZ #19776]
96         * sysdeps/x86_64/memcpy.S: Make it dummy.
97         * sysdeps/x86_64/mempcpy.S: Likewise.
98         * sysdeps/x86_64/memmove.S: New file.
99         * sysdeps/x86_64/memmove_chk.S: Likewise.
100         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
101         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
102         * sysdeps/x86_64/memmove.c: Removed.
103         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
104         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
105         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
106         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
107         Likewise.
108         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
109         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
110         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
111         memcpy-sse2-unaligned, memmove-avx-unaligned,
112         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
113         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
114         (__libc_ifunc_impl_list): Replace
115         __memmove_chk_avx512_unaligned_2 with
116         __memmove_chk_avx512_unaligned.  Remove
117         __memmove_chk_avx_unaligned_2.  Replace
118         __memmove_chk_sse2_unaligned_2 with
119         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
120         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
121         with __memmove_avx512_unaligned.  Replace
122         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
123         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
124         with __memcpy_chk_avx512_unaligned.  Remove
125         __memcpy_chk_avx_unaligned_2.  Replace
126         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
127         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
128         Replace __memcpy_avx512_unaligned_2 with
129         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
130         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
131         with __mempcpy_chk_avx512_unaligned.  Remove
132         __mempcpy_chk_avx_unaligned_2.  Replace
133         __mempcpy_chk_sse2_unaligned_2 with
134         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
135         Replace __mempcpy_avx512_unaligned_2 with
136         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
137         Replace __mempcpy_sse2_unaligned_2 with
138         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
139         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
140         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
141         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
142         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
143         (ENTRY): Removed.
144         (END): Likewise.
145         (ENTRY_CHK): Likewise.
146         (libc_hidden_builtin_def): Likewise.
147         Don't include ../memcpy.S.
148         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
149         __memcpy_chk_avx512_unaligned_erms and
150         __memcpy_chk_avx512_unaligned.  Use
151         __memcpy_chk_avx_unaligned_erms and
152         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
153         Default to __memcpy_chk_sse2_unaligned.
154         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
155         Change function suffix from unaligned_2 to unaligned.
156         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
157         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
158         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
159         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
160         (ENTRY): Removed.
161         (END): Likewise.
162         (ENTRY_CHK): Likewise.
163         (libc_hidden_builtin_def): Likewise.
164         Don't include ../mempcpy.S.
165         (mempcpy): New.  Add a weak alias.
166         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
167         __mempcpy_chk_avx512_unaligned_erms and
168         __mempcpy_chk_avx512_unaligned.  Use
169         __mempcpy_chk_avx_unaligned_erms and
170         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
171         Default to __mempcpy_chk_sse2_unaligned.
173 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
175         [BZ #19881]
176         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
177         into ...
178         * sysdeps/x86_64/memset.S: This.
179         (__bzero): Removed.
180         (__memset_tail): Likewise.
181         (__memset_chk): Likewise.
182         (memset): Likewise.
183         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
184         defined.
185         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
186         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
187         (__memset_zero_constant_len_parameter): Check SHARED instead of
188         PIC.
189         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
190         memset-avx2 and memset-sse2-unaligned-erms.
191         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
192         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
193         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
194         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
195         (__bzero): Enabled.
196         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
197         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
198         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
199         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
200         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
201         (memset): Removed.
202         (__memset_chk): Likewise.
203         (MEMSET_SYMBOL): New.
204         (libc_hidden_builtin_def): Replace __memset_sse2 with
205         __memset_sse2_unaligned.
206         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
207         __memset_chk_sse2 and __memset_chk_avx2 with
208         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
209         Use __memset_chk_sse2_unaligned_erms or
210         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
211         __memset_chk_avx512_unaligned_erms and
212         __memset_chk_avx512_unaligned.
214 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
216         * math/gen-auto-libm-test.c (fp_format_desc): remove
217         suffix member.
218         (output_generic_value): Remove usage of suffix member,
219         and the resulting unuse of the fp_format argument.
220         (output_for_one_input_case): Remove unused fp_format
221         parameter.
223         * math/auto-libm-test-out: Regenerate.
225         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
226         usage with TEST_COND_ibm128.
227         (TEST_COND_flt_32): Remove.
228         (TEST_COND_dbl_64): Remove.
229         (TEST_COND_ldbl_96_intel): Remove.
230         (TEST_COND_ldbl_96_m68k): Remove.
231         (TEST_COND_ldbl_128): Remove.
233 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
235         * auto-libm-test-in:
236         Replace flt-32 usage with binary32.
237         Replace dbl-64 usage with binary64.
238         Replace ldbl-intel-96 usage with intel96.
239         Replace ldbl-m68k-96 usage with m68k96.
240         Replace ldbl-128ibm usage with ibm128.
241         Replace ldbl-128 usage with binary128.
243         * auto-libm-test-out: Regenerate.
245 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
247         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
248         (parse_ulps): Dynamically generate type name matching
249         string from all_floats.
250         (get_ulps): Generate the ulps as an array instead.
251         (output_ulps): Dynamically compose the type based
252         on the number of supported formats, and print
253         the indices as type specific helper macros.
255         * math/libm-test.inc: Remove comment about CHOOSE.
256         (ulp_data): Generate the type in libm-test-ulps.h.
257         (ULP_IDX): New macro.
258         (find_ulps): Update usage of max_ulp.
260         * math/test-double-vlen2.h (CHOOSE): Remove.
261         * math/test-double-vlen4.h (CHOOSE): Likewise.
262         * math/test-double-vlen8.h (CHOOSE): Likewise.
263         * math/test-float.c (CHOOSE): Likewise.
264         * math/test-float-finite.c (CHOOSE): Likewise.
265         * math/test-double.c (CHOOSE): Likewise.
266         * math/test-double-finite.c (CHOOSE): Likewise.
267         * math/test-idouble.c (CHOOSE): Likewise.
268         * math/test-ifloat.c (CHOOSE): Likewise.
269         * math/test-ildoubl.c (CHOOSE): Likewise.
270         * math/test-ldouble-finite.c (CHOOSE): Likewise.
271         * math/test-ldouble.c (CHOOSE): Likewise.
273         * math/test-float.h (TEST_FLOAT): Remove.
274         * math/test-double.h (TEST_DOUBLE): Likewise.
275         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
277 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
279         * math/gen-libm-test.pl: (apply_lit): New subroutine.
280         (parse_args): Strip C suffix from floating point literals
281         typed with 'f' and wrap them with LIT().
283         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
284         (test_ff_f_data_nexttoward): Rename to
285         (test_fj_f_data): New struct.
286         (nexttoward_test_data): Relabel tests as
287         TEST_fj_f instead of TEST_ff_f.
289 2016-06-08  Florian Weimer  <fweimer@redhat.com>
291         Emacs bug 23726.
292         * malloc/malloc.c (dumped_main_arena_start): Update comment.
293         (__libc_realloc): Correct size computation for dumped fake mmapped
294         chunks.
296 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
298         [BZ #20219]
299         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
300         to itself.
301         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
303         [BZ #20218]
304         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
305         to itself.
306         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
308 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
310         [BZ #20195]
311         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
312         check to ...
313         (init_cpu_features): Here.
315 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
317         [BZ #20214]
318         * sysdeps/unix/sysv/linux/bits/in.h
319         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
320          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
321         Define to 1.
322         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
323          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
324         Define to 0.
325         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
326         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
328 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
330         [BZ #20198]
331         * stdlib/Makefile (tests): Add tst-quick_exit, and
332         tst-thread-quick_exit.
333         [ifeq ($(have-cxx-thread_local),yes)]
334         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
335         (CFLAGS-tst-thread-quick_exit.o): Likewise.
336         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
337         (LDLIBS-tst-thread-quick_exit): Likewise.
338         [ifneq ($(have-cxx-thread_local),yes)]
339         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
340         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
341         If run_dtors is true call __call_tls_dtors.
342         (exit): Call __run_exit_handlers with run_dtors set to true.
343         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
344         definition.
345         * stdlib/quick_exit.c (quick_exit): Remove function.
346         (__new_quick_exit): New function.
347         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
348         function.
349         * stdlib/tst-quick_exit.cc: New file.
350         * stdlib/tst-thread-quick_exit.cc: New file.
351         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
352         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
353         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
354         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
355         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
356         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
357         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
358         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
359         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
360         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
361         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
362         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
363         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
364         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
365         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
366         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
371         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
372         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
373         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
374         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
375         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
376         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
377         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
378         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
379         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
380         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
382 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
384         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
385         a typo in comments.
387 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
389         [BZ #20213]
390         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
391         argument to itself.
392         * math/libm-test.inc (asin_test_data): Add sNaN tests.
394 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
396         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
397         required flags.
398         (CFLAGS-pwritev64.c): Likewise.
399         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
400         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
401         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
402         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
403         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
404         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
405         syscall from auto-generation.
406         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
407         [WORDSIZE == 64] (pwritev64): Remove macro.
408         [!PWRITEV] (PWRITEV): Likewise.
409         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
410         [!PWRITEV] (PWRITE): Likewise.
411         [!PWRITEV] (OFF_T): Likewise.
412         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
413         (LO_HI_LONG): Remove macro.
414         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
415         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
416         (PWRITEV): Remove macro.
417         (PWRITEV_REPLACEMENTE): Likewise.
418         (PWRITE): Likewise.
419         (OFF_T): Likewise.
420         (pwritev64): New function.
421         * nptl/tst-cancel4.c (tf_writev): Add test.
423         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
424         required flags.
425         (CFLAGS-preadv64.c): Likewise.
426         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
427         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
428         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
429         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
430         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
431         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
432         syscall from auto-generation.
433         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
434         [WORDSIZE == 64] (preadv64): Remove macro.
435         [!PREADV] (PREADV): Likewise.
436         [!PREADV] (PREADV_REPLACEMENT): Likewise.
437         [!PREADV] (PREAD): Likewise.
438         [!PREADV] (OFF_T): Likewise.
439         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
440         (LO_HI_LONG): Remove macro.
441         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
442         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
443         (PREADV): Remove macro.
444         (PREADV_REPLACEMENTE): Likewise.
445         (PREAD): Likewise.
446         (OFF_T): Likewise.
447         (preadv64): New function.
448         * nptl/tst-cancel4.c (tf_preadv): Add test.
450 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
452         [BZ #20212]
453         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
454         argument to itself.
455         * math/libm-test.inc (acos_test_data): Add sNaN tests.
457 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
459         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
460         New symbol defined as libc_hidden_def.
461         (strcasestr): Became a weak alias to __strcasestr.
462         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
463         according to multi-arch support.  Move __stpncpy hidden
464         definition from here to...
465         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
466         symbol stpncpy.
467         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
468         libc_hidden_builtin_def.
469         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
470         memset symbol to use when multi-arch support is available.
472 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
474         * dlfcn/tst-rec-dlopen.c: Include string.h.
476 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
478         * manual/install.texi: Remove mention of --without-tls
479         * INSTALL: Regenerate.
481 2016-06-05  Florian Weimer  <fweimer@redhat.com>
483         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
484         Remove.
485         (call_function, interposed_malloc_called): New variables.
486         (malloc): New function.
487         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
488         and clear call_function as needed.
490 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
492         * include/wchar.h (__wmemset): Use __typeof.
494 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
496         * include/wchar.h (__wmemset): Declare function without typeof.
498 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
500         [BZ #20205]
501         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
502         exponent when incrementing negative subnormal with low mantissa
503         word zero.
504         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
505         Add another test.
507 2016-06-03  Florian Weimer  <fweimer@redhat.com>
509         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
510         __wmemset instead of wmemset.
512 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
514         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
515         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
516         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
517         __USE_KERNEL_IPV6_DEFS to 0.
518         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
519         Update comment.
521 2016-06-01  Florian Weimer  <fweimer@redhat.com>
523         [BZ #19861]
524         Do not use IFUNC resolver with potentially unrelocated symbol.
525         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
526         (DEFINE_FORK): Remove macro and inline definition.
527         (fork_alias): Renamed from fork_ifunc.
528         (__fork_alias): Renamed from __fork_ifunc.
530 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
532         [BZ 19653]
533         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
534         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
536 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
538         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
539         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
540         i386-linux-gnu).
541         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
542         Set to no.
543         * sysdeps/mach/hurd/configure: Refresh.
545 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
547         [BZ #20178]
548         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
549         on failure instead of exit.
551 2016-05-30  Roland McGrath  <roland@hack.frob.com>
553         [BZ #3629]
554         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
555         of POSIX.1-2008.
557 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
559         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
560           Use PLT entry for calling _hurd_self_sigstate.
562 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
564         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
565         available logical processors with SMT level type sharing L2
566         cache for Intel processors.
568 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
570         [BZ #20160]
571         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
572         argument to itself before returning the result.
573         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
574         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
575         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
576         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
577         Likewise.
578         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
579         Likewise.
580         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
581         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
582         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
583         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
584         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
585         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
587         [BZ #20160]
588         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
589         argument to itself before returning the result.
590         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
591         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
592         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
593         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
594         Likewise.
595         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
596         Likewise.
597         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
598         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
599         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
600         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
601         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
602         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
604 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
606         * libm-test.inc: Replace usage of M_El with
607         (lit_e): New macro.
609 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
611         * libm-test.inc: Replace usage of M_PI_4l with
612         (lit_pi_4_d): New macro.
614 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
616         * libm-test.inc: Replace usage of M_PIl with
617         (lit_pi): New macro.
619 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
621         * libm-test.inc: Replace usage of M_PI2l with
622         (lit_pi_2_d): New macro.
624         * math/test-double.h (LITM): New macro.
625         * math/test-float.h (LITM): Likewise.
626         * math/test-ldouble.h (LITM): Likewise.
628 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
630         * libm-test.inc (M_PI_34l): Rename to
631         (lit_pi_3_m_4_d): New Macro.
632         (M_PI_34_LOG10El): Rename to
633         (lit_pi_3_m_4_ln10_m_d): New Macro.
634         (M_PI2_LOG10El): Rename to
635         (lit_pi_2_ln10_m_d):  New Macro.
636         (M_PI4_LOG10El): Rename to
637         (lit_pi_4_ln10_m_d):  New Macro.
638         (M_PI_LOG10El): Rename to
639         (lit_pi_ln10_d):  New Macro.
641 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
643         [BZ #20157]
644         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
645         determine whether to negate low half if [_ARCH_PPCGR], and integer
646         comparison otherwise.
647         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
648         determine whether to negate low half.
650         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
651         (NO_TEST_INLINE_DOUBLE): Likewise.
652         (TEST_COND_x86_64): Likewise.
653         (TEST_COND_x86): Likewise.
654         (M_PI_6l): Likewise.
656 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
658         * math/libm-test.inc:
659         (TEST_FLOAT): Change usage to TEST_COND_binary32.
660         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
661         (TEST_LDOUBLE): Update usage to evaluate as true if
662         the guarded tests match the property being tested.
663         (LDBL_MAX_EXP): Change to MAX_EXP.
664         (LDBL_MIN_EXP): Change to MIN_EXP.
665         (LDBL_MANT_DIG): Change to MANT_DIG, except for
666         nexttoward tests.
668 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
670         * math/libm-test.inc:
671         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
672         (TYPE_MIN): Likewise.
673         (TYPE_TRUE_MIN): Likewise.
674         (TYPE_MAX): Likewise.
675         (MIN_EXP): Likewise.
676         (MAX_EXP): Likewise.
677         (MANT_DIG): Likewise.
679         (FSTR_MAX): New macro.
680         (__CONCATX): Likewise.
681         (QTYPE_STR): Likewise.
682         (TEST_COND_binary32): Likewise.
683         (TEST_COND_binary64): Likewise.
684         (TEST_COND_binary128): Likewise.
685         (TEST_COND_ibm128): Likewise.
686         (TEST_COND_intel96): Likewise.
687         (TEST_COND_m68k96): Likewise.
689         (TEST_COND_flt_32): Redefine as equivalent format test macro.
690         (TEST_COND_dbl_64): Likewise.
691         (TEST_COND_ldbl_96_intel): Likewise.
692         (TEST_COND_ldbl_96_m68k): Likewise.
693         (TEST_COND_ldbl_128): Likewise.
694         (TEST_COND_ldbl_128ibm): Likewise.
696         (plus_zero): Redefine using LIT macro.
697         (minus_zero): Likewise.
698         (plus_infty): Redefine as (INF).
699         (minux_infty): Redefine as (-INF).
700         (max_value): Redefine as TYPE_MAX.
701         (min_value): Redefine as TYPE_MIN.
702         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
704         (print_float): Refactor to use snprintf to convert FLOAT values
705         to string. This brings it closer to dropin replacement of strtof
706         for the TS 18661 defined types.
707         (update_stats): Likewise.
708         (print_complex_function_ulps): Likewise.
709         (print_max_error): Likewise.
710         (print_complex_max_error): Likewise.
711         (check_float_internal): Likewise.
713         * math/test-float.h (PREFIX): New macro.
714         (LIT): Likewise.
715         (TYPE_STR): Likewise.
716         (FTOSTR): Likewise.
718         * math/test-double.h (PREFIX): New macro.
719         (LIT): Likewise.
720         (TYPE_STR): Likewise.
721         (FTOSTR): Likewise.
723         * math/test-ldouble.h (PREFIX): New macro.
724         (LIT): Likewise.
725         (TYPE_STR): Likewise.
726         (FTOSTR): Likewise.
728 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
730         [BZ #20156]
731         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
732         to itself when zero or not finite.
733         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
734         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
735         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
736         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
738 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
740         [BZ #20153]
741         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
742         x * x + x for infinities and NaNs.
744         [BZ #20151]
745         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
746         argument to itself before returning result.
747         (__ieee754_y0l): Likewise.
748         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
749         (__ieee754_y1l).
751         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
752         (atan_test_data): Likewise.
753         (ceil_test_data): Likewise.
754         (cos_test_data): Likewise.
755         (cosh_test_data): Likewise.
756         (erf_test_data): Likewise.
757         (exp2_test_data): Likewise.
758         (fabs_test_data): Likewise.
759         (floor_test_data): Likewise.
760         (ilogb_test_data): Likewise.
761         (j0_test_data): Likewise.
762         (j1_test_data): Likewise.
763         (jn_test_data): Likewise.
764         (lgamma_test_data): Likewise.
765         (lrint_test_data): Likewise.
766         (llrint_test_data): Likewise.
767         (logb_test_data): Likewise.
768         (lround_test_data): Likewise.
769         (llround_test_data): Likewise.
770         (nearbyint_test_data): Likewise.
771         (rint_test_data): Likewise.
772         (round_test_data): Likewise.
773         (sin_test_data): Likewise.
774         (sincos_test_data): Likewise.
775         (sinh_test_data): Likewise.
776         (sqrt_test_data): Likewise.
777         (tan_test_data): Likewise.
778         (tanh_test_data): Likewise.
779         (tgamma_test_data): Likewise.
780         (trunc_test_data): Likewise.
781         (y0_test_data): Likewise.
782         (y1_test_data): Likewise.
783         (yn_test_data): Likewise.
785         * math/libm-test.inc: Update comment about NaN testing.
786         (TEST_SNAN): New macro.
787         (snan_value): Likewise.
788         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
789         (fpclassify_test_data): Add sNaN tests.
790         (isfinite_test_data): Likewise.
791         (isinf_test_data): Likewise.
792         (isnan_test_data): Likewise.
793         (isnormal_test_data): Likewise.
794         (issignaling_test_data): Likewise.
795         (signbit_test_data): Likewise.
796         * math/gen-libm-test.pl (%beautify): Add snan_value.
797         (show_exceptions): Add argument $test_snan.
798         (parse_args): Handle snan_value as non-finite.  Update call to
799         show_exceptions.
800         * math/Makefile (libm-test-no-inline-cflags): Add
801         -fsignaling-nans.
803 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
805         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
806         (CFLAGS-oldsendmsg.c): Add rule.
807         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
808         Correct recvmsg symbol name.
809         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
810         Likewise.
812 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
814         * sysdeps/unix/sysv/linux/Makefile
815         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
816         oldsendmmsg.
817         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
818         sendmmsg.
819         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
820         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
821         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
822         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
824         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
825         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
826         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
827         Likewise.
828         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
829         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
830         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
831         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
832         iovlen and controllen fields to adjust to POSIX specification.
833         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
835         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
836         and change to correct expected type.
837         (msghdr.msg_controllen): Likewise.
838         (cmsghdr.cmsg_len): Likewise.
839         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
840         expected POSIX assumption about the size.
841         (msghdr.msg_controllen): Likewise.
842         (msghdr.__glibc_reserved1): Likewise.
843         (msghdr.__glibc_reserved2): Likewise.
844         (cmsghdr.cmsg_len): Likewise.
845         (cmsghdr.__glibc_reserved1): Likewise.
846         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
847         Add ptw-oldrecvmsg and ptw-oldsendmsg.
848         (CFLAGS-sendmsg.c): Remove rule.
849         (CFLAGS-recvmsg.c): Likewise.
850         (CFLAGS-oldsendmsg.c): Add rule.
851         (CFLAGS-oldrecvmsg.c): Likewise.
852         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
853         recvmsg and sendmsg.
854         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
855         Likewise.
856         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
857         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
858         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
859         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
860         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
861         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
862         Likewise.
863         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
864         Likewise.
865         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
866         Likewise.
867         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
868         Likewise.
869         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
870         Likewise.
871         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
872         Likewise.
873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
874         (GLIBC_2.24): Likewise.
875         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
876         Likewise.
877         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
878         Likewise.
879         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
880         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
881         Likewise.
882         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
883         Likewise.
884         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
885         Likewise.
886         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
887         (GLIBC_2.24): Likewise.
888         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
889         Likewise.
890         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
891         Likewise.
892         * sysdeps/unix/sysv/linux/Makefile
893         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
894         (CFLAGS-sendmsg.c): Add rule.
895         (CFLAGS-recvmsg.c): Likewise.
896         (CFLAGS-oldsendmsg.c): Likewise.
897         (CFLAGS-oldrecvmsg.c): Likewise.
898         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
899         initialization.
900         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
901         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
902         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
903         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
904         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
905         iovlen and controllen fields to adjust to POSIX specification.
906         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
907         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
908         added recvmsg and sendmsg.
909         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
910         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
911         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
912         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
913         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
914         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
915         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
916         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
917         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
918         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
919         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
920         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
922         Likewise.
923         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
925         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
926         Likewise.
927         Likewise.
928         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
929         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
930         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
931         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
932         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
933         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
934         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
935         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
936         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
937         Likewise.
938         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
939         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
941         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
942         from auto-generation.
943         (sendmsg): Likewise.
944         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
945         (sendmsg): Likewise.
946         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
947         (sendmsg): Likewise.
948         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
949         (sendmsg): Likewise.
950         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
951         (sendmsg): Likewise.
952         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
953         (sendmsg): Likewise.
954         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
955         Likewise.
956         (sendmsg): Likewise.
957         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
958         (sendmsg): Likewise.
959         * sysdeps/unix/sysv/linux/i386/kernel-features.h
960         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
961         Remove.
962         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
963         Likewise.
964         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
965         Undefine.
966         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
967         Likewise.
968         * sysdeps/unix/sysv/linux/kernel-features.h
969         (__ASSUME_SENDMSG_SYSCALL): Define.
970         (__ASSUME_RECVMSG_SYSCALL): Likewise.
971         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
972         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
973         Remove.
974         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
975         Likewise.
976         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
977         Undefine.
978         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
979         Likewise.
980         * sysdeps/unix/sysv/linux/s390/kernel-features.h
981         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
982         Remove.
983         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
984         Likewise.
985         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
986         Undefine.
987         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
988         Likewise.
989         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
990         (__ASSUME_SENDMSG_SYSCALL): Undefine.
991         (__ASSUME_RECVMSG_SYSCALL): Likewise.
992         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
993         (__ASSUME_SENDMSG_SYSCALL): Likewise.
994         (__ASSUME_RECVMSG_SYSCALL): Likewise.
995         * sysdeps/unix/sysv/linux/sh/kernel-features.h
996         (__ASSUME_SENDMSG_SYSCALL): Likewise.
997         (__ASSUME_RECVMSG_SYSCALL): Likewise.
999 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1001         * stdlib/gen-tst-strtod-round.c: Add backslash to
1002         compile command in comment.
1003         (printfp): Remove the literal suffix, and define an infinite
1004         value as INF to avoid expansion clash with INFINITY.
1005         (round_str): Remove the literal suffix.
1006         (round_for_all): Likewise, remove the now duplicate ldbl-64
1007         entry, and remove some magic constants.
1009         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
1010         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
1011         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
1012         (_CONCAT): New macro.
1013         (CONCAT): Likewise.
1014         (CHOOSE_ld): Likewise.
1015         (CHOOSE_f): Likewise.
1016         (CHOOSE_d): Likewise.
1017         (FTYPE_MEMBER): Likewise.
1018         (BOOL_MEMBER): Likewise.
1019         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
1020         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
1021         (_XNTRY): Likewise.
1022         (XNTRY): Likewise.
1023         (_ENTRY): Likewise.
1024         (ENTRY): Likewise.
1025         (test_exactness): Generate members via macro.
1026         (test_results): Likewise.
1027         (test): Update members.
1028         (TEST): Redefine using new macros.
1029         (INF): New macro.
1030         (fetestmodes): New structure.
1031         (do_test): Refactor to be type generic.
1032         (test_in_one_mode): Refactor duplicate code into
1033         (GEN_ONE_TEST): New macro.
1035         * stdlib/tst-strtod-round-data.h: Regenerate.
1037         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
1038         Extend to pass additional arbitrary parameters to
1039         generators.
1041 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
1043         [BZ #15479]
1044         * sysdeps/powerpc/powerpc64/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/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
1049         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
1050         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
1051         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
1052         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
1054         [BZ #15479]
1055         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
1056         floating-point state after first floating-point operation on
1057         input.  Restore full floating-point state instead of just rounding
1058         mode.
1059         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
1060         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
1061         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
1062         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
1063         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
1065 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1067         [BZ #19727]
1068         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
1069         valid high surrogate.
1070         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
1071         of an utf16 surrogate.
1072         * iconv/gconv_simple.c (BODY): Likewise.
1073         * iconvdata/bug-iconv12.c: New file.
1074         * iconvdata/Makefile (tests): Add bug-iconv12.
1076 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1078         [BZ #19726]
1079         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
1080         outptrp in case of an illegal input.
1081         * iconv/tst-iconv6.c: New file.
1082         * iconv/Makefile (tests): Add tst-iconv6.
1084 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1086         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
1087         an error in case of a value in range of an utf16 low surrogate.
1089 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1091         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
1092         an error in case of a value in range of an utf16 low surrogate.
1094 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1096         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
1097         Move to ...
1098         * sysdeps/s390/Makefile: ... here.
1099         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
1100         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
1101         (BRANCH_ON_COUNT): New define.
1102         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
1103         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
1104         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
1105         run on s390-32, too.
1106         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
1107         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
1108         run on s390-32, too.
1109         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
1110         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
1111         run on s390-32, too.
1113 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1115         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
1116         etf3eh or new vector loop-variant.
1118 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1120         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
1121         etf3eh or new vector loop-variant.
1123 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1125         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
1126         or new vector loop-variant.
1128 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1130         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
1131         Rename to TR_LOOP and usage of tr instead of troo instruction.
1133 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1135         * sysdeps/s390/multiarch/gconv_simple.c: New File.
1136         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
1138 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1140         * sysdeps/s390/multiarch/8bit-generic.c: New File.
1141         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
1142         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
1143         New override define.
1144         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
1146 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1148         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
1149         * sysdeps/s390/configure.ac: Add test for S390 vector register
1150         support in gcc.
1151         * sysdeps/s390/configure: Regenerated.
1153 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1155         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
1156         Install file from $(objpfx)gconv-modules.
1157         ($(objpfx)gconv-modules): Concatenate architecture specific file
1158         in variable sysdeps-gconv-modules and gconv-modules in src dir.
1159         * sysdeps/s390/gconv-modules: New file.
1160         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
1161         Deleted.
1162         ($(objpfx)gconv-modules-s390): Deleted.
1163         (sysdeps-gconv-modules): New variable.
1165 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
1167         [BZ #15479]
1168         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
1169         of immediate operand to rounding instruction.
1170         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
1171         Likewise.
1172         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
1173         Likewise.
1174         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
1175         Likewise.
1177 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1179         * math/libm-test.inc (MIN_EXP): Directly define as
1180         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
1182 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1184         * math/libm-test.inc (MANT_DIG): Directly define as
1185         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
1187 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1189         * stdlib/gen-tst-strtod-round.c (main):
1190           Change usage to more closely match the generated
1191           output.  Add usage and compilation instructions.
1192           (string_to_fp): Add and use FILE* parameter as
1193           output target.
1194           (print_fp): Likewise.
1195           (round_str): Likewise.
1196           (round_for_all): Likewise.
1197         * stdlib/tst-strtod-round.c (tests): Move into
1198         * stdlib/tst-strtod-round-data.h: New file.
1200 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
1202         [BZ #15479]
1203         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
1204         (__round): Do not force "inexact" exception.
1205         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
1206         variable.
1207         (__round): Do not force "inexact" exception.
1208         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
1209         (__roundf): Do not force "inexact" exception.
1210         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
1211         (__roundl): Do not force "inexact" exception.
1212         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
1213         (__roundl): Do not force "inexact" exception.
1214         * math/libm-test.inc (round_test_data): Do not allow spurious
1215         "inexact" exceptions.
1217         [BZ #15479]
1218         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
1219         exception in comment.
1220         (huge): Remove variable.
1221         (__floor): Do not force "inexact" exception.
1222         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
1223         "inexact" exception in comment.
1224         (huge): Remove variable.
1225         (__floor): Do not force "inexact" exception.
1226         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
1227         exception in comment.
1228         (huge): Remove variable.
1229         (__floorf): Do not force "inexact" exception.
1230         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
1231         exception in comment.
1232         (huge): Remove variable.
1233         (__floorl): Do not force "inexact" exception.
1235         [BZ #15479]
1236         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
1237         exception in comment.
1238         (huge): Remove variable.
1239         (__ceil): Do not force "inexact" exception.
1240         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
1241         "inexact" exception in comment.
1242         (huge): Remove variable.
1243         (__ceil): Do not force "inexact" exception.
1244         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
1245         (__ceilf): Do not force "inexact" exception.
1246         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
1247         exception in comment.
1248         (huge): Remove variable.
1249         (__ceill): Do not force "inexact" exception.
1251 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
1253         * config.h.in (BIND_NOW): New.
1254         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
1255         * configure: Regenerated.
1256         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
1257         indirect branch via the GOT slot.
1259 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
1261         [BZ #19765]
1262         * sysdeps/s390/mempcpy.S: New File.
1263         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
1264         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
1265         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1266         Add mempcpy variants.
1267         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
1268         (memcpy): Adjust to be usable from mempcpy entry point.
1269         (__memcpy_mvcle): Likewise.
1270         * sysdeps/s390/s390-64/memcpy.S: Likewise.
1271         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
1272         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
1273         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
1274         (__memcpy_z10): Likewise.
1275         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
1277 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
1279         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
1280         Remove __GI_ symbol.
1281         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
1282         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
1283         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
1284         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
1285         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
1286         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
1288 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
1290         * sysdeps/s390/s390-64/memcpy.S (memcpy):
1291         Use cghi instead of chi to compare 64bit value.
1293 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
1295         * sysdeps/s390/s390-32/memcpy.S (memcpy):
1296         Jump to 1MB check before executing mvc-loop.
1298 2016-05-24  Florian Weimer  <fweimer@redhat.com>
1300         [BZ #6527]
1301         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
1302         unconditionally.
1303         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
1305 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1307         * stdlib/tst-strtod6.c (do_test): Use new type generic
1308         invocation of the test function.
1309         (test): Refactor into ...
1310         (TEST_STRTOD): New macro base function.
1312 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1314         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
1315         (TEST_STRTOD): New macro.
1316         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
1318 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1320         * stdlib/tst-strtod6.c (do_test): Use new type generic
1321         invocation of the test function.
1322         (test): Refactor into ...
1323         (TEST_STRTOD): New macro base function.
1325 2016-05-23  Florian Weimer  <fweimer@redhat.com>
1327         CVE-2016-4429
1328         [BZ #20112]
1329         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
1330         payload.
1332 2016-05-23  Florian Weimer  <fweimer@redhat.com>
1334         [BZ #20111]
1335         * bits/sockaddr.h (_SS_SIZE): Define.
1336         * bits/socket.h (_SS_SIZE): Remove.
1337         (_SS_PADSIZE): Adjust to account for all padding.
1338         (struct sockaddr_storage): Update comment.  Avoid implicit
1339         padding.
1340         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
1341         (_SS_PADSIZE): Adjust to account for all padding.
1342         (struct sockaddr_storage): Update comment.  Avoid implicit
1343         padding.
1344         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
1345         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
1346         (_SS_PADSIZE): Adjust to account for all padding.
1347         (struct sockaddr_storage): Update comment.  Avoid implicit
1348         padding.
1349         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
1350         __SS_SIZE is 126 in this version.
1351         * inet/tst-sockaddr.c: New file.
1352         * inet/Makefile (tests): Add tst-sockaddr.c
1353         (tst-sockaddr.c): Compile with non-strict aliasing.
1355 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
1357         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
1358         [XPG3 || XPG4].
1359         (NL_ARGMAX): Also expect for [XPG3].
1360         (NL_LANGMAX): Likewise.
1361         (NL_MSGMAX): Likewise.
1362         (NL_NMAX): Likewise.
1363         (NL_SETMAX): Likewise.
1364         (NL_TEXTMAX): Likewise.
1365         (NZERO): Likewise.
1366         (TMP_MAX): Likewise.
1367         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
1368         variable.
1370         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
1371         (PF_MAX): Update value.
1372         (AF_KCM): New macro.
1373         (SOL_NETBEUI): Likewise.
1374         (SOL_LLC): Likewise.
1375         (SOL_DCCP): Likewise.
1376         (SOL_NETLINK): Likewise.
1377         (SOL_TIPC): Likewise.
1378         (SOL_RXRPC): Likewise.
1379         (SOL_PPPOL2TP): Likewise.
1380         (SOL_BLUETOOTH): Likewise.
1381         (SOL_PNPIPE): Likewise.
1382         (SOL_RDS): Likewise.
1383         (SOL_IUCV): Likewise.
1384         (SOL_CAIF): Likewise.
1385         (SOL_ALG): Likewise.
1386         (SOL_NFC): Likewise.
1387         (SOL_KCM): Likewise.
1388         (MSG_BATCH): New enum value and macro.
1390 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
1392         [BZ #18185]
1393         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
1394         sharing L2 cache to 2 for Knights Landing.
1396 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
1398         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
1399         (FTW_DP): Do not expect for [XPG3 || XPG4].
1400         (FTW_SL): Do not expect for [XPG3].
1401         (FTW_SLN): Likewise.
1402         (FTW_PHYS): Likewise.
1403         (FTW_MOUNT): Likewise.
1404         (FTW_DEPTH): Likewise.
1405         (FTW_CHDIR): Likewise.
1406         (nftw): Likewise.
1407         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
1408         variable.
1410 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
1412         * manual/errno.texi: Fix various typos & grammar errors.
1414 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
1416         * manual/intro.texi: Fix duplicated typo.
1418 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
1420         [BZ #13304]
1421         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
1422         <float.h>, <math_private.h> and <stdlib.h>.
1423         (add_split): New function.
1424         (mul_split): Likewise.
1425         (ext_val): New typedef.
1426         (store_ext_val): New function.
1427         (mul_ext_val): New function.
1428         (compare): New function.
1429         (add_split_ext): New function.
1430         (__fmal): After checking for Inf, NaN and zero, compute result as
1431         an exact sum of scaled double values in round-to-nearest before
1432         adding those up and adjusting for other rounding modes.
1433         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
1434         tests of fma.
1435         * math/auto-libm-test-out: Regenerated.
1437 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
1439         [BZ #20119]
1440         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
1441         processor level type mask for CPUID with EAX == 11.
1443 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
1445         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
1446         logical threads if the HTT bit is 0.
1447         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
1448         (index_cpu_HTT): Likewise.
1449         (reg_HTT): Likewise.
1451 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
1453         [BZ #20115]
1454         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
1455         Remove alignments on jump targets.
1457 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
1459         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
1460         (getpwent): Likewise.
1461         (setpwent): Likewise.
1462         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
1463         variable.
1465         * conform/data/search.h-data (insque): Do not expect for [XPG3].
1466         (remque): Likewise.
1467         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
1468         variable.
1470 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
1472         * math/libm-test.inc: Update comment not to refer to signs of NaNs
1473         not being tested.
1475 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
1477         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
1478         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
1479         call.
1480         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
1481         (__condvar_cleanup1): Likewise.
1483 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
1485         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
1486         New
1487         (__pthread_unwind): Renamed to ...
1488         (PTHREAD_UNWIND): This.
1489         (__pthread_enable_asynccancel): Replace
1490         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
1492 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
1494         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
1495         (CLONE_NEWCGROUP): New macro.
1497         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
1498         (Q_GETNEXTQUOTA): New macro.
1500 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
1502         [BZ #19907]
1503         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
1504         buffer updated by the previous run.
1505         * string/test-memcpy.c (do_one_test): Likewise.
1506         * benchtests/bench-memmove.c (do_one_test): Add a comment.
1507         * string/test-memmove.c (do_one_test): Likewise.
1509 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
1511         [BZ #20094]
1512         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
1513         not [__USE_XOPEN].
1514         (unlockpt): Likewise.
1515         (ptsname): Likewise.
1516         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
1517         variable.
1519         [BZ #20076]
1520         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
1521         instead of [__USE_UNIX98].
1522         (S_ISSOCK): Likewise.
1523         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
1524         variable.
1526         [BZ #20074]
1527         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
1528         [__USE_POSIX].
1529         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
1530         variable.
1532         [BZ #20051]
1533         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
1534         (ttyslot): Do not declare.
1535         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
1536         (ttyslot): New prototype.
1537         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
1538         variable.
1539         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
1541 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
1543         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
1545 2016-05-13  Florian Weimer  <fweimer@redhat.com>
1547         Fix race condition in tst-mallocfork2, use fewer resources.
1548         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
1549         to current process group.
1550         (signal_sender): Yield in the non-sleeping case.
1552 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
1554         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
1555         (ecvt): Likewise.
1556         (fcvt): Likewise.
1557         (gcvt): Likewise.
1558         (getsubopt): Likewise.
1559         (grantpt): Likewise.
1560         (initstate): Likewise.
1561         (l64a): Likewise.
1562         (mktemp): Likewise.
1563         (mkstemp): Likewise.
1564         (ptsname): Likewise.
1565         (random): Likewise.
1566         (realpath): Likewise.
1567         (setstate): Likewise.
1568         (srandom): Likewise.
1569         (ttyslot): Likewise.
1570         (unlockpt): Likewise.
1571         (valloc): Likewise.
1573         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
1574         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
1575         variable.
1577 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
1579         [BZ #20072]
1580         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
1581         init_cpu_features only if SHARED is defined.
1582         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
1584 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
1586         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
1587         non-inclusive caches on Intel processors.
1589 2016-05-13  Florian Weimer  <fweimer@redhat.com>
1591         * malloc/malloc.c (dumped_main_arena_start)
1592         (dumped_main_arena_end): New variables.
1593         (DUMPED_MAIN_ARENA_CHUNK): New macro.
1594         (do_check_chunk): Skip dumped fake mmapped chunks.
1595         (munmap_chunk): Likewise.
1596         (__libc_free): Do not adjust statistics for fake mmapped chunks.
1597         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
1598         mmapped chunks.
1599         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
1600         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
1601         and dumped_main_arena_end to cover the dumped heap.
1603 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
1605         * conform/data/time.h-data (getdate_err): Do not expect for
1606         [XPG3].
1607         (getdate): Likewise.
1608         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
1609         variable.
1611         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
1612         (F_ULOCK): Likewise.
1613         (F_TEST): Likewise.
1614         (F_TLOCK): Likewise.
1615         (useconds_t): Likewise.
1616         (intptr_t): Do not expect for [XPG3] or [XPG4].
1617         (brk): Do not expect for [XPG3]
1618         (fchown): Likewise.
1619         (fchdir): Likewise.
1620         (ftruncate): Likewise.
1621         (getdtablesize): Likewise.
1622         (gethostid): Likewise.
1623         (getpagesize): Likewise.
1624         (getpgid): Likewise.
1625         (getsid): Likewise.
1626         (getwd): Likewise.
1627         (lchown): Likewise.
1628         (lockf): Likewise.
1629         (readlink): Likewise.
1630         (sbrk): Likewise.
1631         (setpgrp): Likewise.
1632         (setregid): Likewise.
1633         (setreuid): Likewise.
1634         (symlink): Likewise.
1635         (sync): Likewise.
1636         (truncate): Likewise.
1637         (ualarm): Likewise.
1638         (usleep): Likewise.
1639         (vfork): Likewise.
1640         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
1641         variable.
1643         [BZ #20054]
1644         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
1645         not [__USE_UNIX98].
1646         * conform/data/unistd.h-data (gethostname): Do not expect for
1647         [XPG3].
1649         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
1650         [!POSIX] (S_IFBLK): Likewise.
1651         [!POSIX] (S_IFCHR): Likewise.
1652         [!POSIX] (S_IFIFO): Likewise.
1653         [!POSIX] (S_IFREG): Likewise.
1654         [!POSIX] (S_IFDIR): Likewise.
1655         [!POSIX] (S_IFLNK): Likewise.
1656         [!POSIX] (S_IFSOCK): Likewise.
1657         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
1658         variable.
1659         (test-xfail-XPG4/fcntl.h/conform): Likewise.
1661 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
1663         * sysdeps/aarch64/memset.S (__memset):
1664         Rewrite of optimized memset.
1666 2016-05-12  Florian Weimer  <fweimer@redhat.com>
1668         [BZ #19703]
1669         Partially async-signal-safe fork for single-threaded processes.
1670         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
1671         variable.  Do not acquire and reset/release malloc and libio locks
1672         in single-threaded processes.
1673         * malloc/tst-mallocfork2.c: New file.
1674         * malloc/Makefile (tests): Add it.
1676 2016-05-12  Florian Weimer  <fweimer@redhat.com>
1678         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
1679         argument.  Use scratch buffer instead of extend_alloca.
1680         (gethosts): Use scratch buffer instead of extend_alloca.
1681         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
1682         extend_alloca.
1683         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
1685 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
1687         [BZ #20055]
1688         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
1689         instead of [__USE_UNIX98].
1690         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
1691         [__USE_UNIX98].
1692         * conform/data/termios.h-data (tcgetsid): Do not expect for
1693         [XPG3].
1694         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
1695         variable.
1696         (test-xfail-XPG4/termios.h/conform): Likewise.
1698 2016-05-11  Florian Weimer  <fweimer@redhat.com>
1700         Do not use mcheck in localedef.
1701         * locale/programs/localedef.c (turn_on_mcheck)
1702         (__malloc_initialize_hook): Remove.
1704 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
1706         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
1707         * sysdeps/s390/s390-64/Makefile: Likewise.
1709 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
1711         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
1712         Remove ifunc-defines.sym.
1713         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
1714         Likewise.
1715         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
1716         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
1717         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
1718         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
1719         rtld-global-offsets.sym.
1720         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
1721         * sysdeps/x86/cpu-features-offsets.sym: This.
1722         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
1723         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
1725 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
1727         [BZ #20073]
1728         * io/sys/stat.h (fchmod): Declare for
1729         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
1730         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
1731         variable.
1733         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
1734         [XPG3] (S_IFSOCK): Likewise.
1735         [XPG3] (S_ISVTX): Likewise.
1736         [XPG3] (S_ISLNK): Likewise.
1737         [XPG3] (S_ISSOCK): Likewise.
1738         [XPG3] (fchmod): Likewise.
1739         [XPG3] (lstat): Likewise.
1740         [XPG3] (mknod): Likewise.
1742         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
1743         [XPG3].  Expect type long and XFAIL for [XPG4].
1744         (st_blocks): Likewise.
1746         [BZ #20044]
1747         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
1748         (pthread_atfork): New prototype.
1749         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
1750         variable.
1752         [BZ #20043]
1753         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
1754         prototype.
1756 2016-05-10  Florian Weimer  <fweimer@redhat.com>
1758         [BZ #20017]
1759         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
1760         gmtime.
1762 2016-05-10  Florian Weimer  <fweimer@redhat.com>
1764         [BZ #19994]
1765         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
1766         flag in _res.options.
1768 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
1770         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
1771         [XPG3 || XPG4].
1772         (blksize_t): Likewise.
1773         (clockid_t): Likewise.
1774         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
1775         variable.
1776         (test-xfail-XPG4/sys/types.h/conform): Likewise.
1778 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
1780         * sysdeps/unix/sysv/linux/s390/init-first.c:
1781         Add VDSO_SYMBOL(getcpu).
1782         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
1783         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
1784         Add VDSO_SYMBOL(getcpu).
1785         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
1786         New define HAVE_GETCPU_VSYSCALL.
1787         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1789 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
1791         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
1792         instead of <sysdeps/x86_64/cacheinfo.c>.
1793         * sysdeps/x86_64/cacheinfo.c: Moved to ...
1794         * sysdeps/x86/cacheinfo.c: Here.
1796 2016-05-04  Florian Weimer  <fweimer@redhat.com>
1798         * malloc/malloc-internal.h: Adjust header file guard.
1800 2016-05-04  Florian Weimer  <fweimer@redhat.com>
1802         [BZ #19787]
1803         * inet/getnameinfo.c (check_sprintf_result): New function.
1804         (CHECKED_SNPRINTF): New macro.
1805         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
1806         to the host buffer.
1807         (gni_host_local): Use checked_copy to copy the host name.
1808         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
1809         (gni_serv_local): Use checked_copy to copy the service name.
1810         (getnameinfo): Remove unnecessary truncation of result buffers.
1812 2016-05-04  Florian Weimer  <fweimer@redhat.com>
1814         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
1815         in case of inet_ntop failure.
1817 2016-05-04  Florian Weimer  <fweimer@redhat.com>
1819         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
1820         avoid long lines.
1821         (gni_host_inet_numeric): Likewise.  Reduce scope of local
1822         variables.
1823         (gni_host_inet, gni_host_local): Add comment.
1824         (gni_host): Add comment.  Use temporary to avoid long lines.
1826 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1828         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
1829         registers specifiers where general purpose registers specifiers should
1830         have been used.
1832 2016-05-04  Florian Weimer  <fweimer@redhat.com>
1834         [BZ #19779]
1835         CVE-2016-1234
1836         Avoid copying names of directory entries.
1837         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
1838         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
1839         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
1840         (struct readdir_result): New type.
1841         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
1842         (GL_READDIR): New macros.
1843         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
1844         (convert_dirent, convert_dirent64): New functions.
1845         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
1846         convert_dirent64.  Adjust references to the readdir result.
1847         * sysdeps/unix/sysv/linux/i386/glob64.c:
1848         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
1849         * posix/bug-glob2.c (LONG_NAME): Define.
1850         (filesystem): Add LONG_NAME.
1851         (my_DIR): Increase the size of room_for_dirent.
1853 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
1855         [BZ #20041]
1856         * misc/sys/select.h (__need_timespec): Only define if
1857         [__USE_XOPEN2K].
1858         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
1859         variable.
1860         (test-xfail-XPG4/utmpx.h/conform): Likewise.
1861         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
1862         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
1864 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1865             Segher Boessenkool  <segher@gcc.gnu.org>
1867         [BZ #20004]
1868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
1869         (__novec_swapcontext): Add missing load.
1871 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
1873         [BZ #20023]
1874         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
1875         <time.h>.
1876         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
1877         variable.
1878         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
1880 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
1883         flags CLONE_VM compare.
1885 2016-05-02  Florian Weimer  <fweimer@redhat.com>
1887         [BZ #20031]
1888         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
1889         completely empty.
1891 2016-05-02  Florian Weimer  <fweimer@redhat.com>
1893         [BZ #19573]
1894         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
1895         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
1896         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
1897         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
1898         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
1899         (hesiod_free_list): Mark as hidden.
1900         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
1901         res_set, res_get.
1902         * hesiod/hesiod.c: Remove unnecessary forward declarations.
1903         (init, __hesiod_res_get, __hesiod_res_set): Remove.
1904         (hesiod_init): Remove obsolete res_ninit call.
1905         (hesiod_end): Do not free resolver state.  Do not invoke callback.
1906         (hesiod_bind): Do not call init.
1907         (get_txt_records): Use res_mkquery, res_send instead of
1908         res_nmkquery, res_nsend.
1909         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
1910         instead of _nss_hesiod_init.
1911         (_nss_hesiod_initgroups_dyn): Likewise.
1912         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
1913         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
1914         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
1916 2016-05-02  Florian Weimer  <fweimer@redhat.com>
1918         * hesiod/hesiod_p.h (DEF_RHS): Remove.
1919         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
1921 2016-05-02  Florian Weimer  <fweimer@redhat.com>
1923         * hesiod/hesiod.h: Remove RCS keyword.
1924         * hesiod/hesiod_p.h: Likewise.
1926         * hesiod/hesiod.c: Likewise.
1928 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
1930         [BZ #12450]
1931         * locale/iso-639.def: Add Samogitian/sgs.
1933 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
1935         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
1937         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
1939 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
1940             Carlos O'Donell  <carlos@redhat.com>
1942         [BZ #19072]
1943         * grp/Makefile (headers): Add grp-merge.h
1944         (routines): Add grp-merge.
1945         * grp/getgrgid_r.c: Include grp-merge.h.
1946         (DEEPCOPY_FN): Define.
1947         (MERGE_FN): Define.
1948         * grp/getgrname_r.c: Include grp-merge.h.
1949         (DEEPCOPY_FN): Define.
1950         (MERGE_FN): Define.
1951         * grp/grp-merge.c: New file.
1952         * grp/grp-merge.h: New file.
1953         * include/grp-merge.h: New file.
1954         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
1955         __copy_grp@GLIBC_PRIVATE.
1956         * manual/nss.texi (Actions in the NSS configuration): Describe
1957         return, continue, and merge.
1958         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
1959         (DEEPCOPY_FN): Define.
1960         (MERGE_FN): Define.
1961         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
1962         (DEEPCOPY_FN): Define.
1963         (MERGE_FN): Define.
1964         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
1965         [!MERGE_FN]: Define __merge_einval.
1966         (CHECK_MERGE): Define.
1967         (REENTRANT_NAME): Process merge if do_merge is true.
1968         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
1969         (__nss_getent_r): Likewise.
1970         * nss/nsswitch.c (nss_parse_service_list): Likewise.
1971         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
1973 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1975         [BZ #20012]
1976         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
1977         length to calculate the buffer to read.
1978         (fmemopen_write): Set the buffer position based on bytes written.
1979         (fmemopen_seek): Return EINVAL for invalid whence modes.
1981         [BZ #19957]
1982         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
1983         tst-getpid2.
1984         (test): Add tst-clone2.
1985         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
1986         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
1987         pid/tid fields for CLONE_VM.
1988         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
1989         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
1990         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
1991         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
1992         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
1993         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
1994         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
1995         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
1996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
1997         Likewise.
1998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
1999         Likewise.
2000         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
2001         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
2002         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
2003         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
2004         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
2005         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
2006         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
2007         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
2009 2016-04-29  Florian Weimer  <fweimer@redhat.com>
2011         [BZ #19642]
2012         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
2013         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
2014         (gni_serv_local, gni_serv): New functions extracted from
2015         getnameinfo.
2016         (getnameinfo): Call gni_host and gni_serv to perform the
2017         processing.  Always free scratch buffer.
2019 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2021         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
2022         remaining bytes in the dest string, with zeros.
2024 2016-04-29  Florian Weimer  <fweimer@redhat.com>
2026         [BZ #20010]
2027         CVE-2016-3706
2028         * sysdeps/posix/getaddrinfo.c
2029         (convert_hostent_to_gaih_addrtuple): New function.
2030         (gethosts): Call convert_hostent_to_gaih_addrtuple.
2031         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
2032         AF_INET data.
2034 2016-04-29  Florian Weimer  <fweimer@redhat.com>
2036         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
2037         callback function gl_readdir.
2038         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
2039         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
2040         (glob_in_dir): Remove len.  Use strdup instead of malloc and
2041         memcpy to copy the name.
2042         * manual/pattern.texi (Calling Glob): Document requirements for
2043         implementations of the gl_readdir callback function.
2044         * manual/examples/mkdirent.c: New example.
2045         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
2046         per the manual guidance.
2047         * posix/tst-gnuglob.c (my_readdir): Likewise.
2049 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
2051         [BZ #20014]
2052         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
2053         not [__USE_POSIX].
2054         (getchar_unlocked): Likewise.
2055         (putc_unlocked): Likewise.
2056         (putchar_unlocked): Likewise.
2057         (flockfile): Likewise.
2058         (ftrylockfile): Likewise.
2059         (funlockfile): Likewise.
2060         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
2061         variable.
2062         (test-xfail-XPG4/stdio.h/conform): Likewise.
2064         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
2065         Expect constant.
2066         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
2067         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
2068         variable.
2069         (test-xfail-XPG4/langinfo.h/conform): Likewise.
2070         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
2072         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
2073         [__USE_LARGEFILE64] (off64_t): Likewise.
2074         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
2075         variable.
2077 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2079         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
2081 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2083         * resolv/inet_addr.c: Reindent preprocessor conditionals.
2084         * resolv/res_init.c: Likewise.
2085         * resolv/res_mkquery.c: Likewise.
2087 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2089         * resolv/res_init.c (isascii): Do not define.  Use definition in
2090         <ctype.h>.
2091         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
2092         (LOG_AUTH): Remove.
2093         (SPRINTF): Remove, adjust caller.
2094         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
2096 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2098         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
2099         SUNSECURITY conditional.
2100         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
2102 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2104         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
2105         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
2106         Remove BSD-related preprocessor conditionals.
2107         * conf/portability.h: Remove.
2109 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2111         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
2112         * resolv/res_data.c: Likewise.
2114 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2116         * resolv/res_comp.c: Remove code conditional on __ultrix__.
2117         * resolv/res_data.c: Remove code conditional on ultrix.
2119 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2121         * resolv/res_init.c (RFC1535): Do not define.  Remove
2122         RFC1535 preprocessor conditionals.
2123         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
2124         because there configuration options which make the resolver
2125         behavior different.
2127 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2129         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
2130         RESOLVSORT preprocessor conditionals.
2131         * resolv/nss_dns/dns-host.c: Likewise.
2132         * resolv/res_init.c: Likewise.
2134 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2136         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
2137         is never defined.
2139 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2141         * inet/inet_lnaof.c: Remove SCSS keyword.
2142         * inet/inet_mkadr.c: Likewise.
2143         * inet/inet_net.c: Likewise.
2144         * inet/inet_netof.c: Likewise.
2145         * inet/rcmd.c: Likewise.
2146         * inet/rexec.c: Likewise.
2147         * inet/ruserpass.c: Likewise.
2149 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2151         * resolv/inet_addr.c: Remove _LIBC conditionals.
2152         * resolv/res_data.c: Likewise.
2153         * resolv/res_init.c: Likewise.
2154         * resolv/res_mkquery.c: Likewise.
2155         * resolv/res_libc.c: Update comment.
2156         * resolv/README: Update.
2158 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2160         * resolv/gethnamaddr.c: Remove SCSS keyword.
2161         * resolv/herror.c: Likewise.
2162         * resolv/inet_addr.c: Likewise.
2163         * resolv/inet_net_ntop.c: Likewise.
2164         * resolv/inet_net_pton.c: Likewise.
2165         * resolv/inet_neta.c: Likewise.
2166         * resolv/inet_ntop.c: Likewise.
2167         * resolv/inet_pton.c: Likewise.
2168         * resolv/ns_date.c: Remove RCS keyword.
2169         * resolv/ns_name.c: Likewise.
2170         * resolv/ns_netint.c: Likewise.
2171         * resolv/ns_parse.c: Likewise.
2172         * resolv/ns_print.c: Likewise.
2173         * resolv/ns_samedomain.c: Likewise.
2174         * resolv/ns_ttl.c: Likewise.
2175         * resolv/nsap_addr.c: Likewise.
2176         * resolv/res_comp.c: Remove SCSS and RCS keyword.
2177         * resolv/res_data.c: Remove RCS keyword.
2178         * resolv/res_debug.c: Remove SCSS and RCS keyword.
2179         * resolv/res_init.c: Likewise.
2180         * resolv/res_mkquery.c: Likewise.
2181         * resolv/res_query.c: Likewise.
2182         * resolv/res_send.c: Likewise.
2184 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
2186         * conform/data/stdio.h-data (fdopen): Expect also for
2187         [XPG3 || XPG4].
2189         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
2190         (fseeko): Likewise.
2191         (ftello): Likewise.
2192         (ftrylockfile): Likewise.
2193         (funlockfile): Likewise.
2194         (getc_unlocked): Likewise.
2195         (getchar_unlocked): Likewise.
2196         (putc_unlocked): Likewise.
2197         (putchar_unlocked): Likewise.
2199 2016-04-27  Florian Weimer  <fweimer@redhat.com>
2201         [BZ #19868]
2202         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
2203         DNS packet syntax checks (which were not needed before).  Skip
2204         over non-PTR records.
2206 2016-04-27  Florian Weimer  <fweimer@redhat.com>
2208         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
2209         definition.  Include <stddef.h> instead.
2211 2016-04-27  Florian Weimer  <fweimer@redhat.com>
2213         [BZ #19831]
2214         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
2215         function.
2216         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
2217         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
2219 2016-04-27  Florian Weimer  <fweimer@redhat.com>
2221         [BZ #19862]
2222         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
2223         (getanswer_r): Do not call syslog.
2224         (gaih_getanswer_slice): Likewise.
2225         * resolv/gethnamaddr.c (AskedForGot): Remove.
2226         (getanswer): Do not call syslog.
2227         (gethostbyaddr): Likewise.
2229 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
2231         * conform/data/signal.h-data (union sigval): Expect also if
2232         [XOPEN2K].
2233         (struct sigevent): Likewise.
2234         (SIGEV_NONE): Likewise.
2235         (SIGEV_SIGNAL): Likewise.
2236         (SIGEV_THREAD): Likewise.
2237         (SIGRTMIN): Likewise.
2238         (SIGRTMAX): Likewise.
2239         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
2240         variable.
2241         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
2243 2016-04-27  Florian Weimer  <fweimer@redhat.com>
2245         [BZ #19830]
2246         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
2247         (gaih_getanswer_slice): Likewise.
2248         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
2249         Also check for availability of RR metadata.
2251 2016-04-27  Florian Weimer  <fweimer@redhat.com>
2253         [BZ #19825]
2254         * resolv/res_send.c (send_vc): Remove early *resplen2
2255         initialization.  Set *resplen2 on socket error.  Call
2256         close_and_return_error for other errors.
2258 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
2260         * sysdeps/unix/sysv/linux/netiucv/iucv.h
2261         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
2262         (SCM_IUCV_TRGCLS): New define.
2264 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2266         [BZ #20005]
2267         * libio/fmemopen.c (fmemopen_write): Update internal position after
2268         write.
2269         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
2270         * stdio-common/tst-fmemopen4.c: New file..
2272 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
2274         [BZ #19996]
2275         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
2276         not [__USE_XOPEN2K].
2277         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
2278         variable.
2280         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
2281         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
2282         variable.
2284         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
2285         [__USE_XOPEN2K8].
2286         [__USE_LARGEFILE64] (off64_t): Likewise.
2287         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
2288         variable.
2290 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
2292         [BZ #19989]
2293         * libio/stdio.h (cuserid): Do not declare if
2294         [__USE_XOPEN2K && !__USE_GNU].
2295         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
2296         variable.
2298 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2300         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
2301         (sysdep_routines): Add P8 and PPC64 strcspn targets.
2302         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2303         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
2304         ifunc'ed strcspn.
2305         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
2306         [EALIGN]: Removed.
2307         [END]: Likewise
2308         [STRSPN]: Define instead of the above to control symbol name.
2309         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
2310         New file.
2311         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
2312         Likewise.
2313         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
2314         Likewise.
2315         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
2316         Likewise.
2317         * sysdeps/powerpc/powerpc64/power8/strspn.S:
2318         [INITIAL_MASK]: New macro.
2319         [STRCSPN]: Likewise.
2320         [UPDATE_MASK]: Likewise.
2321         [USE_AS_STRCSPN]: Lisewise.
2323 2016-04-25  Florian Weimer  <fweimer@redhat.com>
2325         [BZ #19931]
2326         * stdio-common/tst-vfprintf-width-prec.c: New file.
2327         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
2328         (tests-special): Add tst-vfprintf-width-prec-mem.out.
2329         (generated): Add mtrace-related files.
2330         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
2331         (tst-%-mem.out): New pattern rule, replaces
2332         tst-printf-bz18872-mem.out.
2333         * stdio-common/vfprintf.c (vfprintf): When handling a precision
2334         specifier, deallocate any previously allocated work buffer.
2336 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
2338         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
2339         Add nop before __startcontext, add explaining comments.
2341 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
2343         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
2344         any more. Notably since IPV6_PKTINFO has been reintroduced with a
2345         completely different API.
2347         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
2348         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
2349         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
2350         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
2351         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
2352         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
2353         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
2354         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
2355         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
2356         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
2358 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
2360         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
2362 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
2364         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
2365         when it is the default of 0.
2367 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2369         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
2370         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
2371         (sysdep_routines): Add new strcasestr targets.
2372         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2373         (__libc_ifunc_impl_list): Likewise.
2374         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
2375         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
2376         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
2377         * sysdeps/powerpc/powerpc64/power8/Makefile:
2378         New file to add strcasestr-ppc64 to sysdep_routines.
2379         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
2380         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
2382 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
2384         * benchtests/Makefile (wcsmbs-benchset): Include only for
2385         native builds and runs.
2386         (LOCALES): Likewise.
2387         (bench-build): Build timing-type here instead of the bench
2388         target.  Generate locale only for native builds.
2389         * benchtests/README: Add note for cross-building.
2391         * benchtests/Makefile (bench-clean): Clean up extra-objs.
2393         * benchtests/README: Update README to include instructions on
2394         using bench-build.
2396         * Makefile.in (bench-build): New target.
2397         * Rules (PHONY): Add bench-build target.
2398         * benchtests/Makefile (bench): Depend on bench-build.
2399         (bench-build): New target.
2401 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2403         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
2404         profil_reply_port.
2405         (profile_waiter): Do not initialize profil_reply_port.
2406         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
2407         frequency instead of tick length in us.
2409 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
2411         [BZ #18712]
2412         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
2413         (__old_mempcpy_small): Likewise.
2414         (__old_strcpy_small): Likewise.
2415         (__old_stpcpy_small): Likewise.
2416         (__old_strpbrk_c2): Fix compat symbol name.
2417         (__old_strpbrk_c3): Likewise.
2418         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
2419         (__mempcpy_small): Remove.
2420         (__strcpy_small): Remove.
2421         (__stpcpy_small): Remove.
2423 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
2425         [BZ #19400]
2426         * locale/iso-639.def: Add the Talossan/tzl language.
2428 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
2430         [BZ #16983]
2431         * locale/programs/ld-address.c (address_finish): Update postal_fmt
2432         comment.  Add "ln" to strchr check on postal_fmt.
2434 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
2436         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
2437         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
2438         tel_dom_fmt.
2440 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2442         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
2443         (sysdep_routines): Added __strlen_power8.
2444         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
2445         __strlen_power8 entry.
2446         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
2447         Implementation for POWER8.
2448         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
2449         for __strlen_power8.
2450         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
2451         Implementation for POWER8.
2453 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
2455         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
2457 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
2459         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
2460         Goldmont and Airmont processors.
2462 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
2464         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
2465         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
2466         (__STRING2_SMALL_GET32): Remove.
2467         (memset): Remove.
2468         (__memset_1): Remove.
2469         (__memset_gc): Remove.
2470         (__mempcpy): Remove.
2471         (mempcpy): Remove.
2472         (__mempcpy_args): Remove.
2473         (strchr): Remove.
2474         (strcpy): Remove.
2475         (strcpy_args): Remove.
2476         (__stpcpy_args): Remove.
2477         (__strcmp_cc): Remove.
2478         (__strcmp_gc): Remove.
2479         (strstr): Remove.
2481 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
2483         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
2484         * nis/nis_call.c (nis_server_cache_add): Likewise.
2486 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2488         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
2490 2016-04-14  Florian Weimer  <fweimer@redhat.com>
2492         * malloc/arena.c (__malloc_fork_lock_parent)
2493         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
2494         internal_function attribute.
2496 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
2498         * stdio-common/printf_fp.c (__printf_fp_l):
2499         Rename ___printf_fp_l to __printf_fp_l and
2500         remove strong alias. Use libc_hidden_def instead
2501         of ldbl_hidden_def macro.
2503 2016-04-14  Florian Weimer  <fweimer@redhat.com>
2505         Remove malloc hooks from fork handler.  They are no longer needed
2506         because malloc runs right before fork, and no malloc calls from
2507         other fork handlers are not possible anymore.
2508         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
2509         declarations.
2510         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
2511         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
2512         (atfork_recursive_cntr): Remove.
2513         (__malloc_fork_lock_parent): Do not override malloc hooks and
2514         thread_arena.
2515         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
2516         thread_arena.
2517         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
2518         thread_arena instead of save_arena.
2520 2016-04-14  Florian Weimer  <fweimer@redhat.com>
2522         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
2523         (thread_atfork, thread_atfork_static): Remove.
2524         * sysdeps/mach/hurd/malloc-machine.h:
2525         (thread_atfork, thread_atfork_static): Remove.
2527 2016-04-14  Florian Weimer  <fweimer@redhat.com>
2529         [BZ #19431]
2530         Run the malloc fork handler as late as possible to avoid deadlocks.
2531         * malloc/malloc-internal.h: New file.
2532         * malloc/malloc.c: Include it.
2533         * malloc/arena.c (ATFORK_MEM): Remove.
2534         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
2535         Update comment.
2536         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
2537         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
2538         Remove outdated comment.
2539         (ptmalloc_init): Do not call thread_atfork.  Remove
2540         thread_atfork_static.
2541         * malloc/tst-malloc-fork-deadlock.c: New file.
2542         * Makefile (tests): Add tst-malloc-fork-deadlock.
2543         (tst-malloc-fork-deadlock): Link against libpthread.
2544         * manual/memory.texi (Aligned Memory Blocks): Update safety
2545         annotation comments.
2546         * sysdeps/nptl/fork.c (__libc_fork): Call
2547         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
2548         __malloc_fork_unlock_child.
2549         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
2551 2016-04-14  Florian Weimer  <fweimer@redhat.com>
2553         [BZ #19613]
2554         Remove union wait.
2555         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
2556         (w_stopsig, w_stopval): Remove.
2557         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
2558         stat_loc argument.
2559         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
2560         (__WAIT_STATUS_DEFN): Remove.
2561         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
2562         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
2563         (wait, wait3, wait4): Use int * for the stat_loc argument.
2564         * posix/wait.c (__wait): Likewise.
2565         * posix/wait3.c (__wait3): Likewise.
2566         * posix/wait4.c (__wait4): Likewise.
2567         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
2568         (__WAIT_STATUS_DEFN): Remove.
2569         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
2570         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
2571         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
2572         argument.
2573         * sysdeps/posix/wait.c (__libc_wait): Likewise.
2574         * sysdeps/posix/wait3.c (__wait3): Likewise.
2575         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
2576         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
2577         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
2578         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
2579         stat_loc argument.
2580         * manual/process.texi (BSD Wait Functions): Remove union wait.
2582 2016-04-13  Andreas Schwab  <schwab@suse.de>
2584         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
2585         (test-extras): Add tst-tlsalign-vars.
2586         * math/Makefile: Wrap long lines.
2587         (libm-vec-test-wrappers): Define.
2588         (test-extras): Add $(libm-vec-test-wrappers).
2589         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
2590         * nss/Makefile (extra-test-objs): Add nss_test1.os.
2591         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
2592         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
2593         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
2594         (extra-test-objs): Add corresponding objects.
2596 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
2598         [BZ #19928]
2599         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
2600         New.
2601         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
2602         times of shared cache size.
2603         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
2604         (VMOVNT): New.
2605         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
2606         (VMOVNT): Likewise.
2607         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
2608         (VMOVNT): Likewise.
2609         (VMOVU): Changed to movups for smaller code sizes.
2610         (VMOVA): Changed to movaps for smaller code sizes.
2611         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
2612         comments.
2613         (PREFETCH): New.
2614         (PREFETCH_SIZE): Likewise.
2615         (PREFETCHED_LOAD_SIZE): Likewise.
2616         (PREFETCH_ONE_SET): Likewise.
2617         Rewrite to use forward and backward loops, which move 4 vector
2618         registers at a time, to support overlapping addresses and use
2619         non temporal store if size is above the threshold and there is
2620         no overlap between destination and source.
2622 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
2624         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
2625         Include dl-vdso.
2626         * sysdeps/unix/sysv/linux/mips/Versions: Add
2627         __vdso_clock_gettime.
2628         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
2629         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
2630         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
2631         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
2632         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
2633         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
2634         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
2635         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
2636         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
2638 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2640         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
2641         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
2642         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
2643         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
2644         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
2645         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
2647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
2648         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
2649         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
2650         syscalls generation.
2651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2652         [__NR_pwrite64] (__NR_write): Remove define.
2653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2654         [__NR_pwrite64] (__NR_write): Remove define.
2655         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
2656         Remove define.
2657         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
2658         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
2659         Remove define.
2660         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
2661         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
2662         Linux implementation as base.
2663         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
2665         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
2666         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
2667         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
2668         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
2669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
2670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
2671         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
2672         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
2673         syscall generation.
2674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2675         [__NR_pread64] (__NR_pread): Remove define.
2676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
2677         [__NR_pread64] (__NR_pread): Likewise.
2678         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
2679         define.
2680         (__libc_pread): Use SYSCALL_LL macro on offset argument.
2681         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
2682         Remove define.
2683         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
2684         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
2685         Linux implementation as base.
2686         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
2687         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
2688         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
2690         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
2691         definition.
2692         (__ALIGNMENT_COUNT): Likewise.
2693         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
2694         (__ALIGNMENT_COUNT): Likewise.
2695         (SYSCALL_LL): New define.
2696         (SYSCALL_LL64): Likewise.
2697         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
2698         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
2699         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
2700         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
2702         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2703         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
2704         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2705         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
2706         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2707         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
2709 2016-04-11  Florian Weimer  <fweimer@redhat.com>
2711         [BZ #19865]
2712         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
2713         original buffer before retry.
2715 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2717         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
2718         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
2719         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
2720         GLRO(dl_auxv) list.
2721         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
2722         including <ldsodefs.h>.
2723         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
2725 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
2727         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
2728         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
2729         $(CPPFLAGS).
2731 2016-04-09  Khem Raj  <raj.khem@gmail.com>
2733         [BZ #17950]
2734         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
2735         Add -mfpmath=387.
2737 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
2739         * sysdeps/i386/configure.ac: Change == to = when calling test.
2740         * sysdeps/x86_64/configure.ac: Likewise.
2741         * sysdeps/i386/configure: Regenerated.
2742         * sysdeps/x86_64/configure: Likewise.
2744 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
2746         [BZ #16137]
2747         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
2748         * benchtests/bench-strcoll.c (input_files): Likewise.
2749         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
2750         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
2751         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
2753 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
2755         [BZ #19929]
2756         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
2757         [__USE_XOPEN2K8 && !__USE_GNU].
2758         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
2759         variable.
2761         [BZ #19925]
2762         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
2763         define if [!__USE_MISC && __USE_XOPEN2K].
2764         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
2765         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
2766         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
2767         Likewise.
2768         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
2769         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
2770         variable.
2771         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
2773 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2775         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
2776         (sysdep_routines): Add new strspn targets.
2777         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2778         (__libc_ifunc_impl_list): Add strspn.
2779         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
2780         New file.
2781         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
2782         Likewise.
2783         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
2784         Likewise.
2785         * sysdeps/powerpc/powerpc64/power8/strspn.S:
2786         Likewise.
2788 2016-04-07  Florian Weimer  <fweimer@redhat.com>
2790         * misc/hsearch_r.c: Include <limits.h>.
2792 2016-04-07  Florian Weimer  <fweimer@redhat.com>
2794         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
2796 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
2798         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
2799         (MEMCPY_SYMBOL): New.
2800         (MEMPCPY_SYMBOL): Likewise.
2801         (MEMMOVE_CHK_SYMBOL): Likewise.
2802         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
2803         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
2804         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
2805         Provide alias for memcpy in libc.a and ld.so.
2807 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
2809         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
2810         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
2811         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
2812         Disabled fro now.
2813         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
2814         symbols.  Properly check USE_MULTIARCH on __memset symbols.
2816 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
2818         * benchtests/Makefile (string-benchset): Add memcpy-large,
2819         memmove-large and memset-large.
2820         * benchtests/bench-memcpy-large.c: New file.
2821         * benchtests/bench-memmove-large.c: Likewise.
2822         * benchtests/bench-memmove-large.c: Likewise.
2823         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
2825 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
2827         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
2828         32-bit displacement to avoid long nop between instructions.
2830 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
2832         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
2833         a comment on VMOVU and VMOVA.
2835 2016-04-04  Florian Weimer  <fweimer@redhat.com>
2837         [BZ #19633]
2838         Use specified locale for number formatting in strfmon_l.
2839         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
2840         (__nl_lookup_word): New inline functions.
2841         * include/printf.h (__print_fp_l): Declare.
2842         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
2843         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
2844         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
2845         (___printf_fp): New function.
2846         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
2847         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
2848         * stdlib/tst-strfmon_l.c (do_test): New test.
2849         * stdlib/Makefile (tests): Add kt.
2850         (LOCALES): Build additional locales.
2851         (tst-strfmon_l.out): Require locales.
2853 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
2855         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
2856         if not in libc.
2857         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
2858         Likewise.
2859         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
2860         Likewise.
2861         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
2862         Likewise.
2864 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
2866         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
2867         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
2868         with unaligned_erms.
2869         (__memmove_erms): Skip if source == destination.
2870         (__memmove_unaligned_erms): Don't check source == destination
2871         first.
2873 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
2875         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
2876         bit_arch_Fast_Copy_Backward for Intel Core proessors.
2878 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2880         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
2881         * string/strspn.c (strspn): Likewise.
2883 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
2885         * benchtests/bench-memset.c (do_test): Support 64-byte
2886         alignment.
2887         (test_main): Test 64-byte alignment.
2889 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
2891         * benchtests/bench-memmove.c (test_main): Test 64-byte
2892         alignment.
2894 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
2896         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
2898 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2900         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
2901         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
2902         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
2904         * string/strpbrk.c (strpbrk): Rewrite function.
2905         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
2906         (__strpbrk_c2): Likewise.
2907         (__strpbrk_c3): Likewise.
2908         * string/string-inlines.c
2909         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
2910         Likewise.
2911         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
2912         Likewise.
2914         * string/strspn.c (strcspn): Rewrite function.
2915         * string/bits/string2.h (strspn): Use __builtin_strcspn.
2916         (__strspn_c1): Remove inline function.
2917         (__strspn_c2): Likewise.
2918         (__strspn_c3): Likewise.
2919         * string/string-inlines.c
2920         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
2921         compatibility symbol.
2922         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
2923         Likewise.
2924         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
2925         Likewise.
2926         * string/string-inlines.c: Include generic version.
2928 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
2929             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2931         * string/Version (libc): Add GLIBC_2.24.
2932         * string/strcspn.c (strcspn): Rewrite function.
2933         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
2934         (__strcspn_c1): Remove inline function.
2935         (__strcspn_c2): Likewise.
2936         (__strcspn_c3): Likewise.
2937         * string/string-inline.c
2938         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
2939         compatibility symbol.
2940         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
2941         Likewise.
2942         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
2943         Likewise.
2944         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
2946 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
2948         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
2949         Use ahi instead of aghi to adjust stack pointer.
2951 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2953         [BZ #19853]
2954         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
2955         TEST to take significant digits as second parameter.
2956         [TEST]: Redefine in terms of TEST_N taking 30
2957         significant digits.
2958         (do_test): Add test case to demonstrate precision
2959         failure in the ldbl-128ibm printf.
2960         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
2961         (__mpn_extract_long_double): Carry 7 extra intermediate
2962         bits of precision to aide computing difference when
2963         signs differ.
2965 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
2967         [BZ #19881]
2968         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2969         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
2970         memset-avx512-unaligned-erms.
2971         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2972         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
2973         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
2974         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
2975         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
2976         __memset_sse2_unaligned_erms, __memset_erms,
2977         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
2978         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
2979         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
2980         file.
2981         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
2982         Likewise.
2983         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
2984         Likewise.
2985         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
2986         Likewise.
2988 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
2990         [BZ #19776]
2991         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2992         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
2993         memmove-avx512-unaligned-erms.
2994         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2995         (__libc_ifunc_impl_list): Test
2996         __memmove_chk_avx512_unaligned_2,
2997         __memmove_chk_avx512_unaligned_erms,
2998         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
2999         __memmove_chk_sse2_unaligned_2,
3000         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
3001         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
3002         __memmove_avx512_unaligned_erms, __memmove_erms,
3003         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
3004         __memcpy_chk_avx512_unaligned_2,
3005         __memcpy_chk_avx512_unaligned_erms,
3006         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
3007         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
3008         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
3009         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
3010         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
3011         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
3012         __mempcpy_chk_avx512_unaligned_erms,
3013         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
3014         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
3015         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
3016         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
3017         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
3018         __mempcpy_erms.
3019         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
3020         file.
3021         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
3022         Likwise.
3023         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
3024         Likwise.
3025         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
3026         Likwise.
3028 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
3030         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
3031         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
3032         (La_s390_64_regs): Likewise.
3033         (La_s390_32_retval): Append vector register lrv_v24.
3034         (La_s390_64_retval): Likeweise.
3035         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
3036         Handle extended structs La_s390_32_regs and La_s390_32_retval.
3037         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
3038         Handle extended structs La_s390_64_regs and La_s390_64_retval.
3040 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
3042         [BZ #19916]
3043         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
3044         to create a non-vector/vector version for _dl_runtime_resolve and
3045         _dl_runtime_profile. Move implementation to ...
3046         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
3047         (_dl_runtime_resolve) Save and restore fpr/vrs.
3048         (_dl_runtime_profile) Save and restore vrs and fix some issues
3049         if _dl_call_pltexit is called.
3050         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
3051         Choose the correct resolver function if running on a machine with vx.
3052         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
3053         to create a non-vector/vector version for _dl_runtime_resolve and
3054         _dl_runtime_profile. Move implementation to ...
3055         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
3056         (_dl_runtime_resolve) Save and restore fpr/vrs.
3057         (_dl_runtime_profile) Save and restore vrs and fix some issues
3058         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
3059         Choose the correct resolver function if running on a machine with vx.
3061 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3063         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
3065 2016-03-31  Florian Weimer  <fweimer@redhat.com>
3067         [BZ #19509]
3068         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
3069         skip_map != NULL.
3070         * elf/tst-dlsym-error.c: New file.
3071         * elf/Makefile (tests): Add tst-dlsym-error.
3072         (tst-dlsym-error): Link against libdl.
3074 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
3076         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3077         (__ASSUME_FUTIMESAT): Remove macro.
3078         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
3080 2016-03-29  Florian Weimer  <fweimer@redhat.com>
3082         [BZ #19879]
3083         CVE-2016-3075
3084         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
3085         copy name.
3087 2016-03-29  Florian Weimer  <fweimer@redhat.com>
3089         [BZ #19837]
3090         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
3091         error if parse_line fails.
3093 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
3095         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
3096         (index_cpu_ERMS): Likewise.
3097         (reg_ERMS): Likewise.
3099 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
3101         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
3102         PER_LINUX_FDPIC): Add.
3104 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
3106         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
3107         memcpy-avx512-no-vzeroupper.
3108         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
3109         to ...
3110         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
3111         (MEMCPY): Don't define.
3112         (MEMCPY_CHK): Likewise.
3113         (MEMPCPY): Likewise.
3114         (MEMPCPY_CHK): Likewise.
3115         (MEMPCPY_CHK): Renamed to ...
3116         (__mempcpy_chk_avx512_no_vzeroupper): This.
3117         (MEMPCPY_CHK): Renamed to ...
3118         (__mempcpy_chk_avx512_no_vzeroupper): This.
3119         (MEMCPY_CHK): Renamed to ...
3120         (__memmove_chk_avx512_no_vzeroupper): This.
3121         (MEMCPY): Renamed to ...
3122         (__memmove_avx512_no_vzeroupper): This.
3123         (__memcpy_avx512_no_vzeroupper): New alias.
3124         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
3126 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
3128         [BZ #18858]
3129         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
3130         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
3131         and mempcpy-avx512-no-vzeroupper.
3132         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
3133         New.
3134         (MEMPCPY): Likewise.
3135         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
3136         (MEMPCPY_CHK): New.
3137         (MEMPCPY): Likewise.
3138         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
3139         (MEMPCPY): Likewise.
3140         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
3141         (MEMPCPY): Likewise.
3142         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
3143         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
3144         Likewise.
3145         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
3146         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
3148 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
3149              Amit Pawar  <Amit.Pawar@amd.com>
3151         [BZ #19583]
3152         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
3153         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
3154         processors.  Set Fast_Copy_Backward for AMD Excavator
3155         processors.
3156         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
3157         New.
3158         (index_arch_Fast_Unaligned_Copy): Likewise.
3159         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
3160         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
3162 2016-03-25  Florian Weimer  <fweimer@redhat.com>
3164         [BZ #19791]
3165         * resolv/res_send.c (close_and_return_error): New function.
3166         (send_dg): Initialize *resplen2 after reopen failure.  Call
3167         close_and_return_error for error returns.  On error paths without
3168         __res_iclose, initialze *resplen2 explicitly.  Update comment for
3169         successful return.
3171 2016-03-25  Florian Weimer  <fweimer@redhat.com>
3173         [BZ# 19860]
3174         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
3175         zero if the compiler does not provide the AVX512F bit.
3177 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
3179         [BZ #19848]
3180         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
3181         from 8 to 4.
3182         (__ieee754_powl): Compare integer exponent against 4 not 8.
3183         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
3184         from 8 to 4.
3185         (__ieee754_powl): Compare integer exponent against 4 not 8.
3186         * math/auto-libm-test-in: Add more tests of pow.
3187         * math/auto-libm-test-out: Regenerated.
3188         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
3189         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3191 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
3193         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
3194         Make code unconditional.
3195         [!__NR_utimensat]: Remove conditional code.
3196         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
3197         Make code unconditional.
3198         [!__NR_utimensat]: Remove conditional code.
3199         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
3200         Make code unconditional.
3201         [!__NR_utimensat]: Remove conditional code.
3203 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
3205         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
3206         Make code unconditional.
3208 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
3210         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
3211         call-clobbered %eax on retry path.
3212         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
3214 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
3216         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
3217         Don't set %rcx twice before "rep movsb".
3219 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
3221         [BZ #19583]
3222         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
3223         inline.  Check family before setting family, model and
3224         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
3225         bits here.
3226         (init_cpu_features): Replace HAS_CPU_FEATURE and
3227         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
3228         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
3229         for Intel processors with usable AVX2.  Call get_common_indeces
3230         for other processors with family == NULL.
3231         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
3232         (CPU_FEATURES_ARCH_P): Likewise.
3233         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
3234         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
3236 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3238         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
3239         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
3240         $(shared-thread-library) instead of hardcoding the path to libpthread.
3242 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
3244         * sysdeps/unix/sysv/linux/kernel-features.h
3245         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
3246         * sysdeps/unix/sysv/linux/getdents.c
3247         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
3248         [!have_no_getdents64_defined]: Likewise.
3249         (__GETDENTS): Remove __have_no_getdents64 conditional.
3251 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
3253         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
3254         Remove macro.
3255         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
3256         <kernel-features.h>.
3257         (signalfd) [__NR_signalfd4]: Make code unconditional.
3258         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
3260 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3262         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
3263         style.
3265 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
3267         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
3268         (__pthread_enable_asynccancel): Use JUMPTARGET to call
3269         __pthread_unwind.
3270         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
3271         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
3272         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
3273         (__condvar_cleanup1): Likewise.
3275 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
3277         [BZ #19822]
3278         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
3279         move it to the final $@ location.
3281 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3283         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
3284         access where posix_spawn success and pid argument is null.
3285         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
3286         success case.
3288 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
3290         * sysdeps/mach/hurd/i386/c++-types.data: New file.
3292         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
3294         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
3295         and __fcntl.
3296         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
3297         __fcntl only.
3298         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
3299         adding attribute_hidden to __open and __fcntl.
3301         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
3302         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
3303         depend on libc-modules.h,
3304         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
3306 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
3308         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
3309         Remove macro.
3310         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
3311         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
3312         entry.
3314         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
3315         Remove macro.
3316         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
3317         include <kernel-features.h>.
3318         [!__ASSUME_FALLOCATE]: Remove conditional code.
3319         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
3321 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
3323         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
3324         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
3325         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
3326         (_ZGVdN4v_cos_avx2): Likewise.
3327         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
3328         (_ZGVdN4v_cos): Likewise.
3329         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
3330         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
3331         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
3332         (_ZGVdN4v_exp_avx2): Likewise.
3333         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
3334         (_ZGVdN4v_exp): Likewise.
3335         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
3336         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
3337         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
3338         (_ZGVdN4v_log_avx2): Likewise.
3339         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
3340         (_ZGVdN4v_log): Likewise.
3341         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
3342         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
3343         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
3344         (_ZGVdN4vv_pow_avx2): Likewise.
3345         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
3346         (_ZGVdN4vv_pow): Likewise.
3347         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
3348         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
3349         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
3350         (_ZGVdN4v_sin_avx2): Likewise.
3351         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
3352         (_ZGVdN4v_sin): Likewise.
3353         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
3354         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
3355         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
3356         (_ZGVdN4vvv_sincos_avx2): Likewise.
3357         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
3358         (_ZGVdN4vvv_sincos): Likewise.
3359         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
3360         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
3361         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
3362         (_ZGVbN4v_cosf_sse4): Likewise.
3363         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
3364         (_ZGVdN8v_cosf_avx2): Likewise.
3365         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
3366         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
3367         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
3368         (_ZGVbN4v_expf_sse4): Likewise.
3369         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
3370         (_ZGVdN8v_expf_avx2): Likewise.
3371         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
3372         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
3373         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
3374         (_ZGVbN4v_logf_sse4): Likewise.
3375         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
3376         (_ZGVdN8v_logf_avx2): Likewise.
3377         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
3378         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
3379         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
3380         (_ZGVbN4vv_powf_sse4): Likewise.
3381         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
3382         (_ZGVdN8vv_powf_avx2): Likewise.
3383         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
3384         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
3385         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
3386         (_ZGVbN4vvv_sincosf_sse4): Likewise.
3387         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
3388         (_ZGVdN8vvv_sincosf_avx2): Likewise.
3389         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
3390         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
3391         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
3392         (_ZGVbN4v_sinf_sse4): Likewise.
3393         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
3394         (_ZGVdN8v_sinf_avx2): Likewise.
3395         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
3396         Use JUMPTARGET to call callee.
3397         (WRAPPER_IMPL_SSE2_ff): Likewise.
3398         (WRAPPER_IMPL_SSE2_fFF): Likewise.
3399         (WRAPPER_IMPL_AVX): Likewise.
3400         (WRAPPER_IMPL_AVX_ff): Likewise.
3401         (WRAPPER_IMPL_AVX_fFF): Likewise.
3402         (WRAPPER_IMPL_AVX512): Likewise.
3403         (WRAPPER_IMPL_AVX512_ff): Likewise.
3404         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
3405         Likewise.
3406         (WRAPPER_IMPL_SSE2_ff): Likewise.
3407         (WRAPPER_IMPL_SSE2_fFF): Likewise.
3408         (WRAPPER_IMPL_AVX): Likewise.
3409         (WRAPPER_IMPL_AVX_ff): Likewise.
3410         (WRAPPER_IMPL_AVX_fFF): Likewise.
3411         (WRAPPER_IMPL_AVX512): Likewise.
3412         (WRAPPER_IMPL_AVX512_ff): Likewise.
3413         (WRAPPER_IMPL_AVX512_fFF): Likewise.
3415 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3417         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
3418         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
3419         qualifier.
3420         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
3421         internal_function qualifiers.
3423 2016-03-15  Carlos O'Donell <carlos@redhat.com>
3425         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
3426         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
3427         * math/atest-exp.c (exp_mpn): Mark chk unused.
3428         * math/atest-exp2.c (exp_mpn): Likwise.
3429         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
3430         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
3432 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
3434         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
3435         Remove macro.
3436         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
3437         <kernel-features.h>.
3438         [__NR_ppoll]: Make code unconditional.
3439         [!__ASSUME_PPOLL]: Remove conditional code.
3441         * sysdeps/unix/sysv/linux/kernel-features.h
3442         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
3443         (__ASSUME_ACCEPT4): Likewise.
3444         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3445         Define.
3446         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
3447         Likewise.
3448         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3449         Likewise.
3450         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
3451         Likewise.
3452         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
3453         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
3454         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3455         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
3456         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3457         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3458         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3459         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3460         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3461         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3462         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3463         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3464         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3465         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3466         * sysdeps/unix/sysv/linux/i386/kernel-features.h
3467         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3468         Likewise.
3469         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3470         Likewise.
3471         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
3472         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
3473         0x040300].
3474         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3475         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
3476         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3477         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
3478         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
3479         0x030300].
3480         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
3481         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3482         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
3483         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
3484         0x040300].
3485         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3486         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3487         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3488         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3489         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3490         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
3491         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
3492         0x030300].
3493         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3494         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3495         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3496         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3497         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3498         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3499         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3500         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3501         * sysdeps/unix/sysv/linux/s390/kernel-features.h
3502         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
3503         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
3504         0x040300].
3505         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3506         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3507         * sysdeps/unix/sysv/linux/sh/kernel-features.h
3508         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3509         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3510         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3511         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
3512         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3513         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3514         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3515         * sysdeps/unix/sysv/linux/tile/kernel-features.h
3516         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3517         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3518         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3519         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
3520         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3521         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3522         Likewise.
3523         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3524         Likewise.
3526 2016-03-15  Andreas Schwab  <schwab@suse.de>
3528         [BZ #19257]
3529         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
3530         statp->_u._ext.nscount as loop count.
3532 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
3534         * math/test-signgam-finite-c99.c: Also #undef
3535         __LIBC_INTERNAL_MATH_INLINES.
3536         * math/test-signgam-main.c: Likewise.
3538 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
3540         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
3541         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
3542         (MADV_FREE): Likewise.
3543         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
3544         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
3545         EPOLLEXCLUSIVE.
3547 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
3549         * timezone/README: Remove mention of checktab.awk. Mention wiki
3550         SharedSourceFiles.
3552 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
3554         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
3555         WUNTRACED.
3557 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3559         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
3560         order to match the type of p when calling atomic_exchange_acq().
3562 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3564         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
3565         cfi_offset calls.
3566         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
3567         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
3568         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
3569         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
3570         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
3572 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
3574         * timezone/checktab.awk: Removed.
3576 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
3578         * manual/math.texi (Errors in Math Functions): Document relaxed
3579         accuracy goals for IBM long double.
3580         * math/libm-test.inc (test_exceptions): Always allow spurious
3581         "underflow" and "inexact" exceptions for IBM long double.
3583 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
3585         [BZ #19762]
3586         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
3587         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
3588         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
3589         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
3590         (bit_arch_*): This for feature array.
3591         (bit_*): Renamed to ...
3592         (bit_cpu_*): This for cpu array.
3593         (index_*): Renamed to ...
3594         (index_arch_*): This for feature array.
3595         (index_*): Renamed to ...
3596         (index_cpu_*): This for cpu array.
3597         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
3598         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
3599         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
3600         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
3601         bit_##name with index_cpu_##name and bit_cpu_##name.
3602         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
3603         bit_##name with index_arch_##name and bit_arch_##name.
3605 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
3607         [BZ #19792]
3608         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
3609         Terminate FDE before return label.
3611 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
3613         [BZ #19790]
3614         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
3615         (rintl): Define as macro.
3616         [USE_AS_NEARBYINTL] (__rintl): Likewise.
3617         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
3618         of fesetround.  Ensure results are evaluated before end of scope.
3619         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
3620         USE_AS_NEARBYINTL and include s_rintl.c.
3621         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
3622         Disable exception traps in new environment.
3623         (libc_feholdsetround_ppc_ctx): Likewise.
3625 2016-03-08  Roland McGrath  <roland@hack.frob.com>
3627         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
3628         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
3629         (tst_audit10_aux) [__AVX512F__]: ... here.
3631 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
3633         * include/sys/auxv.h: New file.
3635 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
3637         [BZ #19759]
3638         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
3640 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3642         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
3643         operand modifier.
3644         (feclearexcept): Likewise.
3646 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
3648         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
3649         to reflect the entire 32-bit HWCAP.
3650         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
3651         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
3653 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
3655         [BZ #19783]
3656         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
3657         $(test-via-rtld-prefix).
3658         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
3660 2016-03-08  Florian Weimer  <fweimer@redhat.com>
3662         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
3663         union wait.  Report any non-zero exit status as error.
3665 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3667         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
3668         configured with --enable-hardcoded-path-in-tests.
3670 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
3672         [BZ #19677]
3673         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
3674         (__ieee754_remainderl): Put zero low parts in canonical form.
3675         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
3676         file.  Based on
3677         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
3678         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
3679         with wrapper round test-fmodrem-ldbl-128ibm.c.
3680         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
3681         file.
3682         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
3683         Likewise.
3684         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
3685         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
3687 2016-03-07  Florian Weimer  <fweimer@redhat.com>
3689         [BZ #19610]
3690         * elf/ldconfig.c (opt_link): Update comment.
3691         (options): Update help string for option -X.
3692         (search_dir): Unlink stale symbolic link only if updating symbolic
3693         links.
3694         * elf/tst-ldconfig-X.sh: New file.
3695         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
3696         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
3698 2016-03-07  Andreas Schwab  <schwab@suse.de>
3700         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
3701         needed arguments.
3703 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
3705         [BZ #15333]
3706         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
3707         to lstat64.
3709 2016-03-07  Florian Weimer  <fweimer@redhat.com>
3711         * libio/filedoalloc.c (isatty): Remove.
3712         (local_isatty): Add comment.  Call __isatty directly.
3713         (_IO_file_doallocate): Update comment.  Assume _LIBC.
3714         * libio/wfiledoalloc.c (isatty): Remove.
3715         (_IO_wfile_doallocate): Update comment.
3717 2016-03-07  Florian Weimer  <fweimer@redhat.com>
3719         [BZ #19269]
3720         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
3721         tst-audit4-aux.o.
3722         (tst-audit10): Depend on tst-audit10-aux.o.
3723         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
3724         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
3725         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
3726         instead of inline AVX code.
3727         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
3728         instead of inline AVX512 code.
3729         * sysdeps/x86_64/tst-audit4-aux.c: New file
3730         * sysdeps/x86_64/tst-audit10-aux.c: New file
3732         [BZ #19648]
3733         * test-skeleton.c (main): Do not set RLIMIT_DATA.
3735 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3737         [BZ #14750]
3738         [BZ #10354]
3739         [BZ #18433]
3740         * include/sched.h (__clone): Add hidden prototype.
3741         (__clone2): Likewise.
3742         * include/unistd.h (__dup): Likewise.
3743         * posix/Makefile (tests): Add tst-spawn2.
3744         * posix/tst-spawn2.c: New file.
3745         * sysdeps/posix/dup.c (__dup): Add hidden definition.
3746         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
3747         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
3748         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
3749         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
3750         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
3751         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
3752         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
3753         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
3754         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
3755         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
3756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
3757         Likewise.
3758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
3759         Likewise.
3760         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
3761         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
3762         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
3763         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
3764         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
3765         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
3766         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
3767         * sysdeps/unix/sysv/linux/nptl-signals.h
3768         (____nptl_is_internal_signal): New function.
3769         * sysdeps/unix/sysv/linux/spawni.c: New file.
3771         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
3772         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
3773         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
3774         * posix/tst-execvp2.c (do_test): Likewise.
3775         * posix/tst-execvp3.c (do_test): Likewise.
3776         * posix/tst-execvp4.c (do_test): Likewise.
3777         * posix/tst-execvpe1.c: New file.
3778         * posix/tst-execvpe2.c: Likewise.
3779         * posix/tst-execvpe3.c: Likewise.
3780         * posix/tst-execvpe4.c: Likewise.
3781         * posix/tst-execvpe5.c: Likewise.
3782         * posix/tst-execvpe6.c: Likewise.
3784         [BZ #19534]
3785         * posix/execl.c (execl): Remove dynamic memory allocation.
3786         * posix/execle.c (execle): Likewise.
3787         * posix/execlp.c (execlp): Likewise.
3789 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
3791         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
3792         Replace .text with .text.avx512.
3793         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
3794         Likewise.
3796 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
3798         * sysdeps/generic/libnsl.abilist: New file.
3799         * sysdeps/generic/libutil.abilist: New file.
3801 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
3803         [BZ #19762]
3804         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
3805         HAS_ARCH_FEATURE with Fast_Rep_String.
3806         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
3807         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
3808         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
3809         Likewise.
3810         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
3811         Likewise.
3812         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
3813         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
3814         Likewise.
3815         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
3816         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
3817         Likewise.
3819 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
3821         [BZ #19745]
3822         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
3823         with *%rax in call.
3825 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
3827         [BZ #19745]
3828         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
3829         with *__libc_start_main@GOTPCREL(%rip) in call.
3831 2016-03-04  Roland McGrath  <roland@hack.frob.com>
3833         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
3834         inside conditional for nonempty $(CXX).
3836         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
3837         nonempty.
3839         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
3840         to test for empty $(CXX) rather than $(CXX) of "no".
3842 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
3844         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
3846 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
3847             H.J. Lu  <hongjiu.lu@intel.com>
3849         [BZ #18880]
3850         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
3851         instead of Slow_BSF, and also check for Fast_Copy_Backward to
3852         enable __memcpy_ssse3_back.
3854 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
3856         [BZ #19758]
3857         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
3858         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
3860 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
3862         [BZ #19490]
3863         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
3864         (__fentry__): Likewise.
3866 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
3868         * gmon/Makefile (noprof): Add $(sysdep_noprof).
3869         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
3871 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
3873         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
3874         __mcount_internal directly.
3875         (C_LABEL(__fentry__)): Likewise.
3876         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
3877         directly.
3879 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
3881         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
3882         (__start_context): Call __setcontext directly.
3884 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
3886         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3887         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
3888         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
3889         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
3890         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3891         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
3892         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
3893         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
3894         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3895         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
3896         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
3897         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
3898         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3899         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
3900         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
3901         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3902         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
3903         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3904         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
3905         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
3906         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
3907         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3908         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
3909         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
3910         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
3911         Remove conditional code.
3912         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3913         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
3914         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
3915         * sysdeps/unix/sysv/linux/sh/kernel-features.h
3916         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
3917         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
3918         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
3919         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
3920         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
3921         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
3922         * sysdeps/unix/sysv/linux/tile/kernel-features.h
3923         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
3925 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
3927         * NEWS (2.23): Fix typo in bug 19048 text.
3929 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
3931         [BZ #14259]
3932         * Makeconfig: Rename msgcatdir to localedir.
3933         Rename inst_msgcatdir to inst_localedir.
3934         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
3935         * config.make.in: Add localedir.
3936         * elf/Makefile ($(objpfx)sotruss): Use localedir.
3937         (ldd-rewrite): Likewise.
3938         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
3939         (install-others): Use inst_localedir.
3940         (CPPFLAGS): Use localedir.
3941         * locale/Makefile (locale-CPPFLAGS): Likewise.
3942         * po/Makefile (mo-installed): Use inst_localedir.
3944         [BZ #19575]
3945         * localedata/charmaps/GB18030: Update comments regarding PAU to
3946         non-PUA mappings.
3948 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
3950         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
3951         test for header.
3952         * sysdeps/unix/sysv/linux/configure: Regenerated.
3953         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
3954         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
3955         Remove conditional code.
3956         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
3958         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
3959         Define to 3.2.0.
3960         (arch_minimum_kernel): Likewise.
3961         * sysdeps/unix/sysv/linux/configure: Regenerated.
3962         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
3963         Define to 2.6.32.
3964         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
3965         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
3966         (arch_minimum_kernel): Define to 2.6.32.
3967         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
3968         * README: Document Linux 3.2 requirement.
3969         * manual/install.texi (Linux): Document Linux 3.2 headers
3970         requirement.
3971         * INSTALL: Regenerated.
3973 2016-02-24  Andreas Schwab  <schwab@suse.de>
3975         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
3976         if !NO_LONG_DOUBLE.
3978 2016-02-22  Roland McGrath  <roland@hack.frob.com>
3980         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
3981         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
3983 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
3985         [BZ #19512]
3986         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
3988 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
3990         * posix/tst-dir.c: Include libc-internal.h.
3992 2016-02-20  Florian Weimer  <fweimer@redhat.com>
3994         [BZ #19056]
3995         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
3996         * manual/filesys.texi (Reading/Closing Directory): Mention
3997         deprecaion.
3998         * posix/tst-dir.c (main): Disable deprecation warning in test.
4000 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
4002         [BZ #19679]
4003         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
4004         Renamed to ...
4005         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
4006         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
4007         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
4008         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
4009         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
4010         * sysdeps/x86_64/dl-trampoline.h
4011         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
4012         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
4014 2016-02-19  Mark Wielaard  <mjw@redhat.com>
4016         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
4018 2016-02-19  Mark Wielaard  <mjw@redhat.com>
4020         * elf/elf.h (R_386_GOT32X): New.
4021         (R_386_NUM): Update.
4022         (R_X86_64_GOTPCRELX: New.
4023         (R_X86_64_REX_GOTPCRELX): New.
4024         (R_X86_64_NUM): Update.
4026 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
4028         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
4030 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
4032         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
4033         assign attr->stackaddr to it, and adjust it down when
4034         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
4035         [_STACK_GROWS_UP]: Delete assert.
4036         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
4037         Implement stack grows up logic.
4038         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
4039         stack grows up logic.
4041 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4043         * NEWS: Update with 2.24 template.
4045 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
4047         [BZ #19678]
4048         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
4049         Ensure +0.0 is returned when taking the next value below the least
4050         positive value.
4052 2016-02-19  Florian Weimer  <fweimer@redhat.com>
4054         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
4055         available.  Do not define NO_THREADS.
4056         * malloc/malloc.c: Do not check NO_THREADS.
4057         * malloc/arena.c: Likewise.
4059 2016-02-19  Florian Weimer  <fweimer@redhat.com>
4061         * malloc/malloc.c (__libc_mallinfo): Update comment.
4062         (struct malloc_par): Remove max_total_mem member, it was always 0.
4063         (int_mallinfo): Store 0 into usmblks (no functional change).
4064         * malloc/hooks.c (struct malloc_state): Document that
4065         max_total_mem is always 0.
4066         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
4067         always 0.
4068         * manual/memory.texi (Statistics of Malloc): Likewise.
4070 2016-02-19  Florian Weimer  <fweimer@redhat.com>
4072         * malloc/malloc.c (sysmalloc): Do not update arena_max.
4073         * malloc/arena.c (arena_max): Remove.
4074         (heap_trim, _int_new_arena): Do not update arena_max.
4076 2016-02-19  Florian Weimer  <fweimer@redhat.com>
4078         * resolv/res_init.c (res_ninit): Update comment.
4080 2016-02-19  Florian Weimer  <fweimer@redhat.com>
4082         [BZ #19505]
4083         * posix/spawn_int.h: Add headers and include guard.
4084         (__spawn_valid_fd): New function.
4085         * posix/spawn_faction_addopen.c
4086         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
4087         * posix/spawn_faction_addclose.c
4088         (posix_spawn_file_actions_addclose): Likewise.
4089         * posix/spawn_faction_adddup2.c
4090         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
4091         second file descriptor.
4092         * posix/spawn_valid_fd.c: New file.
4093         * posix/tst-posix_spawn-fd.c: New file.
4094         * posix/Makefile (routines): Add spawn_valid_fd.
4095         (tests): Add tst-posix_spawn-fd.
4097 2016-02-19  Florian Weimer  <fweimer@redhat.com>
4099         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
4100         (do_test): Limit the number of arenas, so that we can use fewer
4101         outer threads.  Limit timeout to 3 seconds, in preparation for a
4102         larger TIMEOUT value.
4104 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
4106         [BZ #19674]
4107         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
4108         sign in overflowing and underflowing results when overflow or
4109         underflow is detected early.  Include sign in result before rather
4110         than after scaling.
4112         [BZ #19603]
4113         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
4114         (__ieee754_remainderl): Adjust sign of integer version of low part
4115         when taking absolute value of high part.
4116         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4117         * math/libm-test.inc (remainder_test_data): Add another test.
4118         (remquo_test_data): Likewise.
4120 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
4122         [BZ #19602]
4123         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
4124         equal high parts and both low parts zero specially.
4125         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
4126         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
4127         Add test-fmodl-ldbl-128ibm.
4129         [BZ #19595]
4130         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
4131         common logic for all cases of shifting subnormal results.  Do not
4132         insert sign bit in shifted mantissa.  Always pass -1023 as biased
4133         exponent to ldbl_insert_mantissa in subnormal case.
4135         [BZ #19594]
4136         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
4137         on high and low parts then adjust result and use
4138         ldbl_canonicalize_int if needed.
4140         [BZ #19593]
4141         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
4142         on high part and __floor or __ceil on low part then use
4143         ldbl_canonicalize_int if needed.
4145         [BZ #19592]
4146         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
4147         high and low parts then use ldbl_canonicalize_int if needed.
4149         [BZ #17899]
4150         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
4151         New function.
4152         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
4153         on high and low parts then use ldbl_canonicalize_int if needed.
4155 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4157         * configure: Regenerated.
4159         * po/libc.pot: Regenerated.
4161         * po/be.po: Updated translation.
4162         * po/bg.po: Likewise.
4163         * po/ca.po: Likewise.
4164         * po/cs.po: Likewise.
4165         * po/da.po: Likewise.
4166         * po/el.po: Likewise.
4167         * po/eo.po: Likewise.
4168         * po/es.po: Likewise.
4169         * po/fi.po: Likewise.
4170         * po/fr.po: Likewise.
4171         * po/gl.po: Likewise.
4172         * po/hr.po: Likewise.
4173         * po/hu.po: Likewise.
4174         * po/ia.po: Likewise.
4175         * po/id.po: Likewise.
4176         * po/it.po: Likewise.
4177         * po/ja.po: Likewise.
4178         * po/lt.po: Likewise.
4179         * po/nb.po: Likewise.
4180         * po/nl.po: Likewise.
4181         * po/pt_BR.po: Likewise.
4182         * po/rw.po: Likewise.
4183         * po/sk.po: Likewise.
4184         * po/sl.po: Likewise.
4185         * po/sv.po: Likewise.
4186         * po/tr.po: Likewise.
4187         * po/zh_CN.po: Likewise.
4188         * po/zh_TW.po: Likewise.
4190         * version.h (RELEAES): Set to "development".
4191         (VERSION): Set to 2.23.90.
4193         * version.h (RELEASE): Set to "stable".
4194         (VERSION): Set to 2.23.
4195         * include/feature.h (__GLIBC_MINOR__): Set to 23.
4197         * NEWS: Updated fixed bugs.
4199 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
4200             Wilco Dijkstra  <wdijkstr@arm.com>
4202         [BZ #19462]
4203         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
4204         (_STRING_INLINE_unaligned): This.
4205         * include/string.h: Include <string_private.h>.
4206         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
4207         _STRING_INLINE_unaligned.
4208         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
4209         (_STRING_INLINE_unaligned): New.
4210         * sysdeps/aarch64/string_private.h: New file.
4211         * sysdeps/generic/string_private.h: Likewise.
4212         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
4213         * sysdeps/s390/string_private.h: Likewise.
4214         * sysdeps/x86/string_private.h: Likewise.
4215         * sysdeps/m68k/m680x0/m68020/bits/string.h
4216         (_STRING_ARCH_unaligned): Renamed to ...
4217         (_STRING_INLINE_unaligned): This.
4218         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
4219         to ...
4220         (_STRING_INLINE_unaligned): This.
4221         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
4222         to ...
4223         (_STRING_INLINE_unaligned): This.
4224         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
4225         to ...
4226         (_STRING_INLINE_unaligned): This.
4228 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
4229             H.J. Lu  <hongjiu.lu@intel.com>
4231         [BZ #19590]
4232         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
4233         relocation.
4235 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
4237         [BZ #18665]
4238         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
4239         *herrno_p.
4240         (gaih_getanswer): Document functional behviour. Return tryagain
4241         if any result is tryagain.
4242         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
4243         when freed.
4244         * resolv/res_send.c: Add copyright text.
4245         (__libc_res_nsend): Document that MAXPACKET is expected.
4246         (send_vc): Document. Remove buffer reuse.
4247         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
4248         size of the buffer. Add Dprint for truncated UDP buffer.
4250 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
4252         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
4253         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
4254         * INSTALL: Regenerate.
4256 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
4257             Jonathan Wakely  <jwakely@redhat.com>
4258             Carlos O'Donell  <carlos@redhat.com>
4260         [BZ 19439]
4261         * math/Makefile (tests): Add test-math-isinff.
4262         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
4263         * math/bits/mathcalls.h [__USE_MISC]: Use
4264         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
4265         functions not in C++11 and which don't conflict e.g. isinff,
4266         isinfl etc.
4267         * math/test-math-isinff.cc: New file.
4269 2016-02-12  Florian Weimer  <fweimer@redhat.com>
4271         * misc/bug18240.c (do_test): Set RLIMIT_AS.
4273 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4275         [BZ #19529]
4276         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
4278 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4280         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
4282 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
4284         [BZ #19550]
4285         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
4286         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
4287         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
4288         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
4289         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
4290         New syscall entry.
4291         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
4292         New syscall entry.
4293         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
4294         syscall entry.
4296 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
4298         [BZ #18240]
4299         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
4300         unsigned int wraparound.
4302 2016-01-27  Florian Weimer  <fweimer@redhat.com>
4304         [BZ #18240]
4305         * misc/bug18240.c: New test.
4306         * misc/Makefile (tests): Add it.
4308 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
4309             Joseph Myers  <joseph@codesourcery.com>
4311         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
4312         load in branch delay slot when less than a word of input left.
4314 2016-01-27  Andreas Schwab  <schwab@suse.de>
4316         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
4317         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
4318         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
4319         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
4321 2016-01-26  David S. Miller  <davem@davemloft.net>
4323         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
4325 2016-01-25  David S. Miller  <davem@davemloft.net>
4327         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
4328         __sqrtl_finite.
4329         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
4330         instead using versioned_symbol.
4331         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
4332         of entries.
4334         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
4335         __sqrtl_finite to GLIBC_2.23
4337 2016-01-25  Ricchard Henderson  <rth@redhat.com>
4339         * sysdeps/alpha/fpu/libm-test-ulps: Update.
4341 2016-01-25  Andreas Schwab  <schwab@suse.de>
4343         [BZ #17514]
4344         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
4345         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
4346         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
4347         * nptl/tst-mutex-errorcheck.c: New file.
4349 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4351         [BZ #18560]
4352         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
4353         (IPCOP_semop): Likewise.
4354         (IPCOP_semget): Likewise.
4355         (IPCOP_semctl): Likewise.
4356         (IPCOP_msgsnd): Likewise.
4357         (IPCOP_msgrcv): Likewise.
4358         (IPCOP_msgget): Likewise.
4359         (IPCOP_msgctl): Likewise.
4360         (IPCOP_shmat): Likewise.
4361         (IPCOP_shmdt): Likewise.
4362         (IPCOP_shmget): Likewise.
4363         (IPCOP_shmctl): Likewise.
4365 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
4367         * string/tst-endian.c: Include <libc-internal.h>.
4368         (do_test): Ignore tautological-compare warnings around
4369         "htobeXX (beXXtoh (i)) != i" and
4370         "htoleXX (leXXtoh (i)) != i" if-statements.
4372 2016-01-24  David S. Miller  <davem@davemloft.net>
4374         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
4375         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
4376         alias.
4377         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
4378         __sqrtl_finite.
4380         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4382 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
4384         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
4385         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
4386         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
4388 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4390         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
4391         (thread_func): Use new function to simplify barrier check.
4392         (do_test): Use new function to simplify checking barrier exit
4393         code, and actually join the child thread.
4395 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4397         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
4398         semicolon.
4399         (__libc_tend): Likewise.
4400         (__libc_tabort): Likewise.
4402 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
4404         * sysdeps/nios2/libm-test-ulps: Update.
4405         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
4406         (__gtsf2): Likewise.
4407         (__unorddf2): Likewise.
4408         (__unordsf2): Likewise.
4409         (__ledf2): Likewise.
4411 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
4413         * nis/nis_table.c (__follow_path): Disable diagnostic for
4414         uninitialized variable that is a false positive for gcc 4.7.
4415         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
4417 2016-01-20  Roland McGrath  <roland@hack.frob.com>
4419         * sysdeps/nacl/lowlevellock-futex.h
4420         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
4421         Always evaluate PRIVATE argument.
4423 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
4425         [BZ #19490]
4426         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
4427         (pthread_cond_broadcast): Use ENTRY/END
4428         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
4429         (pthread_cond_signal): Likewise.
4430         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
4431         Likewise.
4432         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
4433         Likewise.
4434         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
4435         Likewise.
4437 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
4439         * sysdeps/ieee754/dbl-64/s_finite.c
4440         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
4441         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
4442         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
4443         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
4444         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
4446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
4447         (__gtsf2): Add as optional for libc.so.
4448         (__unordsf2): Likewise.
4449         (__signbit): Remove for libc.so.
4450         (__signbitl): Likewise.
4452 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
4454         * iconvdata/bug-iconv11.c (test_ibm93x):
4455         Use %zu printf format specifier for size_t argument.
4457 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
4459         * math/gen-libm-test.pl (parse_ulps): Do not reduce
4460         already-recorded ulps.
4461         * sysdeps/arm/libm-test-ulps: Regenerated.
4462         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
4463         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4464         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
4466 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
4467             Paul Pluzhnikov  <ppluzhnikov@google.com>
4469         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
4470         assembler not supporting AVX-512.
4472 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
4474         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4476 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
4478         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
4479         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4481         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4483         * sysdeps/arm/libm-test-ulps: Regenerated.
4485 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
4487         [BZ #19451]
4488         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
4490 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
4492         [BZ #19486]
4493         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
4494         * sysdeps/generic/fix-fp-int-convert-overflow.h
4495         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
4496         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
4497         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
4498         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
4499         Likewise.
4500         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
4501         Avoid conversions to long int where inexact exceptions
4502         could be raised.
4503         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
4504         Likewise.
4505         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
4506         Avoid conversions to long long int where inexact exceptions
4507         could be raised.
4508         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
4509         Likewise.
4511 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
4513         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
4514         * configure: Regenerated.
4516 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
4518         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
4520 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
4522         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
4523         outside of comment.
4525 2016-01-15  Torvald Riegel  <triegel@redhat.com>
4527         * nptl/tst-barrier1.c: Add description on first line.
4528         * nptl/tst-barrier2.c: Likewise.
4529         * nptl/tst-barrier3.c: Likewise.
4530         * nptl/tst-barrier4.c: Likewise.
4531         * nptl/tst-barrier5.c: Likewise.
4533 2016-01-15  Torvald Riegel  <triegel@redhat.com>
4535         [BZ #18868]
4536         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
4538 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
4540         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
4541         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
4542         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
4543         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
4544         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
4545         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
4546         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
4547         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
4548         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
4549         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
4550         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
4552 2016-01-15  Torvald Riegel  <triegel@redhat.com>
4554         [BZ #13065]
4555         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
4556         new implementation.
4557         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
4558         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
4559         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
4560         (BARRIER_IN_THRESHOLD): New macro.
4561         * nptl/pthread_barrierattr_setpshared.c
4562         (pthread_barrierattr_setpshared): Clean up.
4563         * nptl/tst-barrier4.c: Correct comment.
4564         * nptl/tst-barrier5.c: New file.
4565         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
4566         (gen-as-const-headers): Remove lowlevelbarrier.sym.
4567         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
4568         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
4569         * nptl/lowlevelbarrier.sym: Remove.
4570         * nptl/DESIGN-barrier.txt: Remove.
4571         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
4572         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
4573         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
4574         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
4575         error.
4576         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
4577         implementation.
4579 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4581         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
4582         (do_child): Mask SIGRTMIN while thr is running.
4584 2016-01-15  Martin Sebor  <msebor@redhat.com>
4586         [BZ #19432]
4587         * iconvdata/Makefile: Add bug-iconv11.
4588         * iconvdata/bug-iconv11.c: New test.
4589         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
4590         * iconvdata/ibm933.c: Same.
4591         * iconvdata/ibm935.c: Same.
4592         * iconvdata/ibm937.c: Same.
4593         * iconvdata/ibm939.c: Same.
4595 2016-01-15  Martin Sebor  <msebor@redhat.com>
4597         [BZ #19443]
4598         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
4599         [DEBUG] (_ufc_set_bits): Declare used.
4600         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
4601         [DEBUG] (print_all): Declare used.
4602         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
4603         operands of the ternary ?: expression to target type.
4604         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
4605         calling the undeclared abort.
4606         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
4608 2016-01-15  Martin Sebor  <msebor@redhat.com>
4610         [BZ #18755]
4611         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
4612         warnings.
4613         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
4614         (__gai_create_helper_thread): Same.
4615         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
4616         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
4617         to suppress -Wmaybe-uninitialized warnings.
4619 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
4621         [BZ #19465]
4622         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
4623         inside if.
4624         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4625         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4626         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4628 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
4630         [BZ #19466]
4631         * time/tst-mktime2.c (time_t_max): Removed.
4632         (time_t_min): Likewise.
4633         (TYPE_SIGNED): New.
4634         (TYPE_MINIMUM): Likewise.
4635         (TYPE_MAXIMUM): Likewise.
4636         (TIME_T_MIN): Likewise.
4637         (TIME_T_MAX): Likewise.
4638         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
4639         and TIME_T_MIN.
4640         (do_test): Likewise.
4642 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
4644         [BZ #19467]
4645         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
4646         index_Fast_Unaligned_Load flag for Excavator family CPUs.
4648 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
4650         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
4652 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
4654         * benchtests/Makefile (PYTHON): Define.
4655         (bench-func): Use $(PYTHON) to run python scripts.
4656         ($(objpfx)bench-%.c): Likewise.
4658 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
4660         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
4661         leading slash when `file_name' is "/".
4663 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
4665         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
4666         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
4667         Likewise.
4668         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
4669         Likewise.
4670         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
4671         Likewise.
4672         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
4673         enum constant and macro.
4674         (PTRACE_SETSIGMASK): Likewise.
4675         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4676         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
4677         (PTRACE_GETSIGMASK): Likewise.
4678         (PTRACE_SETSIGMASK): Likewise.
4679         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4680         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
4681         Likewise.
4682         (PTRACE_SETSIGMASK): Likewise.
4683         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4684         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
4685         (PTRACE_GETSIGMASK): Likewise.
4686         (PTRACE_SETSIGMASK): Likewise.
4687         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4688         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
4689         Likewise.
4690         (PTRACE_SETSIGMASK): Likewise.
4691         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4692         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
4693         Likewise.
4694         (PTRACE_SETSIGMASK): Likewise.
4695         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4696         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
4697         Likewise.
4698         (PTRACE_SETSIGMASK): Likewise.
4699         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4701 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
4702             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4704         [BZ #19439]
4705         * math/bits/mathcalls.h
4706         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
4707         prototype.
4708         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
4710 2016-01-11  Andreas Schwab  <schwab@suse.de>
4712         [BZ #19253]
4713         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
4714         cache when TZDEFRULES was used.
4715         * time/tst-tzname.c: New file.
4716         * time/Makefile (test): Add tst-tzname.
4717         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
4718         * timezone/Makefile (test-zones): Add $(posixrules-file).
4719         ($(testdata)/$(posixrules-file)): New rule.
4721 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
4723         Fix doc quoting problems with Texinfo 5
4724         Without this change, in the info file output, Texinfo 5 quotes code
4725         in text with undirected single quotes 'like this' and generates
4726         code examples that with many PDF readers cannot be cut out of PDFs
4727         and pasted into code.
4728         * manual/libc.texinfo: Configure the libc manual like the GNU
4729         Emacs manual, by using @documentencoding and setting
4730         txicodequoteundirected and txicodequotebacktick.  This way,
4731         Texinfo 5 quotes code in text with directed single quotes ‘like
4732         this’ and produces examples that can be cut out of PDFs.  This
4733         change causes Texinfo 5 to generate info files that contain UTF-8
4734         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
4735         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
4737 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4739         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
4740         __libc_tabort, __libc_tend): New wrappers that enforce compiler
4741         barriers to their respective compiler built-ins.
4742         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
4743         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
4744         * sysdeps/powerpc/sysdep.h: Likewise.
4745         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
4746         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
4747         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
4749 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
4751         * scripts/config.guess: Revert previous shebang change.
4752         * scripts/config.sub: Likewise.
4753         * scripts/mkinstalldirs: Likewise.
4755 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4757         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
4758         PPC_FEATURE2_HAS_IEEE128.
4759         * sysdeps/powerpc/dl-procinfo.c:
4760         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
4762 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
4764         [BZ #19415]
4765         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
4766         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
4767         (_dl_lookup_address): Rewrite using function resolver trampoline.
4768         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
4769         two bits in address.
4771 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
4773         * longlong.h: Change !__SHMEDIA__ to
4774         (!defined (__SHMEDIA__) || !__SHMEDIA__).
4775         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
4777 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
4778             Joseph Myers  <joseph@codesourcery.com>
4779             Mark Shinwell  <shinwell@codesourcery.com>
4780             Andrew Stubbs  <ams@codesourcery.com>
4781             Rich Felker <dalias@libc.org>
4783         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
4785 2016-01-07  Richard Henderson  <rth@redhat.com>
4787         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
4789 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
4791         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
4792         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
4793         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
4794         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
4795         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
4797 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
4798             Joseph Myers  <joseph@codesourcery.com>
4800         * timezone/private.h: Update from tzcode 2015g.
4801         * timezone/tzfile.h: Likewise.
4802         * timezone/tzselect.ksh: Likewise.
4803         * timezone/zdump.c: Likewise.
4804         * timezone/zic.c: Likewise.
4805         * timezone/ialloc.c: Remove file.
4806         * timezone/scheck.c: Likewise.
4807         * timezone/Makefile (extra-objs): Remove variable.
4808         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
4809         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
4810         -Wno-maybe-uninitialized.
4811         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
4812         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
4813         (CFLAGS-ialloc.c): Remove variable.
4814         (CFLAGS-scheck.c): Likewise.
4815         * timezone/README: Update list of files from tzcode.
4817 2016-01-07  Khem Raj  <raj.khem@gmail.com>
4819         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
4820         instead of __fxprintf when _LIBC is undefined.
4822 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
4824         * catgets/test-gencat.sh: Remove space after shebang.
4825         * conform/GlibcConform.pm: Likewise.
4826         * conform/check-header-lists.sh: Likewise.
4827         * conform/conformtest.pl: Likewise.
4828         * conform/linknamespace.pl: Likewise.
4829         * conform/list-header-symbols.pl: Likewise.
4830         * debug/catchsegv.sh: Likewise.
4831         * elf/genrtldtbl.awk: Likewise.
4832         * elf/tst-pathopt.sh: Likewise.
4833         * elf/tst-rtld-load-self.sh: Likewise.
4834         * grp/tst_fgetgrent.sh: Likewise.
4835         * iconvdata/gen-8bit-gap-1.sh: Likewise.
4836         * iconvdata/gen-8bit-gap.sh: Likewise.
4837         * iconvdata/gen-8bit.sh: Likewise.
4838         * iconvdata/run-iconv-test.sh: Likewise.
4839         * intl/tst-gettext.sh: Likewise.
4840         * intl/tst-gettext2.sh: Likewise.
4841         * intl/tst-gettext4.sh: Likewise.
4842         * intl/tst-gettext6.sh: Likewise.
4843         * intl/tst-translit.sh: Likewise.
4844         * io/ftwtest-sh: Likewise.
4845         * libio/test-freopen.sh: Likewise.
4846         * locale/gen-translit.pl: Likewise.
4847         * malloc/tst-mtrace.sh: Likewise.
4848         * manual/check-safety.sh: Likewise.
4849         * manual/libc-texinfo.sh: Likewise.
4850         * manual/tsort.awk: Likewise.
4851         * manual/xtract-typefun.awk: Likewise.
4852         * nptl/tst-cancel-wrappers.sh: Likewise.
4853         * nptl/tst-tls6.sh: Likewise.
4854         * posix/globtest.sh: Likewise.
4855         * posix/tst-getconf.sh: Likewise.
4856         * posix/wordexp-tst.sh: Likewise.
4857         * scripts/check-c++-types.sh: Likewise.
4858         * scripts/check-local-headers.sh: Likewise.
4859         * scripts/config.guess: Likewise.
4860         * scripts/config.sub: Likewise.
4861         * scripts/cpp: Likewise.
4862         * scripts/cross-test-ssh.sh: Likewise.
4863         * scripts/documented.sh: Likewise.
4864         * scripts/evaluate-test.sh: Likewise.
4865         * scripts/gen-libc-abis: Likewise.
4866         * scripts/gen-sorted.awk: Likewise.
4867         * scripts/list-fixed-bugs.py: Likewise.
4868         * scripts/merge-test-results.sh: Likewise.
4869         * scripts/mkinstalldirs: Likewise.
4870         * scripts/rellns-sh: Likewise.
4871         * scripts/test-installation.pl: Likewise.
4872         * scripts/update-copyrights: Likewise.
4873         * stdio-common/tst-printf.sh: Likewise.
4874         * stdio-common/tst-unbputc.sh: Likewise.
4875         * stdlib/tst-fmtmsg.sh: Likewise.
4876         * stdlib/tst-setcontext3.sh: Likewise.
4877         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
4878         * sysdeps/unix/make-syscalls.sh: Likewise.
4880 2016-01-06  John David Anglin  <dave.anglin@bell.net>
4882         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
4883         asm stw with atomic_exchange_rel.  Add explanatory comment.
4884         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
4885         Likewise.
4887 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
4889         [BZ #19122]
4890         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
4891         * sysdeps/generic/dl-unistd.h: New file.
4892         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
4894 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
4896          [BZ #19122]
4897          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
4898          * sysdeps/generic/dl-mman.h: New file.
4899          * sysdeps/mach/hurd/dl-mman.h: Likewise.
4901 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
4903         * manual/texinfo.tex: Update to version 2016-01-04.21 with
4904         trailing whitespace removed.
4905         * scripts/config.guess: Update to version 2016-01-01.
4906         * scripts/config.sub: Update to version 2016-01-01.
4907         * scripts/move-if-change: Update from gnulib.
4909 2016-01-04  Anton Blanchard  <anton@samba.org>
4911         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
4912         for array indices.
4913         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
4915 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
4917         * NEWS: Update copyright dates.
4918         * catgets/gencat.c (print_version): Likewise.
4919         * csu/version.c (banner): Likewise.
4920         * debug/catchsegv.sh: Likewise.
4921         * debug/pcprofiledump.c (print_version): Likewise.
4922         * debug/xtrace.sh (do_version): Likewise.
4923         * elf/ldconfig.c (print_version): Likewise.
4924         * elf/ldd.bash.in: Likewise.
4925         * elf/pldd.c (print_version): Likewise.
4926         * elf/sotruss.sh: Likewise.
4927         * elf/sprof.c (print_version): Likewise.
4928         * iconv/iconv_prog.c (print_version): Likewise.
4929         * iconv/iconvconfig.c (print_version): Likewise.
4930         * locale/programs/locale.c (print_version): Likewise.
4931         * locale/programs/localedef.c (print_version): Likewise.
4932         * login/programs/pt_chown.c (print_version): Likewise.
4933         * malloc/memusage.sh (do_version): Likewise.
4934         * malloc/memusagestat.c (print_version): Likewise.
4935         * malloc/mtrace.pl: Likewise.
4936         * manual/libc.texinfo: Likewise.
4937         * nptl/version.c (banner): Likewise.
4938         * nscd/nscd.c (print_version): Likewise.
4939         * nss/getent.c (print_version): Likewise.
4940         * nss/makedb.c (print_version): Likewise.
4941         * posix/getconf.c (main): Likewise.
4942         * scripts/test-installation.pl: Likewise.
4943         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
4945         * All files with FSF copyright notices: Update copyright dates
4946         using scripts/update-copyrights.
4947         * intl/plural.c: Regenerated.
4948         * locale/programs/charmap-kw.h: Likewise.
4949         * locale/programs/locfile-kw.h: Likewise.
4951 2016-01-02  Helge Deller  <deller@gmx.de>
4953         [BZ #19285]
4954         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
4955         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
4956         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
4957         (MADV_xxK_PAGES): Remove.
4959 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
4961         [BZ #15421]
4962         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
4963         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
4964         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
4965         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
4967 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
4969         [BZ #19408]
4970         * sysdeps/unix/sysv/linux/personality.c: New file.
4971         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
4972         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
4973         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
4974         (sysdep_routines): Add personality.
4975         (tests): Add tst-personality.
4976         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
4977         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
4978         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
4979         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
4980         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
4981         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
4982         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
4983         Likewise.
4984         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
4985         Likewise.
4986         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
4987         Likewise.
4988         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
4989         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
4990         Likewise.
4992 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
4994         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
4995         (PATH_ARM_SYSTYPE): Remove.
4996         (PATH_CPUINFO): Likewise.
4997         (IO_BASE_FOOTBRIDGE): Likewise.
4998         (IO_SHIFT_FOOTBRIDGE): Likewise.
4999         (struct platform): Likewise.
5000         (init_iosys): Remove compatibility code for 2.4 kernels.
5001         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
5003 2015-12-29  Florian Weimer  <fweimer@redhat.com>
5005         * malloc/tst-malloc-thread-fail.c: New file.
5006         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
5007         (tst-malloc-thread-fail): Link against libpthread.
5009 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
5011         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
5012         (get_parser): New function.
5013         (main): New function.
5015 2015-12-29  Rob Wu  <rob@robwu.nl>
5017         [BZ #19369]
5018         * resolv/res_init.c (__res_vinit): Reset defdname before use.
5020 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
5022         [BZ #19270]
5023         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
5025 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
5027         [BZ #15421]
5028         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
5030 2015-12-23  Torvald Riegel  <triegel@redhat.com>
5032         [BZ #13690]
5033         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
5034         after releasing it.
5035         (__lll_robust_unlock): Likewise.
5036         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
5037         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
5038         (lll_robust_unlock): Likewise.
5039         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
5040         Prevent warnings in callers.
5042 2015-12-23  Florian Weimer  <fweimer@redhat.com>
5044         * malloc/arena.c (list_lock): Update comment.
5046 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5048         * sysdeps/powerpc/hwcapinfo.c: Export symbol
5049         __parse_hwcap_and_convert_at_platform to libc.a.
5051 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5053         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
5054         platform and feature support for POWER9.
5055         * sysdeps/powerpc/dl-procinfo.h: Likewise.
5056         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
5057         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
5058         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
5059         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
5060         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
5061         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
5062         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
5064 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5066         Harmonize generic stdio-lock support with nptl
5068         This fixes build when _IO_funlockfile is a macro, fixes build where
5069         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
5070         stack unwind.
5072         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
5073         _IO_release_lock ): Use cleanup attribute on new
5074         _IO_acquire_lock_file variable instead of assuming that
5075         _IO_release_lock will be called.
5076         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
5077         _IO_acquire_lock_needs_exceptions_enabled.
5078         (_IO_acquire_lock_clear_flags2): New macro.
5080 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5082         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
5084 2015-12-21  Florian Weimer  <fweimer@redhat.com>
5086         [BZ #19182]
5087         * malloc/arena.c (list_lock): Document lock ordering requirements.
5088         (free_list_lock): New lock.
5089         (ptmalloc_lock_all): Comment on free_list_lock.
5090         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
5091         (detach_arena): Update comment.  free_list_lock is now needed.
5092         (_int_new_arena): Use free_list_lock around detach_arena call.
5093         Acquire arena lock after list_lock.  Add comment, including FIXME
5094         about incorrect synchronization.
5095         (get_free_list): Switch to free_list_lock.
5096         (reused_arena): Acquire free_list_lock around detach_arena call
5097         and attached threads counter update.  Add two FIXMEs about
5098         incorrect synchronization.
5099         (arena_thread_freeres): Switch to free_list_lock.
5100         * malloc/malloc.c (struct malloc_state): Update comments to
5101         mention free_list_lock.
5103 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
5105         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
5106         Remove functions.
5107         (sloww, sloww1): Accept argument to offset quadrant.
5108         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
5109         quadrant.
5110         (__sin, __cos): Consolidate common code into new functions.
5111         (reduce_sincos_1, do_sincos_1): New functions.
5112         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
5114         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
5115         code to new functions.
5116         (reduce_sincos_2, do_sincos_2): New functions.
5117         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
5119         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
5120         common code for sincos.
5121         (__cos) [!IN_SINCOS]: Likewise.
5122         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
5123         New function.
5124         (__sincos): Use it.
5126 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
5128         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
5129         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
5130         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
5132 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
5134         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
5135         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
5136         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
5137         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
5138         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5139         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
5140         index_Prefer_No_VZEROUPPER): New feature.
5141         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
5142         Prefer_No_VZEROUPPER for Knights Landing.
5144 015-12-18  Torvald Riegel  <triegel@redhat.com>
5146         * math/atest-exp2.c (mp_exp_m1): Remove.
5148 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5150         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
5151         syscalls.
5152         (__SYSCALL0): New macro.
5153         (__SYSCALL1): Likewise.
5154         (__SYSCALL2): Likewise.
5155         (__SYSCALL3): Likewise.
5156         (__SYSCALL4): Likewise.
5157         (__SYSCALL5): Likewise.
5158         (__SYSCALL6): Likewise.
5159         (__SYSCALL_CONCAT_X): Likewise.
5160         (__SYSCALL_CONCAT): Likewise.
5161         (__SYSCALL_DIST): Likewise.
5162         (__SYSCALL_CALL): Likewise.
5164 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
5166         [BZ #19363]
5167         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
5169 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5171         [BZ #19375]
5172         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
5173         negative subnormals.
5175 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
5177         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
5178         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
5179         (INTERNAL_SYSCALL_NCS): Use it.
5180         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
5182 2015-12-16  Florian Weimer  <fweimer@redhat.com>
5184         [BZ #19243]
5185         * malloc/arena.c (get_free_list): Remove assert and adjust
5186         reference count handling.  Add comment about reused_arena
5187         interaction.
5188         (reused_arena): Add comments abount get_free_list interaction.
5189         * malloc/tst-malloc-thread-exit.c: New file.
5190         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
5191         (tst-malloc-thread-exit): Link against libpthread.
5193 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
5195         [BZ #19367]
5196         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
5197         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
5198         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
5199         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
5200         (index_Prefer_MAP_32BIT_EXEC): Likewise.
5202 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
5204         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
5205         Silvermont optimizations for Knights Landing.
5207 2015-12-15  Andreas Schwab  <schwab@suse.de>
5209         [BZ #17197]
5210         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
5211         immediately after emitting SI.
5212         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
5213         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
5214         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
5215         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
5216         * iconvdata/bug-iconv10.c: New file.
5217         * iconvdata/Makefile (tests): Add bug-iconv10.
5218         ($(objpfx)bug-iconv10.out): New rule.
5220 2015-12-15  Florian Weimer  <fweimer@redhat.com>
5222         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
5223         aliasing violation.
5225 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
5227         [BZ #18472]
5228         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
5229         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
5230         conditionals for them.
5231         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
5232         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
5233         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
5234         sys/kdaemon.h.
5235         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
5236         compat-only syscall, obsoleted in glibc 2.23.
5237         (create_module): Likewise.
5238         (get_kernel_syms): Likewise.
5239         (query_module): Likewise.
5240         (uselib): Likewise.
5241         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
5243 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
5245         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
5246         <linux/version.h>.
5247         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
5248         conditional code.
5249         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
5250         and ioshift_name initialization.
5252 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
5254         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
5255         Fix indentation.
5257 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
5259         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
5261 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
5263         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
5265 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
5266             Jakub Wilk  <jwilk@debian.org>
5268         [BZ #19347]
5269         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
5270         to change the group of the device to the tty group.
5272 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
5274         Split large string section; add truncation advice
5275         * manual/examples/strncat.c: Remove.
5276         This example was misleading, as the code would have undefined
5277         behavior if "hello" was longer than SIZE.  Anyway, the manual
5278         shouldn't encourage strncpy+strncat for this sort of thing.
5279         * manual/string.texi (Copying Strings and Arrays): Split into
5280         three sections Copying Strings and Arrays, Concatenating Strings,
5281         and Truncating Strings, as this section was way too long.  All
5282         cross-referenced changed.  Add advice about string-truncation
5283         functions.  Remove misleading strncat example.
5285 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
5287         * manual/nss.texi (NSS Modules Interface): Document
5288         NSS_STATUS_NOTFOUND and SUCCESS.
5290 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
5292         [BZ 18568]
5293         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
5294         201505L, for Unicode 8.
5296 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
5298         * locale/C-translit.h: Regenerate.
5300 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
5302         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
5303         and U+0153.
5305 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
5307         [BZ #19351]
5308         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
5309         expanding log(1+z), compare z rather than its square with epsilon
5310         to determine when to avoid evaluating the expansion.
5312         [BZ #19350]
5313         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
5314         Increase overflow threshold.
5316         [BZ #19349]
5317         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
5318         when small.
5320         * sysdeps/unix/sysv/linux/i386/kernel-features.h
5321         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
5322         New macro.
5323         [__LINUX_KERNEL_VERSION >= 0x040300]
5324         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
5325         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
5326         Likewise.
5327         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
5328         Likewise.
5329         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
5330         Likewise.
5331         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
5332         Likewise.
5333         [__LINUX_KERNEL_VERSION >= 0x040300]
5334         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
5335         [__LINUX_KERNEL_VERSION >= 0x040300]
5336         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
5337         [__LINUX_KERNEL_VERSION >= 0x040300]
5338         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
5339         [__LINUX_KERNEL_VERSION >= 0x040300]
5340         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
5341         [__LINUX_KERNEL_VERSION >= 0x040300]
5342         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
5343         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
5344         Likewise.
5345         [__LINUX_KERNEL_VERSION >= 0x040300]
5346         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
5347         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5348         Likewise.
5349         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
5350         Likewise.
5351         [__LINUX_KERNEL_VERSION >= 0x040300]
5352         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
5353         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5354         Likewise.
5355         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
5356         Likewise.
5357         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5358         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
5359         Likewise.
5360         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
5361         Likewise.
5362         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
5363         Likewise.
5364         [__LINUX_KERNEL_VERSION >= 0x040300]
5365         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
5366         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
5367         Likewise.
5368         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
5369         Likewise.
5370         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
5371         Likewise.
5372         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
5373         Likewise.
5374         [__LINUX_KERNEL_VERSION >= 0x040300]
5375         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
5376         [__LINUX_KERNEL_VERSION >= 0x040300]
5377         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
5378         [__LINUX_KERNEL_VERSION >= 0x040300]
5379         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
5380         [__LINUX_KERNEL_VERSION >= 0x040300]
5381         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
5382         [__LINUX_KERNEL_VERSION >= 0x040300]
5383         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
5384         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
5385         Likewise.
5386         [__LINUX_KERNEL_VERSION >= 0x040300]
5387         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
5388         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5389         Likewise.
5390         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
5391         Likewise.
5392         [__LINUX_KERNEL_VERSION >= 0x040300]
5393         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
5394         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5395         Likewise.
5396         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
5397         Likewise.
5398         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5399         (__ASSUME_SOCKET_SYSCALL): Likewise.
5400         (__ASSUME_BIND_SYSCALL): Likewise.
5401         (__ASSUME_CONNECT_SYSCALL): Likewise.
5402         (__ASSUME_LISTEN_SYSCALL): Likewise.
5403         (__ASSUME_ACCEPT_SYSCALL): Likewise.
5404         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
5405         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
5406         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
5407         (__ASSUME_SEND_SYSCALL): Likewise.
5408         (__ASSUME_SENDTO_SYSCALL): Likewise.
5409         (__ASSUME_RECV_SYSCALL): Likewise.
5410         (__ASSUME_RECVFROM_SYSCALL): Likewise.
5411         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
5412         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
5413         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
5414         (__ASSUME_SENDMSG_SYSCALL): Likewise.
5415         (__ASSUME_RECVMSG_SYSCALL): Likewise.
5416         * sysdeps/unix/sysv/linux/sh/kernel-features.h
5417         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
5418         Likewise.
5419         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
5420         Likewise.
5421         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
5422         Likewise.
5423         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
5424         Likewise.
5425         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
5426         Likewise.
5427         [__LINUX_KERNEL_VERSION >= 0x020625]
5428         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
5429         [__LINUX_KERNEL_VERSION >= 0x020625]
5430         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
5431         [__LINUX_KERNEL_VERSION >= 0x020625]
5432         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
5433         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
5434         Likewise.
5435         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
5436         Likewise.
5437         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
5438         Likewise.
5439         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
5440         Likewise.
5441         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
5442         Likewise.
5443         [__LINUX_KERNEL_VERSION >= 0x020625]
5444         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
5445         [__LINUX_KERNEL_VERSION >= 0x020625]
5446         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
5447         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
5448         Likewise.
5449         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
5450         Likewise.
5452 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
5454         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
5455         record the current if the current ABI and CPU support the FP64
5456         extension.
5457         (has-modd-spreg): Define to record the current if the current ABI and
5458         CPU support 32-bit floating point values in odd FPU registers.
5459         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
5460         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
5461         $(has-modd-spreg) equals yes.
5462         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
5463         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
5464         $(has-modd-spreg) equal yes.
5466 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
5468         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
5469         basename.
5471 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
5473         * benchtests/Makefile (bench-math): Move ffs and ffsll...
5474         (bench-string): ... here.
5475         (bench): Add bench-string.
5476         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
5477         to *-benchset to reflect what they are.
5478         (benchset): Adjust.
5480         * benchtests/sincos-inputs: Add inputs from sin-inputs and
5481         cos-inputs.
5483 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
5485         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
5486         __attribute__ ((__simd__)) for vector math function declarations.
5488 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
5490         Fix typo in strncat, wcsncat manual entries
5491         * manual/string.texi (Copying and Concatenation): Fix typos in
5492         sample implementations of strncat and wcsncat, by having them use
5493         the old value of the destination length, not the new one.
5495 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
5497         [BZ #16961]
5498         [BZ #16962]
5499         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
5500         string on the stack for strtod.
5501         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
5502         a string on the stack for strtof.
5503         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
5504         constructing a string on the stack for strtold.
5505         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
5506         __strtold_nan to GLIBC_PRIVATE.
5507         * math/test-nan-overflow.c: New file.
5508         * math/test-nan-payload.c: Likewise.
5509         * math/Makefile (tests): Add test-nan-overflow and
5510         test-nan-payload.
5512 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
5514         Consistency about byte vs character in string.texi
5515         * manual/string.texi (String and Array Utilities):
5516         Distinguish more carefully among bytes, multibyte characters,
5517         and wide characters.  Use "byte" when talking about C 'char',
5518         to distinguish it more clearly from multibyte characters.
5519         Say "wide character" or "multibyte character" instead of
5520         "character", when a wide or multibyte character is intended.
5521         Similarly for "multibyte string" versus "string".
5522         Define these terms more carefully.
5524 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
5526         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
5527         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
5528         Likewise.
5529         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
5530         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
5531         * sysdeps/sh/math_private.h: New file.
5532         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
5533         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
5534         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
5535         long double function name.
5536         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
5537         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5538         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
5539         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
5540         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5541         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
5542         Remove __finitel, __isinfl, and __isnanl.
5543         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
5544         Likewise.
5545         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
5546         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5547         Remove __finitel.
5548         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5549         Likewise.
5550         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5552 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
5554         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
5555         installed libmvec_nonshared.a.
5557 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5559         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
5560         (sysdep_routines): Likewise.
5561         (sysdep-rtld-routines): Likewise.
5562         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
5563         [$(subdir) = nptl](tests-static): test-get_hwcap-static
5564         * sysdeps/powerpc/Versions: Added new
5565         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
5566         * sysdeps/powerpc/hwcapinfo.c: New file.
5567         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
5568         and parse hwcap, hwcap2 and platform number information.
5569         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
5570         to store HWCAP+HWCAP2 and platform number.
5571         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
5572         for HWCAP+HWCAP2 and platform number in the TCB.
5573         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
5574         the HWCAP, HWCAP2 and platform number in the TCB.
5575         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
5576         (TLS_INIT_TP): Included calls to add the hwcap and
5577         at_platform values in the TCB in TP initialization.
5578         (TLS_DEFINE_INIT_TP): Likewise.
5579         (THREAD_GET_HWCAP): New macro.
5580         (THREAD_SET_HWCAP): Likewise.
5581         (THREAD_GET_AT_PLATFORM): Likewise.
5582         (THREAD_SET_AT_PLATFORM): Likewise.
5583         * sysdeps/powerpc/powerpc32/dl-machine.h:
5584         (dl_platform_init): New function that calls
5585         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
5586         powerpc32.
5587         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
5588         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
5589         this functionality, static linking case.
5590         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
5591         linking case.
5592         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
5593         __parse_hwcap_and_convert_at_platform for the static linking case.
5594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
5595         Included the new __parse_hwcap_and_convert_at_platform symbol in the
5596         ABI list for GLIBC 2.23.
5597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
5598         Likewise.
5599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
5600         Likewise.
5602 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
5604         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
5605         * configure: Regenerate.
5606         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
5607         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
5609 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
5611         * iconvdata/ibm930.c: Add comment explaining encoding uses.
5612         * iconvdata/ibm933.c: Likewise.
5613         * iconvdata/ibm935.c: Likewise.
5614         * iconvdata/ibm937.c: Likewise.
5615         * iconvdata/ibm939.c: Likewise.
5617 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5619         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
5620         pthread_join.
5621         * nptl/tst-cancel21.c (tf): Likewise.
5623 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
5625         [BZ #19313]
5626         * bits/typesizes.h (__CPU_MASK_TYPE): New.
5627         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
5628         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
5629         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
5630         Likewise.
5631         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
5632         Likewise.
5633         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
5634         Likewise.
5635         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
5636         Likewise.
5637         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
5638         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
5639         unsigned long int with __CPU_MASK_TYPE.
5641 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5643         * sysdeps/aarch64/libm-test-ulps: Regenerated.
5645 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
5647         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
5648         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
5649         t512.x.
5650         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
5652 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
5654         [BZ #19214]
5655         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
5656         argument to return extended model.  Update family and model
5657         with extended family and model when family == 0x0f.
5658         (init_cpu_features): Updated.
5660 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5662         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
5663         signed off_t, so 32bit bigger than 2GiB values are fine actually.
5665         * sysdeps/mach/hurd/mmap64.c: New file.
5667 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
5669         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
5670         rights for its main user thread in NEWTASK.
5672 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
5674         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
5675         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
5677 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
5679         [BZ #14259]
5680         * Makeconfig: Rename localedir to complocaledir.
5681         Rename inst_localedir to inst_complocaledir.
5682         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
5683         * config.make.in: Use complocaledir and libc_cv_complocaledir.
5684         * configure.ac: Use libc_cv_complocaledir.
5685         * configure: Regenerate.
5686         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
5687         -DCOMPLOCALEDIR.
5688         * locale/findlocale.c: Use COMPLOCALEDIR.
5689         * locale/loadarchive.c: Likewise.
5690         * locale/programs/locale.c: Likewise.
5691         * locale/programs/localedef.c: Likewise.
5692         * locale/programs/locarchive.c: Likewise.
5693         * localedata/Makefile: Use inst_complocaledir.
5694         * sysdeps/gnu/configure: Regenerate.
5695         * sysdeps/hppa/configure: Regenerate.
5696         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
5697         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
5698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
5699         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
5700         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
5701         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
5702         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
5704 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
5706         [BZ #19058]
5707         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
5708         AS_NEEDED.
5709         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
5710         workaround.
5711         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
5712         libmvec-static-only-routines): Added new file.
5713         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
5715 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5717         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
5718         of interrupted RPC instead of restoring it.
5720         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
5721         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
5722         libc_hidden_def.
5723         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
5724         into initialized data instead of common. Define rtld_hidden_data_def.
5725         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
5726         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
5727         libc_hidden_def.
5728         (if_freenameindex): Add libc_hidden_weak.
5729         (if_nameindex): Add libc_hidden_weak.
5730         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
5731         __open64.
5732         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
5733         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
5734         * sysdeps/mach/nanosleep.c: Include <time.h>
5735         (__nanosleep): Rename to __libc_nanosleep.
5736         (__nanosleep): Add weak_alias.
5737         (nanosleep): Update alias.
5739 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
5741         * stdlib/strtod_nan.c: New file.
5742         * stdlib/strtod_nan_double.h: Likewise.
5743         * stdlib/strtod_nan_float.h: Likewise.
5744         * stdlib/strtod_nan_main.c: Likewise.
5745         * stdlib/strtod_nan_narrow.h: Likewise.
5746         * stdlib/strtod_nan_wide.h: Likewise.
5747         * stdlib/strtof_nan.c: Likewise.
5748         * stdlib/strtold_nan.c: Likewise.
5749         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
5750         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
5751         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
5752         * wcsmbs/wcstod_nan.c: Likewise.
5753         * wcsmbs/wcstof_nan.c: Likewise.
5754         * wcsmbs/wcstold_nan.c: Likewise.
5755         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
5756         strtold_nan.
5757         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
5758         wcstof_nan.
5759         * include/stdlib.h (__strtof_nan): Declare and use
5760         libc_hidden_proto.
5761         (__strtod_nan): Likewise.
5762         (__strtold_nan): Likewise.
5763         (__wcstof_nan): Likewise.
5764         (__wcstod_nan): Likewise.
5765         (__wcstold_nan): Likewise.
5766         * include/wchar.h (____wcstoull_l_internal): Declare.
5767         * stdlib/strtod_l.c: Do not include <ieee754.h>.
5768         (____strtoull_l_internal): Remove declaration.
5769         (STRTOF_NAN): Define macro.
5770         (SET_MANTISSA): Remove macro.
5771         (STRTOULL): Likewise.
5772         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
5773         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
5774         (STRTOF_NAN): Define macro.
5775         (SET_MANTISSA): Remove macro.
5776         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
5777         (SET_MANTISSA): Remove macro.
5778         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
5779         macro.
5780         (SET_MANTISSA): Remove macro.
5781         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
5782         macro.
5783         (SET_MANTISSA): Remove macro.
5784         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
5785         (SET_MANTISSA): Remove macro.
5786         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
5787         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
5788         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
5790         [BZ #19266]
5791         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
5792         upper case and lower case letters inside NAN(), not using TOLOWER.
5793         * stdlib/tst-strtod-nan-locale-main.c: New file.
5794         * stdlib/tst-strtod-nan-locale.c: Likewise.
5795         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
5796         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
5797         Depend on $(gen-locales).
5798         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
5799         * wcsmbs/tst-wcstod-nan-locale.c: New file.
5800         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
5801         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
5802         Depend on $(gen-locales).
5803         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
5805 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
5807         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
5809         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
5810         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
5811         __finitel, __isinfl, and __isnanl.
5812         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
5813         Likewise.
5814         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
5815         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
5816         __finitel.
5817         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5818         Likewise.
5819         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5821 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
5823         * malloc/memusage.c (me): Remove redundant getenv call.
5825 2015-10-24  Florian Weimer  <fweimer@redhat.com>
5827         [BZ #19143]
5828         [BZ #19164]
5829         * nptl/check-cpuset.h: Remove.
5830         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
5831         Remove CPU set size check.
5832         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
5833         Likewise.
5834         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
5835         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
5836         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
5837         (__pthread_setaffinity_new): Remove CPU set size check.
5838         * sysdeps/unix/sysv/linux/sched_setaffinity.c
5839         (__kernel_cpumask_size): Remove.
5840         (__sched_setaffinity_new): Remove CPU set size check.
5841         * manual/threads.texi (Default Thread Attributes): Remove stale
5842         reference to check_cpuset_attr, determine_cpumask_size in comment.
5843         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
5844         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
5845         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
5846         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
5847         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
5848         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
5849         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
5850         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
5851         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
5852         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
5853         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
5854         skeleton test file.
5855         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
5856         tst-affinity-pid.
5858 2015-11-24  Florian Weimer  <fweimer@redhat.com>
5860         * scripts/update-abilist.sh: New file.
5861         * Makefile (+subdir_targets): Add subdir_update-all-abi.
5862         * Makerules (update-all-abi-%, update-all-abi)
5863         (subdir_update-all-abi): New targets.
5864         * elf/Makefile (update-all-abi): New target.
5866 2015-11-24  Florian Weimer  <fweimer@redhat.com>
5868         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
5869         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
5870         (__libc_lock_define_initialized): Use it.
5871         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
5872         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
5873         * malloc/malloc.c (main_arena): Likewise.
5874         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
5875         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
5877 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
5879         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
5880         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
5881         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
5882         (PTRACE_O_MASK): Update value.
5883         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
5884         New value in enum __ptrace_setoptions.
5885         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
5886         (PTRACE_O_MASK): Update value.
5887         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
5888         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
5889         (PTRACE_O_MASK): Update value.
5890         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
5891         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
5892         (PTRACE_O_MASK): Update value.
5893         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
5894         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
5895         (PTRACE_O_MASK): Update value.
5896         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
5897         New value in enum __ptrace_setoptions.
5898         (PTRACE_O_MASK): Update value.
5899         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
5900         New value in enum __ptrace_setoptions.
5901         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
5902         (PTRACE_O_MASK): Update value.
5904         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
5905         New macro.
5906         (PACKET_AUXDATA): Likewise.
5907         (PACKET_ORIGDEV): Likewise.
5908         (PACKET_VERSION): Likewise.
5909         (PACKET_HDRLEN): Likewise.
5910         (PACKET_RESERVE): Likewise.
5911         (PACKET_TX_RING): Likewise.
5912         (PACKET_LOSS): Likewise.
5913         (PACKET_VNET_HDR): Likewise.
5914         (PACKET_TX_TIMESTAMP): Likewise.
5915         (PACKET_TIMESTAMP): Likewise.
5916         (PACKET_FANOUT): Likewise.
5917         (PACKET_TX_HAS_OFF): Likewise.
5918         (PACKET_QDISC_BYPASS): Likewise.
5919         (PACKET_ROLLOVER_STATS): Likewise.
5920         (PACKET_FANOUT_DATA): Likewise.
5921         (PACKET_MR_UNICAST): Likewise.
5923         [BZ #19242]
5924         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
5925         (TOUPPER): Likewise.
5926         * stdlib/tst-strtol-locale-main.c: New file.
5927         * stdlib/tst-strtol-locale.c: Likewise.
5928         * stdlib/Makefile (tests): Add tst-strtol-locale.
5929         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
5930         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
5931         Depend on $(gen-locales).
5932         * wcsmbs/tst-wcstol-locale.c: New file.
5933         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
5934         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
5935         tr_TR.ISO-8859-9.
5936         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
5937         Depend on $(gen-locales).
5939 2015-11-20  Roland McGrath  <roland@hack.frob.com>
5941         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
5942         __glibc_likely instead of __builtin_expect.  After falling back to
5943         dyncode_create in a non-ET_DYN case, use the allocate_code_data
5944         system interface to register the code pages as occupied.
5946 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
5948         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
5949         [!ARM_MATH_PRIVATE_H].
5950         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
5951         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
5952         [!HPPA_MATH_PRIVATE_H].
5953         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
5954         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
5955         to [!I386_MATH_PRIVATE_H].
5956         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
5957         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
5958         Change guard to [!M68K_MATH_PRIVATE_H].
5959         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
5960         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
5961         guard to [!MICROBLAZE_MATH_PRIVATE_H].
5962         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
5963         macro.
5964         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
5965         [!MIPS_MATH_PRIVATE_H].
5966         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
5967         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
5968         [!NIO2_MATH_PRIVATE_H].
5969         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
5970         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
5971         [!TILE_MATH_PRIVATE_H].
5972         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
5974         [BZ #15421]
5975         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
5976         initialize with 0 and define as weak alias of __signgam.
5977         * include/math.h [!_ISOMAC] (__signgam): Declare.
5978         * math/Makefile (libm-calls): Add w_lgamma_compat.
5979         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
5980         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
5981         test-signgam-ullong-init.
5982         (tests-static): Add test-signgam-uchar-static,
5983         test-signgam-uchar-init-static, test-signgam-uint-static,
5984         test-signgam-uint-init-static, test-signgam-ullong-static and
5985         test-signgam-ullong-init-static.
5986         (CFLAGS-test-signgam-uchar.c): New variable.
5987         (CFLAGS-test-signgam-uchar-init.c): Likewise.
5988         (CFLAGS-test-signgam-uchar-static.c): Likewise.
5989         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
5990         (CFLAGS-test-signgam-uint.c): Likewise.
5991         (CFLAGS-test-signgam-uint-init.c): Likewise.
5992         (CFLAGS-test-signgam-uint-static.c): Likewise.
5993         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
5994         (CFLAGS-test-signgam-ullong.c): Likewise.
5995         (CFLAGS-test-signgam-ullong-init.c): Likewise.
5996         (CFLAGS-test-signgam-ullong-static.c): Likewise.
5997         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
5998         * math/Versions (libm): Add GLIBC_2.23.
5999         * math/lgamma-compat.h: New file.
6000         * math/test-signgam-main.c: Likewise.
6001         * math/test-signgam-uchar-init-static.c: Likewise.
6002         * math/test-signgam-uchar-init.c: Likewise.
6003         * math/test-signgam-uchar-static.c: Likewise.
6004         * math/test-signgam-uchar.c: Likewise.
6005         * math/test-signgam-uint-init-static.c: Likewise.
6006         * math/test-signgam-uint-init.c: Likewise.
6007         * math/test-signgam-uint-static.c: Likewise.
6008         * math/test-signgam-uint.c: Likewise.
6009         * math/test-signgam-ullong-init-static.c: Likewise.
6010         * math/test-signgam-ullong-init.c: Likewise.
6011         * math/test-signgam-ullong-static.c: Likewise.
6012         * math/test-signgam-ullong.c: Likewise.
6013         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
6014         wrapper of w_lgamma_main.c.
6015         * math/w_lgamma_compat.c: New file.
6016         * math/w_lgamma_compatf.c: Likewise.
6017         * math/w_lgamma_compatl.c: Likewise.
6018         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
6019         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
6020         defining compatibility symbols.
6021         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
6022         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
6023         wrapper of w_lgammaf_main.c.
6024         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
6025         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
6026         defining compatibility symbols.
6027         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
6028         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
6029         wrapper of w_lgammal_main.c.
6030         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
6031         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
6032         defining compatibility symbols.
6033         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
6034         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
6035         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
6036         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
6037         <lgamma-compat.h>.
6038         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
6039         (__ieee754_gamma): Define as alias.
6040         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
6041         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
6042         <lgamma-compat.h>.
6043         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
6044         (__ieee754_gammaf): Define as alias.
6045         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
6046         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
6047         <lgamma-compat.h>.
6048         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
6049         (__ieee754_gammal): Define as alias.
6050         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
6051         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
6052         <math/w_lgamma_compat.c>.
6053         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
6054         Define as alias of __lgamma_compat and use in defining lgammal.
6055         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
6056         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
6057         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
6058         (USE_AS_COMPAT): New macro.
6059         (LGAMMA_OLD_VER): Undefine and redefine.
6060         (lgammal): Do not define here.
6061         (gammal): Only define here if [GAMMA_ALIAS].
6062         * conform/linknamespace.pl (@whitelist): Remove signgam.
6063         * sysdeps/nacl/libm.abilist: Update.
6064         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6065         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6066         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6067         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6068         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6069         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6070         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6071         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6072         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6073         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6074         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6075         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6077         Likewise.
6078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6079         Likewise.
6080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6081         Likewise.
6082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6083         Likewise.
6084         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6085         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6086         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6087         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6088         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6089         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6090         Likewise.
6091         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6092         Likewise.
6093         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6094         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6095         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6097 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6099         [BZ #16364]
6100         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
6101         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
6103 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6105         * sysdeps/s390/fpu/bits/mathinline.h:
6106         Use __asm__ [__volatile__] instead of asm [volatile].
6107         * sysdeps/s390/abort-instr.h: Likewise.
6108         * sysdeps/s390/atomic-machine.h: Likewise.
6109         * sysdeps/s390/bits/string.h: Likewise.
6110         * sysdeps/s390/dl-tls.h: Likewise.
6111         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
6112         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
6113         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
6114         * sysdeps/s390/fpu/fesetround.c: Likewise.
6115         * sysdeps/s390/fpu/fpu_control.h: Likewise.
6116         * sysdeps/s390/fpu/s_fma.c: Likewise.
6117         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
6118         * sysdeps/s390/memusage.h: Likewise.
6119         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
6120         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
6121         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
6122         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
6123         * sysdeps/s390/nptl/tls.h: Likewise.
6124         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
6125         * sysdeps/s390/s390-32/backtrace.c: Likewise.
6126         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
6127         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
6128         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
6129         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
6130         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
6131         * sysdeps/s390/s390-64/backtrace.c: Likewise.
6132         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
6133         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
6134         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
6135         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
6136         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
6137         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
6138         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
6139         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
6140         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
6141         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
6142         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
6143         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6144         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
6145         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6146         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
6148 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6149             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6151         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
6152         Add lwarx hint, and use macro for acquire instruction.
6153         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
6154         Likewise.
6155         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
6156         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
6157         update to use new atomic macros.
6159 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6161         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
6162         (__lll_trylock_elision): Fix setting of adapt_count.
6163         * sysdeps/unix/sysv/linux/powerpc/htm.h
6164         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
6165         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
6166         (_ABORT_SYSCALL): Renumber, and clarify definition.
6167         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
6169 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6171         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
6172         after system headers to prevent MIN/MAX redefinition.  Define
6173         HAVE_ALLOCA to preserve builtin alloca usage.
6175 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
6177         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
6178         static and don't set or restore rounding.
6179         (__cos)[IN_SINCOS]: Likewise.
6180         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
6181         (__sincos): Set and restore rounding mode.  Remove check for infinite
6182         or NaN input.
6184         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
6186         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
6187         as used.
6189 2015-11-16  Florian Weimer  <fweimer@redhat.com>
6191         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
6193 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
6195         * config.make.in (have-glob-dat-reloc): New.
6196         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
6197         target supports GLOB_DAT relocaton. AC_SUBST.
6198         * configure: Regenerated.
6199         * elf/Makefile (tests): Add tst-prelink.
6200         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
6201         (tst-prelink-ENV): New.
6202         ($(objpfx)tst-prelink-conflict.out): Likewise.
6203         ($(objpfx)tst-prelink-cmp.out): Likewise.
6204         * sysdeps/x86/tst-prelink.c: Moved to ...
6205         * elf/tst-prelink.c: Here.
6206         * sysdeps/x86/tst-prelink.exp: Moved to ...
6207         * elf/tst-prelink.exp: Here.
6208         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
6209         (tst-prelink-ENV): Removed.
6210         ($(objpfx)tst-prelink-conflict.out): Likewise.
6211         ($(objpfx)tst-prelink-cmp.out): Likewise.
6212         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
6214 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
6216         [BZ #14551]
6217         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
6218         (__mpn_construct_long_double): If high part overflows to infinity,
6219         set errno and recompute overflowed result of the correct sign.
6220         * sysdeps/ieee754/ldbl-128ibm/Makefile
6221         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
6222         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
6223         $(libm).
6224         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
6226 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
6228         [BZ #15479]
6229         [BZ #19238]
6230         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
6231         floating-point state after first operation on input.  Restore full
6232         state rather than just rounding mode.
6233         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
6234         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
6235         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
6237         [BZ #19235]
6238         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
6239         add 0.5 to integer arguments.
6240         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
6241         Likewise.
6242         (.LC2): New object.
6244 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
6246         * scripts/pylintrc (reports): Set to no.
6248 2015-11-10  Roland McGrath  <roland@hack.frob.com>
6250         * elf/dl-load.c (open_verify): Take new argument FD.
6251         Skip __open call if passed FD is not -1.
6252         (_dl_map_object, open_path): Update callers.
6253         * elf/dl-sysdep-open.h: New file.
6254         * elf/dl-load.c: Include it.
6255         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
6256         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
6257         * sysdeps/nacl/dl-sysdep-open.h: New file.
6258         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
6259         from libc to rtld.
6261 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
6263         [BZ #19228]
6264         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
6265         and restore full floating-point state.
6266         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
6267         Likewise.
6268         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
6269         Likewise.
6270         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
6271         Likewise.
6272         * math/test-nearbyint-except-2.c: New file.
6273         * math/Makefile (tests): Add test-nearbyint-except-2.
6275 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
6277         [BZ #19178]
6278         * sysdeps/x86/Makefile (tests): Add tst-prelink.
6279         (tst-prelink-ENV): New.
6280         ($(objpfx)tst-prelink-conflict.out): Likewise.
6281         ($(objpfx)tst-prelink-cmp.out): Likewise.
6282         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
6283         * sysdeps/x86/tst-prelink.c: New file.
6284         * sysdeps/x86/tst-prelink.exp: Likewise.
6286 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
6288         * math/auto-libm-test-in: Add another test of pow.
6289         * math/auto-libm-test-out: Regenerated.
6290         * math/libm-test.inc (pow_test_data): Add another test.
6292 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6294         [BZ #19219]
6295         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
6296         weak_alias to nearbyintl.
6298 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
6300         * sysdeps/aarch64/bits/string.h: New file.
6301         (_STRING_ARCH_unaligned): Define.
6303 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
6305         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
6306         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
6307         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
6308         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
6309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
6311 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
6313         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
6314         for original name of the DSO.  Add it to the name list of the DSO
6315         if it is actually given.
6316         (_dl_map_object): Keep track of whether an audit module rewrote
6317         the file name.  If yes, pass the original name to
6318         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
6319         debugging is enabled, log the change of the file name.
6320         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
6321         _dl_map_object_from_fd.
6322         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
6323         * elf/tst-audit11.c: New file
6324         * elf/tst-auditmod11.c: New file.
6325         * elf/tst-audit11mod1.c: New file.
6326         * elf/tst-audit11mod2.c: New file.
6327         * elf/tst-audit11mod2.map: New file.
6328         * elf/tst-audit12.c: New file
6329         * elf/tst-auditmod12.c: New file.
6330         * elf/tst-audit12mod1.c: New file.
6331         * elf/tst-audit12mod2.c: New file.
6332         * elf/tst-audit12mod2.map: New file.
6333         * elf/tst-audit12mod3.c: New file.
6335 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
6337         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
6338         Don't create weak aliases,
6339         because versioned symbols are created later.
6340         * sysdeps/s390/s390-32/setjmp.S
6341         (setjmp, _setjmp): Remove weak and rename to an unique name
6342         in SHARED case due to existing versioned symbols.
6343         * sysdeps/s390/s390-64/setjmp.S: Likewise.
6344         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
6345         (getcontext): Create weak alias only in non SHARED case.
6346         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
6348 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
6350         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
6351         (__ASSUME_*_SYSCALL) Define new macros.
6352         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
6353         Remove socketcall syscalls.
6354         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
6355         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
6356         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
6357         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
6358         * sysdeps/unix/sysv/linux/send.c (__libc_send):
6359         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
6361 2015-11-09  Florian Weimer  <fweimer@redhat.com>
6363         [BZ #12926]
6364         Terminate process on invalid netlink response.
6365         * sysdeps/unix/sysv/linux/netlinkaccess.h
6366         (__netlink_assert_response): Declare.
6367         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
6368         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
6369         (sysdep_routines): Add netlink_assert_response.
6370         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
6371         __netlink_assert_response.
6372         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
6373         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
6374         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
6375         __netlink_assert_response.
6377 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
6379         [BZ #19178]
6380         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
6381         (RTYPE_CLASS_PLT): Likewise.
6382         (RTYPE_CLASS_COPY): Likewise.
6383         (RTYPE_CLASS_TLS): Likewise.
6384         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
6385         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
6386         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
6387         DL_DEBUG_PRELINK.
6389 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
6391         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
6392         calls with argument -0.5.
6393         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
6395         * configure.ac (libc_cv_z_nodelete): Remove configure test.
6396         (libc_cv_z_nodlopen): Likewise.
6397         (libc_cv_z_initfirst): Likewise.
6398         * configure: Regenerated.
6400 2015-11-06  Florian Weimer  <fweimer@redhat.com>
6402         Simplify abilist format to be line-based.
6403         * scripts/abilist.awk: Collect descriptors in the descs variable.
6404         (emit): Write descs variable and sort it
6405         externally, with sort.
6406         * sysdeps/**/*.abilist: Convert to new format.
6408 2015-11-06  Mark Wielaard  <mjw@redhat.com>
6410         [BZ #11460]
6411         * io/Makefile (routines): Add fts64.
6412         (tests): Add tst-fts and tst-fts-lfs.
6413         (CFLAGS-fts64.c): New.
6414         * io/Versions (GLIBC_2.23): New.
6415         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
6416         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
6417         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
6418         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
6419         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
6420         (FTSENT64): Likewise.
6421         (fts64_children): Likewise.
6422         (fts64_close): Likewise.
6423         (fts64_open): Likewise.
6424         (fts64_read): Likewise.
6425         (fts64_set): Likewise.
6426         * io/fts64.c: New file.
6427         * io/tst-fts.c: New test.
6428         * io/tst-fts-lfs.c: Likewise.
6429         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
6430         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
6431         fts64_set.
6432         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
6433         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
6434         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
6435         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
6436         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
6437         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
6438         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
6439         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
6440         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
6441         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
6442         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
6443         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
6444         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
6445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
6446         Likewise.
6447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6448         Likewise.
6449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
6450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
6451         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6452         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6453         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
6454         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6455         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6456         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
6457         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
6458         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
6459         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
6460         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
6461         * sysdeps/wordsize-64/fts.c: New file.
6462         * sysdeps/wordsize-64/fts64.c: Likewise.
6463         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
6464         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
6465         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
6466         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
6468 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
6470         * math/libm-test.inc (NON_FINITE): New macro.
6471         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
6472         * math/gen-libm-test.pl (show_exceptions): Add argument
6473         $non_finite.
6474         (parse_args): Update call to show_exceptions.
6475         * math/test-math-finite.h: New file.
6476         * math/test-math-no-finite.h: Likewise.
6477         * math/test-double-finite.c: Likewise.
6478         * math/test-float-finite.c: Likewise.
6479         * math/test-ldouble-finite.c: Likewise.
6480         * math/test-double.c: Include "test-math-no-finite.h".
6481         * math/test-float.c: Include "test-math-no-finite.h".
6482         * math/test-ldouble.c: Include "test-math-no-finite.h".
6483         * math/test-math-inline.h (TEST_FINITE): New macro.
6484         * math/test-math-vector.h (TEST_FINITE): Likewise.
6485         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
6486         (libm-tests): Add test-float-finite and test-double-finite.
6487         ($(objpfx)test-float-finite.o): New dependency on
6488         $(objpfx)libm-test.stmp.
6489         ($(objpfx)test-double-finite.o): Likewise.
6490         ($(objpfx)test-ldouble-finite.o): Likewise.
6491         (libm-test-no-inline-cflags): New variable.
6492         (libm-test-finite-cflags): Likewise.
6493         (CFLAGS-test-float-finite.c): Likewise.
6494         (CFLAGS-test-double-finite.c): Likewise.
6495         (CFLAGS-test-ldouble-finite.c): Likewise.
6496         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
6497         (CFLAGS-test-double.c): Likewise.
6498         (CFLAGS-test-ldouble.c): Likewise.
6500 2015-11-05  Roland McGrath  <roland@hack.frob.com>
6502         * io/fcntl.c (__fcntl): Add ... to prototype.
6503         * misc/ioctl.c (__ioctl): Likewise.
6504         * misc/syscall.c (syscall): Likewise.
6506 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
6508         * scripts/list-fixed-bugs.py: New file.
6510         [BZ #19213]
6511         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
6512         returned for argument 1.
6513         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
6514         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
6515         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
6516         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
6517         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
6518         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
6520         [BZ #19211]
6521         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
6522         __USE_XOPEN], not if [!__USE_ISOC99].
6523         (lgammaf): Likewise.
6524         (lgammal): Likewise.
6525         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
6526         (gammaf): Likewise.
6527         (gammal): Likewise.
6528         * math/test-signgam-finite-c11.c: New file.
6529         * math/test-signgam-finite-c99.c: Likewise.
6530         * math/test-signgam-finite.c: Likewise.
6531         * math/Makefile (tests): Add test-signgam-finite,
6532         test-signgam-finite-c99 and test-signgam-finite-c11.
6533         (CFLAGS-test-signgam-finite.c): New variable.
6534         (CFLAGS-test-signgam-finite-c99.c): Likewise.
6535         (CFLAGS-test-signgam-finite-c11.c): Likewise.
6537         [BZ #19212]
6538         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
6539         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
6540         500].
6541         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
6542         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
6543         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
6544         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
6545         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
6546         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
6547         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
6548         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
6549         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
6550         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
6552         [BZ #19209]
6553         * math/bits/math-finite.h (ldexp): Remove declaration.
6554         (ldexpf): Likewise.
6555         (ldexpl): Likewise.
6557         [BZ #19205]
6558         * math/bits/math-finite.h (acosf): Condition declaration on
6559         [__USE_ISOC99].
6560         (acosl): Likewise.
6561         (acoshf): Likewise.
6562         (acoshl): Likewise.
6563         (asinf): Likewise.
6564         (asinl): Likewise.
6565         (atan2f): Likewise.
6566         (atan2l): Likewise.
6567         (atanhf): Likewise.
6568         (atanhl): Likewise.
6569         (coshf): Likewise.
6570         (coshl): Likewise.
6571         (expf): Likewise.
6572         (expl): Likewise.
6573         (fmodf): Likewise.
6574         (fmodl): Likewise.
6575         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
6576         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
6577         (j0l): Likewise.
6578         (y0f): Likewise.
6579         (y0l): Likewise.
6580         (j1f): Likewise.
6581         (j1l): Likewise.
6582         (y1f): Likewise.
6583         (y1l): Likewise.
6584         (jnf): Likewise.
6585         (jnl): Likewise.
6586         (ynf): Likewise.
6587         (ynl): Likewise.
6588         (lgammaf_r): Condition declaration on [__USE_ISOC99].
6589         (lgammal_r): Likewise.
6590         (__lgamma_r_finite): New declaration.
6591         (__lgammaf_r_finite): Likewise.
6592         (__lgammal_r_finite): Likewise.
6593         (lgamma): Use __lgamma_r_finite.
6594         (lgammaf): Condition definition on [__USE_ISOC99].  Use
6595         __lgammaf_r_finite.
6596         (lgammal): Condition definition on [__USE_ISOC99].  Use
6597         __lgammal_r_finite.
6598         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
6599         __lgamma_r_finite.
6600         (gammaf): Condition definition on [__USE_ISOC99].  Use
6601         __lgammaf_r_finite.
6602         (gammal): Condition definition on [__USE_ISOC99].  Use
6603         __lgammal_r_finite.
6604         (logf): Condition declaration on [__USE_ISOC99].
6605         (logl): Likewise.
6606         (log10f): Likewise.
6607         (log10l): Likewise.
6608         (ldexpf): Likewise.
6609         (ldexpl): Likewise.
6610         (powf): Likewise.
6611         (powl): Likewise.
6612         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
6613         __USE_ISOC99].
6614         (remainderf): Condition declaration on [__USE_ISOC99].
6615         (remainderl): Likewise.
6616         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
6617         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
6618         (scalbl): Likewise.
6619         (sinhf): Condition declaration on [__USE_ISOC99].
6620         (sinhl): Likewise.
6621         (sqrtf): Likewise.
6622         (sqrtl): Likewise.
6624 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
6626         * sysdeps/arm/atomic-machine.h
6627         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
6628         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
6629         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
6630         Remove conditional code.
6631         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
6632         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
6633         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
6634         Change conditional to [__ASSEMBLER__].
6635         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
6636         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
6637         [!__ASSEMBLER__].
6638         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
6639         code.
6640         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
6641         conditional macro definitions.
6642         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
6643         (__arch_compare_and_exchange_val_16_acq): Likewise.
6644         (__arch_compare_and_exchange_val_32_acq): Likewise.
6645         (atomic_exchange_and_add): Likewise.
6646         (atomic_add): Likewise.
6647         (atomic_add_negative): Likewise.
6648         (atomic_add_zero): Likewise.
6649         (atomic_bit_set): Likewise.
6650         (atomic_bit_test_set): Likewise.
6651         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
6652         code unconditional.
6653         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
6655         * math/test-math-errno.h: New file.
6656         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
6657         empty.
6658         (TEST_ERRNO): New macro.
6659         (TEST_EXCEPTIONS): Likewise.
6660         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
6661         (TEST_EXCEPTIONS): Likewise.
6662         * math/test-math-vector.h (TEST_ERRNO): Likewise.
6663         * math/test-double.c: Include "test-math-errno.h".
6664         * math/test-float.c: Likewise.
6665         * math/test-ldouble.c: Likewise.
6666         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
6667         code unconditional.
6668         (test_exceptions): Only run code if TEST_EXCEPTIONS.
6669         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
6670         unconditional.
6671         (test_errno): Only run code if TEST_ERRNO.
6672         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
6674 2015-11-04  Florian Weimer  <fweimer@redhat.com>
6676         * nptl/tst-once5.cc: Remove attribution.
6678 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
6680         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
6681         sqrt, tan, tanh, y0, y1 and yn.
6682         * math/auto-libm-test-out: Regenerated.
6683         * math/libm-test.inc (scalb_test_data): Add more tests.
6684         (scalbn_test_data): Likewise.
6685         (scalbln_test_data): Likewise.
6686         (signbit_test_data): Likewise.
6687         (sin_test_data): Likewise.
6688         (sincos_test_data): Likewise.
6689         (sinh_test_data): Likewise.
6690         (sqrt_test_data): Likewise.
6691         (tan_test_data): Likewise.
6692         (tanh_test_data): Likewise.
6693         (tgamma_test_data): Likewise.
6694         (y0_test_data): Likewise.
6695         (y1_test_data): Likewise.
6696         (yn_test_data): Likewise.
6697         (significand_test_data): Likewise.
6698         * sysdeps/i386/fpu/libm-test-ulps: Update.
6700 2015-11-03  David Kastrup  <dak@gnu.org>
6702         [BZ #18604]
6703         * assert/assert.h (assert): Don't macro-expand failed assertion
6704         expression in error message.
6705         * malloc/malloc.c (assert): Likewise.
6707 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
6709         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
6710         test.
6711         * configure: Regenerated.
6713 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
6715         * math/libm-test.inc (modf_test_data): Add more tests.
6716         (nearbyint_test_data): Likewise.
6717         (nextafter_test_data): Likewise.
6718         (nexttoward_test_data): Likewise.
6719         (pow_test_data): Likewise.
6720         (remainder_test_data): Likewise.
6721         (remquo_test_data): Likewise.
6722         (rint_test_data): Likewise.
6724         [BZ #19201]
6725         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
6726         Check for zero remainder in case of large exponents and ensure
6727         correct sign of result in that case.
6728         * math/libm-test.inc (remainder_test_data): Add more tests.
6730         [BZ #6799]
6731         * math/s_nextafter.c: Include <errno.h>.
6732         (__nextafter): Set errno on overflow and underflow.
6733         * math/s_nexttowardf.c: Include <errno.h>.
6734         (__nexttowardf): Set errno on overflow and underflow.
6735         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
6736         (__nextafterl): Set errno on overflow and underflow.
6737         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
6738         (__nexttoward): Set errno on overflow and underflow.
6739         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
6740         (__nexttowardf): Set errno on overflow and underflow.
6741         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
6742         (__nextafterf): Set errno on overflow and underflow.
6743         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
6744         (__nextafterl): Set errno on overflow and underflow.
6745         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
6746         (__nexttoward): Set errno on overflow and underflow.
6747         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
6748         (__nexttowardf): Set errno on overflow and underflow.
6749         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
6750         (__nextafterl): Set errno on overflow and underflow.
6751         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
6752         (__nexttoward): Set errno on overflow and underflow.
6753         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
6754         (__nexttowardf): Set errno on overflow and underflow.
6755         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
6756         (__nexttoward): Set errno on overflow and underflow.
6757         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
6758         (__nexttowardf): Set errno on overflow and underflow.
6759         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
6760         (__nldbl_nexttowardf): Set errno on overflow and underflow.
6761         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
6762         (__nextafterl): Set errno on overflow and underflow.
6763         * math/libm-test.inc (nextafter_test_data): Do not allow errno
6764         setting to be missing on overflow.  Add more tests.
6765         (nexttoward_test_data): Likewise.
6767         * configure.ac (libc_cv_initfini_array): Remove configure test.
6768         * configure: Regenerated.
6770 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
6772         [BZ #19189]
6773         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
6774         non-finite argument handle arguments with negative sign.
6776         * math/libm-test.inc (j0_test_data): Do not test sign of zero
6777         result from infinite argument.
6778         (j1_test_data): Likewise.
6779         (jn_test_data): Likewise.
6780         (y0_test_data): Likewise.
6781         (y1_test_data): Likewise.
6782         (yn_test_data): Likewise.
6784         [BZ #16171]
6785         * math/w_remainder.c (drem): Define as weak alias of __remainder.
6786         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
6787         * math/w_remainderf.c (dremf): Define as weak alias of
6788         __remainderf.
6789         * math/w_remainderl.c (dreml): Define as weak alias of
6790         __remainderl.
6791         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
6792         __remainder.
6793         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
6794         __remainderf.
6795         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
6796         __remainderl.
6797         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
6798         weak alias of remainderl.
6799         * sysdeps/ieee754/ldbl-opt/w_remainder.c
6800         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
6801         alias of __remainder.
6802         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
6803         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
6804         strong alias of __remainderl.
6805         (dreml): Use long_double_symbol.
6806         * math/Makefile (libm-calls): Remove w_drem.
6807         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
6808         (CFLAGS-nldbl-drem.c): Remove variable.
6809         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
6810         * math/w_drem.c: Remove file.
6811         * math/w_dremf.c: Likewise.
6812         * math/w_dreml.c: Likewise.
6813         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
6814         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
6815         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
6817         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
6818         * sysdeps/i386/configure: Regenerated.
6819         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
6820         * sysdeps/x86_64/configure: Regenerated.
6822         * configure.ac (libc_cv_asm_protected_directive): Remove configure
6823         test.
6824         (libc_cv_visibility_attribute): Likewise.
6825         (libc_cv_protected_data): Test unconditionally.
6826         (libc_cv_broken_visibility_attribute): Remove configure test.
6827         (libc_cv_have_sdata_section): Test unconditionally.
6828         * configure: Regenerated.
6830         * include/libc-internal.h (libc_max_align_t): Remove typedef.
6831         * include/scratch_buffer.h: Include <stddef.h> instead of
6832         <libc-internal.h>.
6833         (struct scratch_buffer): Use max_align_t instead of
6834         libc_max_align_t.
6836 2015-10-29  Florian Weimer  <fweimer@redhat.com>
6838         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
6839         instead of extend_alloca.  Change control flow to avoid a goto.
6840         Remove assert which is trivially always true.
6842 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
6844         [BZ #16068]
6845         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
6846         (FE_ALL_EXCEPT_X86): New macro.
6847         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
6848         FE_ALL_EXCEPT.  Ensure precision control is included in
6849         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
6850         handle "denormal operand exception" and clear FZ and DAZ bits.
6851         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
6852         (FE_ALL_EXCEPT_X86): New macro.
6853         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
6854         FE_ALL_EXCEPT.  Ensure precision control is included in
6855         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
6856         handle "denormal operand exception" and clear FZ and DAZ bits.
6857         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
6858         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
6859         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
6860         test-fenv-x87 and test-fenv-sse-2.
6861         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
6863         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
6864         * math/test-double.h (BUILD_COMPLEX): New macro.
6865         * math/test-float.h (BUILD_COMPLEX): Likewise.
6866         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
6868         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
6869         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
6870         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
6871         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
6872         instead of DBL_DENORM_MIN in comment.
6873         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
6874         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
6875         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
6876         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
6877         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
6878         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
6880 2015-10-28  Florian Weimer  <fweimer@redhat.com>
6882         [BZ# 19048]
6883         * malloc/malloc.c (struct malloc_state): Update comment.  Add
6884         attached_threads member.
6885         (main_arena): Initialize attached_threads.
6886         * malloc/arena.c (list_lock): Update comment.
6887         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
6888         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
6889         (deattach_arena): New function.
6890         (_int_new_arena): Initialize arena reference count and deattach
6891         replaced arena.
6892         (get_free_list, reused_arena): Update reference count and deattach
6893         replaced arena.
6894         (arena_thread_freeres): Update arena reference count and only put
6895         unreferenced arenas on the free list.
6897 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
6899         [BZ #19181]
6900         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
6901         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
6902         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
6903         * math/test-fenv-clear-main.c: New file.
6904         * math/test-fenv-clear.c: Likewise.
6905         * math/Makefile (tests): Add test-fenv-clear.
6906         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
6907         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
6908         test-fenv-clear-sse.
6909         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
6911         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
6912         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
6913         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
6915 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6917         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
6918         static libc.
6920 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
6922         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
6923         test.
6924         * sysdeps/i386/configure: Regenerated.
6925         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
6926         test.
6927         * sysdeps/x86_64/configure: Regenerated.
6928         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
6929         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6930         memset-avx2 unconditionally instead of conditionally on
6931         [$(config-cflags-avx2) = yes].
6932         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
6933         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
6934         unconditional.
6935         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
6936         * sysdeps/x86_64/multiarch/memset_chk.S
6937         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
6938         to [IS_IN (libc) && SHARED].
6940 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
6942         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
6943         configure test.
6944         * sysdeps/arm/configure: Regenerated.
6945         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
6946         Define variable if not already defined.
6948         [BZ #17404]
6949         * sysdeps/mips/atomic-machine.h
6950         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
6951         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
6952         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
6954         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
6955         unconditional.
6956         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
6957         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
6958         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
6959         unconditional.
6960         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
6961         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
6962         unconditional.
6963         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
6964         * stdlib/setenv.c
6965         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
6966         code unconditional.
6967         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
6968         Remove conditional code.
6969         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
6970         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
6971         unconditional.
6972         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
6973         code.
6974         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
6975         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
6976         unconditional.
6977         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
6978         code.
6979         * sysdeps/ieee754/ldbl-128/k_tanl.c
6980         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
6981         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
6982         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
6983         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
6984         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
6985         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
6986         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
6987         unconditional.
6988         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
6989         code.
6990         * sysdeps/ieee754/ldbl-96/k_tanl.c
6991         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
6992         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
6994         * nptl/tst-initializers1-c11.c: New file.
6995         * nptl/tst-initializers1-gnu11.c: Likewise.
6996         * nptl/Makefile (tests): Add these new tests.
6997         (CFLAGS-tst-initializers1-c11.c): New variable.
6998         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
7000         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
7001         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
7002         instead of -std=gnu99.
7003         * configure.ac (systemtap): Test with -std=gnu11 instead of
7004         -std=gnu99.
7005         * configure: Regenerated.
7006         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
7007         in compilation command in comment.
7009         * sysdeps/nptl/configure.ac: Remove file.
7010         * sysdeps/nptl/configure: Remove generated file.
7011         * configure.ac (libc_cv_forced_unwind): Do not substitute.
7012         * configure: Regenerated.
7013         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
7014         * config.make.in (have-forced-unwind): Remove variable.
7015         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
7016         unconditional.
7017         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
7018         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
7019         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
7020         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
7021         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
7022         unconditional.
7024 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7026         [BZ #19174]
7027         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
7028         .skip_lock_out_of_tbegin_retries.
7029         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
7030         (__lll_lock_elision): Likewise, and respect a value of
7031         try_tbegin <= 0.
7033 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7035         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
7036         statement.
7038 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
7040         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
7041         variable.
7042         (test-xfail-ISO11/stdalign.h/conform): Likewise.
7043         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
7045         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
7046         of -std=c1x -D_ISOC11_SOURCE.
7048         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
7049         * configure: Regenerated.
7050         * manual/install.texi (Tools for Compilation): Document
7051         requirement for GCC 4.7 or later.
7052         * INSTALL: Regenerated.
7054 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
7056         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
7057         on CNT to a conditional jump to 'puntdata'.
7059 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
7061         * configure.ac (libc_cv_gcc___thread): Remove configure test.
7062         (libc_cv_gcc_tls_model_attr): Likewise.
7063         * configure: Regenerated.
7065         * configure.ac (libc_cv_need_minus_P): Remove configure test.
7066         * configure: Regenerated.
7067         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
7069 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
7071         * configure.ac (old_glibc_headers): Remove configure test.
7072         * configure: Regenerated.
7073         * config.make.in (old-glibc-headers): Remove variable.
7074         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
7075         (install): Remove dependency on remove-old-headers.
7076         (headers2_0): Remove variable.
7077         (remove-old-headers): Remove rule.
7079         * configure.ac (libc_cv_dot_text): Remove configure test.
7080         (libc_cv_asm_set_directive): Use .text instead of
7081         ${libc_cv_dot_text} in configure test.
7082         * configure: Regenerated.
7084 2015-10-26  Florian Weimer  <fweimer@redhat.com>
7086         [BZ #19168]
7087         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
7089 2015-10-26  Florian Weimer  <fweimer@redhat.com>
7091         * configure.ac (CXX): Clear the variable if the C++ toolchain does
7092         not support static linking.
7093         * configure: Regenerate.
7095 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
7097         * math/libm-test.inc (check_float_internal): Do not special-case
7098         errors up to 0.5 ulp.
7100         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
7101         log2.
7102         * math/auto-libm-test-out: Regenerated.
7103         * math/libm-test.inc (MAX_EXP): New macro.
7104         (ilogb_test_data): Add more tests.
7105         (isfinite_test_data): Likewise.
7106         (isgreater_test_data): Likewise.
7107         (isgreaterequal_test_data): Likewise.
7108         (isinf_test_data): Likewise.
7109         (isless_test_data): Likewise.
7110         (islessequal_test_data): Likewise.
7111         (islessgreater_test_data): Likewise.
7112         (isnan_test_data): Likewise.
7113         (isnormal_test_data): Likewise.
7114         (issignaling_test_data): Likewise.
7115         (isunordered_test_data): Likewise.
7116         (j0_test_data): Likewise.
7117         (j1_test_data): Likewise.
7118         (jn_test_data): Likewise.
7119         (lgamma_test_data): Likewise.
7120         (log_test_data): Likewise.
7121         (log10_test_data): Likewise.
7122         (log1p_test_data): Likewise.
7123         (log2_test_data): Likewise.
7124         (logb_test_data): Likewise.
7125         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7127         [BZ #18611]
7128         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
7129         avoid excess range and precision on underflow.
7130         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
7131         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
7132         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
7133         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
7134         underflow.
7135         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
7136         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
7137         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
7138         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
7139         * math/auto-libm-test-in: Do not allow missing errno setting for
7140         tests of j1 and jn.
7141         * math/auto-libm-test-out: Regenerated.
7143 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
7145         [BZ #15491]
7146         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
7147         floating-point environment instead of clearing all exceptions.
7148         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
7149         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
7150         merging in "invalid" exceptions from frndint.
7151         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
7152         * math/test-nearbyint-except.c: New file.
7153         * math/Makefile (tests): Add test-nearbyint-except.
7155 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
7157         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
7159         * sysdeps/tile/libm-test-ulps: Regenerated.
7161 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
7164         (__NR_sync_file_range2): Assume it is always defined.
7165         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
7166         (__NR_sync_file_range): Assume it is always defined.
7168 2015-10-22  Andreas Schwab  <schwab@suse.de>
7170         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
7171         INTERNAL_SYSCALL_ERRNO.
7172         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7173         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
7174         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7175         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
7176         Likewise.
7177         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7179 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
7181         * io/tst-fcntl.c (fd): New static variable.
7182         (do_prepare): Open temporary file here....
7183         (do_test): ...not here.
7185         * io/ftwtest-sh: Also trap on exit to remove temporary files.
7187 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
7189         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
7190         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
7191         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
7192         Moved before "#ifdef __ASSEMBLER__".
7194 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
7196         [BZ #19156]
7197         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
7198         arguments very close to 0.
7200 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
7202         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
7203         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
7205 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
7207         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
7208         New.  Defined for GCC 5 and above when not compiling for
7209         profiling.
7210         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
7212         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
7213         Renamed to ...
7214         (CFLAGS-epoll_pwait.o): This.
7215         (CFLAGS-mmap.c): Renamed to ...
7216         (CFLAGS-mmap.o): This.
7217         (CFLAGS-mmap64.c): Renamed to ...
7218         (CFLAGS-mmap64.o): This.
7219         (CFLAGS-epoll_pwait.os): New.
7220         (CFLAGS-mmap.os): Likewise.
7221         (CFLAGS-mmap64.os): Likewise.
7222         (CFLAGS-semtimedop.os): Likewise.
7223         (CFLAGS-semtimedop.c): Renamed to ...
7224         (CFLAGS-semtimedop.o): This.
7226 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7228         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
7229         warning message.
7231 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
7233         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
7234         * Makefile ($(objpfx)c++-types-check.out): Filter out
7235         $(+gccwarn-c) instead of -Wstrict-prototypes.
7237         * io/fts.c (fts_open): Convert to prototype-style function
7238         definition.
7239         * malloc/mcheck.c (mcheck): Likewise.
7240         (mcheck_pedantic): Likewise.
7241         * posix/regexec.c (re_search_2_stub): Likewise.  Use
7242         internal_function.
7243         (re_search_internal): Likewise.
7244         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
7245         prototype-style function definition.
7246         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
7247         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
7248         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
7249         (xdr_utmpptr): Likewise.
7250         (xdr_utmparr): Likewise.
7251         (xdr_utmpidle): Likewise.
7252         (xdr_utmpidleptr): Likewise.
7253         (xdr_utmpidlearr): Likewise.
7255         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
7256         log, log10 and log2.
7257         * math/auto-libm-test-out: Regenerated.
7258         * math/libm-test.inc (fmod_test_data): Add more tests.
7259         (fpclassify_test_data): Likewise.
7260         (frexp_test_data): Likewise.
7261         (hypot_test_data): Likewise.
7262         (ilogb_test_data): Likewise.
7264 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
7266         * debug/fortify_fail.c (__fortify_fail): Convert to
7267         prototype-style function definition.  Use internal_function.
7268         * libio/genops.c (save_for_backup): Convert to prototype-style
7269         function definition.
7270         * libio/wgenops.c (save_for_wbackup): Likewise.
7271         * login/grantpt.c (grantpt): Likewise.
7272         * login/ptsname.c (ptsname): Likewise.
7273         (__ptsname_r): Likewise.
7274         * login/unlockpt.c (unlockpt): Likewise.
7275         * mach/msgserver.c (__mach_msg_server): Likewise.
7276         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
7277         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
7278         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
7279         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
7280         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
7281         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
7282         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
7283         Likewise.
7284         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
7285         internal_function.
7286         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
7287         prototype-style function definition.
7288         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
7289         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
7290         (__pthread_create_2_0): Likewise.
7291         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
7292         * nptl/register-atfork.c (__register_atfork): Likewise.
7293         * posix/glob.c (glob): Likewise.
7294         * posix/regcomp.c (re_comp): Likewise.
7295         * posix/regexec.c (re_exec): Likewise.
7296         * stdlib/add_n.c [__STDC__]: Make code unconditional.
7297         [!__STDC__]: Remove conditional code.
7298         * stdlib/cmp.c [__STDC__]: Make code unconditional.
7299         [!__STDC__]: Remove conditional code.
7300         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
7301         [!__STDC__]: Remove conditional code.
7302         * stdlib/divrem.c [__STDC__]: Make code unconditional.
7303         [!__STDC__]: Remove conditional code.
7304         * stdlib/lshift.c [__STDC__]: Make code unconditional.
7305         [!__STDC__]: Remove conditional code.
7306         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
7307         [!__STDC__]: Remove conditional code.
7308         * stdlib/mul.c [__STDC__]: Make code unconditional.
7309         [!__STDC__]: Remove conditional code.
7310         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
7311         [!__STDC__]: Remove conditional code.
7312         * stdlib/rshift.c [__STDC__]: Make code unconditional.
7313         [!__STDC__]: Remove conditional code.
7314         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
7315         function definition.
7316         (STRTOF): Likewise.
7317         * stdlib/strtod_l.c (__STRTOF): Likewise.
7318         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
7319         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
7320         (__strtol_l): Likewise.
7321         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
7322         [!__STDC__]: Remove conditional code.
7323         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
7324         definition.
7325         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
7326         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
7327         type.
7328         (__strcasecmp): Convert to prototype-style function definition.
7329         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
7330         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
7331         type.
7332         (__strncasecmp): Convert to prototype-style function definition.
7333         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
7334         * sunrpc/xdr.c (xdr_union): Likewise.
7335         * sunrpc/xdr_array.c (xdr_array): Likewise.
7336         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
7337         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
7338         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
7339         Likewise.
7340         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
7341         Likewise.
7342         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
7343         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
7344         Likewise.
7345         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
7346         (LOCALE_PARAM_PROTO): Likewise.
7347         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
7348         argument type.
7349         (ut_argument_spec): Remove macro.
7350         (ut_argument_spec_iso): Rename to ut_argument_spec.
7351         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
7352         prototype-style function definition.
7353         (memcpy_uppcase): Likewise.
7354         (__strftime_internal): Likewise.
7355         (my_strftime): Likewise.
7356         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
7357         (LOCALE_PARAM_DECL): Likewise.
7358         [_LIBC] (LOCALE_PARAM): Include argument type.
7359         (__strptime_internal): Convert to prototype-style function
7360         definition.
7361         (strptime): Likewise.
7362         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
7363         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
7364         type.
7365         (__wcscasecmp): Convert to prototype-style function definition.
7366         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
7367         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
7368         type.
7369         (__wcsncasecmp): Convert to prototype-style function definition.
7371         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
7372         function definition.
7373         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
7374         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
7375         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
7376         * elf/dl-minimal.c (_itoa): Likewise.
7377         * hurd/hurdmalloc.c (malloc): Likewise.
7378         (free): Likewise.
7379         (realloc): Likewise.
7380         * inet/inet6_option.c (inet6_option_space): Likewise.
7381         (inet6_option_init): Likewise.
7382         (inet6_option_append): Likewise.
7383         (inet6_option_alloc): Likewise.
7384         (inet6_option_next): Likewise.
7385         (inet6_option_find): Likewise.
7386         * io/ftw.c (FTW_NAME): Likewise.
7387         (NFTW_NAME): Likewise.
7388         (NFTW_NEW_NAME): Likewise.
7389         (NFTW_OLD_NAME): Likewise.
7390         * libio/iofwide.c (_IO_fwide): Likewise.
7391         * libio/strops.c (_IO_str_init_static_internal): Likewise.
7392         (_IO_str_init_static): Likewise.
7393         (_IO_str_init_readonly): Likewise.
7394         (_IO_str_overflow): Likewise.
7395         (_IO_str_underflow): Likewise.
7396         (_IO_str_count): Likewise.
7397         (_IO_str_seekoff): Likewise.
7398         (_IO_str_pbackfail): Likewise.
7399         (_IO_str_finish): Likewise.
7400         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
7401         (_IO_wstr_overflow): Likewise.
7402         (_IO_wstr_underflow): Likewise.
7403         (_IO_wstr_count): Likewise.
7404         (_IO_wstr_seekoff): Likewise.
7405         (_IO_wstr_pbackfail): Likewise.
7406         (_IO_wstr_finish): Likewise.
7407         * locale/programs/localedef.c (normalize_codeset): Likewise.
7408         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
7409         (add_locales_to_archive): Likewise.
7410         (delete_locales_from_archive): Likewise.
7411         * malloc/malloc.c (__libc_mallinfo): Likewise.
7412         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
7413         * misc/tsearch.c (__tfind): Likewise.
7414         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
7415         * nptl/pthread_attr_getdetachstate.c
7416         (__pthread_attr_getdetachstate): Likewise.
7417         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
7418         Likewise.
7419         * nptl/pthread_attr_getinheritsched.c
7420         (__pthread_attr_getinheritsched): Likewise.
7421         * nptl/pthread_attr_getschedparam.c
7422         (__pthread_attr_getschedparam): Likewise.
7423         * nptl/pthread_attr_getschedpolicy.c
7424         (__pthread_attr_getschedpolicy): Likewise.
7425         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
7426         Likewise.
7427         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
7428         Likewise.
7429         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
7430         Likewise.
7431         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
7432         Likewise.
7433         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
7434         (__pthread_attr_init_2_0): Likewise.
7435         * nptl/pthread_attr_setdetachstate.c
7436         (__pthread_attr_setdetachstate): Likewise.
7437         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
7438         Likewise.
7439         * nptl/pthread_attr_setinheritsched.c
7440         (__pthread_attr_setinheritsched): Likewise.
7441         * nptl/pthread_attr_setschedparam.c
7442         (__pthread_attr_setschedparam): Likewise.
7443         * nptl/pthread_attr_setschedpolicy.c
7444         (__pthread_attr_setschedpolicy): Likewise.
7445         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
7446         Likewise.
7447         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
7448         Likewise.
7449         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
7450         Likewise.
7451         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
7452         Likewise.
7453         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
7454         Likewise.
7455         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
7456         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
7457         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
7458         use internal_function.
7459         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
7460         prototype-style function definition.
7461         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
7462         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
7463         internal_function.
7464         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
7465         Convert to prototype-style function definition.
7466         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
7467         Likewise.
7468         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
7469         Likewise.
7470         (__pthread_mutex_unlock): Likewise.
7471         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
7472         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
7473         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
7474         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
7475         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
7476         * nss/makedb.c (process_input): Likewise.
7477         * posix/fnmatch.c (__strchrnul): Likewise.
7478         (__wcschrnul): Likewise.
7479         (fnmatch): Likewise.
7480         * posix/fnmatch_loop.c (FCT): Likewise.
7481         * posix/glob.c (globfree): Likewise.
7482         (__glob_pattern_type): Likewise.
7483         (__glob_pattern_p): Likewise.
7484         * posix/regcomp.c (re_compile_pattern): Likewise.
7485         (re_set_syntax): Likewise.
7486         (re_compile_fastmap): Likewise.
7487         (regcomp): Likewise.
7488         (regerror): Likewise.
7489         (regfree): Likewise.
7490         * posix/regexec.c (regexec): Likewise.
7491         (re_match): Likewise.
7492         (re_search): Likewise.
7493         (re_match_2): Likewise.
7494         (re_search_2): Likewise.
7495         (re_search_stub): Likewise.  Use internal_function
7496         (re_copy_regs): Likewise.
7497         (re_set_registers): Convert to prototype-style function
7498         definition.
7499         (prune_impossible_nodes): Likewise.  Use internal_function.
7500         * resolv/inet_net_pton.c (inet_net_pton): Convert to
7501         prototype-style function definition.
7502         (inet_net_pton_ipv4): Likewise.
7503         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7504         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
7505         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
7506         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
7507         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
7508         Make variadic.
7509         * time/strptime_l.c (localtime_r): Convert to prototype-style
7510         function definition.
7511         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
7512         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
7513         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
7514         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
7516         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
7517         definition.
7518         (_ufc_doit_r): Likewise.
7519         * crypt/crypt_util.c (_ufc_copymem): Likewise.
7520         (_ufc_output_conversion_r): Likewise.
7521         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
7522         * inet/rcmd.c (rcmd_af): Likewise.
7523         (rcmd): Likewise.
7524         (ruserok_af): Likewise.
7525         (ruserok): Likewise.
7526         (ruserok2_sa): Likewise.
7527         (ruserok_sa): Likewise.
7528         (iruserok_af): Likewise.
7529         (iruserok): Likewise.
7530         (__ivaliduser): Likewise.
7531         (__validuser2_sa): Likewise.
7532         * inet/rexec.c (rexec_af): Likewise.
7533         (rexec): Likewise.
7534         * inet/ruserpass.c (ruserpass): Likewise.
7535         * locale/programs/xmalloc.c (xcalloc): Likewise.
7536         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
7537         * math/w_drem.c (__drem): Likewise.
7538         * math/w_dremf.c (__dremf): Likewise.
7539         * math/w_dreml.c (__dreml): Likewise.
7540         * misc/daemon.c (daemon): Likewise.
7541         * resolv/res_debug.c (p_fqnname): Likewise.
7542         * stdlib/div.c (div): Likewise.
7543         * string/memcmp.c (memcmp_bytes): Likewise.
7544         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
7545         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
7547         * crypt/cert.c (main): Convert to prototype-style function
7548         definition.
7549         * io/pipe.c (__pipe): Likewise.
7550         * io/pipe2.c (__pipe2): Likewise.
7551         * misc/futimesat.c (futimesat): Likewise.
7552         * misc/utimes.c (__utimes): Likewise.
7553         * posix/execve.c (__execve): Likewise.
7554         * posix/execvp.c (execvp): Likewise.
7555         * posix/execvpe.c (__execvpe): Likewise.
7556         * posix/fexecve.c (fexecve): Likewise.
7557         * socket/socketpair.c (socketpair): Likewise.
7558         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
7559         * stdlib/erand48.c (erand48): Likewise.
7560         * stdlib/erand48_r.c (__erand48_r): Likewise.
7561         * stdlib/jrand48.c (jrand48): Likewise.
7562         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
7563         * stdlib/lcong48.c (lcong48): Likewise.
7564         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
7565         * stdlib/nrand48.c (nrand48): Likewise.
7566         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
7567         * stdlib/seed48.c (seed48): Likewise.
7568         * stdlib/seed48_r.c (__seed48_r): Likewise.
7569         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
7570         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
7571         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
7573 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
7575         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
7576         * configure: Regenerated.
7577         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
7578         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
7579         unconditional.
7580         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
7581         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
7582         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
7583         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
7584         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
7585         unconditional.
7586         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
7588         * posix/Makefile (CFLAGS-regex.c): Remove variable.
7589         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
7591         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
7592         function definition.
7593         * crypt/crypt_util.c (__encrypt_r): Likewise.
7594         * libio/genops.c (_IO_no_init): Likewise.
7595         * libio/iofopncook.c (_IO_fopencookie): Likewise.
7596         (_IO_old_fopencookie): Likewise.
7597         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
7598         * libio/iogetline.c (_IO_getline): Likewise.
7599         (_IO_getline_info): Likewise.
7600         * libio/iogetwline.c (_IO_getwline): Likewise.
7601         (_IO_getwline_info): Likewise.
7602         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
7603         * libio/vswprintf.c (_IO_vswprintf): Likewise.
7604         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
7605         (find_entry): Likewise.
7606         (iterate_table): Likewise.
7607         (lookup): Likewise.
7608         * login/forkpty.c (forkpty): Likewise.
7609         * misc/hsearch_r.c (__hsearch_r): Likewise.
7610         * misc/select.c (__select): Likewise.
7611         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
7612         Likewise.
7613         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
7614         Likewise.
7615         * nptl/old_pthread_cond_timedwait.c
7616         (__pthread_cond_timedwait_2_0): Likewise.
7617         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
7618         * nptl/pthread_barrierattr_getpshared.c
7619         (pthread_barrierattr_getpshared): Likewise.
7620         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
7621         Likewise.
7622         * nptl/pthread_mutex_setprioceiling.c
7623         (pthread_mutex_setprioceiling): Likewise.
7624         * nptl/pthread_mutexattr_getprioceiling.c
7625         (pthread_mutexattr_getprioceiling): Likewise.
7626         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
7627         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
7628         Likewise.
7629         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
7630         Likewise.
7631         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
7632         Likewise.
7633         * socket/recvfrom.c (__recvfrom): Likewise.
7634         * socket/sendto.c (__sendto): Likewise.
7635         * socket/setsockopt.c (__setsockopt): Likewise.
7636         * stdio-common/_itoa.c (_itoa): Likewise.
7637         * stdio-common/_itowa.c (_itowa): Likewise.
7638         * stdio-common/reg-printf.c (__register_printf_specifier):
7639         Likewise.
7640         (__register_printf_function): Likewise.
7641         * stdio-common/tempname.c (__path_search): Likewise.
7642         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
7643         * stdlib/mul_1.c (mpn_mul_1): Likewise.
7644         * stdlib/random_r.c (__initstate_r): Likewise.
7645         * stdlib/setenv.c (__add_to_environ): Likewise.
7646         * stdlib/submul_1.c (mpn_submul_1): Likewise.
7647         * streams/getpmsg.c (getpmsg): Likewise.
7648         * streams/putmsg.c (putmsg): Likewise.
7649         * streams/putpmsg.c (putpmsg): Likewise.
7650         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
7651         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
7652         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
7653         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
7654         * sunrpc/pm_getport.c (pmap_getport): Likewise.
7655         * sunrpc/svc_udp.c (cache_get): Likewise.
7656         * sunrpc/xdr_array.c (xdr_vector): Likewise.
7657         * sysdeps/mach/hurd/getcwd.c
7658         (__canonicalize_directory_name_internal): Likewise.
7659         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
7660         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
7661         * sysdeps/mach/hurd/select.c (__select): Likewise.
7662         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
7663         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
7664         * sysdeps/sparc/nptl/pthread_barrier_init.c
7665         (__pthread_barrier_init): Likewise.
7666         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
7667         (__pthread_cond_timedwait): Likewise.
7668         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
7669         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
7670         Likewise.
7671         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
7672         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
7673         Likewise.
7674         * sysvipc/semtimedop.c (semtimedop): Likewise.
7675         * time/setitimer.c (__setitimer): Likewise.
7676         * time/strftime_l.c (emacs_strftime): Likewise.
7678 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
7680         * config.make.in (have-ssp): Delete.
7681         (stack-protector): New variable.
7682         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
7683         cache test for -fstack-protector-strong.  Export stack_protector to
7684         the best ssp flag.
7685         * configure: Regenerated.
7686         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
7687         * nscd/Makefile (CFLAGS-nscd): Likewise.
7688         * resolv/Makefile (CFLAGS-libresolv): Likewise.
7690 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
7692         [BZ #19122]
7693         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
7694         attribute_hidden.
7696 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7698         [BZ #18743]
7699         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
7700         code to...
7701         (ELIDE_LOCK): ...here.
7702         (__get_new_count): New function with part of the code from
7703         __elide_lock that updates the value of adapt_count after a
7704         transaction abort.
7705         (__elided_trylock): Moved this code to...
7706         (ELIDE_TRYLOCK): ...here.
7708 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
7710         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
7711         * configure: Regenerate.
7712         * INSTALL: Regenerate.
7713         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
7714         and tweak grammar.
7716 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
7718         * login/programs/pt_chown.c: Include signal.h
7719         (main): Clear any signal mask from the parent process.
7721 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
7723         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
7724         * configure: Regenerated.
7725         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
7726         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
7727         $(gnu89-inline-CFLAGS).
7729         * configure.ac (libc_cv_asm_weak_directive): Remove configure
7730         test.
7731         (libc_cv_asm_weakext_directive): Likewise.
7732         * configure: Regenerated.
7733         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
7734         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
7735         * include/libc-symbols.h
7736         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
7737         #error.
7738         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
7739         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
7741         * sysdeps/arm/backtrace.c (__backtrace): Convert to
7742         prototype-style function definition.
7743         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
7744         * sysdeps/i386/ffs.c (__ffs): Likewise.
7745         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
7746         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
7747         Likewise.
7748         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
7749         Likewise.
7750         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
7751         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
7752         Likewise.
7753         * sysdeps/m68k/ffs.c (__ffs): Likewise.
7754         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
7755         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
7756         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
7757         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
7758         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
7759         * sysdeps/mach/hurd/access.c (__access): Likewise.
7760         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
7761         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
7762         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
7763         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
7764         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
7765         (cthread_getspecific): Likewise.
7766         (cthread_setspecific): Likewise.
7767         (__libc_getspecific): Likewise.
7768         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
7769         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
7770         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
7771         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
7772         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
7773         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
7774         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
7775         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
7776         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
7777         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
7778         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
7779         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
7780         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
7781         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
7782         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
7783         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
7784         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
7785         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
7786         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
7787         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
7788         * sysdeps/mach/hurd/link.c (__link): Likewise.
7789         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
7790         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
7791         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
7792         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
7793         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
7794         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
7795         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
7796         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
7797         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
7798         * sysdeps/mach/hurd/rename.c (rename): Likewise.
7799         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
7800         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
7801         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
7802         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
7803         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
7804         * sysdeps/mach/hurd/send.c (__send): Likewise.
7805         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
7806         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
7807         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
7808         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
7809         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
7810         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
7811         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
7812         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
7813         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
7814         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
7815         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
7816         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
7817         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
7818         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
7819         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
7820         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
7821         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
7822         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
7823         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
7824         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
7825         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
7826         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
7827         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
7828         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
7829         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
7830         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
7831         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
7832         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
7833         * sysdeps/posix/alarm.c (alarm): Likewise.
7834         * sysdeps/posix/cuserid.c (cuserid): Likewise.
7835         * sysdeps/posix/dirfd.c (dirfd): Likewise.
7836         * sysdeps/posix/dup.c (__dup): Likewise.
7837         * sysdeps/posix/dup2.c (__dup2): Likewise.
7838         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
7839         (main): Likewise.
7840         * sysdeps/posix/flock.c (__flock): Likewise.
7841         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
7842         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
7843         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
7844         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
7845         * sysdeps/posix/isatty.c (__isatty): Likewise.
7846         * sysdeps/posix/killpg.c (killpg): Likewise.
7847         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
7848         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
7849         * sysdeps/posix/raise.c (raise): Likewise.
7850         * sysdeps/posix/remove.c (remove): Likewise.
7851         * sysdeps/posix/rename.c (rename): Likewise.
7852         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
7853         * sysdeps/posix/seekdir.c (seekdir): Likewise.
7854         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
7855         * sysdeps/posix/sigignore.c (sigignore): Likewise.
7856         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
7857         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
7858         * sysdeps/posix/sigset.c (sigset): Likewise.
7859         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
7860         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
7861         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
7862         * sysdeps/posix/time.c (time): Likewise.
7863         * sysdeps/posix/ttyname.c (getttyname): Likewise.
7864         (ttyname): Likewise.
7865         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
7866         * sysdeps/posix/utime.c (utime): Likewise.
7867         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
7868         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
7869         Likewise.
7870         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
7871         (pthread_spin_trylock): Likewise.
7872         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
7873         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
7874         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
7875         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
7876         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
7877         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
7878         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
7879         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
7880         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
7881         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
7882         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
7883         * sysdeps/s390/ffs.c (__ffs): Likewise.
7884         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
7885         Likewise.
7886         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
7887         Likewise.
7888         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
7889         Likewise.
7890         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
7891         (pthread_barrier_destroy): Likewise.
7892         * sysdeps/sparc/nptl/pthread_barrier_wait.c
7893         (__pthread_barrier_wait): Likewise.
7894         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
7895         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
7896         (__pthread_barrier_wait): Likewise.
7897         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
7898         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
7899         (memcmp_not_common_alignment): Likewise.
7900         (MEMCMP): Likewise.
7901         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
7902         (_wordcopy_fwd_dest_aligned): Likewise.
7903         (_wordcopy_bwd_aligned): Likewise.
7904         (_wordcopy_bwd_dest_aligned): Likewise.
7905         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
7906         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
7907         * sysdeps/unix/bsd/stty.c (stty): Likewise.
7908         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
7909         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
7910         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
7911         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
7912         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
7913         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
7914         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
7915         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
7916         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
7917         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
7918         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
7919         * sysdeps/unix/stime.c (stime): Likewise.
7920         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
7921         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
7922         Likewise.  Use internal_function.
7923         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
7924         Convert to prototype-style function definition.
7925         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
7926         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
7927         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
7928         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
7929         Likewise.  Use internal_function.
7930         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
7931         prototype-style function definition
7932         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
7933         Likewise.
7934         (__getlogin_r): Likewise.
7935         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
7936         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
7937         (__pthread_cond_broadcast): Likewise.
7938         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
7939         (__pthread_cond_destroy): Likewise.
7940         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
7941         (__pthread_cond_init): Likewise.
7942         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
7943         (__pthread_cond_signal): Likewise.
7944         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
7945         (__pthread_cond_wait): Likewise.
7946         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
7947         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
7948         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
7949         Likewise.
7950         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
7951         Likewise.
7952         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
7953         Likewise.
7954         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
7955         Likewise.
7956         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
7957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
7958         (__ftruncate64): Likewise.
7959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
7960         (truncate64): Likewise.
7961         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
7962         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
7963         (pthread_getcpuclockid): Likewise.
7964         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
7965         Likewise.
7966         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
7967         Likewise.
7968         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
7969         Likewise.
7970         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
7971         Likewise.
7972         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
7973         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
7974         (__libc_sigaction): Likewise.
7975         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
7976         Likewise.
7977         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
7978         (__sigprocmask): Likewise.
7979         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
7980         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
7981         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
7982         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
7983         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
7984         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
7985         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
7986         Likewise.
7987         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
7988         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
7989         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
7990         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
7991         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
7992         Likewise.
7993         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
7994         (__sigprocmask): Likewise.
7995         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
7996         (cfgetispeed): Likewise.
7997         (cfsetospeed): Likewise.
7998         (cfsetispeed): Likewise.
7999         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
8000         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
8001         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
8002         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
8003         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
8004         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
8005         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
8006         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
8007         Likewise.
8008         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
8009         Likewise.
8010         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
8011         Likewise.
8012         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
8013         Likewise.
8014         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
8016 2015-10-17  Florian Weimer  <fweimer@redhat.com>
8018         sunrpc: Rewrite with explicit TLS access using __thread.
8019         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
8020         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
8021         directly.
8022         (__rpc_thread_variables): Access thread_rpc_vars directly.
8023         Eliminate redundant assignment of the tvp variable.
8025 2015-10-17  Florian Weimer  <fweimer@redhat.com>
8027         malloc: Rewrite with explicit TLS access using __thread.
8028         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
8029         (tsd_setspecific, tsd_getspecific): Remove.
8030         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
8031         (tsd_setspecific, tsd_getspecific): Likewise.
8032         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
8033         (tsd_setspecific, tsd_getspecific): Likewise.
8034         * malloc/arena.c (thread_arena): New TLS variable.
8035         (arena_key): Remove variable.
8036         (arena_get): Use thread_arena.
8037         (arena_lookup): Remove macro.
8038         (malloc_atfork, free_atfork, ptmalloc_lock_all)
8039         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
8040         (_int_new_arena, get_free_list, reused_arena)
8041         (arena_thread_freeres): Use thread_arena.
8042         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
8043         tsd_getspecific, tsd_setspecific from safety annotations.
8044         (Allocating Cleared Space): Remove arena_lookup from safety
8045         annotations.
8047 2015-10-17  Florian Weimer  <fweimer@redhat.com>
8049         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
8050         struct scratch_buffer instead of extend_alloca.
8052 2015-10-17  Florian Weimer  <fweimer@redhat.com>
8054         * sysdeps/unix/sysv/linux/kernel-features.h
8055         (__ASSUME_SOCK_CLOEXEC): Remove.
8056         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
8057         (__have_paccept): Remove unused macro.
8058         * include/unistd.h (__have_sock_cloexec): Remove declaration.
8059         * misc/syslog.c (openlog_internal): Remove fallback code for
8060         !__ASSUME_SOCK_CLOEXEC.
8061         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
8062         missing SOCK_CLOEXEC.
8063         * nscd/connections.c (have_sock_cloexec): Remove definition.
8064         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
8065         * nscd/nscd_helper.c (open_socket): Remove fallback code for
8066         !__ASSUME_SOCK_CLOEXEC.
8067         * resolv/res_send.c (__have_o_nonblock): Remove definition.
8068         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
8069         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
8070         definition.
8071         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
8072         code for !__ASSUME_SOCK_CLOEXEC.
8074 2015-10-17  Florian Weimer  <fweimer@redhat.com>
8076         [BZ #18982]
8077         * manual/stdio.texi (Variable Arguments Output): Add portability
8078         note, explaining that vfprintf clobbers the va_list pointer.
8080 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
8082         * math/libm-test.inc (fabs_test_data): Add more tests.
8083         (fdim_test_data): Likewise.
8084         (fma_test_data): Likewise.
8085         (fmax_test_data): Likewise.
8086         (fmin_test_data): Likewise.
8087         (fmod_test_data): Likewise.
8089 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
8091         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
8092         data.
8094 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
8096         * math/libm-test.inc (ceil_test_data): Add more tests and more
8097         expectations for "inexact".
8098         (floor_test_data): Add more tests.
8099         (round_test_data): Likewise.
8100         (trunc_test_data): Likewise.
8102         * crypt/cert.c (good_bye): Convert to prototype-style function
8103         definition.
8104         (get8): Likewise.
8105         (put8): Likewise.
8106         * crypt/crypt-entry.c (crypt): Likewise.
8107         (__fcrypt): Likewise.
8108         * crypt/crypt_util.c (_ufc_prbits): Likewise.
8109         (_ufc_set_bits): Likewise.
8110         (_ufc_clearmem): Likewise.
8111         (__init_des_r): Likewise.
8112         (shuffle_sb): Likewise.
8113         (shuffle_sb): Likewise.
8114         (_ufc_setup_salt_r): Likewise.
8115         (_ufc_mk_keytab_r): Likewise.
8116         (_ufc_dofinalperm_r): Likewise.
8117         (encrypt): Likewise.
8118         (__setkey_r): Likewise.
8119         (setkey): Likewise.
8120         * crypt/md5.c (md5_init_ctx): Likewise.
8121         (md5_read_ctx): Likewise.
8122         (md5_finish_ctx): Likewise.
8123         (md5_stream): Likewise.
8124         (md5_buffer): Likewise.
8125         (md5_process_bytes): Likewise.
8126         * crypt/sha256.c (__sha256_init_ctx): Likewise.
8127         (__sha256_finish_ctx): Likewise.
8128         (__sha256_process_bytes): Likewise.
8129         * crypt/sha512.c (__sha512_init_ctx): Likewise.
8130         (__sha512_finish_ctx): Likewise.
8131         (__sha512_process_bytes): Likewise.
8132         * ctype/isctype.c (__isctype): Likewise.
8133         * debug/backtrace.c (__backtrace): Likewise.
8134         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
8135         * debug/fgets_chk.c (__fgets_chk): Likewise.
8136         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
8137         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
8138         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
8139         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
8140         * debug/memset_chk.c (__memset_chk): Likewise.
8141         * debug/strcat_chk.c (__strcat_chk): Likewise.
8142         * debug/strncat_chk.c (__strncat_chk): Likewise.
8143         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
8144         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
8145         * dirent/dirfd.c (dirfd): Likewise.
8146         * dirent/getdents.c (__getdirentries): Likewise.
8147         * dirent/getdents64.c (getdirentries64): Likewise.
8148         * dirent/rewinddir.c (__rewinddir): Likewise.
8149         * dirent/seekdir.c (seekdir): Likewise.
8150         * dirent/telldir.c (telldir): Likewise.
8151         * elf/sln.c (makesymlinks): Likewise.
8152         (makesymlink): Likewise.
8153         * gmon/gmon.c (__moncontrol): Likewise.
8154         (__monstartup): Likewise.
8155         (write_hist): Likewise.
8156         (write_call_graph): Likewise.
8157         (write_bb_counts): Likewise.
8158         * grp/setgroups.c (setgroups): Likewise.
8159         * inet/inet_lnaof.c (inet_lnaof): Likewise.
8160         * inet/inet_net.c (inet_network): Likewise.
8161         * inet/inet_netof.c (inet_netof): Likewise.
8162         * inet/rcmd.c (rresvport_af): Likewise.
8163         (rresvport): Likewise.
8164         * io/access.c (__access): Likewise.
8165         * io/chdir.c (__chdir): Likewise.
8166         * io/chmod.c (__chmod): Likewise.
8167         * io/chown.c (__chown): Likewise.
8168         * io/close.c (__close): Likewise.
8169         * io/creat.c (creat): Likewise.
8170         * io/creat64.c (creat64): Likewise.
8171         * io/dup.c (__dup): Likewise.
8172         * io/dup2.c (__dup2): Likewise.
8173         * io/dup3.c (__dup3): Likewise.
8174         * io/euidaccess.c (__euidaccess): Likewise.
8175         * io/faccessat.c (faccessat): Likewise.
8176         * io/fchmod.c (__fchmod): Likewise.
8177         * io/fchmodat.c (fchmodat): Likewise.
8178         * io/fchown.c (__fchown): Likewise.
8179         * io/fchownat.c (fchownat): Likewise.
8180         * io/fcntl.c (__fcntl): Likewise.
8181         * io/flock.c (__flock): Likewise.
8182         * io/fts.c (fts_load): Likewise.
8183         (fts_close): Likewise.
8184         (fts_read): Likewise.
8185         (fts_set): Likewise.
8186         (fts_children): Likewise.
8187         (fts_build): Likewise.
8188         (fts_stat): Likewise.
8189         (fts_sort): Likewise.
8190         (fts_alloc): Likewise.
8191         (fts_lfree): Likewise.
8192         (fts_palloc): Likewise.
8193         (fts_padjust): Likewise.
8194         (fts_maxarglen): Likewise.
8195         (fts_safe_changedir): Likewise.
8196         * io/getwd.c (getwd): Likewise.
8197         * io/isatty.c (__isatty): Likewise.
8198         * io/lchown.c (__lchown): Likewise.
8199         * io/link.c (__link): Likewise.
8200         * io/linkat.c (linkat): Likewise.
8201         * io/lseek.c (__libc_lseek): Likewise.
8202         * io/mkdir.c (__mkdir): Likewise.
8203         * io/mkdirat.c (mkdirat): Likewise.
8204         * io/mkfifo.c (mkfifo): Likewise.
8205         * io/mkfifoat.c (mkfifoat): Likewise.
8206         * io/open.c (__libc_open): Likewise.
8207         * io/open64.c (__libc_open64): Likewise.
8208         * io/readlink.c (__readlink): Likewise.
8209         * io/readlinkat.c (readlinkat): Likewise.
8210         * io/rmdir.c (__rmdir): Likewise.
8211         * io/symlink.c (__symlink): Likewise.
8212         * io/symlinkat.c (symlinkat): Likewise.
8213         * io/ttyname.c (ttyname): Likewise.
8214         * io/ttyname_r.c (__ttyname_r): Likewise.
8215         * io/umask.c (__umask): Likewise.
8216         * io/unlink.c (__unlink): Likewise.
8217         * io/unlinkat.c (unlinkat): Likewise.
8218         * io/utime.c (utime): Likewise.
8219         * libio/clearerr.c (clearerr): Likewise.
8220         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
8221         * libio/feof.c (_IO_feof): Likewise.
8222         * libio/feof_u.c (feof_unlocked): Likewise.
8223         * libio/ferror.c (_IO_ferror): Likewise.
8224         * libio/ferror_u.c (ferror_unlocked): Likewise.
8225         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
8226         * libio/fileno.c (__fileno): Likewise.
8227         * libio/fputc.c (fputc): Likewise.
8228         * libio/fputc_u.c (fputc_unlocked): Likewise.
8229         * libio/fputwc.c (fputwc): Likewise.
8230         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
8231         * libio/freopen.c (freopen): Likewise.
8232         * libio/freopen64.c (freopen64): Likewise.
8233         * libio/fseek.c (fseek): Likewise.
8234         * libio/fseeko.c (fseeko): Likewise.
8235         * libio/fseeko64.c (fseeko64): Likewise.
8236         * libio/ftello.c (__ftello): Likewise.
8237         * libio/ftello64.c (ftello64): Likewise.
8238         * libio/fwide.c (fwide): Likewise.
8239         * libio/genops.c (_IO_un_link): Likewise.
8240         (_IO_link_in): Likewise.
8241         (_IO_least_marker): Likewise.
8242         (_IO_switch_to_main_get_area): Likewise.
8243         (_IO_switch_to_backup_area): Likewise.
8244         (_IO_switch_to_get_mode): Likewise.
8245         (_IO_free_backup_area): Likewise.
8246         (_IO_switch_to_put_mode): Likewise.
8247         (__overflow): Likewise.
8248         (__underflow): Likewise.
8249         (__uflow): Likewise.
8250         (_IO_setb): Likewise.
8251         (_IO_doallocbuf): Likewise.
8252         (_IO_default_underflow): Likewise.
8253         (_IO_default_uflow): Likewise.
8254         (_IO_default_xsputn): Likewise.
8255         (_IO_sgetn): Likewise.
8256         (_IO_default_xsgetn): Likewise.
8257         (_IO_sync): Likewise.
8258         (_IO_default_setbuf): Likewise.
8259         (_IO_default_seekpos): Likewise.
8260         (_IO_default_doallocate): Likewise.
8261         (_IO_init): Likewise.
8262         (_IO_old_init): Likewise.
8263         (_IO_default_sync): Likewise.
8264         (_IO_default_finish): Likewise.
8265         (_IO_default_seekoff): Likewise.
8266         (_IO_sputbackc): Likewise.
8267         (_IO_sungetc): Likewise.
8268         (_IO_set_column): Likewise.
8269         (_IO_set_column): Likewise.
8270         (_IO_adjust_column): Likewise.
8271         (_IO_get_column): Likewise.
8272         (_IO_init_marker): Likewise.
8273         (_IO_remove_marker): Likewise.
8274         (_IO_marker_difference): Likewise.
8275         (_IO_marker_delta): Likewise.
8276         (_IO_seekmark): Likewise.
8277         (_IO_unsave_markers): Likewise.
8278         (_IO_nobackup_pbackfail): Likewise.
8279         (_IO_default_pbackfail): Likewise.
8280         (_IO_default_seek): Likewise.
8281         (_IO_default_stat): Likewise.
8282         (_IO_default_read): Likewise.
8283         (_IO_default_write): Likewise.
8284         (_IO_default_showmanyc): Likewise.
8285         (_IO_default_imbue): Likewise.
8286         (_IO_iter_next): Likewise.
8287         (_IO_iter_file): Likewise.
8288         * libio/getc.c (_IO_getc): Likewise.
8289         * libio/getwc.c (_IO_getwc): Likewise.
8290         * libio/iofclose.c (_IO_new_fclose): Likewise.
8291         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
8292         * libio/iofflush.c (_IO_fflush): Likewise.
8293         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
8294         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
8295         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
8296         * libio/iofgets.c (_IO_fgets): Likewise.
8297         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
8298         * libio/iofgetws.c (fgetws): Likewise.
8299         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
8300         * libio/iofopen64.c (_IO_fopen64): Likewise.
8301         * libio/iofopncook.c (_IO_cookie_read): Likewise.
8302         (_IO_cookie_write): Likewise.
8303         (_IO_cookie_seek): Likewise.
8304         (_IO_cookie_close): Likewise.
8305         (_IO_cookie_seekoff): Likewise.
8306         (_IO_old_cookie_seek): Likewise.
8307         * libio/iofputs.c (_IO_fputs): Likewise.
8308         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
8309         * libio/iofputws.c (fputws): Likewise.
8310         * libio/iofputws_u.c (fputws_unlocked): Likewise.
8311         * libio/iofread.c (_IO_fread): Likewise.
8312         * libio/iofread_u.c (__fread_unlocked): Likewise.
8313         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
8314         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
8315         * libio/ioftell.c (_IO_ftell): Likewise.
8316         * libio/iofwrite.c (_IO_fwrite): Likewise.
8317         * libio/iogetdelim.c (_IO_getdelim): Likewise.
8318         * libio/iogets.c (_IO_gets): Likewise.
8319         * libio/iopadn.c (_IO_padn): Likewise.
8320         * libio/iopopen.c (_IO_new_proc_open): Likewise.
8321         (_IO_new_popen): Likewise.
8322         (_IO_new_proc_close): Likewise.
8323         * libio/ioputs.c (_IO_puts): Likewise.
8324         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
8325         (_IO_seekoff): Likewise.
8326         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
8327         (_IO_seekpos): Likewise.
8328         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
8329         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
8330         * libio/ioungetc.c (_IO_ungetc): Likewise.
8331         * libio/ioungetwc.c (ungetwc): Likewise.
8332         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
8333         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
8334         * libio/iowpadn.c (_IO_wpadn): Likewise.
8335         * libio/libc_fatal.c (__libc_fatal): Likewise.
8336         * libio/memstream.c (__open_memstream): Likewise.
8337         (_IO_mem_sync): Likewise.
8338         (_IO_mem_finish): Likewise.
8339         * libio/oldfileops.c (_IO_old_file_init): Likewise.
8340         (_IO_old_file_close_it): Likewise.
8341         (_IO_old_file_finish): Likewise.
8342         (_IO_old_file_fopen): Likewise.
8343         (_IO_old_file_attach): Likewise.
8344         (_IO_old_file_setbuf): Likewise.
8345         (_IO_old_do_write): Likewise.
8346         (old_do_write): Likewise.
8347         (_IO_old_file_underflow): Likewise.
8348         (_IO_old_file_overflow): Likewise.
8349         (_IO_old_file_sync): Likewise.
8350         (_IO_old_file_seekoff): Likewise.
8351         (_IO_old_file_write): Likewise.
8352         (_IO_old_file_xsputn): Likewise.
8353         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
8354         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
8355         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
8356         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
8357         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
8358         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
8359         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
8360         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
8361         (_IO_old_popen): Likewise.
8362         (_IO_old_proc_close): Likewise.
8363         * libio/oldpclose.c (__old_pclose): Likewise.
8364         * libio/pclose.c (__new_pclose): Likewise.
8365         * libio/peekc.c (_IO_peekc_locked): Likewise.
8366         * libio/putc.c (_IO_putc): Likewise.
8367         * libio/putc_u.c (putc_unlocked): Likewise.
8368         * libio/putchar.c (putchar): Likewise.
8369         * libio/putchar_u.c (putchar_unlocked): Likewise.
8370         * libio/putwc.c (putwc): Likewise.
8371         * libio/putwc_u.c (putwc_unlocked): Likewise.
8372         * libio/putwchar.c (putwchar): Likewise.
8373         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
8374         * libio/rewind.c (rewind): Likewise.
8375         * libio/setbuf.c (setbuf): Likewise.
8376         * libio/setlinebuf.c (setlinebuf): Likewise.
8377         * libio/vasprintf.c (_IO_vasprintf): Likewise.
8378         * libio/vscanf.c (_IO_vscanf): Likewise.
8379         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
8380         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
8381         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
8382         * libio/wgenops.c (_IO_least_wmarker): Likewise.
8383         (_IO_switch_to_main_wget_area): Likewise.
8384         (_IO_switch_to_wbackup_area): Likewise.
8385         (_IO_wsetb): Likewise.
8386         (_IO_wdefault_pbackfail): Likewise.
8387         (_IO_wdefault_finish): Likewise.
8388         (_IO_wdefault_uflow): Likewise.
8389         (__woverflow): Likewise.
8390         (__wuflow): Likewise.
8391         (__wunderflow): Likewise.
8392         (_IO_wdefault_xsputn): Likewise.
8393         (_IO_wdefault_xsgetn): Likewise.
8394         (_IO_wdoallocbuf): Likewise.
8395         (_IO_wdefault_doallocate): Likewise.
8396         (_IO_switch_to_wget_mode): Likewise.
8397         (_IO_free_wbackup_area): Likewise.
8398         (_IO_switch_to_wput_mode): Likewise.
8399         (_IO_sputbackwc): Likewise.
8400         (_IO_sungetwc): Likewise.
8401         (_IO_adjust_wcolumn): Likewise.
8402         (_IO_init_wmarker): Likewise.
8403         (_IO_wmarker_delta): Likewise.
8404         (_IO_seekwmark): Likewise.
8405         (_IO_unsave_wmarkers): Likewise.
8406         * libio/wmemstream.c (open_wmemstream): Likewise.
8407         (_IO_wmem_sync): Likewise.
8408         (_IO_wmem_finish): Likewise.
8409         * locale/nl_langinfo.c (nl_langinfo): Likewise.
8410         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
8411         * locale/programs/simple-hash.c (init_hash): Likewise.
8412         (delete_hash): Likewise.
8413         (insert_entry): Likewise.
8414         (set_entry): Likewise.
8415         (next_prime): Likewise.
8416         (is_prime): Likewise.
8417         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
8418         (xmalloc): Likewise.
8419         (xrealloc): Likewise.
8420         * locale/programs/xstrdup.c (xstrdup): Likewise.
8421         * localedata/collate-test.c (xstrcoll): Likewise.
8422         * localedata/xfrm-test.c (xstrcmp): Likewise.
8423         * login/getlogin_r.c (__getlogin_r): Likewise.
8424         * login/getpt.c (__posix_openpt): Likewise.
8425         * login/login_tty.c (login_tty): Likewise.
8426         * login/setlogin.c (setlogin): Likewise.
8427         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
8428         (mach_msg_destroy_port): Likewise.
8429         (mach_msg_destroy_memory): Likewise.
8430         * malloc/mcheck.c (flood): Likewise.
8431         * misc/acct.c (acct): Likewise.
8432         * misc/brk.c (__brk): Likewise.
8433         * misc/chflags.c (chflags): Likewise.
8434         * misc/chroot.c (chroot): Likewise.
8435         * misc/fchflags.c (fchflags): Likewise.
8436         * misc/fstab.c (getfsspec): Likewise.
8437         (getfsfile): Likewise.
8438         * misc/fsync.c (fsync): Likewise.
8439         * misc/ftruncate.c (__ftruncate): Likewise.
8440         * misc/ftruncate64.c (__ftruncate64): Likewise.
8441         * misc/getdomain.c (getdomainname): Likewise.
8442         (getdomainname): Likewise.
8443         * misc/gethostname.c (__gethostname): Likewise.
8444         * misc/getpass.c (getpass): Likewise.
8445         * misc/getttyent.c (skip): Likewise.
8446         (value): Likewise.
8447         * misc/gtty.c (gtty): Likewise.
8448         * misc/hsearch.c (hsearch): Likewise.
8449         (hcreate): Likewise.
8450         * misc/hsearch_r.c (__hcreate_r): Likewise.
8451         (__hdestroy_r): Likewise.
8452         * misc/ioctl.c (__ioctl): Likewise.
8453         * misc/mkdtemp.c (mkdtemp): Likewise.
8454         * misc/mkostemp.c (mkostemp): Likewise.
8455         * misc/mkostemp64.c (mkostemp64): Likewise.
8456         * misc/mkostemps.c (mkostemps): Likewise.
8457         * misc/mkostemps64.c (mkostemps64): Likewise.
8458         * misc/mkstemp.c (mkstemp): Likewise.
8459         * misc/mkstemp64.c (mkstemp64): Likewise.
8460         * misc/mkstemps.c (mkstemps): Likewise.
8461         * misc/mkstemps64.c (mkstemps64): Likewise.
8462         * misc/mktemp.c (__mktemp): Likewise.
8463         * misc/preadv.c (preadv): Likewise.
8464         * misc/preadv64.c (preadv64): Likewise.
8465         * misc/pwritev.c (pwritev): Likewise.
8466         * misc/pwritev64.c (pwritev64): Likewise.
8467         * misc/readv.c (__readv): Likewise.
8468         * misc/revoke.c (revoke): Likewise.
8469         * misc/setdomain.c (setdomainname): Likewise.
8470         * misc/setegid.c (setegid): Likewise.
8471         * misc/seteuid.c (seteuid): Likewise.
8472         * misc/sethostid.c (sethostid): Likewise.
8473         * misc/sethostname.c (sethostname): Likewise.
8474         * misc/setregid.c (__setregid): Likewise.
8475         * misc/setreuid.c (__setreuid): Likewise.
8476         * misc/sstk.c (sstk): Likewise.
8477         * misc/stty.c (stty): Likewise.
8478         * misc/syscall.c (syscall): Likewise.
8479         * misc/syslog.c (setlogmask): Likewise.
8480         * misc/truncate.c (__truncate): Likewise.
8481         * misc/truncate64.c (truncate64): Likewise.
8482         * misc/ualarm.c (ualarm): Likewise.
8483         * misc/usleep.c (usleep): Likewise.
8484         * misc/ustat.c (ustat): Likewise.
8485         * misc/writev.c (__writev): Likewise.
8486         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
8487         * nptl/old_pthread_cond_broadcast.c
8488         (__pthread_cond_broadcast_2_0): Likewise.
8489         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
8490         Likewise.
8491         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
8492         Likewise.
8493         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
8494         Likewise.
8495         * nptl/pt-raise.c (raise): Likewise.
8496         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
8497         Likewise.
8498         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
8499         * nptl/pthread_barrierattr_destroy.c
8500         (pthread_barrierattr_destroy): Likewise.
8501         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
8502         Likewise.
8503         * nptl/pthread_barrierattr_setpshared.c
8504         (pthread_barrierattr_setpshared): Likewise.
8505         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
8506         Likewise.
8507         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
8508         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
8509         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
8510         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
8511         Likewise.
8512         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
8513         Likewise.
8514         * nptl/pthread_condattr_getpshared.c
8515         (pthread_condattr_getpshared): Likewise.
8516         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
8517         Likewise.
8518         * nptl/pthread_condattr_setpshared.c
8519         (pthread_condattr_setpshared): Likewise.
8520         * nptl/pthread_detach.c (pthread_detach): Likewise.
8521         * nptl/pthread_equal.c (__pthread_equal): Likewise.
8522         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
8523         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
8524         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
8525         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
8526         Likewise.
8527         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
8528         Likewise.
8529         * nptl/pthread_mutex_getprioceiling.c
8530         (pthread_mutex_getprioceiling): Likewise.
8531         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
8532         Likewise.
8533         * nptl/pthread_mutexattr_getprotocol.c
8534         (pthread_mutexattr_getprotocol): Likewise.
8535         * nptl/pthread_mutexattr_getpshared.c
8536         (pthread_mutexattr_getpshared): Likewise.
8537         * nptl/pthread_mutexattr_getrobust.c
8538         (pthread_mutexattr_getrobust): Likewise.
8539         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
8540         Likewise.
8541         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
8542         Likewise.
8543         * nptl/pthread_mutexattr_setprioceiling.c
8544         (pthread_mutexattr_setprioceiling): Likewise.
8545         * nptl/pthread_mutexattr_setprotocol.c
8546         (pthread_mutexattr_setprotocol): Likewise.
8547         * nptl/pthread_mutexattr_setpshared.c
8548         (pthread_mutexattr_setpshared): Likewise.
8549         * nptl/pthread_mutexattr_setrobust.c
8550         (pthread_mutexattr_setrobust): Likewise.
8551         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
8552         Likewise.
8553         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
8554         Likewise.
8555         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
8556         Likewise.
8557         * nptl/pthread_rwlockattr_getkind_np.c
8558         (pthread_rwlockattr_getkind_np): Likewise.
8559         * nptl/pthread_rwlockattr_getpshared.c
8560         (pthread_rwlockattr_getpshared): Likewise.
8561         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
8562         Likewise.
8563         * nptl/pthread_rwlockattr_setkind_np.c
8564         (pthread_rwlockattr_setkind_np): Likewise.
8565         * nptl/pthread_rwlockattr_setpshared.c
8566         (pthread_rwlockattr_setpshared): Likewise.
8567         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
8568         Likewise.
8569         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
8570         Likewise.
8571         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
8572         Likewise.
8573         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
8574         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
8575         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
8576         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
8577         * nptl/sem_close.c (sem_close): Likewise.
8578         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
8579         * nptl/sem_init.c (__old_sem_init): Likewise.
8580         * nptl/sigaction.c (__sigaction): Likewise.
8581         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
8582         * posix/_exit.c (_exit): Likewise.
8583         * posix/alarm.c (alarm): Likewise.
8584         * posix/confstr.c (confstr): Likewise.
8585         * posix/fpathconf.c (__fpathconf): Likewise.
8586         * posix/getgroups.c (__getgroups): Likewise.
8587         * posix/getpgid.c (__getpgid): Likewise.
8588         * posix/group_member.c (__group_member): Likewise.
8589         * posix/pathconf.c (__pathconf): Likewise.
8590         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
8591         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
8592         * posix/setgid.c (__setgid): Likewise.
8593         * posix/setpgid.c (__setpgid): Likewise.
8594         * posix/setuid.c (__setuid): Likewise.
8595         * posix/sleep.c (__sleep): Likewise.
8596         * posix/sysconf.c (__sysconf): Likewise.
8597         * posix/times.c (__times): Likewise.
8598         * posix/uname.c (__uname): Likewise.
8599         * posix/waitid.c (__waitid): Likewise.
8600         * pwd/getpw.c (__getpw): Likewise.
8601         * resolv/base64.c (b64_pton): Likewise.
8602         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
8603         * resolv/gethnamaddr.c (Dprintf): Likewise.
8604         (gethostbyname): Likewise.
8605         (gethostbyname2): Likewise.
8606         (gethostbyaddr): Likewise.
8607         (_sethtent): Likewise.
8608         (_gethtbyname): Likewise.
8609         (_gethtbyname2): Likewise.
8610         (_gethtbyaddr): Likewise.
8611         (map_v4v6_address): Likewise.
8612         (map_v4v6_hostent): Likewise.
8613         (addrsort): Likewise.
8614         (ht_sethostent): Likewise.
8615         (ht_gethostbyname): Likewise.
8616         (ht_gethostbyaddr): Likewise.
8617         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
8618         (inet_net_ntop_ipv4): Likewise.
8619         * resolv/inet_neta.c (inet_neta): Likewise.
8620         * resolv/inet_ntop.c (inet_ntop): Likewise.
8621         (inet_ntop4): Likewise.
8622         (inet_ntop6): Likewise.
8623         * resolv/inet_pton.c (__inet_pton): Likewise.
8624         (inet_pton4): Likewise.
8625         (inet_pton6): Likewise.
8626         * resolv/res_debug.c (loc_aton): Likewise.
8627         (loc_ntoa): Likewise.
8628         * resource/getpriority.c (__getpriority): Likewise.
8629         * resource/getrusage.c (__getrusage): Likewise.
8630         * resource/nice.c (nice): Likewise.
8631         * resource/setpriority.c (__setpriority): Likewise.
8632         * resource/setrlimit64.c (setrlimit64): Likewise.
8633         * resource/vlimit.c (vlimit): Likewise.
8634         * resource/vtimes.c (vtimes): Likewise.
8635         * rt/aio_error.c (aio_error): Likewise.
8636         * rt/aio_return.c (aio_return): Likewise.
8637         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
8638         * signal/kill.c (__kill): Likewise.
8639         * signal/killpg.c (killpg): Likewise.
8640         * signal/raise.c (raise): Likewise.
8641         * signal/sigaction.c (__sigaction): Likewise.
8642         * signal/sigaddset.c (sigaddset): Likewise.
8643         * signal/sigaltstack.c (sigaltstack): Likewise.
8644         * signal/sigandset.c (sigandset): Likewise.
8645         * signal/sigblock.c (__sigblock): Likewise.
8646         * signal/sigdelset.c (sigdelset): Likewise.
8647         * signal/sigempty.c (sigemptyset): Likewise.
8648         * signal/sigfillset.c (sigfillset): Likewise.
8649         * signal/sighold.c (sighold): Likewise.
8650         * signal/sigignore.c (sigignore): Likewise.
8651         * signal/sigintr.c (siginterrupt): Likewise.
8652         * signal/sigisempty.c (sigisemptyset): Likewise.
8653         * signal/sigismem.c (sigismember): Likewise.
8654         * signal/signal.c (signal): Likewise.
8655         * signal/sigorset.c (sigorset): Likewise.
8656         * signal/sigpause.c (__sigpause): Likewise.
8657         * signal/sigpending.c (sigpending): Likewise.
8658         * signal/sigprocmask.c (__sigprocmask): Likewise.
8659         * signal/sigrelse.c (sigrelse): Likewise.
8660         * signal/sigreturn.c (__sigreturn): Likewise.
8661         * signal/sigset.c (sigset): Likewise.
8662         * signal/sigsetmask.c (__sigsetmask): Likewise.
8663         * signal/sigstack.c (sigstack): Likewise.
8664         * signal/sigsuspend.c (__sigsuspend): Likewise.
8665         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
8666         * signal/sysv_signal.c (__sysv_signal): Likewise.
8667         * socket/accept.c (accept): Likewise.
8668         * socket/accept4.c (__libc_accept4): Likewise.
8669         * socket/bind.c (__bind): Likewise.
8670         * socket/connect.c (__connect): Likewise.
8671         * socket/getpeername.c (getpeername): Likewise.
8672         * socket/getsockname.c (__getsockname): Likewise.
8673         * socket/getsockopt.c (getsockopt): Likewise.
8674         * socket/listen.c (__listen): Likewise.
8675         * socket/recv.c (__recv): Likewise.
8676         * socket/recvmsg.c (__recvmsg): Likewise.
8677         * socket/send.c (__send): Likewise.
8678         * socket/sendmsg.c (__sendmsg): Likewise.
8679         * socket/shutdown.c (shutdown): Likewise.
8680         * socket/sockatmark.c (sockatmark): Likewise.
8681         * socket/socket.c (__socket): Likewise.
8682         * stdio-common/ctermid.c (ctermid): Likewise.
8683         * stdio-common/cuserid.c (cuserid): Likewise.
8684         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
8685         * stdio-common/remove.c (remove): Likewise.
8686         * stdio-common/rename.c (rename): Likewise.
8687         * stdio-common/renameat.c (renameat): Likewise.
8688         * stdio-common/tempname.c (__gen_tempname): Likewise.
8689         * stdio-common/xbug.c (InitBuffer): Likewise.
8690         (AppendToBuffer): Likewise.
8691         (ReadFile): Likewise.
8692         * stdlib/a64l.c (a64l): Likewise.
8693         * stdlib/drand48_r.c (drand48_r): Likewise.
8694         * stdlib/getcontext.c (getcontext): Likewise.
8695         * stdlib/getenv.c (getenv): Likewise.
8696         * stdlib/l64a.c (l64a): Likewise.
8697         * stdlib/llabs.c (llabs): Likewise.
8698         * stdlib/lldiv.c (lldiv): Likewise.
8699         * stdlib/lrand48_r.c (lrand48_r): Likewise.
8700         * stdlib/mrand48_r.c (mrand48_r): Likewise.
8701         * stdlib/putenv.c (putenv): Likewise.
8702         * stdlib/random.c (__srandom): Likewise.
8703         (__initstate): Likewise.
8704         (__setstate): Likewise.
8705         * stdlib/random_r.c (__srandom_r): Likewise.
8706         (__setstate_r): Likewise.
8707         (__random_r): Likewise.
8708         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
8709         * stdlib/setcontext.c (setcontext): Likewise.
8710         * stdlib/setenv.c (setenv): Likewise.
8711         (unsetenv): Likewise.
8712         * stdlib/srand48.c (srand48): Likewise.
8713         * stdlib/srand48_r.c (__srand48_r): Likewise.
8714         * stdlib/swapcontext.c (swapcontext): Likewise.
8715         * stdlib/system.c (__libc_system): Likewise.
8716         * stdlib/tst-strtod.c (expand): Likewise.
8717         * stdlib/tst-strtol.c (expand): Likewise.
8718         * stdlib/tst-strtoll.c (expand): Likewise.
8719         * streams/fattach.c (fattach): Likewise.
8720         * streams/fdetach.c (fdetach): Likewise.
8721         * streams/getmsg.c (getmsg): Likewise.
8722         * streams/isastream.c (isastream): Likewise.
8723         * string/ffs.c (__ffs): Likewise.
8724         * string/ffsll.c (ffsll): Likewise.
8725         * string/memcmp.c (memcmp_common_alignment): Likewise.
8726         (memcmp_not_common_alignment): Likewise.
8727         (MEMCMP): Likewise.
8728         * string/memcpy.c (memcpy): Likewise.
8729         * string/memmove.c (MEMMOVE): Likewise.
8730         * string/memset.c (memset): Likewise.
8731         * string/rawmemchr.c (RAWMEMCHR): Likewise.
8732         * string/strchrnul.c (STRCHRNUL): Likewise.
8733         * string/strerror.c (strerror): Likewise.
8734         * string/strndup.c (__strndup): Likewise.
8735         * string/strverscmp.c (__strverscmp): Likewise.
8736         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
8737         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
8738         (clnttcp_freeres): Likewise.
8739         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
8740         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
8741         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
8742         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
8743         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
8744         (xdr_callhdr): Likewise.
8745         * sunrpc/rpcinfo.c (udpping): Likewise.
8746         (tcpping): Likewise.
8747         (pstatus): Likewise.
8748         (pmapdump): Likewise.
8749         (brdcst): Likewise.
8750         (deletereg): Likewise.
8751         (getprognum): Likewise.
8752         (getvers): Likewise.
8753         (get_inet_address): Likewise.
8754         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
8755         * sunrpc/svc_udp.c (svcudp_create): Likewise.
8756         (svcudp_stat): Likewise.
8757         (svcudp_recv): Likewise.
8758         (svcudp_reply): Likewise.
8759         (svcudp_getargs): Likewise.
8760         (svcudp_freeargs): Likewise.
8761         (svcudp_destroy): Likewise.
8762         * sunrpc/xdr.c (xdr_bytes): Likewise.
8763         (xdr_netobj): Likewise.
8764         (xdr_string): Likewise.
8765         (xdr_wrapstring): Likewise.
8766         * sunrpc/xdr_float.c (xdr_float): Likewise.
8767         (xdr_double): Likewise.
8768         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
8769         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
8770         * sysvipc/ftok.c (ftok): Likewise.
8771         * sysvipc/msgctl.c (msgctl): Likewise.
8772         * sysvipc/msgget.c (msgget): Likewise.
8773         * sysvipc/msgrcv.c (msgrcv): Likewise.
8774         * sysvipc/msgsnd.c (msgsnd): Likewise.
8775         * sysvipc/semget.c (semget): Likewise.
8776         * sysvipc/semop.c (semop): Likewise.
8777         * sysvipc/shmat.c (shmat): Likewise.
8778         * sysvipc/shmctl.c (shmctl): Likewise.
8779         * sysvipc/shmdt.c (shmdt): Likewise.
8780         * sysvipc/shmget.c (shmget): Likewise.
8781         * termios/cfmakeraw.c (cfmakeraw): Likewise.
8782         * termios/speed.c (cfgetospeed): Likewise.
8783         (cfgetispeed): Likewise.
8784         (cfsetospeed): Likewise.
8785         (cfsetispeed): Likewise.
8786         * termios/tcflow.c (tcflow): Likewise.
8787         * termios/tcflush.c (tcflush): Likewise.
8788         * termios/tcgetattr.c (__tcgetattr): Likewise.
8789         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
8790         * termios/tcgetsid.c (tcgetsid): Likewise.
8791         * termios/tcsendbrk.c (tcsendbreak): Likewise.
8792         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
8793         * time/adjtime.c (__adjtime): Likewise.
8794         * time/dysize.c (dysize): Likewise.
8795         * time/ftime.c (ftime): Likewise.
8796         * time/getitimer.c (__getitimer): Likewise.
8797         * time/gettimeofday.c (__gettimeofday): Likewise.
8798         * time/gmtime.c (__gmtime_r): Likewise.
8799         (gmtime): Likewise.
8800         * time/localtime.c (__localtime_r): Likewise.
8801         (localtime): Likewise.
8802         * time/offtime.c (__offtime): Likewise.
8803         * time/settimeofday.c (__settimeofday): Likewise.
8804         * time/stime.c (stime): Likewise.
8805         * time/strftime_l.c (tm_diff): Likewise.
8806         (iso_week_days): Likewise.
8807         * time/strptime.c (strptime): Likewise.
8808         * time/time.c (time): Likewise.
8809         * time/timespec_get.c (timespec_get): Likewise.
8810         * time/tzset.c (tzset_internal): Likewise.
8811         (compute_change): Likewise.
8812         (__tz_compute): Likewise.
8813         * wcsmbs/btowc.c (__btowc): Likewise.
8814         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
8815         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
8816         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
8817         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
8818         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
8819         * wcsmbs/wcscat.c (__wcscat): Likewise.
8820         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
8821         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
8822         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
8823         * wcsmbs/wcscspn.c (wcscspn): Likewise.
8824         * wcsmbs/wcsdup.c (wcsdup): Likewise.
8825         * wcsmbs/wcslen.c (__wcslen): Likewise.
8826         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
8827         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
8828         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
8829         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
8830         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
8831         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
8832         * wcsmbs/wcsspn.c (wcsspn): Likewise.
8833         * wcsmbs/wcsstr.c (wcsstr): Likewise.
8834         * wcsmbs/wcstok.c (wcstok): Likewise.
8835         * wcsmbs/wctob.c (wctob): Likewise.
8836         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
8837         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
8838         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
8839         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
8840         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
8841         * wcsmbs/wmemset.c (__wmemset): Likewise.
8842         * wctype/wcfuncs.c (__towlower): Likewise.
8843         (__towupper): Likewise.
8845         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
8846         (lll_unlock_elision): Add adapt_count parameter.
8848 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
8850         * sysdeps/nptl/configure.ac: Do not give errors based on the
8851         results of top-level configure tests.
8852         * sysdeps/nptl/configure: Regenerated.
8854         * configure.ac (libc_cv_Bgroup): Remove configure test.
8855         * configure: Regenerated.
8856         * config.make.in (have-Bgroup): Remove variable.
8858         * configure.ac (sizeof_long_double): Remove configure test.
8859         * configure: Regenerated.
8860         * config.make.in (sizeof-long-double): Remove variable.
8862         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
8863         * configure: Regenerated.
8864         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
8865         variable.
8866         (exceptions): Likewise.
8867         * sysdeps/arm/configure: Regenerated.
8868         * config.make.in (exceptions): Remove variable.
8869         * Makeconfig (uses-callbacks): Use -fexceptions instead of
8870         $(exceptions).
8871         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
8872         (CFLAGS-vdprintf_chk.c): Likewise.
8873         (CFLAGS-printf_chk.c): Likewise.
8874         (CFLAGS-fprintf_chk.c): Likewise.
8875         (CFLAGS-vprintf_chk.c): Likewise.
8876         (CFLAGS-vfprintf_chk.c): Likewise.
8877         (CFLAGS-gets_chk.c): Likewise.
8878         (CFLAGS-fgets_chk.c): Likewise.
8879         (CFLAGS-fgets_u_chk.c): Likewise.
8880         (CFLAGS-fread_chk.c): Likewise.
8881         (CFLAGS-fread_u_chk.c): Likewise.
8882         (CFLAGS-wprintf_chk.c): Likewise.
8883         (CFLAGS-fwprintf_chk.c): Likewise.
8884         (CFLAGS-vwprintf_chk.c): Likewise.
8885         (CFLAGS-vfwprintf_chk.c): Likewise.
8886         (CFLAGS-fgetws_chk.c): Likewise.
8887         (CFLAGS-fgetws_u_chk.c): Likewise.
8888         * libio/Makefile (CFLAGS-fileops.c): Likewise.
8889         (CFLAGS-fputc.c): Likewise.
8890         (CFLAGS-fputwc.c): Likewise.
8891         (CFLAGS-freopen64.c): Likewise.
8892         (CFLAGS-freopen.c): Likewise.
8893         (CFLAGS-fseek.c): Likewise.
8894         (CFLAGS-fseeko64.c): Likewise.
8895         (CFLAGS-fseeko.c): Likewise.
8896         (CFLAGS-ftello64.c): Likewise.
8897         (CFLAGS-ftello.c): Likewise.
8898         (CFLAGS-fwide.c): Likewise.
8899         (CFLAGS-genops.c): Likewise.
8900         (CFLAGS-getc.c): Likewise.
8901         (CFLAGS-getchar.c): Likewise.
8902         (CFLAGS-getwc.c): Likewise.
8903         (CFLAGS-getwchar.c): Likewise.
8904         (CFLAGS-iofclose.c): Likewise.
8905         (CFLAGS-iofflush.c): Likewise.
8906         (CFLAGS-iofgetpos64.c): Likewise.
8907         (CFLAGS-iofgetpos.c): Likewise.
8908         (CFLAGS-iofgets.c): Likewise.
8909         (CFLAGS-iofgetws.c): Likewise.
8910         (CFLAGS-iofputs.c): Likewise.
8911         (CFLAGS-iofputws.c): Likewise.
8912         (CFLAGS-iofread.c): Likewise.
8913         (CFLAGS-iofsetpos64.c): Likewise.
8914         (CFLAGS-iofsetpos.c): Likewise.
8915         (CFLAGS-ioftell.c): Likewise.
8916         (CFLAGS-iofwrite.c): Likewise.
8917         (CFLAGS-iogetdelim.c): Likewise.
8918         (CFLAGS-iogetline.c): Likewise.
8919         (CFLAGS-iogets.c): Likewise.
8920         (CFLAGS-iogetwline.c): Likewise.
8921         (CFLAGS-ioputs.c): Likewise.
8922         (CFLAGS-ioseekoff.c): Likewise.
8923         (CFLAGS-ioseekpos.c): Likewise.
8924         (CFLAGS-iosetbuffer.c): Likewise.
8925         (CFLAGS-iosetvbuf.c): Likewise.
8926         (CFLAGS-ioungetc.c): Likewise.
8927         (CFLAGS-ioungetwc.c): Likewise.
8928         (CFLAGS-oldfileops.c): Likewise.
8929         (CFLAGS-oldiofclose.c): Likewise.
8930         (CFLAGS-oldiofgetpos64.c): Likewise.
8931         (CFLAGS-oldiofgetpos.c): Likewise.
8932         (CFLAGS-oldiofsetpos64.c): Likewise.
8933         (CFLAGS-oldiofsetpos.c): Likewise.
8934         (CFLAGS-peekc.c): Likewise.
8935         (CFLAGS-putc.c): Likewise.
8936         (CFLAGS-putchar.c): Likewise.
8937         (CFLAGS-putwc.c): Likewise.
8938         (CFLAGS-putwchar.c): Likewise.
8939         (CFLAGS-rewind.c): Likewise.
8940         (CFLAGS-wfileops.c): Likewise.
8941         (CFLAGS-wgenops.c): Likewise.
8942         (CFLAGS-oldiofopen.c): Likewise.
8943         (CFLAGS-iofopen.c): Likewise.
8944         (CFLAGS-iofopen64.c): Likewise.
8945         (CFLAGS-oldtmpfile.c): Likewise.
8946         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
8947         (CFLAGS-fprintf.c): Likewise.
8948         (CFLAGS-printf.c): Likewise.
8949         (CFLAGS-vfwprintf.c): Likewise.
8950         (CFLAGS-vfscanf.c): Likewise.
8951         (CFLAGS-vfwscanf.c): Likewise.
8952         (CFLAGS-fscanf.c): Likewise.
8953         (CFLAGS-scanf.c): Likewise.
8954         (CFLAGS-isoc99_vfscanf.c): Likewise.
8955         (CFLAGS-isoc99_vscanf.c): Likewise.
8956         (CFLAGS-isoc99_fscanf.c): Likewise.
8957         (CFLAGS-isoc99_scanf.c): Likewise.
8958         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
8959         (CFLAGS-isoc99_fwscanf.c): Likewise.
8960         (CFLAGS-isoc99_vwscanf.c): Likewise.
8961         (CFLAGS-isoc99_vfwscanf.c): Likewise.
8963         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
8964         after mkstemp64.
8965         * login/tst-utmp.c (do_prepare): Likewise.
8966         * rt/tst-aio.c (do_prepare): Likewise.
8967         * rt/tst-aio64.c (do_prepare): Likewise.
8969 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8971         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
8972         (__lll_lock_elision): Remove adapt_count decrement...
8973         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
8974         (__lll_trylock_elision): Likewise.
8975         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
8976         (__lll_unlock_elision): ... to here. And utilize
8977         new adapt_count parameter.
8978         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
8979         (__lll_unlock_elision): Update to include adapt_count
8980         parameter.
8981         (lll_unlock_elision): Pass pointer to adapt_count
8982         variable.
8984 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8986         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
8987         Add elision adapt_count parameter to list of arguments.
8988         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
8989         (lll_unlock_elision): Update with new parameter list
8990         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
8991         (lll_unlock_elision): Likewise.
8992         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
8993         (lll_unlock_elision): Likewise.
8995 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
8997         [BZ #19122]
8998         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
8999         attribute_hidden.
9001         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
9002         attribute_hidden.
9003         [IS_IN (rtld)] (__strdup): Likewise.
9004         [IS_IN (rtld)] (__strerror_r): Likewise.
9005         [IS_IN (rtld)] (__strsep_g): Likewise.
9006         [IS_IN (rtld)] (memchr): Likewise.
9007         [IS_IN (rtld)] (memcmp): Likewise.
9008         [IS_IN (rtld)] (memcpy): Likewise.
9009         [IS_IN (rtld)] (memmove): Likewise.
9010         [IS_IN (rtld)] (memset): Likewise.
9011         [IS_IN (rtld)] (rawmemchr): Likewise.
9012         [IS_IN (rtld)] (stpcpy): Likewise.
9013         [IS_IN (rtld)] (strchr): Likewise.
9014         [IS_IN (rtld)] (strcmp): Likewise.
9015         [IS_IN (rtld)] (strlen): Likewise.
9016         [IS_IN (rtld)] (strnlen): Likewise.
9017         [IS_IN (rtld)] (strsep): Likewise.
9019         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
9020         attribute_hidden.
9021         [IS_IN (rtld)] (__strtoul_internal): Likewise.
9023         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
9024         attribute_hidden.
9025         [IS_IN (rtld)] (__libc_sigaction): Likewise.
9027         * include/setjmp.h (__longjmp): Add attribute_hidden.
9028         [IS_IN (rtld)] (__sigsetjmp): Likewise.
9030         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
9031         Add attribute_hidden.
9033         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
9034         [IS_IN (rtld)] (__open): Likewise.
9035         [IS_IN (rtld)] (__fcntl): Likewise.
9037         * include/dirent.h (__opendirat): Add attribute_hidden.
9038         (__getdents): Likewise.
9039         (__getdents64): Likewise.
9040         (__alloc_dir): Likewise.
9041         [IS_IN (rtld)] (__closedir): Likewise.
9042         [IS_IN (rtld)] (__fdopendir): Likewise.
9043         [IS_IN (rtld)] (__readdir): Likewise.
9044         [IS_IN (rtld)] (__readdir64): Likewise.
9045         [IS_IN (rtld)] (__rewinddir): Likewise.
9047         * include/dlfcn.h (_dl_catch_error): Moved to ...
9048         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
9049         attribute_hidden.
9051         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
9052         (_itoa_word): Likewise.
9054         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
9055         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
9056         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
9057         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
9058         (_dl_higher_prime_number): Likewise.
9059         (_dl_debug_printf_c): Likewise.
9060         (_dl_signal_cerror): Likewise.
9061         (_dl_receive_error): Likewise.
9062         (_dl_reloc_bad_type): Likewise.
9063         (_dl_resolve_conflicts): Likewise.
9064         (_dl_check_all_versions): Likewise.
9065         (_dl_check_map_versions): Likewise.
9066         (_dl_sort_fini): Likewise.
9067         (_dl_debug_initialize): Likewise.
9068         (_dl_init_paths): Likewise.
9069         (_dl_show_auxv): Likewise.
9070         (_dl_next_ld_env_entry): Likewise.
9071         (_dl_important_hwcaps): Likewise.
9072         (_dl_load_cache_lookup): Likewise.
9073         (_dl_update_slotinfo): Likewise.
9074         (_dl_show_scope): Likewise.
9076         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
9077         attribute_hidden.
9078         (_wordcopy_fwd_dest_aligned): Likewise.
9079         (_wordcopy_bwd_aligned): Likewise.
9080         (_wordcopy_bwd_dest_aligned): Likewise.
9082         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
9083         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
9084         Likewise.
9085         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
9086         Likewise.
9087         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
9089 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
9091         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
9092         GCC 5 requirement.
9094 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
9096         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
9097         test.
9098         * sysdeps/i386/configure: Regenerated.
9099         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
9100         code unconditional.
9102         * configure.ac (libc_cv_asm_previous_directive): Remove configure
9103         test.
9104         (libc_cv_asm_popsection_directive): Likewise.
9105         * configure: Regenerated.
9106         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
9107         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
9108         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
9109         (__make_section_unallocated): Make definition unconditional.
9110         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
9111         Remove conditional definition.
9112         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
9113         (__make_section_unallocated): Likewise.
9115         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
9116         * configure: Regenerated.
9117         * config.make.in (static-libgcc): Remove variable.
9118         * Makerules (build-shlib-helper): Use -static-libgcc instead of
9119         $(static-libgcc).
9120         (build-module-helper): Likewise.
9122         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
9123         * configure: Regenerated.
9125 2015-10-15  Florian Weimer  <fweimer@redhat.com>
9127         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
9128         (struct char_buffer): New type.
9129         (char_buffer_start, char_buffer_size, char_buffer_error)
9130         (char_buffer_rewind, char_buffer_add): New functions.
9131         (ADDW): Remove macro, replaced by the char_buffer_add function.
9132         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
9133         of extend_alloca.  Make control flow more explicit.
9135 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
9137         [BZ #19137]
9138         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
9139         Add -fomit-frame-pointer.
9140         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
9142 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
9144         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
9145         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
9146         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
9147         only if !__GNUC_PREREQ (5,0).
9148         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
9149         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
9150         (INTERNAL_SYSCALL_NCS): Likewise.
9151         (LOADREGS_0): New macro for GCC 5.
9152         (ASMARGS_0): Likewise.
9153         (LOADREGS_1): Likewise.
9154         (ASMARGS_1): Likewise.
9155         (LOADREGS_2): Likewise.
9156         (ASMARGS_2): Likewise.
9157         (LOADREGS_3): Likewise.
9158         (ASMARGS_3): Likewise.
9159         (LOADREGS_4): Likewise.
9160         (ASMARGS_4): Likewise.
9161         (LOADREGS_5): Likewise.
9162         (ASMARGS_5): Likewise.
9163         (LOADREGS_6): Likewise.
9164         (ASMARGS_6): Likewise.
9166 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
9168         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
9169         -fomit-frame-pointer.
9170         (CFLAGS-mmap64.c): Likewise.
9171         (CFLAGS-semtimedop.c): Likewise.
9172         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
9173         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
9174         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
9175         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
9177 2015-10-15  Florian Weimer  <fweimer@redhat.com>
9179         [BZ #18928]
9180         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
9181         _dl_pointer_guard member.
9182         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
9183         initializer.
9184         (security_init): Always set up pointer guard.
9185         (process_envvars): Do not process LD_POINTER_GUARD.
9187 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
9189         [BZ #19134]
9190         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
9191         (.LC2): Likewise.
9192         (.LC3): Likewise.
9193         (__lround): Do not add 0.5 to integer or out-of-range arguments.
9195 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9197         [BZ #19129]
9198         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
9199         r0 and r1.
9201 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
9203         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
9205 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
9207         * include/stap-probe.h: Fix macro definition formatting.
9209 2015-10-14  Florian Weimer  <fweimer@redhat.com>
9211         [BZ #19074]
9212         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
9213         load and store num_ifs.
9215 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
9217         [BZ #18822]
9218         * sysdeps/unix/sysv/linux/sched_getaffinity.c
9219         (__sched_getaffinity_new): Add libc_hidden_proto and
9220         libc_hidden_def.
9222 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
9224         [BZ #19007]
9225         * scripts/localplt.awk: Also allow GOT references.
9226         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
9227         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
9228         with "+ REL R_386_GLOB_DAT".
9229         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
9230         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
9232 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
9234         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
9235         INLINE_SYSCALL_ERROR_RETURN_VALUE.
9236         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
9237         Likewise.
9238         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
9239         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
9240         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
9241         INTERNAL_SYSCALLINTERNAL_SYSCALL and
9242         INLINE_SYSCALL_ERROR_RETURN_VALUE.
9243         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
9244         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
9245         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
9246         Likewise.
9247         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
9249 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
9251         [BZ #19125]
9252         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
9253         <math_private.h> and <stdint.h>.
9254         (__llround): Avoid conversions to and from long long int, and
9255         subtractions, where those might raise spurious exceptions.
9256         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
9257         <math_private.h> and <stdint.h>.
9258         (__llroundf): Avoid conversions to and from long long int, and
9259         subtractions, where those might raise spurious exceptions.
9261 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
9263         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
9264         INLINE_SYSCALL_ERROR_RETURN_VALUE.
9265         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
9266         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
9267         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
9268         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
9269         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
9270         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
9271         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
9272         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
9273         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9274         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
9275         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
9276         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
9277         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
9278         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
9279         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
9280         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
9281         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
9282         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
9283         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
9284         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
9285         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
9286         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
9287         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
9288         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
9289         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
9290         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
9291         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
9292         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
9293         (__xstat64_conv): Likewise.
9294         (__xstat32_conv): Likewise.
9296 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
9298         * sysdeps/unix/sysv/linux/sysdep.h: New file.
9299         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
9300         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
9301         <sysdeps/unix/sysv/linux/sysdep.h>.
9302         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
9303         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
9304         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
9305         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9306         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
9307         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
9308         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
9309         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
9310         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
9311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
9312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9313         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9314         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9315         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9316         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
9317         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9318         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
9319         (sysdep-dl-routines): Add sysdep.
9320         [$(subdir) == nptl] (libpthread-routines): Likewise.
9321         [$(subdir) == rt] (librt-routines): Likewise.
9322         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
9323         PIC when branching to SYSCALL_ERROR_LABEL.
9324         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
9325         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
9326         <sysdeps/unix/sysv/linux/sysdep.h>.
9327         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
9328         (SYSCALL_ERROR_ERRNO): Removed.
9329         (SYSCALL_ERROR_HANDLER): Changed to empty.
9330         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
9331         (__syscall_error): New prototype.
9332         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
9333         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
9335 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
9337         [BZ #19124]
9338         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
9339         (_dl_runtime_resolve_avx512): Make it a hidden alias of
9340         _dl_runtime_resolve_avx.
9341         (_dl_runtime_profile_avx512): Make it a hidden alias of
9342         _dl_runtime_profile_avx.
9344 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
9346         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
9347         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
9348         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
9349         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
9351         [BZ #16422]
9352         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
9353         New configure test.
9354         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
9355         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
9356         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
9357         <math_private.h> and <stdint.h>.
9358         (__llrint): Avoid conversions to long long int where those might
9359         raise spurious exceptions.
9360         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
9361         <math_private.h> and <stdint.h>.
9362         (__llrintf): Avoid conversions to long long int where those might
9363         raise spurious exceptions.
9365 2015-10-12  Andreas Schwab  <schwab@suse.de>
9367         [BZ #18969]
9368         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
9369         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
9370         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
9371         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
9372         $(gen-locales).
9373         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
9374         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
9375         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
9376         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
9377         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
9378         $(gen-locales).
9379         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
9380         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
9381         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
9382         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
9383         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
9384         ($(objpfx)tst-ftell-active-handler.out)
9385         ($(objpfx)tst-ftell-append.out)
9386         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
9387         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
9388         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
9389         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
9390         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
9391         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
9392         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
9393         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
9394         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
9395         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
9396         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
9397         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
9398         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
9399         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
9400         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
9401         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
9402         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
9403         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
9404         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
9405         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
9406         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
9407         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
9408         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
9409         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
9410         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
9411         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
9412         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
9413         $(gen-locales).
9414         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
9415         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
9416         $(gen-locales).
9417         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
9418         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
9419         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
9420         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
9421         $(gen-locales).
9422         * libio/tst_wprintf2.c (main): Use explicit locale.
9423         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
9425 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9427         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
9428         __msg_sig_post.
9429         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
9431 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
9433         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
9434         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9436         * sysdeps/arm/libm-test-ulps: Regenerated.
9438         [BZ #15470]
9439         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
9441         [BZ #16399]
9442         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
9443         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
9444         and <fix-fp-int-convert-overflow.h>.
9445         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
9446         FIX_DBL_LLONG_CONVERT_OVERFLOW.
9447         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
9448         and <fix-fp-int-convert-overflow.h>.
9449         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
9450         FIX_DBL_LLONG_CONVERT_OVERFLOW.
9451         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
9452         <fix-fp-int-convert-overflow.h>.
9453         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
9454         FIX_DBL_LLONG_CONVERT_OVERFLOW.
9455         * sysdeps/ieee754/dbl-64/s_lround.c: Include
9456         <fix-fp-int-convert-overflow.h>.
9457         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
9458         FIX_DBL_LLONG_CONVERT_OVERFLOW.
9459         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
9460         and <fix-fp-int-convert-overflow.h>.
9461         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
9462         FIX_DBL_LLONG_CONVERT_OVERFLOW.
9463         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
9464         <limits.h> and <fix-fp-int-convert-overflow.h>.
9465         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
9466         FIX_DBL_LLONG_CONVERT_OVERFLOW.
9467         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
9468         and <fix-fp-int-convert-overflow.h>.
9469         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
9470         FIX_DBL_LLONG_CONVERT_OVERFLOW.
9471         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
9472         and <fix-fp-int-convert-overflow.h>.
9473         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
9474         FIX_DBL_LLONG_CONVERT_OVERFLOW.
9475         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
9477 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
9479         [BZ #18589]
9480         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
9481         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
9482         $(gen-locales).
9484 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9485             Phil Blundell <pb@pbcl.net>
9487         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
9488         * nptl/tst-cancel26.c: New file.
9489         * nptl/tst-cancel27.c: Likewise.
9491 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
9493         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
9494         __ILP32__ isn't defined.
9495         (lrint): Likewise.
9496         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
9497         (lrintf): Likewise.
9498         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
9499         (lrintl): Likewise.
9500         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
9501         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
9502         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
9504 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9506         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
9507         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
9509         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
9510         file.
9511         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
9512         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
9514 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
9516         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
9517         configure test.
9518         * sysdeps/i386/configure: Regenerated.
9519         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
9520         configure test.
9521         * sysdeps/x86_64/configure: Regenerated.
9522         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
9523         Make code unconditional.
9525         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
9526         test.
9527         * sysdeps/i386/configure: Regenerated.
9528         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
9529         test.
9530         * sysdeps/x86_64/configure: Regenerated.
9531         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
9532         Make code unconditional.
9533         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
9534         Likewise.
9535         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
9536         Likewise.
9537         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
9538         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
9539         code unconditional.
9540         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
9541         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
9542         code unconditional.
9543         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
9544         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
9545         code unconditional.
9546         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
9547         code unconditional.
9548         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
9549         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
9550         code unconditional.
9551         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
9552         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
9553         code unconditional.
9554         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
9555         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
9556         code unconditional.
9557         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
9558         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
9559         code unconditional.
9560         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
9561         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
9563         [BZ #19095]
9564         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
9565         mantissa to long int before shifting left.
9567 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
9569         [BZ #19094]
9570         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
9571         <limits.h>.
9572         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
9573         when result overflows but exception would not result from cast.
9574         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
9575         <limits.h>.
9576         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
9577         when result overflows but exception would not result from cast.
9578         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
9579         <limits.h>.
9580         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
9581         when result overflows but exception would not result from cast.
9582         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
9583         <limits.h>.
9584         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
9585         when result overflows but exception would not result from cast.
9586         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
9587         <limits.h>.
9588         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
9589         when result overflows but exception would not result from cast.
9590         * math/libm-test.inc (lrint_test_data): Add more tests.
9591         (llrint_test_data): Likewise.
9593 2015-10-08  Roland McGrath  <roland@hack.frob.com>
9595         [BZ #18872]
9596         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
9597         Move out from under [$(run-built-tests) = yes] conditional.
9598         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
9599         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
9601 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
9603         [BZ #18589]
9604         * string/Makefile (tests): Add bug-strcoll2.
9605         (LOCALES): Add cs_CZ.UTF-8.
9606         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
9608         [BZ #18589]
9609         * string/bug-strcoll2.c: New file.
9610         * locale/categories.def: Revert commit
9611         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
9612         * locale/langinfo.h: Likewise.
9613         * locale/localeinfo.h: Likewise.
9614         * locale/C-collate.c: Likewise.
9615         * locale/programs/ld-collate.c (collate_output): Likewise.
9616         * string/strcoll_l.c (STRDIFF): Likewise.
9617         (STRCOLL): Likewise.
9618         * wcsmbs/wcscoll_l.c: Likewise.
9620 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
9622         * math/libm-test.inc (lround_test_data): Do not expect the absence
9623         of "inexact" for some tests with non-integer arguments.
9624         (llround_test_data): Likewise.
9626         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
9627         test.
9628         (libc_cv_cc_sse2avx): Likewise.
9629         * sysdeps/i386/configure: Regenerated.
9630         * sysdeps/i386/i686/multiarch/Makefile
9631         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
9632         [$(subdir) = math].
9633         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
9634         code unconditional.
9635         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
9636         Likewise.
9637         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
9638         Likewise.
9639         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
9640         Likewise.
9641         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
9642         test.
9643         (libc_cv_cc_sse2avx): Likewise.
9644         * sysdeps/x86_64/configure: Regenerated.
9645         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
9646         unconditional.
9647         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
9648         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
9649         unconditional.
9650         (_dl_runtime_profile)
9651         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
9652         conditional code.
9653         * sysdeps/x86_64/fpu/multiarch/Makefile
9654         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
9655         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
9656         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9657         * sysdeps/x86_64/fpu/multiarch/e_exp.c
9658         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9659         * sysdeps/x86_64/fpu/multiarch/e_log.c
9660         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9661         * sysdeps/x86_64/fpu/multiarch/s_atan.c
9662         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9663         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
9664         Likewise.
9665         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
9666         Likewise.
9667         * sysdeps/x86_64/fpu/multiarch/s_sin.c
9668         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9669         * sysdeps/x86_64/fpu/multiarch/s_tan.c
9670         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9671         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
9672         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
9673         (HAVE_SSE2AVX_SUPPORT): Likewise.
9675 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
9677         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
9678         instead of #pragma optimize.
9680 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
9682         [BZ #17195]
9683         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
9684         as is similarly done in systrim and _int_free already.
9686 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9688         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
9690 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
9692         [BZ #19088]
9693         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
9694         <limits.h>.
9695         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
9696         overflows but exception would not result from cast.
9697         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
9698         and <limits.h>.
9699         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
9700         overflows but exception would not result from cast.
9701         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
9702         <limits.h>.
9703         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
9704         overflows but exception would not result from cast.
9705         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
9706         <limits.h>.
9707         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
9708         overflows but exception would not result from cast.
9709         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
9710         <limits.h>.
9711         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
9712         overflows but exception would not result from cast.
9713         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
9714         <limits.h>.
9715         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
9716         overflows but exception would not result from cast.
9717         * math/libm-test.inc (lround_test_data): Add more tests.
9718         (llround_test_data): Likewise.
9720 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
9722         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
9723         (CFLAGS-ialloc.c): Ditto.
9724         (CFLAGS-scheck.c): Ditto.
9726 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
9728         [BZ #19086]
9729         * manual/filesys.texi (Storage Allocation): Fix argument order for
9730         posix_fallocate64.
9732 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
9734         [BZ #19085]
9735         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
9736         exponent below 48 inside case for non-overflowing exponent.
9737         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
9739 2015-10-07  Florian Weimer  <fweimer@redhat.com>
9741         * iconvdata/cp737.h (from_idx): Add const.
9742         * iconvdata/cp775.h (from_idx): Likewise.
9744 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
9746         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
9747         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
9748         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
9750         [BZ #19079]
9751         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
9752         file, conditioned on [!_LP64].
9753         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
9754         [!_LP64] (__lround): Do not define as function or alias.
9755         [!_LP64] (lround): Likewise.
9756         [!_LP64] (__lroundl): Likewise.
9757         [!_LP64] (lroundl): Likewise.
9758         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
9759         macro.
9760         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
9761         Likewise.
9763 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
9765         * math/libm-test.inc (lrint_test_data): Add more tests.
9766         (llrint_test_data): Likewise.
9767         (lround_test_data): Likewise.
9768         (llround_test_data): Likewise.
9770         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
9771         (llrint_test_data): Add tests used for lrint.
9773         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
9774         test.
9775         * sysdeps/i386/configure: Regenerated.
9776         * sysdeps/i386/i686/multiarch/Makefile
9777         [$(config-cflags-sse4) = yes]: Make code unconditional.
9778         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
9779         Likewise.
9780         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
9781         Likewise.
9782         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
9783         test.
9784         * sysdeps/x86_64/configure: Regenerated.
9785         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
9786         Make code unconditional.
9787         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
9788         Likewise.
9789         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
9790         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
9792         * scripts/rpm2dynsym.sh: Remove file.
9794 2015-10-06  Florian Weimer  <fweimer@redhat.com>
9796         * configure.ac (libc_cv_cxx_thread_local): Define.
9797         * configure: Regenerate.
9798         * config.make.in (have-cxx-thread_local): Define.
9799         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
9800         (LDLIBS-tst-thread_local1): Define.
9801         (tests): Add tst-thread_local1.
9802         [have-cxx-thread_local != yes] (tests-unsupported): Add
9803         tst-thread_local1.
9804         * nptl/tst-thread_local1.cc: New file.
9806 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
9808         [BZ #19078]
9809         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
9810         (u_thres): Likewise.
9811         (__expl): Determine whether to call __kernel_standard_l based on
9812         value of result, not argument.
9814         * math/libm-test.inc (scalb_test_data): Add more expectations for
9815         the "inexact" exception.
9817         [BZ #19077]
9818         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
9819         0.0L for argument 1.0L.
9821         [BZ #19076]
9822         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
9823         constant 0.0L when computing infinite result.
9825 2015-10-06  Florian Weimer  <fweimer@redhat.com>
9827         [BZ #10432]
9828         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
9829         malloc_usable_size.
9831 2015-10-06  Florian Weimer  <fweimer@redhat.com>
9833         [BZ #19018]
9834         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
9835         Mangle function pointer before storing it.
9836         (__call_tls_dtors): Demangle function pointer before calling it.
9838 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
9840         [BZ #19012]
9841         * iconv/gconv_db.c (gen_steps): Check for additional errors.
9842         Clean up on failure.
9844 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
9846         [BZ #19071]
9847         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
9848         long int variable to store possibly incremented high part of
9849         mantissa.
9850         * math/libm-test.inc (lround_test_data): Add tests used for
9851         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
9852         for tests requiring 64-bit long.  Do not condition tests on
9853         [TEST_FLOAT] unnecessarily.
9854         (llround_test_data): Add tests used for lround.  Add another
9855         expectation for the "inexact" exception.  Do not condition tests
9856         on [TEST_FLOAT] unnecessarily.
9858         [BZ #887]
9859         [BZ #19049]
9860         [BZ #19050]
9861         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
9862         * sysdeps/ieee754/dbl-64/e_log10.c: Include
9863         <fix-int-fp-convert-zero.h>.
9864         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9865         * sysdeps/ieee754/dbl-64/e_log2.c: Include
9866         <fix-int-fp-convert-zero.h>.
9867         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9868         * sysdeps/ieee754/dbl-64/s_erf.c: Include
9869         <fix-int-fp-convert-zero.h>.
9870         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9871         * sysdeps/ieee754/dbl-64/s_logb.c: Include
9872         <fix-int-fp-convert-zero.h>.
9873         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9874         * sysdeps/ieee754/flt-32/e_log10f.c: Include
9875         <fix-int-fp-convert-zero.h>.
9876         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9877         * sysdeps/ieee754/flt-32/e_log2f.c: Include
9878         <fix-int-fp-convert-zero.h>.
9879         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9880         * sysdeps/ieee754/flt-32/s_erff.c: Include
9881         <fix-int-fp-convert-zero.h>.
9882         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9883         * sysdeps/ieee754/flt-32/s_logbf.c: Include
9884         <fix-int-fp-convert-zero.h>.
9885         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9886         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
9887         <fix-int-fp-convert-zero.h>.
9888         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9889         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
9890         <fix-int-fp-convert-zero.h>.
9891         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9892         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
9893         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
9894         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
9895         file.
9896         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
9898 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
9900         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9902 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
9904         [BZ #19059]
9905         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
9906         overflowing computation.
9907         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
9908         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
9909         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
9910         Likewise.
9911         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
9912         Likewise.
9913         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
9914         Likewise.
9915         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9916         Likewise.
9917         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
9918         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
9919         Likewise.
9920         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
9921         Likewise.
9922         * math/libm-test.inc (nexttoward_test_data): Add more tests.
9924         * nss/rewrite_field.c (__nss_rewrite_field): Use
9925         internal_function.
9926         * nss/valid_field.c (__nss_valid_field): Likewise.
9927         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
9929 2015-10-02  Florian Weimer  <fweimer@redhat.com>
9931         [BZ #18724]
9932         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
9933         (__nss_invalid_field_characters, __nss_valid_field)
9934         (__nss_valid_list_field, __nss_rewrite_field): Declare.
9935         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
9936         tst-field.c: New file.
9937         * nss/Makefile (routines): Add valid_field, rewrite_field.
9938         (tests-static): Define unconditionally.
9939         (tests): Include tests-static.
9940         [build-static-nss] (tests-static): Use append.
9941         [build-static-nss] (tests): Remove modification.
9942         * nss/getent.c (print_group): Call putgrent.  Report error.
9943         (print_gshadow): Call putsgent.  Report error.
9944         (print_passwd): Call putpwent.  Report error.
9945         (print_shadow): Call putspent.  Report error.
9946         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
9947         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
9948         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
9949         name, password, directory, shell fields for valid syntax.  Rewrite
9950         GECOS field to match syntax.
9951         * pwd/Makefile (tests): Add tst-putpwent.
9952         * pwd/tst-putpwent.c: New file.
9953         * grp/putgrent.c (putgrent): Convert to ISO function definition.
9954         Check grName, grpasswd, gr_mem fields for valid syntax.
9955         Change loop variable i to size_t.
9956         * grp/Makefile (tests): Add tst-putgrent.
9957         * grp/tst-putgrent.c: New file.
9958         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
9959         valid syntax.
9960         * shadow/Makefile (tests): Add tst-putspent.
9961         * shadow/tst-putspent.c: New file.
9962         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
9963         sg_mem fields for valid syntax.
9964         * gshadow/Makefile (tests): Add tst-putsgent.
9965         * gshadow/tst-putsgent.c: New file.
9967 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9969         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
9970         assembly instructions.
9972 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9974         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
9975         prefix from operands.
9977 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
9979         [BZ #16347]
9980         [BZ #19046]
9981         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
9982         <libc-internal.h>.
9983         (MAXLGM): Do not use diagnostic control macros.
9984         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
9985         threshold for ldbl-128ibm.
9986         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
9987         instead of multiplying by log then subtracting.
9988         * math/auto-libm-test-in: Add more tests of lgamma.
9989         * math/auto-libm-test-out: Regenerated.
9991         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
9992         (TYPE_HEX_DIG): Likewise.
9993         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
9994         precisions when printing floating-point numbers.
9995         (check_float_internal): Likewise.
9997 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
9999         [BZ #16620]
10000         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
10001         of log (10) rounded downward to 48 bits.
10002         (log10_low): Use corresponding low part of log (10).
10004         [BZ #19032]
10005         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
10006         compute result as (x - x) / (x - x) not as 0 / 0.
10007         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
10008         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
10010         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
10011         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
10012         and expm1.
10013         * math/auto-libm-test-out: Regenerated.
10014         * math/libm-test.inc (acos_test_data): Add more tests.
10015         (asin_test_data): Likewise.
10016         (asinh_test_data): Likewise.
10017         (atan_test_data): Likewise.
10018         (atanh_test_data): Likewise.
10019         (atan2_test_data): Likewise.
10020         (cbrt_test_data): Likewise.
10021         (ceil_test_data): Likewise.
10022         (copysign_test_data): Likewise.
10023         (cos_test_data): Likewise.
10024         (cosh_test_data): Likewise.
10025         (erf_test_data): Likewise.
10026         (erfc_test_data): Likewise.
10027         (exp_test_data): Likewise.
10028         (exp10_test_data): Likewise.
10029         (exp2_test_data): Likewise.
10030         (expm1_test_data): Likewise.
10031         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10033 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
10035         [BZ #19006]
10036         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
10037         to ...
10038         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
10039         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
10040         to ...
10041         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
10042         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
10043         to ...
10044         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
10045         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
10046         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
10047         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
10048         to ...
10049         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
10050         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
10051         Moved to ...
10052         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
10053         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
10054         Moved to ...
10055         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
10056         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
10057         to ...
10058         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
10059         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
10060         Moved to ...
10061         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
10062         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
10063         to ...
10064         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
10065         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
10066         Removed.
10067         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
10068         Likewise.
10069         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
10070         Likewise.
10071         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
10072         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
10073         Likewise.
10074         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
10075         Likewise.
10076         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
10077         Likewise.
10078         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
10079         Likewise.
10080         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
10081         Likewise.
10082         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
10083         Likewise.
10084         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
10085         Likewise.
10086         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
10087         Likewise.
10088         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
10089         Likewise.
10090         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
10091         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
10092         Likewise.
10093         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
10094         Likewise.
10095         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
10096         Likewise.
10097         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
10098         Likewise.
10099         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
10100         Likewise.
10101         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
10102         Replace ../i486/pthread_cond_timedwait.S with
10103         ../pthread_cond_timedwait.S.
10105 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
10107         * math/libm-test.inc (acos_test_data): Refine expectations for
10108         errno and "inexact" exceptions.
10109         (acosh_test_data): Likewise.
10110         (asin_test_data): Likewise.
10111         (asinh_test_data): Likewise.
10112         (atan_test_data): Likewise.
10113         (atanh_test_data): Likewise.
10114         (atan2_test_data): Likewise.
10115         (cbrt_test_data): Likewise.
10116         (ceil_test_data): Likewise.
10117         (copysign_test_data): Likewise.
10118         (cosh_test_data): Likewise.
10119         (erf_test_data): Likewise.
10120         (erfc_test_data): Likewise.
10121         (exp_test_data): Likewise.
10122         (exp10_test_data): Likewise.
10123         (exp2_test_data): Likewise.
10124         (expm1_test_data): Likewise.
10125         (fabs_test_data): Likewise.
10126         (floor_test_data): Likewise.
10127         (fma_test_data): Likewise.
10128         (fmax_test_data): Likewise.
10129         (fmin_test_data): Likewise.
10130         (fmod_test_data): Likewise.
10131         (fpclassify_test_data): Likewise.
10132         (frexp_test_data): Likewise.
10133         (hypot_test_data): Likewise.
10134         (ilogb_test_data): Likewise.
10135         (isgreater_test_data): Likewise.
10136         (isgreaterequal_test_data): Likewise.
10137         (isinf_test_data): Likewise.
10138         (isless_test_data): Likewise.
10139         (islessequal_test_data): Likewise.
10140         (islessgreater_test_data): Likewise.
10141         (isnan_test_data): Likewise.
10142         (isnormal_test_data): Likewise.
10143         (issignaling_test_data): Likewise.
10144         (isunordered_test_data): Likewise.
10145         (j0_test_data): Likewise.
10146         (j1_test_data): Likewise.
10147         (jn_test_data): Likewise.
10148         (lgamma_test_data): Likewise.
10149         (lrint_test_data): Likewise.
10150         (llrint_test_data): Likewise.
10151         (log_test_data): Likewise.
10152         (log10_test_data): Likewise.
10153         (log1p_test_data): Likewise.
10154         (log2_test_data): Likewise.
10155         (logb_test_data): Likewise.
10156         (lround_test_data): Likewise.
10157         (llround_test_data): Likewise.
10158         (modf_test_data): Likewise.
10159         (nearbyint_test_data): Likewise.
10160         (nextafter_test_data): Likewise.
10161         (nexttoward_test_data): Likewise.
10162         (pow_test_data): Likewise.
10163         (remainder_test_data): Likewise.
10164         (remquo_test_data): Likewise.
10165         (rint_test_data): Likewise.
10166         (round_test_data): Likewise.
10167         (signbit_test_data): Likewise.
10168         (sinh_test_data): Likewise.
10169         (sqrt_test_data): Likewise.
10170         (tanh_test_data): Likewise.
10171         (tgamma_test_data): Likewise.
10172         (trunc_test_data): Likewise.
10173         (y0_test_data): Likewise.
10174         (y1_test_data): Likewise.
10175         (yn_test_data): Likewise.
10176         (significand_test_data): Likewise.
10178 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
10180         * manual/filesys.texi (Storage Allocation): Document that
10181         posix_fallocate emulation fails when fd is open with O_WRONLY.
10183 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
10185         [BZ #19016]
10186         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
10187         allow more cases with X^2 + Y^2 >= 0.5.
10188         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
10189         normal element in sum instead of special-casing based on values of
10190         arguments.
10191         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
10192         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
10193         -1 as normal element in sum instead of special-casing based on
10194         values of arguments.
10195         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
10196         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
10197         (__x2y2m1): Update comment.
10198         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
10199         as normal element in sum instead of special-casing based on values
10200         of arguments.
10201         * math/s_clog.c (__clog): Handle more cases using log1p without
10202         hypot.
10203         * math/s_clog10.c (__clog10): Likewise.
10204         * math/s_clog10f.c (__clog10f): Likewise.
10205         * math/s_clog10l.c (__clog10l): Likewise.
10206         * math/s_clogf.c (__clogf): Likewise.
10207         * math/s_clogl.c (__clogl): Likewise.
10208         * math/auto-libm-test-in: Add more tests of clog and clog10.
10209         * math/auto-libm-test-out: Regenerated.
10210         * sysdeps/i386/fpu/libm-test-ulps: Update.
10211         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10213 2015-09-28  Martin Sebor  <msebor@redhat.com>
10215         [BZ #18969]
10216         * string/Makefile (LOCALES): Define.
10217         (gen-locales.mk): Include.
10218         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
10219         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
10220         * string/tst-strxfrm2.c (do_test): Print the name of the locale
10221         on setlocale failure.
10223 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
10225         [BZ #18985]
10226         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
10227         (__strftime_internal): Likewise.
10228         * time/tst-strftime.c (do_bz18985): New test.
10229         (do_test): Call it.
10231 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
10233         [BZ #18956]
10234         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
10235         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
10236         extracting high part.
10237         * math/auto-libm-test-in: Add another test of pow.
10238         * math/auto-libm-test-out: Regenerated.
10239         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10241 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
10243         [BZ #18825]
10244         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
10245         New macro.
10246         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
10247         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
10248         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
10249         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
10250         DBL_NARROW_EVAL, reloading the PIC register as needed.
10251         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
10252         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
10253         FLT_NARROW_EVAL.  Use separate return path for case when first
10254         argument is NaN.
10255         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
10256         DEFINE_LDBL_MIN.
10257         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
10258         PIC register.
10259         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
10260         math_check_force_underflow_nonneg.
10261         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
10262         underflow for subnormal result.
10263         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
10264         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
10265         math_check_force_underflow_nonneg.
10266         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
10267         math_check_force_underflow.
10268         * sysdeps/x86_64/fpu/x86_64-math-asm.h
10269         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
10270         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
10271         DEFINE_LDBL_MIN.
10272         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
10273         * math/auto-libm-test-in: Add more tests of pow.
10274         * math/auto-libm-test-out: Regenerated.
10276 2015-09-25  Florian Weimer  <fweimer@redhat.com>
10278         * nss/bug17079.c (init_test_items): Add diagnostic for
10279         inconsistent entries.
10280         (test_buffer_size): Skip inconsistent entries.
10282 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
10284         [BZ #13304]
10285         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
10286         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
10287         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
10289         [BZ #13304]
10290         * sysdeps/microblaze/s_fma.c: New file.
10291         * sysdeps/microblaze/s_fmaf.c: Likewise.
10292         * sysdeps/microblaze/sfp-machine.h: Likewise.
10294 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
10296         [BZ #17250]
10297         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
10298         member.
10300 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
10302         [BZ #18803]
10303         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
10304         (MO): New macro.
10305         (__ieee754_hypot) [PIC]: Load PIC register.
10306         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
10307         DBL_NARROW_EVAL.
10308         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
10309         math_check_force_underflow_nonneg in case where result might be
10310         tiny.
10311         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
10312         Likewise.
10313         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
10314         Likewise.
10315         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
10316         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
10317         * math/auto-libm-test-in: Add more tests of hypot.
10318         * math/auto-libm-test-out: Regenerated.
10320 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
10322         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
10324 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
10326         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
10327         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
10328         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
10329         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
10330         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
10331         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
10332         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
10334         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
10335         LOAD_PIC_REG.
10337         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
10338         (FLT_CHECK_FORCE_UFLOW): Likewise.
10339         (DBL_CHECK_FORCE_UFLOW): Likewise.
10340         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
10341         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
10342         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
10343         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
10344         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
10345         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
10346         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
10347         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
10348         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
10349         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10350         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
10351         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
10352         (flt_min): Replace with use of DEFINE_FLT_MIN.
10353         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
10354         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
10355         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10356         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
10357         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
10358         (flt_min): Replace with use of DEFINE_FLT_MIN.
10359         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
10360         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
10361         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10362         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
10363         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
10364         (flt_min): Replace with use of DEFINE_FLT_MIN.
10365         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
10366         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
10367         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
10368         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
10369         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
10370         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
10371         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
10372         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
10373         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10374         (__atan): Use DBL_CHECK_FORCE_UFLOW.
10375         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
10376         (flt_min): Replace with use of DEFINE_FLT_MIN.
10377         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
10378         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
10379         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10380         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
10381         main computation.
10382         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
10383         (flt_min): Replace with use of DEFINE_FLT_MIN.
10384         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
10385         main computation.
10386         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
10387         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10388         (MO): New macro.
10389         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
10390         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
10391         (flt_min): Replace with use of DEFINE_FLT_MIN.
10392         (MO): New macro.
10393         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
10394         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
10395         (__log1pl): Use MO.
10397         [BZ #19003]
10398         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
10399         $(config-cflags-nofma).
10401 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10403         * sysdeps/aarch64/libm-test-ulps: Regenerated.
10405 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
10407         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
10408         (TWO127): Likewise.
10410         * sysdeps/generic/math_private.h (fabs_tg): New macro.
10411         (min_of_type): Likewise.
10412         (math_check_force_underflow): Likewise.
10413         (math_check_force_underflow_nonneg): Likewise.
10414         (math_check_force_underflow_complex): Likewise.
10415         * math/e_exp2l.c (__ieee754_exp2l): Use
10416         math_check_force_underflow_nonneg.
10417         * math/k_casinh.c (__kernel_casinh): Likewise.
10418         * math/k_casinhf.c (__kernel_casinhf): Likewise.
10419         * math/k_casinhl.c (__kernel_casinhl): Likewise.
10420         * math/s_catan.c (__catan): Use
10421         math_check_force_underflow_complex.
10422         * math/s_catanf.c (__catanf): Likewise.
10423         * math/s_catanh.c (__catanh): Likewise.
10424         * math/s_catanhf.c (__catanhf): Likewise.
10425         * math/s_catanhl.c (__catanhl): Likewise.
10426         * math/s_catanl.c (__catanl): Likewise.
10427         * math/s_ccosh.c (__ccosh): Likewise.
10428         * math/s_ccoshf.c (__ccoshf): Likewise.
10429         * math/s_ccoshl.c (__ccoshl): Likewise.
10430         * math/s_cexp.c (__cexp): Likewise.
10431         * math/s_cexpf.c (__cexpf): Likewise.
10432         * math/s_cexpl.c (__cexpl): Likewise.
10433         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
10434         * math/s_clog10.c (__clog10): Likewise.
10435         * math/s_clog10f.c (__clog10f): Likewise.
10436         * math/s_clog10l.c (__clog10l): Likewise.
10437         * math/s_clogf.c (__clogf): Likewise.
10438         * math/s_clogl.c (__clogl): Likewise.
10439         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
10440         * math/s_csinf.c (__csinf): Likewise.
10441         * math/s_csinh.c (__csinh): Likewise.
10442         * math/s_csinhf.c (__csinhf): Likewise.
10443         * math/s_csinhl.c (__csinhl): Likewise.
10444         * math/s_csinl.c (__csinl): Likewise.
10445         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
10446         * math/s_csqrtf.c (__csqrtf): Likewise.
10447         * math/s_csqrtl.c (__csqrtl): Likewise.
10448         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
10449         * math/s_ctanf.c (__ctanf): Likewise.
10450         * math/s_ctanh.c (__ctanh): Likewise.
10451         * math/s_ctanhf.c (__ctanhf): Likewise.
10452         * math/s_ctanhl.c (__ctanhl): Likewise.
10453         * math/s_ctanl.c (__ctanl): Likewise.
10454         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
10455         instead of volatile.
10456         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
10457         math_check_force_underflow.
10458         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
10459         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
10460         volatile when forcing underflow.
10461         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
10462         math_check_force_underflow_nonneg.
10463         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
10464         Likewise.
10465         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
10466         math_check_force_underflow.
10467         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
10468         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
10469         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
10470         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
10471         math_check_force_underflow_nonneg.
10472         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
10473         math_check_force_underflow.
10474         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
10475         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
10476         instead of volatile.
10477         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
10478         math_check_force_underflow.
10479         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
10480         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
10481         math_check_force_underflow_nonneg.
10482         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
10483         math_check_force_underflow.
10484         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
10485         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
10486         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
10487         math_check_force_underflow_nonneg.
10488         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
10489         Likewise.
10490         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
10491         math_check_force_underflow.
10492         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
10493         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
10494         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
10495         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
10496         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
10497         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
10498         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
10499         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
10500         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
10501         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
10502         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
10503         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
10504         Likewise.
10505         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
10506         math_check_force_underflow_nonneg.
10507         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
10508         Likewise.
10509         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
10510         math_check_force_underflow.
10511         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
10512         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
10513         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
10514         Likewise.
10515         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
10516         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
10517         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
10518         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
10519         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
10520         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
10521         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
10522         instead of volatile.
10523         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
10524         math_check_force_underflow.
10525         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
10526         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
10527         math_check_force_underflow.
10528         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
10529         Likewise.
10530         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
10531         Use math_check_force_underflow_nonneg.
10532         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
10533         math_check_force_underflow.
10534         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
10535         Likewise.
10536         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
10537         Likewise.
10538         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
10539         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
10540         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
10541         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
10542         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
10543         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
10544         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
10545         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
10546         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
10547         math_check_force_underflow_nonneg.
10548         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
10549         math_check_force_underflow.
10550         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
10551         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
10552         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
10553         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
10554         math_check_force_underflow_nonneg.
10555         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
10556         math_check_force_underflow.
10557         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
10558         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
10559         instead of volatile.
10560         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
10561         math_check_force_underflow.
10563         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
10564         * stdlib/strtod_l.c: Include <math_private.h>.
10565         (overflow_value): Use math_narrow_eval.
10566         (underflow_value): Likewise.
10567         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
10568         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
10569         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
10570         (__ieee754_gamma_r): Likewise.
10571         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
10572         Likewise.
10573         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
10574         Likewise.
10575         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
10576         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
10577         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
10578         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
10579         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
10580         (__ieee754_gammaf_r): Likewise.
10581         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
10582         Likewise.
10583         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
10584         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
10585         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
10586         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
10587         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
10588         volatile.
10589         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
10590         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
10591         math_narrow_eval.
10592         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
10593         Likewise.
10594         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10595         Likewise.
10596         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
10597         Likewise.
10598         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
10599         volatile.
10600         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
10601         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
10602         math_narrow_eval.
10603         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
10604         Likewise.
10605         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
10606         Likewise.
10608 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
10610         * nptl/Versions: Remove ignored symbols.
10612 2015-09-22  Florian Weimer  <fweimer@redhat.com>
10614         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
10615         * nss/Makefile (tests): Update.
10617 2015-09-22  Florian Weimer  <fweimer@redhat.com>
10619         * nss/bug18287.c: New file.
10620         * nss/Makefile (tests): Add bug18287.
10622 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10624         * mach/Versions (__mach_host_self_): Add symbol.
10626 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10628         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
10629         vm_page_size.
10631 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10633         Really fix sysdeps/i386/fpu/s_scalbn.S build
10635         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
10636         (libc: GLIBC_2_22): Remove unused version set.
10638 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
10640         * config.make.in (enable-timezone-tools): New variable.
10641         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
10642         (enable_timezone_tools): Export to generated files.
10643         * configure: Regenerate.
10644         * INSTALL: Regenerate.
10645         * manual/install.texi (--disable-timezone-tools): Document new flag.
10646         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
10647         ifeq ($(enable-timezone-tools),yes) check.
10649 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
10651         * timezone/Makefile: Revert previous change.
10653         [BZ #18980]
10654         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
10655         (DEFINE_DBL_MIN): Likewise.
10656         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
10657         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
10658         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
10659         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
10660         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
10661         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10662         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
10663         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
10664         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
10665         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10666         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
10667         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
10668         (flt_min): Replace with use of DEFINE_FLT_MIN.
10669         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
10670         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
10671         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10672         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
10673         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
10674         (flt_min): Replace with use of DEFINE_FLT_MIN.
10675         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
10676         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
10677         (flt_min): Replace with use of DEFINE_FLT_MIN.
10678         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
10679         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
10680         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
10681         (__ieee754_hypot): Use DBL_NARROW_EVAL.
10682         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
10683         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
10684         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
10685         (__ieee754_pow): Use DBL_NARROW_EVAL.
10686         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
10687         (__ieee754_powf): Use FLT_NARROW_EVAL.
10688         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
10689         (__ieee754_expf_sse2): Convert double-precision result to single
10690         precision.
10691         * sysdeps/i386/fpu/libm-test-ulps: Update.
10693 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
10695         * timezone/Makefile: Ignore unused variable errors due to private.h
10696         (time_t_min) and (time_t_max).
10697         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
10698         Likewise.
10700 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
10702         [BZ #18981]
10703         * sysdeps/i386/fpu/i386-math-asm.h: New file.
10704         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
10705         (__ieee754_scalb): Use DBL_NARROW_EVAL.
10706         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
10707         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
10708         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
10709         (__scalbn): Use DBL_NARROW_EVAL.
10710         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
10711         (__scalbnf): Use FLT_NARROW_EVAL.
10713 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
10715         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
10716         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
10717         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
10718         * stdio-common/printf_fp.c (___printf_fp):
10719         Use signbit to get the sign. Use isinf macro to allow inlining.
10720         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
10721         * stdio-common/printf_size.c (__printf_size): Likewise.
10723 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
10725         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
10727 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
10729         [BZ #18980]
10730         * sysdeps/generic/math_private.h: Include <float.h>.
10731         (math_narrow_eval): New macro.
10732         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
10733         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
10734         math_narrow_eval on overflowing return value.
10735         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
10736         Likewise.
10737         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
10738         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
10739         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
10740         Likewise.
10741         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
10743 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
10745         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
10746         * math/Makefile: Remove isinf_ns.c.
10747         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
10748         * math/multc3.c (__multc3): Likewise.
10749         * math/s_casin.c (__casin): Likewise.
10750         * math/s_casinf.c (__casinf): Likewise.
10751         * math/s_casinl.c (__casinl): Likewise.
10752         * math/s_cproj.c (__cproj): Likewise.
10753         * math/s_cprojf.c (__cprojf): Likewise.
10754         * math/s_cprojl.c (__cprofl): Likewise.
10755         * math/s_ctan.c (__ctan): Likewise.
10756         * math/s_ctanf.c (__ctanf): Likewise.
10757         * math/s_ctanh.c (__ctanh): Likewise.
10758         * math/s_ctanhf.c (__ctanhf): Likewise.
10759         * math/s_ctanhl.c (__ctanhl): Likewise.
10760         * math/s_ctanl.c (__ctanl): Likewise.
10761         * math/w_fmod.c (__fmod): Likewise.
10762         * math/w_fmodf.c (__fmodf): Likewise.
10763         * math/w_fmodl.c (_fmodl): Likewise.
10764         * math/w_remainder.c (__remainder): Likewise.
10765         * math/w_remainderf.c (__remainderf): Likewise.
10766         * math/w_remainderl.c (__remainderl): Likewise.
10767         * math/w_scalb.c (__scalb): Likewise.
10768         * math/w_scalbf.c (__scalbf): Likewise.
10769         * math/w_scalbl.c (__scalbl): Likewise.
10770         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
10771         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
10772         with isinf.
10773         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
10774         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
10775         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
10776         __isinf_nsf with isinf.
10777         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
10778         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
10779         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
10780         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
10781         with isinf.
10782         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
10783         __isinf_nsl with isinf.
10784         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
10785         with isinf.
10786         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
10787         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
10788         __isinf_nsl with isinf.
10789         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
10790         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
10791         with isinf.
10793 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
10795         * resolv/base64.c (rcsid): Remove unused static.
10796         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
10797         static.  (tqpi1): Likewise.
10798         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
10799         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
10800         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
10801         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
10802         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
10803         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
10804         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
10805         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
10806         Likewise.
10808 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
10810         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
10811         <nptl/pthreadP.h>.
10812         (_longjmp_unwind): Use __libc_ptf_call.
10813         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
10815 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
10817         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
10818         * sysdeps/arm/__longjmp.S: Likewise.
10820 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
10822         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
10823         Use __builtin_signbit.
10824         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
10825         Use __builtin_signbitf.
10826         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
10827         Use __builtin_signbitl.
10828         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
10829         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
10831 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
10833         [BZ #15367]
10834         [BZ #17441]
10836         * math/Makefile: Build test-snan.c with -fsignaling-nans.
10837         * math/math.h (fpclassify): Use __builtin_fpclassify when
10838         available.  (signbit): Use __builtin_signbit(f/l).
10839         (isfinite): Use__builtin_isfinite.  (isnormal): Use
10840         __builtin_isnormal.  (isnan): Use __builtin_isnan.
10841         (isinf): Use __builtin_isinf_sign.
10843 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
10845         * benchtests/Makefile: Add bench-math-inlines, link with libm.
10846         * benchtests/bench-math-inlines.c: New benchmark.
10847         * benchtests/bench-util.h: New file.
10848         * benchtests/bench-util.c: New file.
10849         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
10851 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
10853         * elf/tst-dlmopen1.c: Define TEST_SO.
10854         (do_test): Use TEST_SO.
10856         * elf/dl-load.c: Include libc-internal.h.
10857         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
10859 2015-09-18  Vincent Bernat  <vincent@bernat.im>
10861         [BZ #17887]
10862         * time/strptime_l.c (__strptime_internal): Make %z accept
10863         [+-]HH:MM time zones.
10865 2015-09-18  Vincent Bernat  <vincent@bernat.im>
10867         [BZ #17886]
10868         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
10869         valid time zone.
10871 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
10873         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
10874         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
10875         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10876         (__ASSUME_FDATASYNC): Delete.
10878 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
10880         * conform/linknamespace.pl: Require weak undefined symbols to be
10881         in the standard namespace.
10882         (%strong_syms): Rename to %seen_syms.
10883         (%strong_seen): Rename to %seen_where.
10885 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
10887         [BZ #18970]
10888         * misc/error.c (error): Replace pthread_setcancelstate with
10889         __pthread_setcancelstate.
10890         (error_at_line): Likewise.
10891         * posix/wordexp.c (parse_comm): Likewise.
10892         * stdlib/fmtmsg.c (fmtmsg): Likewise.
10893         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
10894         (__pthread_setcancelstate): This.
10895         (pthread_setcancelstate): Add an alias.
10896         * nptl/nptl-init.c (pthread_functions): Replace
10897         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
10898         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
10899         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
10900         hidden_proto.
10901         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
10902         it with hidden_def.
10903         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
10904         (pthread_setcancelstate): Renamed to ...
10905         (__pthread_setcancelstate): This.
10906         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
10907         __libc_ptf_call with __pthread_setcancelstate.
10909 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
10910             Andreas Schwab  <schwab@suse.de>
10912         [BZ #17118]
10913         * math/s_ctan.c (__ctan): Determine sign of zero real part of
10914         result when imaginary part of argument is infinite using sine and
10915         cosine.
10916         * math/s_ctanf.c (__ctanf): Likewise.
10917         * math/s_ctanl.c (__ctanl): Likewise.
10918         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
10919         of result when real part of argument is infinite using sine and
10920         cosine.
10921         * math/s_ctanhf.c (__ctanhf): Likewise.
10922         * math/s_ctanhl.c (__ctanhl): Likewise.
10923         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
10924         (ctanh_test_data): Add more tests of ctanh.
10926 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
10928         [BZ #15384]
10929         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
10930         bit-mask as in subtraction.
10931         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
10932         Likewise.
10933         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
10934         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
10935         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
10937         [BZ #18951]
10938         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
10939         underflow exception for small results.
10940         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
10941         Likewise.
10942         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
10943         Likewise.
10944         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
10945         Likewise.
10946         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10947         Likewise.
10948         * math/auto-libm-test-in: Add more tests of tgamma.
10949         * math/auto-libm-test-out: Regenerated.
10951 2015-09-17  Andreas Schwab  <schwab@suse.de>
10953         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
10955 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
10957         [BZ #18977]
10958         * math/bits/mathcalls.h
10959         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
10960         not declare.
10961         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
10962         Likewise.
10963         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
10964         Likewise.
10965         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
10966         Likewise.
10967         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
10968         Likewise.
10969         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
10970         Likewise.
10971         * conform/data/math.h-data
10972         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
10973         function.
10974         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
10975         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
10976         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
10977         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
10978         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
10979         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
10980         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
10981         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
10982         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
10983         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
10984         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
10986         [BZ #6803]
10987         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
10988         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
10989         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
10990         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
10991         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
10992         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
10993         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
10994         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
10995         [NO_LONG_DOUBLE] (scalbnl): Likewise.
10996         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
10997         Likewise.
10998         [NO_LONG_DOUBLE] (scalbnl): Likewise.
10999         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
11000         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
11001         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
11002         long_double_symbol calls.
11003         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
11004         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
11005         strong alias of __ldexpl.
11006         (scalbnl): Define using long_double_symbol.
11007         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
11008         Remove alias.
11009         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
11010         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
11011         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
11012         (scalbln_test_data): Add more errno expectations.
11014 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
11016         Cache the host port like we cache the task port.  This way we do not
11017         need to call the kernel just to get the port.  Furthermore, we no
11018         longer increase the reference count on every invocation of
11019         `mach_host_self'.
11021         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
11022         Protect declarations against the macro expansion.
11023         * mach/mach_init.c (__mach_host_self_): New variable.
11024         (mach_init): Initialize `__mach_host_self_'.
11025         * mach/mach_init.h (__mach_host_self_): New declaration.
11026         (__mach_host_self, mach_host_self): New macros.
11027         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
11028         Release reference.
11030 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
11032         [BZ #4404]
11033         * po/de.po: Update from Translation Project.
11035         [BZ #16415]
11036         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
11037         (__expm1l): Remove code to handle positive infinity and overflow.
11038         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
11039         variable.
11040         (__expm1l): Remove code to handle positive infinity and overflow.
11042 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
11043             Paul Pluzhnikov  <ppluzhnikov@google.com>
11045         [BZ #18872]
11046         * stdio-common/Makefile (tst-printf-bz18872): New test.
11047         (tst-printf-bz18872-mem.out): Likewise.
11048         * stdio-common/tst-printf-bz18872.sh: Generate new test.
11049         * stdio-common/vfprintf.c: Fix memory leaks.
11051 2015-09-16  Andreas Schwab  <schwab@suse.de>
11053         [BZ #17244]
11054         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
11055         Remove extra va_start/va_end calls.
11057         [BZ #17243]
11058         * posix/execl.c (execl): Add missing va_end.
11059         * posix/execle.c (execle): Likewise.
11060         * posix/execlp.c (execlp): Likewise.
11062 2015-09-15  Roland McGrath  <roland@hack.frob.com>
11064         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
11065         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
11067 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
11069         [BZ #18967]
11070         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
11071         undefine around includes of <bits/mathcalls.h>.
11072         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
11073         not declare function.
11074         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
11075         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
11076         (scalb): Likewise.
11077         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
11078         not define macro.
11079         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
11080         variable.
11081         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
11082         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
11083         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
11085         [BZ #18857]
11086         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
11087         return non-finite argument without doing ordered comparisons on
11088         it.
11090         [BZ #16296]
11091         * math/fenv.h (fegetround): Use __attribute_pure__.
11092         * include/fenv.h (__fegetround): Likewise.
11094         [BZ #18595]
11095         * math/s_ctan.c (__ctan): Force underflow exception for results
11096         whose real or imaginary part has small absolute value.
11097         * math/s_ctanf.c (__ctanf): Likewise.
11098         * math/s_ctanh.c (__ctanh): Likewise.
11099         * math/s_ctanhf.c (__ctanhf): Likewise.
11100         * math/s_ctanhl.c (__ctanhl): Likewise.
11101         * math/s_ctanl.c (__ctanl): Likewise.
11102         * math/auto-libm-test-in: Do not allow missing underflow for ctan
11103         and ctanh.  Add more tests of ctan and ctanh.
11105         [BZ #15918]
11106         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
11107         handling of cases where one argument is an infinity.
11109         [BZ #18875]
11110         [BZ #18966]
11111         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
11112         (MO): New macro.
11113         (__ieee754_exp10): For small results, force underflow exception
11114         and remove excess range and precision from return value.
11115         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
11116         (MO): New macro.
11117         (__ieee754_exp10f): For small results, force underflow exception
11118         and remove excess range and precision from return value.
11119         * math/auto-libm-test-in: Add more tests of exp10.
11120         * math/auto-libm-test-out: Regenerated.
11122 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
11124         [BZ #18875]
11125         [BZ #18961]
11126         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
11127         (MO): New macro.
11128         (__ieee754_exp): For small results, force underflow exception and
11129         remove excess range and precision from return value.
11130         (__exp_finite): Likewise.
11131         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
11132         (MO): New macro.
11133         (__ieee754_expf): For small results, force underflow exception and
11134         remove excess range and precision from return value.
11135         (__expf_finite): Likewise.
11136         * math/auto-libm-test-in: Add more tests of exp.
11137         * math/auto-libm-test-out: Regenerated.
11139         [BZ #16521]
11140         [BZ #18875]
11141         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
11142         small results.
11143         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
11144         (MO): New macro.
11145         (__ieee754_exp2): For small results, force underflow exception and
11146         remove excess range and precision from return value.
11147         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
11148         (MO): New macro.
11149         (__ieee754_exp2f): For small results, force underflow exception
11150         and remove excess range and precision from return value.
11151         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
11152         (MO): New macro.
11153         (__ieee754_exp2l): Force underflow exception for small results.
11154         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
11155         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
11156         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
11157         (MO): New macro.
11158         (__ieee754_exp2l): Force underflow exception for small results.
11159         * math/auto-libm-test-in: Add more tests or exp2.
11160         * math/auto-libm-test-out: Regenerated.
11162 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
11164         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
11166         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
11167         /dev/null.
11169 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11171         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
11172         io fs process)): Drop spurious backslash.
11174 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
11176         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
11177         Use sysinfo system call instead of parsing /proc/meminfo.
11178         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
11179         Likewise.
11181 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
11183         [BZ #16985]
11184         * programs/localedef.c (main): Display argv[remaining] when
11185         output_path is NULL.
11187 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
11189         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
11190         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
11191         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
11192         tanh.
11193         * math/auto-libm-test-out: Regenerated.
11194         * sysdeps/i386/fpu/libm-test-ulps: Update.
11195         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
11196         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11197         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11199 2015-09-11  Roland McGrath  <roland@hack.frob.com>
11201         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
11202         Use 'override' keyword to freeze the value here, preventing
11203         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
11205 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
11207         [BZ #14912]
11208         * sysdeps/aarch64/bits/atomic.h: Move to ...
11209         * sysdeps/aarch64/atomic-machine.h: ...here.
11210         (_AARCH64_BITS_ATOMIC_H): Rename macro to
11211         _AARCH64_ATOMIC_MACHINE_H.
11212         * sysdeps/alpha/bits/atomic.h: Move to ...
11213         * sysdeps/alpha/atomic-machine.h: ...here.
11214         * sysdeps/arm/bits/atomic.h: Move to ...
11215         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
11216         * bits/atomic.h: Move to ...
11217         * sysdeps/generic/atomic-machine.h: ...here.
11218         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
11219         * sysdeps/i386/bits/atomic.h: Move to ...
11220         * sysdeps/i386/atomic-machine.h: ...here.
11221         * sysdeps/ia64/bits/atomic.h: Move to ...
11222         * sysdeps/ia64/atomic-machine.h: ...here.
11223         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
11224         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
11225         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
11226         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
11227         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
11228         * sysdeps/microblaze/bits/atomic.h: Move to ...
11229         * sysdeps/microblaze/atomic-machine.h: ...here.
11230         * sysdeps/mips/bits/atomic.h: Move to ...
11231         * sysdeps/mips/atomic-machine.h: ...here.
11232         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
11233         * sysdeps/powerpc/bits/atomic.h: Move to ...
11234         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
11235         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
11236         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
11237         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
11238         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
11239         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
11240         <atomic-machine.h> instead of <bits/atomic.h>.
11241         * sysdeps/s390/bits/atomic.h: Move to ...
11242         * sysdeps/s390/atomic-machine.h: ...here.
11243         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
11244         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
11245         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
11246         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
11247         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
11248         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
11249         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
11250         * sysdeps/tile/bits/atomic.h: Move to ...
11251         * sysdeps/tile/atomic-machine.h: ...here.
11252         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
11253         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
11254         <sysdeps/tile/atomic-machine.h> instead of
11255         <sysdeps/tile/bits/atomic.h>.
11256         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
11257         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
11258         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
11259         <sysdeps/tile/atomic-machine.h> instead of
11260         <sysdeps/tile/bits/atomic.h>.
11261         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
11262         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
11263         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
11264         <sysdeps/arm/atomic-machine.h> instead of
11265         <sysdeps/arm/bits/atomic.h>.
11266         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
11267         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
11268         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
11269         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
11270         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
11271         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
11272         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
11273         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
11274         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
11275         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
11276         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
11277         * sysdeps/x86_64/bits/atomic.h: Move to ...
11278         * sysdeps/x86_64/atomic-machine.h: ...here.
11279         * include/atomic.h: Include <atomic-machine.h> instead of
11280         <bits/atomic.h>.
11282         * sysdeps/mips/mips32/libm-test-ulps: Update.
11283         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11285         [BZ #18952]
11286         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
11287         not convert non-integer negative arguments to int to determine the
11288         value of signgam.
11289         * math/auto-libm-test-in: Add more tests of lgamma.
11290         * math/auto-libm-test-out: Regenerated.
11292         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
11293         cosh, csqrt, erfc, expm1 and lgamma.
11294         * math/auto-libm-test-out: Regenerated.
11295         * sysdeps/i386/fpu/libm-test-ulps: Update.
11296         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11298 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
11300         [BZ #2542]
11301         [BZ #2543]
11302         [BZ #2558]
11303         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
11304         __lgamma_neg for arguments from -28.0 to -2.0.
11305         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
11306         __lgamma_negf for arguments from -15.0 to -2.0.
11307         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11308         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
11309         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
11310         Call __lgamma_negl for arguments from -33.0 to -2.0.
11311         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
11312         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
11313         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
11314         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
11315         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
11316         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
11317         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
11318         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
11319         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
11320         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
11321         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
11322         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
11323         (__lgamma_neg): Likewise.
11324         (__lgamma_negl): Likewise.
11325         (__lgamma_product): Likewise.
11326         (__lgamma_productl): Likewise.
11327         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
11328         * math/auto-libm-test-in: Add more tests of lgamma.
11329         * math/auto-libm-test-out: Regenerated.
11330         * sysdeps/i386/fpu/libm-test-ulps: Update.
11331         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11333 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
11335         [BZ #18675]
11336         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
11338 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
11340         [BZ #14912]
11341         * bits/libc-lock.h: Move to ...
11342         * sysdeps/generic/libc-lock.h: ...here.
11343         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
11344         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
11345         * sysdeps/mach/hurd/libc-lock.h: ...here.
11346         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
11347         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
11348         * sysdeps/mach/bits/libc-lock.h: Move to ...
11349         * sysdeps/mach/libc-lock.h: ...here.
11350         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
11351         * sysdeps/nptl/bits/libc-lock.h: Move to ...
11352         * sysdeps/nptl/libc-lock.h: ...here.
11353         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
11354         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
11355         * sysdeps/nptl/libc-lockP.h: ...here.
11356         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
11357         * crypt/crypt_util.c: Include <libc-lock.h> instead of
11358         <bits/libc-lock.h>.
11359         * dirent/scandir-tail.c: Likewise.
11360         * dlfcn/dlerror.c: Likewise.
11361         * elf/dl-close.c: Likewise.
11362         * elf/dl-iteratephdr.c: Likewise.
11363         * elf/dl-lookup.c: Likewise.
11364         * elf/dl-open.c: Likewise.
11365         * elf/dl-support.c: Likewise.
11366         * elf/dl-writev.h: Likewise.
11367         * elf/rtld.c: Likewise.
11368         * grp/fgetgrent.c: Likewise.
11369         * gshadow/fgetsgent.c: Likewise.
11370         * gshadow/sgetsgent.c: Likewise.
11371         * iconv/gconv_conf.c: Likewise.
11372         * iconv/gconv_db.c: Likewise.
11373         * iconv/gconv_dl.c: Likewise.
11374         * iconv/gconv_int.h: Likewise.
11375         * iconv/gconv_trans.c: Likewise.
11376         * include/link.h: Likewise.
11377         * inet/getnameinfo.c: Likewise.
11378         * inet/getnetgrent.c: Likewise.
11379         * inet/getnetgrent_r.c: Likewise.
11380         * intl/bindtextdom.c: Likewise.
11381         * intl/dcigettext.c: Likewise.
11382         * intl/finddomain.c: Likewise.
11383         * intl/gettextP.h: Likewise.
11384         * intl/loadmsgcat.c: Likewise.
11385         * intl/localealias.c: Likewise.
11386         * intl/textdomain.c: Likewise.
11387         * libidn/idn-stub.c: Likewise.
11388         * libio/libioP.h: Likewise.
11389         * locale/duplocale.c: Likewise.
11390         * locale/freelocale.c: Likewise.
11391         * locale/newlocale.c: Likewise.
11392         * locale/setlocale.c: Likewise.
11393         * login/getutent_r.c: Likewise.
11394         * login/getutid_r.c: Likewise.
11395         * login/getutline_r.c: Likewise.
11396         * login/utmp-private.h: Likewise.
11397         * login/utmpname.c: Likewise.
11398         * malloc/mtrace.c: Likewise.
11399         * misc/efgcvt.c: Likewise.
11400         * misc/error.c: Likewise.
11401         * misc/fstab.c: Likewise.
11402         * misc/getpass.c: Likewise.
11403         * misc/mntent.c: Likewise.
11404         * misc/syslog.c: Likewise.
11405         * nis/nis_call.c: Likewise.
11406         * nis/nis_callback.c: Likewise.
11407         * nis/nss-default.c: Likewise.
11408         * nis/nss_compat/compat-grp.c: Likewise.
11409         * nis/nss_compat/compat-initgroups.c: Likewise.
11410         * nis/nss_compat/compat-pwd.c: Likewise.
11411         * nis/nss_compat/compat-spwd.c: Likewise.
11412         * nis/nss_nis/nis-alias.c: Likewise.
11413         * nis/nss_nis/nis-ethers.c: Likewise.
11414         * nis/nss_nis/nis-grp.c: Likewise.
11415         * nis/nss_nis/nis-hosts.c: Likewise.
11416         * nis/nss_nis/nis-network.c: Likewise.
11417         * nis/nss_nis/nis-proto.c: Likewise.
11418         * nis/nss_nis/nis-pwd.c: Likewise.
11419         * nis/nss_nis/nis-rpc.c: Likewise.
11420         * nis/nss_nis/nis-service.c: Likewise.
11421         * nis/nss_nis/nis-spwd.c: Likewise.
11422         * nis/nss_nisplus/nisplus-alias.c: Likewise.
11423         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
11424         * nis/nss_nisplus/nisplus-grp.c: Likewise.
11425         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
11426         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
11427         * nis/nss_nisplus/nisplus-network.c: Likewise.
11428         * nis/nss_nisplus/nisplus-proto.c: Likewise.
11429         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
11430         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
11431         * nis/nss_nisplus/nisplus-service.c: Likewise.
11432         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
11433         * nis/ypclnt.c: Likewise.
11434         * nptl/libc_pthread_init.c: Likewise.
11435         * nss/getXXbyYY.c: Likewise.
11436         * nss/getXXent.c: Likewise.
11437         * nss/getXXent_r.c: Likewise.
11438         * nss/nss_db/db-XXX.c: Likewise.
11439         * nss/nss_db/db-netgrp.c: Likewise.
11440         * nss/nss_db/nss_db.h: Likewise.
11441         * nss/nss_files/files-XXX.c: Likewise.
11442         * nss/nss_files/files-alias.c: Likewise.
11443         * nss/nsswitch.c: Likewise.
11444         * posix/regex_internal.h: Likewise.
11445         * posix/wordexp.c: Likewise.
11446         * pwd/fgetpwent.c: Likewise.
11447         * resolv/res_hconf.c: Likewise.
11448         * resolv/res_libc.c: Likewise.
11449         * shadow/fgetspent.c: Likewise.
11450         * shadow/lckpwdf.c: Likewise.
11451         * shadow/sgetspent.c: Likewise.
11452         * socket/opensock.c: Likewise.
11453         * stdio-common/reg-modifier.c: Likewise.
11454         * stdio-common/reg-printf.c: Likewise.
11455         * stdio-common/reg-type.c: Likewise.
11456         * stdio-common/vfprintf.c: Likewise.
11457         * stdio-common/vfscanf.c: Likewise.
11458         * stdlib/abort.c: Likewise.
11459         * stdlib/cxa_atexit.c: Likewise.
11460         * stdlib/fmtmsg.c: Likewise.
11461         * stdlib/random.c: Likewise.
11462         * stdlib/setenv.c: Likewise.
11463         * string/strsignal.c: Likewise.
11464         * sunrpc/auth_none.c: Likewise.
11465         * sunrpc/bindrsvprt.c: Likewise.
11466         * sunrpc/create_xid.c: Likewise.
11467         * sunrpc/key_call.c: Likewise.
11468         * sunrpc/rpc_thread.c: Likewise.
11469         * sysdeps/arm/backtrace.c: Likewise.
11470         * sysdeps/generic/ldsodefs.h: Likewise.
11471         * sysdeps/generic/stdio-lock.h: Likewise.
11472         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
11473         * sysdeps/i386/backtrace.c: Likewise.
11474         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
11475         * sysdeps/m68k/backtrace.c: Likewise.
11476         * sysdeps/mach/hurd/cthreads.c: Likewise.
11477         * sysdeps/mach/hurd/dirstream.h: Likewise.
11478         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
11479         * sysdeps/nptl/malloc-machine.h: Likewise.
11480         * sysdeps/nptl/stdio-lock.h: Likewise.
11481         * sysdeps/posix/dirstream.h: Likewise.
11482         * sysdeps/posix/getaddrinfo.c: Likewise.
11483         * sysdeps/posix/system.c: Likewise.
11484         * sysdeps/pthread/aio_suspend.c: Likewise.
11485         * sysdeps/s390/s390-32/backtrace.c: Likewise.
11486         * sysdeps/s390/s390-64/backtrace.c: Likewise.
11487         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
11488         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
11489         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
11490         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
11491         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
11492         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
11493         * sysdeps/unix/sysv/linux/system.c: Likewise.
11494         * sysdeps/x86_64/backtrace.c: Likewise.
11495         * time/alt_digit.c: Likewise.
11496         * time/era.c: Likewise.
11497         * time/tzset.c: Likewise.
11498         * wcsmbs/wcsmbsload.c: Likewise.
11499         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
11500         instead of <bits/libc-lock.h> in comment.
11502 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
11504         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
11505         Only use .set mips2 if the current ISA is below mips2.
11506         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
11507         Likewise.
11508         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
11509         mips32r2 if the current ISA is below mips32r2.
11510         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
11511         (TLS_IE): Updated to use the TLD_RDHWR macro.
11512         (TLS_LE): Likewise.
11513         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
11514         __ASSEMBLER__ condition.
11516 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11518         Fix parallel build of before-compile targets.
11520         * sysdeps/mach/Makefile ($(patsubst
11521         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
11522         mach-before-compile target.
11523         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
11524         io fs process)): Move rule to dedicated hurd-before-compile target.
11526 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11528         Fix rules generating headers in hurd/ and mach/ when initial make call
11529         has subdir= explicitly set.
11531         * sysdeps/mach/Makefile ($(patsubst
11532         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
11533         calling $(MAKE).
11534         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
11535         io fs process)): Force subdir to hurd when calling $(MAKE).
11536         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
11537         subdir to mach when calling $(MAKE).
11539 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
11541         Check sysheaders when looking for Mach and Hurd headers
11543         * sysdeps/mach/configure.ac: Add sysheaders check.
11544         * sysdeps/mach/configure: Regenerate.
11545         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
11546         * sysdeps/mach/hurd/configure: Regenerate.
11548 2015-09-04  Roland McGrath  <roland@hack.frob.com>
11550         [BZ #18921]
11551         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
11552         Fix inverted sense of test of 'o_directory_works' value.
11553         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
11554         Bernhard Voelker <mail@bernhard-voelker.de>.
11556 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
11558         [BZ #14912]
11559         * bits/linkmap.h: Move to ...
11560         * sysdeps/generic/linkmap.h: ...here.
11561         * sysdeps/aarch64/bits/linkmap.h: Move to ...
11562         * sysdeps/aarch64/linkmap.h: ...here.
11563         * sysdeps/arm/bits/linkmap.h: Move to ...
11564         * sysdeps/arm/linkmap.h: ...here.
11565         * sysdeps/hppa/bits/linkmap.h: Move to ...
11566         * sysdeps/hppa/linkmap.h: ...here.
11567         * sysdeps/ia64/bits/linkmap.h: Move to ...
11568         * sysdeps/ia64/linkmap.h: ...here.
11569         * sysdeps/mips/bits/linkmap.h: Move to ...
11570         * sysdeps/mips/linkmap.h: ...here.
11571         * sysdeps/s390/bits/linkmap.h: Move to ...
11572         * sysdeps/s390/linkmap.h: ...here.
11573         * sysdeps/sh/bits/linkmap.h: Move to ...
11574         * sysdeps/sh/linkmap.h: ...here.
11575         * sysdeps/x86/bits/linkmap.h: Move to ...
11576         * sysdeps/x86/linkmap.h: ...here.
11577         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
11579 2015-09-04  Andreas Schwab  <schwab@suse.de>
11581         [BZ #18635]
11582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
11583         (__makecontext): Terminate FDE before return label.
11584         (__novec_makecontext): Likewise.
11586 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11588         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
11589         first member of struct sv in syscall macro.
11591 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
11593         [BZ #14912]
11594         * bits/stdio-lock.h: Move to ...
11595         * sysdeps/generic/stdio-lock.h: ...here.
11596         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
11597         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
11598         * sysdeps/nptl/stdio-lock.h: ...here.
11599         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
11600         * include/libio.h: Include <stdio-lock.h> instead of
11601         <bits/stdio-lock.h>.
11602         * sysdeps/nptl/fork.c: Likewise.
11603         * sysdeps/pthread/flockfile.c: Likewise.
11604         * sysdeps/pthread/ftrylockfile.c: Likewise.
11605         * sysdeps/pthread/funlockfile.c: Likewise.
11607         [BZ #14912]
11608         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
11609         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
11610         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
11611         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
11612         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
11613         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
11614         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
11616 2015-09-03  Roland McGrath  <roland@hack.frob.com>
11618         * elf/Makefile (test-xfail-tst-protected1a): New variable.
11619         (test-xfail-tst-protected1b): New variable.
11621 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
11623         [BZ #14912]
11624         * bits/libc-tsd.h: Move to ...
11625         * sysdeps/generic/libc-tsd.h: ...here.
11626         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
11627         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
11628         * sysdeps/mach/hurd/libc-tsd.h: ...here.
11629         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
11630         * include/ctype.h: Include <libc-tsd.h> instead of
11631         <bits/libc-tsd.h>.
11632         * include/rpc/rpc.h: Likewise.
11633         * locale/localeinfo.h: Likewise.
11634         * sunrpc/rpc_thread.c: Likewise.
11635         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
11636         * sysdeps/nptl/malloc-machine.h: Likewise.
11638         * Makefile (headers): Remove bits/libc-lock.h.
11639         * libio/Makefile (headers): Remove bits/stdio-lock.h.
11641         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
11642         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
11643         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
11644         <bits/stdio-lock.h>.
11645         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
11646         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
11648 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
11650         [BZ #18757]
11651         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
11652         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
11653         BZ #18757.
11655 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
11657         * malloc/mtrace.pl: Filter out NULL entries.
11659 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
11661         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
11662         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
11663         macro.
11665         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
11666         (TCP_CC_INFO): Likewise.
11667         (TCP_SAVE_SYN): Likewise.
11668         (TCP_SAVED_SYN): Likewise.
11670 2015-08-31  Brett Neumeier <brett@neumeier.us>
11672         [BZ #18870]
11673         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
11675 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
11677         [BZ #18873]
11678         Fix broken overflow check in posix_fallocate
11679         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
11680         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
11681         Fix parenthesization typo.
11683 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
11685         [BZ #18887]
11686         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
11687         tst-mntent-blank-passno.
11688         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
11689         * misc/tst-mntent-blank-corrupt.c: New test.
11690         * misc/tst-mntent-blank-passno.c: New test ripped from ...
11691         * misc/tst-mntent.c (do_test): ... here.
11693 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
11695         [BZ #4404]
11696         * po/de.po: Fix SIGALRM typo.
11698 2015-08-28  James Perkins  <james@loowit.net>
11700         * time/tst-strptime2.c (tests): Replace short list of test
11701         strings for strptime %z specifier with code which exhaustively
11702         tests every combination of sign and 0 to 5 digits. Tests for
11703         rejection of invalid strings.
11705 2015-08-28  James Perkins  <james@loowit.net>
11707         [BZ #16141]
11708         * time/strptime_l.c (__strptime_internal): Fix %z minutes
11709         calculation, removing incorrect decimal time rounding, so that
11710         all minute values result in a valid seconds value.
11711         * time/strptime_l.c (__strptime_internal): Extend %z time zone
11712         offset range limits to UTC-99:59 through UTC+99:59 to parse
11713         current and historical use cases.
11714         * time/tst-strptime2.c (tests): Modify and add tests for the
11715         strptime %z input field descriptor, specifically conversion of
11716         minutes to seconds and validating an offset range of -9959 to
11717         +9959.
11719 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11720             Dmitry V. Levin  <ldv@altlinux.org>
11722         [BZ #18877]
11723         * posix/Makefile (tests): Add tst-mmap-offset.
11724         * posix/tst-mmap.c: New file.
11725         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
11726         offset calculation for negative values.
11728 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11730         * sysdeps/i386/init-arch.h: New file.
11731         * sysdeps/i386/i586/init-arch.h: Likewise.
11732         * sysdeps/i386/i686/init-arch.h: Likewise.
11733         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
11734         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
11735         * sysdeps/x86/cpu-features.h (bit_I586): New.
11736         (bit_I686): Likewise.
11737         (bit_CX8): Likewise.
11738         (bit_CMOV): Likewise.
11739         (index_CX8): Likewise.
11740         (index_CMOV): Likewise.
11741         (index_I586): Likewise.
11742         (index_I686): Likewise.
11743         (reg_CX8): Likewise.
11744         (reg_CMOV): Likewise.
11745         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
11746         available at compile-time.
11747         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
11748         available at compile-time.
11749         * sysdeps/x86/init-arch.h (USE_I586): New macro.
11750         (USE_I686): Likewise.
11752 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11754         * sysdeps/i386/bcopy.S: New file.
11755         * sysdeps/i386/bzero.S: Likewise.
11756         * sysdeps/i386/memcpy.S: Likewise.
11757         * sysdeps/i386/memmove.S: Likewise.
11758         * sysdeps/i386/mempcpy.S: Likewise.
11759         * sysdeps/i386/memset.S: Likewise.
11760         * sysdeps/i386/bzero.c: Removed.
11761         * sysdeps/i386/memset.c: Likewise.
11762         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
11763         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
11764         * sysdeps/i386/i586/memset_chk.S: Likewise.
11765         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
11766         * sysdeps/i386/memcpy_chk.S: Here.
11767         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
11768         * sysdeps/i386/memmove_chk.S: Here.
11769         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
11770         * sysdeps/i386/mempcpy_chk.S: Likewise.
11771         * sysdeps/i386/i686/memset_chk.S: Moved to ...
11772         * sysdeps/i386/memset_chk.S: Likewise.
11774 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
11776         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
11777         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
11778         file, move DIAG_POP_NEEDS_COMMENT to end of file.
11779         * soft-fp/fmadf4.c: Ditto.
11780         * soft-fp/fmatf4.c: Ditto.
11782 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11784         * sysdeps/i386/i586/Implies: Removed.
11785         * sysdeps/i386/i686/Implies: Likewise.
11787 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11789         * sysdeps/i386/i486/strlen.S: Moved to ...
11790         * sysdeps/i386/strlen.S: Here.
11792 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11794         * sysdeps/i386/i486/strcat.S: Moved to ...
11795         * sysdeps/i386/strcat.S: Here.
11797 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11799         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
11800         * sysdeps/i386/pthread_spin_trylock.S: Here.
11801         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
11802         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
11804 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11806         * sysdeps/i386/i486/string-inlines.c: Moved to ...
11807         * sysdeps/i386/string-inlines.c: Here.
11809 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11811         * sysdeps/i386/i486/htonl.S: Moved ...
11812         * sysdeps/i386/htonl.S: here.
11814 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11816         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
11817         * sysdeps/i386/bits/atomic.h: Here.
11819 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11821         * sysdeps/i386/i486/Versions: Removed.
11823 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
11825         [BZ #2898]
11826         * misc/mktemp.c: Add mkdtemp to the link_warning message.
11827         Based on patch by Aurelien Jarno.
11829 2015-08-26  Stan Shebs  <stanshebs@google.com>
11831         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
11832         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
11834 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11836         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
11837         * sysdeps/powerpc/dl-procinfo.c:
11838         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
11839         feature so it shows when LD_SHOW_AUXV=1.
11841 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11843         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
11844         (__arch_compare_and_exchange_val_32_acq): Remove and use common
11845         definition.  ISA 2.07B no longer requires full sync.
11847 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
11849         [BZ #18863]
11850         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
11851         (si_call_addr): Define.
11852         (si_syscall): Define.
11853         (si_arch): Define.
11855 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
11857         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
11858         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
11859         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
11860         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
11861         (__memset_zero_constant_len_parameter): New.
11862         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
11863         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
11864         (__memset_zero_constant_len_parameter): Don't define if
11865         __memset_chk or USE_AS_BZERO are defined.
11867         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
11868         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
11869         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
11871         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
11872         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
11873         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
11874         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
11875         comments.
11876         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
11877         -mno-mmx for $(all-rtld-routines).
11878         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
11879         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
11880         i386.
11882 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
11884         * sysdeps/generic/unwind.h
11885         (_Unwind_Word): Use __mode__(__unwind_word__)
11886         instead of __mode__(__word__).
11887         (_Unwind_Sword): Likewise.
11889         * sysdeps/s390/s390-64/utf8-utf16-z9.c
11890         (MAX_NEEDED_INPUT): New define.
11891         (MAX_NEEDED_OUTPUT): New define.
11893         * NEWS: New item for IBM z13 string optimizations.
11895         * sysdeps/s390/multiarch/memrchr-c.c: New File.
11896         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
11897         * sysdeps/s390/multiarch/memrchr.c: Likewise.
11898         * sysdeps/s390/multiarch/Makefile
11899         (sysdep_routines): Add memrchr functions.
11900         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
11901         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
11903         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
11904         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
11905         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
11906         * sysdeps/s390/multiarch/Makefile
11907         (sysdep_routines): Add wmemcmp functions.
11908         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
11909         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
11910         * benchtests/bench-wmemcmp.c: New File.
11911         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
11913         * sysdeps/s390/multiarch/wmemset-c.c: New File.
11914         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
11915         * sysdeps/s390/multiarch/wmemset.c: Likewise.
11916         * sysdeps/s390/multiarch/Makefile
11917         (sysdep_routines): Add wmemset functions.
11918         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
11919         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
11920         * wcsmbs/wmemset.c: Use WMEMSET if defined.
11921         * string/test-memset.c: Add wmemset support.
11922         * wcsmbs/test-wmemset.c: New File.
11923         * wcsmbs/Makefile (strop-tests): Add wmemset.
11924         * benchtests/bench-memset.c: Add wmemset support.
11925         * benchtests/bench-wmemset.c: New File.
11926         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
11928         * sysdeps/s390/multiarch/memccpy-c.c: New File.
11929         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
11930         * sysdeps/s390/multiarch/memccpy.c: Likewise.
11931         * sysdeps/s390/multiarch/Makefile
11932         (sysdep_routines): Add memccpy functions.
11933         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
11934         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
11935         * string/memccpy.c: Use MEMCCPY if defined.
11937         * sysdeps/s390/multiarch/memchr-vx.S: New File.
11938         * sysdeps/s390/multiarch/memchr.c: Likewise.
11939         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
11940         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
11941         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
11942         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
11943         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
11944         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
11945         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
11946         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
11947         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
11948         and rawmemchr functions.
11949         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
11950         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
11951         and wmemchr.
11952         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
11953         * string/test-memchr.c: Add wmemchr support.
11954         * wcsmbs/test-wmemchr.c: New File.
11955         * wcsmbs/Makefile (strop-tests): Add wmemchr.
11956         * benchtests/bench-memchr.c: Add wmemchr support.
11957         * benchtests/bench-wmemchr.c: New File.
11958         * benchtests/Makefile (wcsmbs-bench): wmemchr.
11960         * sysdeps/s390/multiarch/strcspn-c.c: New File.
11961         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
11962         * sysdeps/s390/multiarch/strcspn.c: Likewise.
11963         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
11964         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
11965         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
11966         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
11967         wcscspn functions.
11968         * sysdeps/s390/multiarch/ifunc-impl-list.c
11969         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
11970         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
11971         * string/test-strcspn.c: Add wcscspn support.
11972         * wcsmbs/test-wcscspn.c: New File.
11973         * wcsmbs/Makefile (strop-tests): Add wcscspn.
11974         * benchtests/bench-strcspn.c: Add wcscspn support.
11975         * benchtests/bench-wcscspn.c: New File.
11976         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
11978         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
11979         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
11980         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
11981         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
11982         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
11983         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
11984         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
11985         wcspbrk functions.
11986         * sysdeps/s390/multiarch/ifunc-impl-list.c
11987         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
11988         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
11989         * string/test-strpbrk.c: Add wcspbrk support.
11990         * wcsmbs/test-wcspbrk.c: New File.
11991         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
11992         * benchtests/bench-strpbrk.c: Add wcspbrk support.
11993         * benchtests/bench-wcspbrk.c: New File.
11994         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
11996         * sysdeps/s390/multiarch/strspn-c.c: New File.
11997         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
11998         * sysdeps/s390/multiarch/strspn.c: Likewise.
11999         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
12000         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
12001         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
12002         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
12003         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
12004         wcsspn functions.
12005         * sysdeps/s390/multiarch/ifunc-impl-list.c
12006         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
12007         * string/test-strspn.c: Add wcsspn support.
12008         * wcsmbs/test-wcsspn.c: New File.
12009         * wcsmbs/Makefile (strop-tests): Add wcsspn.
12010         * benchtests/bench-strspn.c: Add wcsspn support.
12011         * benchtests/bench-wcsspn.c: New File.
12012         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
12014         * sysdeps/s390/multiarch/strrchr-c.c: New File.
12015         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
12016         * sysdeps/s390/multiarch/strrchr.c: Likewise.
12017         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
12018         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
12019         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
12020         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
12021         wcsrchr functions.
12022         * sysdeps/s390/multiarch/ifunc-impl-list.c
12023         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
12024         * benchtests/bench-wcsrchr.c: New File.
12025         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
12027         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
12028         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
12029         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
12030         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
12031         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
12032         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
12033         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
12034         wcschrnul functions.
12035         * sysdeps/s390/multiarch/ifunc-impl-list.c
12036         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
12037         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
12038         * string/test-strchr.c: Add wcschrnul support.
12039         * wcsmbs/test-wcschrnul.c: New File.
12040         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
12041         * benchtests/bench-strchr.c: Add wcschrnul support.
12042         * benchtests/bench-wcschrnul.c: New File.
12043         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
12045         * sysdeps/s390/multiarch/strchr-c.c: New File.
12046         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
12047         * sysdeps/s390/multiarch/strchr.c: Likewise.
12048         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
12049         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
12050         * sysdeps/s390/multiarch/wcschr.c: Likewise.
12051         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
12052         wcschr functions.
12053         * sysdeps/s390/multiarch/ifunc-impl-list.c
12054         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
12055         * string/strchr.c (STRCHR): Define and use macro.
12056         * benchtests/bench-wcschr.c: New File.
12057         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
12059         * sysdeps/s390/multiarch/strncmp-c.c: New File.
12060         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
12061         * sysdeps/s390/multiarch/strncmp.c: Likewise.
12062         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
12063         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
12064         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
12065         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
12066         wcsncmp functions.
12067         * sysdeps/s390/multiarch/ifunc-impl-list.c
12068         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
12069         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
12070         * benchtests/bench-strncmp.c: Add wcsncmp support.
12071         * benchtests/bench-wcsncmp.c: New File.
12072         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
12074         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
12075         * sysdeps/s390/multiarch/strcmp.c: Likewise.
12076         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
12077         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
12078         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
12079         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
12080         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
12081         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
12082         wcscmp functions.
12083         * sysdeps/s390/multiarch/ifunc-impl-list.c
12084         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
12085         * string/strcmp.c (STRCMP): Define and use macro.
12086         * benchtests/bench-wcscmp.c: New File.
12087         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
12088         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
12089         instead of _HAVE_STRING_ARCH_memchr.
12091         * sysdeps/s390/multiarch/strncat-c.c: New File.
12092         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
12093         * sysdeps/s390/multiarch/strncat.c: Likewise.
12094         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
12095         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
12096         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
12097         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
12098         wcsncat functions.
12099         * sysdeps/s390/multiarch/ifunc-impl-list.c
12100         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
12101         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
12102         * string/test-strncat.c: Add wcsncat support.
12103         * wcsmbs/test-wcsncat.c: New File.
12104         * wcsmbs/Makefile (strop-tests): Add wcsncat.
12105         * benchtests/bench-strncat.c: Add wcsncat support.
12106         * benchtests/bench-wcsncat.c: New File.
12107         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
12109         * sysdeps/s390/multiarch/strcat-c.c: New File.
12110         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
12111         * sysdeps/s390/multiarch/strcat.c: Likewise.
12112         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
12113         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
12114         * sysdeps/s390/multiarch/wcscat.c: Likewise.
12115         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
12116         wcscat functions.
12117         * sysdeps/s390/multiarch/ifunc-impl-list.c
12118         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
12119         * string/strcat.c (STRCAT): Define and use macro.
12120         * wcsmbs/wcscat.c: Use WCSCAT if defined.
12121         * string/test-strcat.c: Add wcscat support.
12122         * wcsmbs/test-wcscat.c: New File.
12123         * wcsmbs/Makefile (strop-tests): Add wcscat.
12124         * benchtests/bench-strcat.c: Add wcscat support.
12125         * benchtests/bench-wcscat.c: New File.
12126         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
12128         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
12129         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
12130         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
12131         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
12132         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
12133         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
12134         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
12135         wcpncpy functions.
12136         * sysdeps/s390/multiarch/ifunc-impl-list.c
12137         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
12138         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
12139         * string/test-stpncpy.c: Add wcpncpy support.
12140         * wcsmbs/test-wcpncpy.c: New File.
12141         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
12142         * benchtests/bench-stpncpy.c: Add wcpncpy support.
12143         * benchtests/bench-wcpncpy.c: New File.
12144         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
12146         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
12147         * sysdeps/s390/multiarch/strncpy.c: Likewise.
12148         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
12149         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
12150         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
12151         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
12152         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
12153         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
12154         wcsncpy functions.
12155         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
12156         * sysdeps/s390/multiarch/ifunc-impl-list.c
12157         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
12158         * string/test-strncpy.c: Add wcsncpy support.
12159         * wcsmbs/test-wcsncpy.c: New File.
12160         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
12161         * benchtests/bench-strncpy.c: Add wcsncpy support.
12162         * benchtests/bench-wcsncpy.c: New File.
12163         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
12165         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
12166         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
12167         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
12168         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
12169         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
12170         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
12171         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
12172         wcpcpy functions.
12173         * string/stpcpy.c: Use STPCPY if defined.
12174         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
12175         * sysdeps/s390/multiarch/ifunc-impl-list.c
12176         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
12177         * string/test-stpcpy.c: Add wcpcpy support.
12178         * wcsmbs/test-wcpcpy.c: New File.
12179         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
12180         * benchtests/bench-stpcpy.c: Add wcpcpy support.
12181         * benchtests/bench-wcpcpy.c: New File.
12182         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
12184         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
12185         * sysdeps/s390/multiarch/strcpy.c: Likewise.
12186         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
12187         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
12188         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
12189         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
12190         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
12191         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
12192         wcscpy functions.
12193         * sysdeps/s390/multiarch/ifunc-impl-list.c
12194         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
12195         * benchtests/bench-wcscpy.c: New File.
12196         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
12198         * sysdeps/s390/multiarch/strnlen-c.c: New File.
12199         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
12200         * sysdeps/s390/multiarch/strnlen.c: Likewise.
12201         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
12202         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
12203         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
12204         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
12205         wcsnlen functions.
12206         * sysdeps/s390/multiarch/ifunc-impl-list.c
12207         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
12208         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
12209         * string/test-strnlen.c: Add wcsnlen support.
12210         * wcsmbs/test-wcsnlen.c: New File.
12211         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
12212         * benchtests/bench-strnlen.c: Add wcsnlen support.
12213         * benchtests/bench-wcsnlen.c: New File.
12214         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
12216         * sysdeps/s390/multiarch/Makefile: New File.
12217         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
12218         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
12219         * sysdeps/s390/multiarch/strlen.c: Likewise.
12220         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
12221         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
12222         * sysdeps/s390/multiarch/wcslen.c: Likewise.
12223         * string/strlen.c (STRLEN): Define and use macro.
12224         * sysdeps/s390/multiarch/ifunc-impl-list.c
12225         (IFUNC_VX_IMPL): New macro function.
12226         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
12227         * benchtests/Makefile (wcsmbs-bench): New variable.
12228         (string-bench-all): Added wcsmbs-bench.
12229         * benchtests/bench-wcslen.c: New File.
12231         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
12232         s390_vx_libc_ifunc2): New macro function.
12234         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
12235         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
12236         assembler support.
12237         * sysdeps/s390/configure: Regenerated.
12239         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
12240         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
12242         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
12243         * sysdeps/s390/dl-procinfo.h: Add vector capability.
12244         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
12246         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
12247         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
12248         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
12249         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
12250         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
12251         (memcmp, bcmp): Use __memcmp_default as alias source.
12252         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
12253         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
12254         Rename to __memcmp_default.
12255         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
12256         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
12257         (memcpy): Use __memcpy_default as alias source.
12258         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
12259         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
12260         Rename to __memcpy_default.
12261         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
12262         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
12263         (memset): Use __memset_default as alias source.
12264         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
12265         * sysdeps/s390/s390-32/memset.S (__memset_g5):
12266         Rename to __memset_default.
12267         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
12268         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
12269         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
12270         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
12271         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
12272         (memcmp, bcmp): Use __memcmp_default as alias source.
12273         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
12274         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
12275         Rename to __memcmp_default.
12276         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
12277         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
12278         (memcpy): Use __memcpy_default as alias source.
12279         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
12280         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
12281         Rename to __memcpy_default.
12282         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
12283         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
12284         (memset): Use __memset_default as alias source.
12285         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
12286         * sysdeps/s390/s390-64/memset.S (__memset_z900):
12287         Rename to __memset_default.
12288         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
12289         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
12291         [BZ #18610]
12292         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
12293         __ieee_instruction_pointer to __unused.
12294         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
12295         __ieee_instruction_pointer.
12296         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
12297         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
12298         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
12299         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
12300         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
12301         Mark dxc-field as reserved.
12303 2015-08-25  Roland McGrath  <roland@hack.frob.com>
12305         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
12306         if the weak reference is not null.
12308 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
12310         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
12312         [BZ #11214]
12313         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
12315 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12317         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
12318         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
12319         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
12320         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
12321         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
12322         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
12323         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
12324         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
12325         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
12326         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
12327         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
12328         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
12329         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
12330         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
12331         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
12332         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
12333         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
12334         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
12336 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12338         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
12339         register other than r0 for tabort, it has special meaning.
12340         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
12341         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
12342         transaction before starting syscall.
12344 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12346         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
12348 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
12350         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
12352         * sysdeps/x86_64/rtld-memcmp.c: Removed.
12353         * sysdeps/x86_64/rtld-memset.S: Likewise.
12354         * sysdeps/x86_64/rtld-strchr.S: Likewise.
12355         * sysdeps/x86_64/rtld-strlen.S: Likewise.
12356         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
12357         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
12359         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
12361 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
12363         * debug/strcpy_chk.c: Improve performance.
12364         * debug/stpcpy_chk.c: Likewise.
12365         * sysdeps/x86_64/strcpy_chk.S: Remove.
12366         * sysdeps/x86_64/stpcpy_chk.S: Remove.
12368         [BZ #18240]
12369         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
12371 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
12373         [BZ #15128]
12374         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
12375         ifuncmain8.
12376         (modules-names): Add ifuncmod8.
12377         ($(objpfx)ifuncmain8): New rule.
12378         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
12379         <cpuid.h>.
12380         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
12381         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
12382         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
12383         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
12384         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
12385         * sysdeps/x86_64/dl-trampoline.h: Likewise.
12386         * sysdeps/x86_64/ifuncmain8.c: New file.
12387         * sysdeps/x86_64/ifuncmod8.c: Likewise.
12388         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
12389         Removed.
12390         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
12391         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
12392         Change rtld_savespace_sse to __glibc_unused2.
12393         (RTLD_CHECK_FOREIGN_CALL): Removed.
12394         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
12395         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
12396         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
12398 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
12400         * sysdeps/aarch64/bzero.S (__bzero): Remove.
12402 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
12404         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
12405         Unconditionally set __fpcr to avoid uninialized warning.
12406         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
12408 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
12410         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
12411         is corrupt.
12413         * malloc/arena.c (arena_get2): Drop unused argument.
12414         (arena_lock): Adjust.
12415         (arena_get_retry): Likewise.
12417 2015-08-24  Andreas Schwab  <schwab@suse.de>
12419         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
12420         Don't define.
12421         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
12422         (__ASSUME_IPC64): Don't undef.
12423         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
12424         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
12425         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
12426         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
12427         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
12428         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
12429         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
12430         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
12431         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
12432         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
12433         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
12434         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
12435         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
12436         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
12437         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
12438         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
12439         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
12440         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
12441         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
12442         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
12443         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
12445 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
12447         * manual/Makefile (install): Only build manual when perl is available.
12449 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12451         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
12452         '#undef memcpy' by '#undef memchr'.
12454 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12456         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
12457         memchr not point to the internal __GI_memchr implementation.
12459 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
12461         * timezone/Makefile (CFLAGS-zdump.c): Remove
12462         -Wno-strict-prototypes.
12463         (CFLAGS-zic.c): Likewise.
12464         (CFLAGS-ialloc.c): Likewise.
12465         (CFLAGS-scheck.c): Likewise.
12467         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
12468         -Wno-error=undef.
12470 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
12472         * i386/i686/multiarch/strcasestr-c.c: Removed.
12473         * x86_64/multiarch/strcasestr.c: Likewise.
12474         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12475         Remove strcasestr.
12477 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
12479         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
12481         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
12482         variables for high and low parts before possibly modifying them.
12484 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
12486         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
12487         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
12488         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
12489         of "multiarch/init-arch.h".
12490         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
12491         * sysdeps/x86/init-arch.h: This.
12493 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
12495         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
12496         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
12498 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
12500         [BZ #17787]
12501         * manual/macros.texi: Add twoexp macro.
12502         * manual/filesys.texi: Fix exponents.
12503         * manual/llio.texi: Likewise.
12504         * manual/stdio.texi: Likewise.
12506 2015-08-20  Florian Weimer  <fweimer@redhat.com>
12508         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
12509         incorrect use.
12511 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
12513         [BZ #18370]
12514         * math/s_csqrt.c (__csqrt): Force underflow exception for results
12515         whose real or imaginary part has small absolute value.
12516         * math/s_csqrtf.c (__csqrtf): Likewise.
12517         * math/s_csqrtl.c (__csqrtl): Likewise.
12518         * math/auto-libm-test-in: Add more tests of csqrt.
12519         * math/auto-libm-test-out: Regenerated.
12520         * sysdeps/i386/fpu/libm-test-ulps: Update.
12522 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
12524         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
12525         __ppc_set_ppr_very_low): New functions.
12526         * manual/platform.texi: Add documentation about
12527         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
12529 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
12531         * string/stpncpy.c (stpncpy): Improve performance using
12532         __strnlen/memcpy/memset.
12534 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
12536         [BZ #18796]
12537         * scripts/test-installation.pl: Don't add -lmvec to build options if
12538         libmvec wasn't built.
12540 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
12542         [BZ #14341]
12543         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
12544         case when there is a gap between DT_REL and DT_JMPREL sections.
12545         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
12546         (LDFLAGS-tst-split-dynreloc): New.
12547         (tst-split-dynreloc-ENV): Likewise.
12548         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
12549         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
12551 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
12553         [BZ #18822]
12554         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
12555         attribute_hidden.
12556         (__xstat64_conv): Likewise.
12557         (__xstat32_conv): Likewise.
12559 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
12561         [BZ #18822]
12562         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
12563         Don't load %ebx when calling __setcontext.  Call __setcontext
12564         with HIDDEN_JUMPTARGET.
12565         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
12566         libc_hidden_def.
12568 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
12570         * sysdeps/i386/i686/Makefile
12571         [$(subdir) == string] (sysdep_routines): Moved to ...
12572         * sysdeps/i386/Makefile: Here.
12573         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
12574         * sysdeps/i386/cacheinfo.c: Here.
12575         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
12576         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
12577         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
12578         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
12580 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
12582         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
12583         __i586__ is defined.
12584         (HAS_I686): Defined to 1 if __i686__ is defined.
12586 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
12588         * elf/Makefile [$(have-z-execstack) = yes]
12589         (CPPFLAGS-tst-execstack.c): New variable.
12591         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
12592         conditional to [defined UTMPX || _HAVE_UT_TYPE].
12593         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
12594         UTMPX || _HAVE_UT_TV].
12595         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
12596         UTMPX || _HAVE_UT_TV - 0].
12598 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
12600         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
12601         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
12602         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
12604 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12606         * sysdeps/powerpc/dl-procinfo.c:
12607         (_dl_powerpc_cap_flags): Added missing strings for some
12608         hwcap features.
12609         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
12611 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
12613         Port the 0x7efe...feff pattern to GCC 6.
12614         See Steve Ellcey's bug report in:
12615         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
12616         * string/memrchr.c (MEMRCHR):
12617         * string/rawmemchr.c (RAWMEMCHR):
12618         * string/strchr.c (strchr):
12619         * string/strchrnul.c (STRCHRNUL):
12620         Rewrite code to avoid issues with signed shift overflow.
12622 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
12624         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
12625         whether cpuid is available only if HAS_CPUID is 0.
12626         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
12627         (HAS_I586): Likewise.
12628         (HAS_I686): Likewise.
12630 2015-08-18  Zack Weinberg  <zackw@panix.com>
12632         * misc/Versions (libc): Add GLIBC_2.23.
12634 2015-08-18  Alan Modra  <amodra@gmail.com>
12636         [BZ #18421]
12637         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
12638         .Lp__global.
12639         (_start): Load %dp via .Lp__global.
12640         [!SHARED]: Use .section .rodata.
12642 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12644         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
12645         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
12647 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12649         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
12650         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
12652 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12654         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
12655         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
12657 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12659         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
12660         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
12662 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12664         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
12665         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
12667 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12669         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
12670         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
12672 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12674         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
12676 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12678         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
12679         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
12680         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12681         (__ASSUME_LWS_CAS): Delete.
12683 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12685         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
12686         * sysdeps/hppa/configure: Regenerated.
12687         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
12688         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
12689         * sysdeps/hppa/nptl/tls.h: Likewise.
12691 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
12693         [BZ #18823]
12694         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
12695         for scaling up small arguments.
12696         * math/s_csqrtf.c (__csqrtf): Likewise.
12697         * math/s_csqrtl.c (__csqrtl): Likewise.
12698         * math/auto-libm-test-in: Add more tests of csqrt.
12699         * math/auto-libm-test-out: Regenerated.
12701 2015-08-17  Andreas Schwab  <schwab@suse.de>
12703         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
12704         version set GLIBC_2.19.
12706 2015-08-16  Zack Weinberg  <zackw@panix.com>
12708         [BZ #18681]
12709         * misc/regexp.h: This interface is no longer supported.
12710         Remove all contents, leaving only an #error directive.
12711         * misc/regexp.c (loc1, loc2, locs, step, advance):
12712         Demote to compatibility symbols.
12714 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
12716         [BZ #18084]
12717         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
12718         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
12719         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
12720         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
12721         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
12722         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
12723         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
12724         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
12725         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
12727 2015-08-15  Zack Weinberg  <zackw@panix.com>
12729         [BZ #18795]
12730         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
12731         buffer length is known to be too large, not if it's known to be
12732         small enough.
12733         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
12734         overflow at runtime, involving a length parameter, twice: once
12735         with a compile-time constant length parameter, once without.
12737 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
12739         [BZ #18824]
12740         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
12741         scaling x * y up instead of down.
12742         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12743         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12744         * math/auto-libm-test-in: Add more tests of fma.
12745         * math/auto-libm-test-out: Regenerated.
12747 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
12749         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12751 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
12753         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
12754         unnecessary movq.
12755         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
12756         Likewise.
12758 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
12760         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12761         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
12762         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
12763         and tgamma.
12764         * math/auto-libm-test-out: Regenerated.
12765         * sysdeps/i386/fpu/libm-test-ulps: Update.
12766         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12768         [BZ #16520]
12769         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
12770         (__tanh): Force underflow exception for arguments with small
12771         absolute value.
12772         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
12773         (__tanhf): Force underflow exception for arguments with small
12774         absolute value.
12775         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
12776         (__tanhl): Force underflow exception for arguments with small
12777         absolute value.
12778         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
12779         (__tanhl): Force underflow exception for arguments with small
12780         absolute value.
12781         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
12782         (__tanhl): Force underflow exception for arguments with small
12783         absolute value.
12784         * math/auto-libm-test-in: Add more tests of tanh.
12785         * math/auto-libm-test-out: Regenerated.
12786         * sysdeps/i386/fpu/libm-test-ulps: Update.
12788 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
12790         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
12791         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
12793 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
12795         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
12796         <cpuid.h>.
12798 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
12800         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
12801         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
12803 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
12805         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
12806         Remove $(objpfx)init-arch.o.
12807         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
12808         init-arch.
12809         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
12810         (INIT_ARCH_EXT): Defined as empty.
12811         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
12812         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
12813         __init_cpu_features call.  Replace HAS_XXX with
12814         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
12815         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
12816         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
12817         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
12818         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
12819         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
12820         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
12821         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
12822         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
12823         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
12824         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
12825         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
12826         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
12827         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
12828         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
12829         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
12830         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
12831         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
12832         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
12833         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
12834         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
12835         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
12836         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
12837         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
12838         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
12839         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
12840         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
12841         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
12842         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
12843         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
12844         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
12845         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
12846         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
12847         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
12848         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
12849         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
12851 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
12853         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
12854         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
12855         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
12856         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
12857         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
12858         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
12859         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
12860         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
12861         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
12862         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
12863         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
12864         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
12865         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
12866         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12867         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12868         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12869         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12870         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12871         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12872         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12873         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12874         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12875         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12876         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12877         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12878         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12879         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12880         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12881         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12882         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12883         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12884         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12885         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12886         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12887         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12888         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12889         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12890         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12891         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12892         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12893         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12894         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12895         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12897 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
12899         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
12900         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
12901         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
12902         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12903         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12904         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
12905         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12906         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
12907         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
12908         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12909         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12910         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
12911         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
12912         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
12913         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
12914         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
12915         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
12916         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
12917         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
12918         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
12919         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
12920         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
12921         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
12922         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
12923         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12924         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
12925         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
12926         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
12927         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
12928         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
12929         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
12930         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
12931         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
12932         * sysdeps/x86_64/multiarch/memset.S: Likewise.
12933         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12934         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
12935         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
12936         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12937         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
12938         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
12939         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
12940         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
12941         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
12943 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
12945         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
12946         (dl_platform_init): Call init_cpu_features.
12947         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
12948         * sysdeps/i386/i686/cacheinfo.c
12949         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
12950         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
12951         * sysdeps/i386/i686/multiarch/Versions: Removed.
12952         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
12953         Removed.
12954         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
12955         * sysdeps/unix/sysv/linux/x86/Makefile
12956         (libpthread-sysdep_routines): Remove init-arch.
12957         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
12958         <sysdeps/x86_64/dl-procinfo.c> instead of
12959         sysdeps/generic/dl-procinfo.c>.
12960         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
12961         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
12962         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
12963         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
12964         [$(subdir) == elf] (tests-static): Add
12965         tst-get-cpu-features-static.
12966         * sysdeps/x86/Versions: New file.
12967         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
12968         * sysdeps/x86/cpu-features.c: Likewise.
12969         * sysdeps/x86/cpu-features.h: Likewise.
12970         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
12971         * sysdeps/x86/libc-start.c: Likewise.
12972         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
12973         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
12974         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
12975         * sysdeps/x86_64/dl-procinfo.c: Likewise.
12976         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
12977         Assume USE_MULTIARCH is defined and don't check it.
12978         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
12979         (is_amd): Likewise.
12980         (max_cpuid): Likewise.
12981         (intel_check_word): Likewise.
12982         (__cache_sysconf): Don't call __init_cpu_features.
12983         (__x86_preferred_memory_instruction): Removed.
12984         (init_cacheinfo): Don't call __init_cpu_features. Replace
12985         __cpu_features with GLRO(dl_x86_cpu_features).
12986         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
12987         (dl_platform_init): Call init_cpu_features.
12988         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
12989         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
12990         * sysdeps/x86_64/multiarch/Versions: Removed.
12991         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
12992         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
12993         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
12994         Removed.
12995         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
12997 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
12999         [BZ #18820]
13000         * libio/Makefile (test-fmemopen-mem): New test.
13001         * libio/test-fmemopen.c (do_bz18820): New test.
13002         * libio/fmemopen.c (__fmemopen): Fix memory leak.
13003         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
13005 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
13007         [BZ #16734]
13008         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
13009         (FREE_BUF): Delete.
13010         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
13011         * libio/genops.c (_IO_setb): Use malloc and free directly.
13012         (_IO_default_doallocate, _IO_default_finish): Likewise.
13013         ( _IO_unbuffer_all): Likewise.
13014         ( libc_freeres_fn): Likewise.
13015         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
13016         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
13017         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
13018         (_IO_wdefault_doallocate): Likewise.
13020 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
13022         [BZ #18086]
13023         * sysdeps/posix/nice.c (nice): Restore old errno.
13024         * posix/tst-nice.c (do_test): Add test for BZ #18086.
13026 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
13028         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
13030 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13032         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
13033         __bcopy and add a weak_alias to bcopy.
13034         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
13035         for static build.
13037         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
13038         cleanup macro usage.
13039         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
13040         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
13041         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
13042         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
13043         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
13044         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
13045         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
13046         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
13047         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
13048         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
13049         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
13050         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
13051         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
13052         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
13053         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
13054         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
13055         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
13056         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
13057         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
13059         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
13060         libc_hidden_def.
13061         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
13063         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
13064         (sysdep_routines): Add strstr-ppc64.
13065         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
13067 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
13069         [BZ #18778]
13070         * elf/Makefile (tests): Add Add tst-nodelete2.
13071         (modules-names): Add tst-nodelete2mod.
13072         (tst-nodelete2mod.so-no-z-defs): New.
13073         ($(objpfx)tst-nodelete2): Likewise.
13074         ($(objpfx)tst-nodelete2.out): Likewise.
13075         (LDFLAGS-tst-nodelete2): Likewise.
13076         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
13077         out of loop through all loaded libraries.
13078         * elf/tst-nodelete2.c: New file.
13079         * elf/tst-nodelete2mod.c: Likewise.
13080         * elf/tst-znodelete-zlib.cc: Delete.
13082 2015-08-11  Andreas Schwab  <schwab@suse.de>
13084         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
13085         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
13086         (__openat64_nocancel): Likewise.
13088 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
13090         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
13091         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
13092         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
13093         * math/auto-libm-test-out: Regenerated.
13094         * sysdeps/i386/fpu/libm-test-ulps: Update.
13095         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13097 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
13099         [BZ #18790]
13100         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
13101         threshold for returning +/- 1.
13102         * math/auto-libm-test-in: Add more tests of tanh.
13103         * math/auto-libm-test-out: Regenerated.
13104         * sysdeps/i386/fpu/libm-test-ulps: Update.
13106 2015-08-10  Andreas Schwab  <schwab@suse.de>
13108         [BZ #18781]
13109         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
13110         MORE_OFLAGS to oflag.
13111         * io/test-lfs.c (do_test): Test openat64.
13113 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
13115         [BZ #18789]
13116         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
13117         smaller threshold for returning the argument.
13118         * math/auto-libm-test-in: Add more tests of sinh.
13119         * math/auto-libm-test-out: Regenerated.
13120         * sysdeps/i386/fpu/libm-test-ulps: Update.
13122 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
13124         [BZ #18674]
13125         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
13126         break.
13128 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
13130         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
13131         (generated): Don't add $(addprefix z.,$(tzfiles)).
13133 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
13135         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
13136         * scripts/sysd-rules.awk: Likewise.
13138 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
13140         * iconvdata/tst-tables.sh: Change echo -n to printf.
13141         * nss/db-Makefile: Likewise.
13142         * posix/tst-getconf.sh: Likewise.
13143         * stdio-common/tst-unbputc.sh: Likewise.
13145 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
13147         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
13148         MADV_*_PAGES defines behind this feature check.
13150 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
13152         [BZ #18480]
13153         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
13154         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
13155         Define.
13156         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
13157         LOAD_REGS_5, LOAD_REGS_6): Update.
13158         (INTERNAL_SYSCALL): Update using new LOAD defines.
13159         (INTERNAL_SYSCALL_NCS): Likewise.
13160         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
13162 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
13164         [BZ #16734]
13165         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
13167 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
13169         [BZ #17905]
13170         * catgets/Makefile (tst-catgets-mem): New test.
13171         * catgets/catgets.c (catopen): Don't use unbounded alloca.
13172         * catgets/open_catalog.c (__open_catalog): Likewise.
13173         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
13175 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
13177         [BZ #18787]
13178         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
13179         clobber registers.
13180         (atomic_compare_and_exchange_val_acq): Use register asms to assign
13181         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
13182         Cast return to __typeof (oldval).
13184 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
13186         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
13187         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
13188         and delete sys/syscall.h include.
13190 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
13192         [BZ #16517]
13193         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
13194         (tan): Force underflow exception for arguments with small absolute
13195         value.
13196         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
13197         (__kernel_tanf): Force underflow exception for arguments with
13198         small absolute value.
13199         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
13200         (__kernel_tanl): Force underflow exception for arguments with
13201         small absolute value.
13202         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
13203         (__kernel_tanl): Force underflow exception for arguments with
13204         small absolute value.
13205         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
13206         (__kernel_tanl): Force underflow exception for arguments with
13207         small absolute value.
13208         * math/auto-libm-test-in: Add more tests of tan.
13209         * math/auto-libm-test-out: Regenerated.
13211 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13213         Fix sysdeps/i386/fpu/s_scalbn.S build
13215         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
13217 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
13219         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
13221 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13223         Fix gcrt0.o compilation
13225         When static-start-installed-name is different from
13226         start-installed-name, we must not use the shared objects.
13228         * csu/Makefile
13229         (extra-objs): Add gmon-start.o when building shared library and
13230         $(static-start-installed-name) is different from
13231         $(start-installed-name).
13232         $(objpfx)g$(static-start-installed-name): When building shared
13233         library and $(static-start-installed-name) is different from
13234         $(static-start-installed-name), revert to non-shared rule,
13235         i.e. using $(objpfx)% and gmon-start.o.
13237 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
13239         [BZ #16519]
13240         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
13241         (__ieee754_sinh): Force underflow exception for arguments with
13242         small absolute value.
13243         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
13244         (__ieee754_sinhf): Force underflow exception for arguments with
13245         small absolute value.
13246         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
13247         (__ieee754_sinhl): Force underflow exception for arguments with
13248         small absolute value.
13249         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
13250         (__ieee754_sinhl): Force underflow exception for arguments with
13251         small absolute value.
13252         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
13253         (__ieee754_sinhl): Force underflow exception for arguments with
13254         small absolute value.
13255         * math/auto-libm-test-in: Add more tests of sinh.
13256         * math/auto-libm-test-out: Regenerated.
13257         * sysdeps/i386/fpu/libm-test-ulps: Update.
13259 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
13261         * libio/oldfileops.c: Include unistd.h.
13263 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
13265         * stdlib/isomac.c: Include ctype.h.
13267 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
13269         * dirent/tst-seekdir.c (main): Converted to ...
13270         (do_test): ... this.
13271         (TEST_FUNCTION): New macro.
13272         Include test-skeleton.c.
13273         * elf/tst-dlmodcount.c (main): Converted to ...
13274         (do_test): ... this.
13275         (TEST_FUNCTION): New macro.
13276         Include test-skeleton.c.
13277         * elf/tst-order-main.c (main): Converted to ...
13278         (do_test): ... this.
13279         (TEST_FUNCTION): New macro.
13280         Include test-skeleton.c.
13281         * elf/tst-pie2.c (main): Converted to ...
13282         (do_test): ... this.
13283         (TEST_FUNCTION): New macro.
13284         Include test-skeleton.c.
13285         * inet/tst-ether_aton.c (main): Converted to ...
13286         (do_test): ... this.
13287         (TEST_FUNCTION): New macro.
13288         Include test-skeleton.c.
13289         * misc/tst-mntent.c (main): Converted to ...
13290         (do_test): ... this.
13291         (TEST_FUNCTION): New macro.
13292         Include test-skeleton.c.
13293         * misc/tst-tsearch.c (main): Converted to ...
13294         (do_test): ... this.
13295         (TEST_FUNCTION): New macro.
13296         Include test-skeleton.c.
13297         * posix/tst-regexloc.c (main): Converted to ...
13298         (do_test): ... this.
13299         (TEST_FUNCTION): New macro.
13300         Include test-skeleton.c.
13301         * resolv/tst-aton.c (main): Converted to ...
13302         (do_test): ... this.
13303         (TEST_FUNCTION): New macro.
13304         Include test-skeleton.c.
13305         * stdio-common/test-fwrite.c (main): Converted to ...
13306         (do_test): ... this.
13307         (TEST_FUNCTION): New macro.
13308         Include test-skeleton.c.
13309         * stdio-common/tst-ferror.c (main): Converted to ...
13310         (do_test): ... this.
13311         (TEST_FUNCTION): New macro.
13312         Include test-skeleton.c.
13313         * stdio-common/tst-printf.c (main): Converted to ...
13314         (do_test): ... this.
13315         (TEST_FUNCTION): New macro.
13316         Include test-skeleton.c.
13317         * stdio-common/tst-printfsz.c (main): Converted to ...
13318         (do_test): ... this.
13319         (TEST_FUNCTION): New macro.
13320         Include test-skeleton.c.
13321         * stdlib/tst-strtod.c (main): Converted to ...
13322         (do_test): ... this.
13323         (TEST_FUNCTION): New macro.
13324         Include test-skeleton.c.
13325         * string/tst-strlen.c (main): Converted to ...
13326         (do_test): ... this.
13327         (TEST_FUNCTION): New macro.
13328         Include test-skeleton.c.
13329         * string/tst-svc.c (main): Converted to ...
13330         (do_test): ... this.
13331         (TEST_FUNCTION): New macro.
13332         Include test-skeleton.c.
13333         * time/tst-strptime.c (main): Converted to ...
13334         (do_test): ... this.
13335         (TEST_FUNCTION): New macro.
13336         Include test-skeleton.c.
13337         * timezone/tst-timezone.c (main): Converted to ...
13338         (do_test): ... this.
13339         (TEST_FUNCTION): New macro.
13340         Include test-skeleton.c.
13342 2015-08-05  Zack Weinberg  <zackw@panix.com>
13344         * misc/regexp.h: Update comments.
13346 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
13348         [BZ #18635]
13349         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
13350         before return label.
13352 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
13354         [BZ #18661]
13355         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
13356         when calling __errno_location.
13357         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
13358         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
13360 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
13362         [BZ #18661]
13363         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
13364         (__lll_timedwait_tid): Align stack to 16 bytes when calling
13365         __gettimeofday.
13367 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
13369         [BZ #18661]
13370         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
13371         (__start_context): Don't use pop to restore %rdi so that stack
13372         is aligned to 16 bytes when calling __setcontext.
13374 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
13376         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
13377         only for libc.
13378         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
13380 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
13382         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
13383         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
13384         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
13386 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
13388         * string/memccpy.c (memccpy):
13389         Improve performance by using memchr/memcpy/__mempcpy.
13391 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
13393         * string/strncpy.c (strncpy):
13394         Improve performance by using __strnlen/memcpy.
13396 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
13398         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
13399         Optimize to avoid an unnecessary FPCR read.
13401 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
13403         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
13404         Optimize to reduce FPCR/FPSR accesses.
13406 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
13408         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
13409         dead->data[category] != NULL.
13411 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
13413         [BZ #18647]
13414         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
13415         and |x| close to 1, use absolute value of x when computing log.
13416         * math/auto-libm-test-in: Add more tests of pow.
13417         * math/auto-libm-test-out: Regenerated.
13419 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13421         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
13422         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
13423         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
13425 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
13427         [BZ #18525]
13428         * locales/km_KH: Remove timezone definition.
13429         * locales/lo_LA: Likewise.
13430         * locales/my_MM: Likewise.
13431         * locales/nan_TW@latin: Likewise.
13432         * locales/th_TH: Likewise.
13433         * locales/uk_UA: Likewise.
13435 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
13437         [BZ #18265]
13438         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
13439         (wcsncat): Likewise.
13440         (wcscmp): Likewise.
13441         (wcsncmp): Likewise.
13443 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
13445         * test-skeleton.c (usage): New function.
13446         (main): Call usage when opt is '?'.
13448 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
13450         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
13451         before first use.
13453 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
13455         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
13456         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
13457         in there too.
13459 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
13461         * version.h (RELEASE): Set to "development".
13462         (VERSION): Set to "2.22.90"
13464         * version.h (RELEASE): Set to "stable".
13465         (VERSION): Set to "2.22"
13466         * include/features.h (__GLIBC_MINOR__): Set to 22.
13468 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
13470         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
13471         Restructure macro to avoid "value computed is not used" warning.
13472         (atomic_compare_and_exchange_val_acq): Likewise.
13474 2015-08-04  Andreas Schwab  <schwab@suse.de>
13476         [BZ #18635]
13477         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
13478         ret.
13479         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
13481 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
13483         * po/pl.po: Updated translation.
13484         * po/uk.po: Likewise.
13485         * po/fi.po: Likewise.
13486         * po/ko.po: Likewise.
13487         * po/ru.po: Likewise.
13488         * po/vi.po: Likewise.
13490 2015-07-31  Zack Weinberg  <zackw@panix.com>
13492         [BZ #18681]
13493         * regexp.h: Add unconditional #warning stating that this header
13494         will be removed soon.  Revise banner comment to match.
13495         (compile): Consistently use ERROR instead of RETURN to report
13496         errors (partial fix for bz#18681).
13497         * regexp.c: Don't include regexp.h. Remove some unnecessary
13498         declarations.
13500 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
13502         * po/libc.pot: Regenerated.
13504 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
13506         [BZ #18740]
13507         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
13508         float-vlen4-arch-ext-cflags): Removed.
13509         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
13510         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
13512 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
13514         [BZ #14113]
13515         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
13516         aligned to __aligned__.
13517         (pthread_cond_t, pthread_rwlock_t): Likewise.
13519 2015-07-30  Torvald Riegel  <triegel@redhat.com>
13521         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
13523 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
13525         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
13526         (struct sigaction): Change sa_flags from a long to an int, and add
13527         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
13529 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
13531         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
13532         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
13533         sysdeps/generic/sysdep.h include.
13534         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
13535         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
13536         sysdeps/hppa/sysdep.h.
13537         (ENTRY, PSEUDO): Undefine before defining.
13539 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
13541         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
13542         from scratch to use INTERNAL_SYSCALL.
13544 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
13546         [BZ #18078]
13547         * scripts/check-localplt.awk: Support alternate relocations.
13548         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
13549         sections.
13550         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
13551         malloc entries with + REL R_386_GLOB_DAT.
13552         * sysdeps/x86_64/localplt.data: New file.
13554 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
13556         [BZ #18731]
13557         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
13558         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
13559         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
13561 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
13563         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
13565 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
13567         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
13568         directly in terms of __sync_fetch_and_add and delete (int) cast.
13570 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
13572         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
13573         the -D_ASM_IA64_CURRENT_H flag.
13575 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
13577         [BZ #18641]
13578         * pwd/pwd.h (putpwent): Delete __nonnull markings.
13580 2015-07-27  Andreas Schwab  <schwab@suse.de>
13582         * conform/conformtest.pl (checknamespace): Filter out string
13583         literals while tokenizing.
13585 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
13587         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
13588         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
13589         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
13591 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
13593         * nptl/tst-join7mod.c: Add #include <string.h>.
13595 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
13597         * sysdeps/nios2/libm-test-ulps: Update.
13599 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
13601         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
13602         Fix order of arguments to the rt_sigprocmask syscall.
13603         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
13604         Likewise.
13606 2015-07-24  Roland McGrath  <roland@hack.frob.com>
13608         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
13610 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13612         [BZ #18457]
13613         * nptl/Makefile (tests): New test case tst-join7.
13614         (modules-names): New test case module tst-join7mod.
13615         * nptl/tst-join7.c: New file.
13616         * nptl/tst-join7mod.c: New file.
13617         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
13618         all translation units in libc.so, libpthread.so and rtld.
13620 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13622         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13624 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
13626         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
13627         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
13628         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
13629         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
13630         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
13631         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
13632         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
13633         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
13634         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
13635         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
13636         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
13637         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
13638         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
13639         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
13640         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
13641         implementation.
13643 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13645         [BZ #17711]
13646         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
13647         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
13648         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
13649         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
13650         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
13651         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
13653 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13655         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
13656         instead of just saying load lock in the comments.
13658 2015-07-23  Roland McGrath  <roland@hack.frob.com>
13660         * sysdeps/unix/Subdirs: Moved ...
13661         * sysdeps/posix/Subdirs: ... here.
13662         * login/pty.h (struct termios, struct winsize): Add forward decls.
13663         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
13664         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
13665         * sysdeps/arm/nacl/libc.abilist: Updated.
13666         * sysdeps/nacl/libutil.abilist: New file.
13668         * bits/signum.h: Update comments to mention 1003.1-2013 too.
13669         (SIGWINCH): New macro.
13671         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
13672         * sysdeps/arm/nacl/libc.abilist: Add it.
13674 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
13676         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
13678 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
13680         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
13681         Swap __glibc_reserved0 and sa_flags order.
13683 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
13685         [BZ #18657]
13686         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
13687         are pending TLS destructor calls.
13688         * include/link.h (struct link_map): Add concurrency note for
13689         L_TLS_DTOR_COUNT.
13690         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
13691         Don't touch the link map flag.  Atomically increment
13692         l_tls_dtor_count.
13693         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
13694         Avoid taking the load lock and don't touch the link map flag.
13695         * stdlib/tst-tls-atexit-nodelete.c: New test case.
13696         * stdlib/Makefile (tests): Use it.
13697         * stdlib/tst-tls-atexit.c (do_test): dlopen
13698         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
13699         to allow tst-tls-atexit-nodelete test case to use it.
13701 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
13703         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
13704         to bits/types.h.
13705         (msgqnum_t): New typedef.
13706         (msglen_t): Likewise.
13707         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
13708         and msg_qbytes type to msglen_t.
13710 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
13712         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
13713         pad0 to __glibc_reserved0.
13714         (struct stat64): Likewise.
13716 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
13718         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
13719         Change sa_flags from a long to an int and add __glibc_reserved0 before
13720         it for padding.
13722 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
13724         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
13725         anonymous by deleting "siginfo" name.
13727 2015-07-21  Roland McGrath  <roland@hack.frob.com>
13729         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
13730         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
13731         rather than __nacl_irt_filename.
13732         * sysdeps/nacl/xstat.c (__xstat): Likewise.
13734         * NEWS: New item for arm-nacl port.
13735         * sysdeps/arm/nacl/libc.abilist: New file.
13736         * sysdeps/nacl/ld.abilist: New file.
13737         * sysdeps/nacl/libBrokenLocale.abilist: New file.
13738         * sysdeps/nacl/libanl.abilist: New file.
13739         * sysdeps/nacl/libcrypt.abilist: New file.
13740         * sysdeps/nacl/libdl.abilist: New file.
13741         * sysdeps/nacl/libm.abilist: New file.
13742         * sysdeps/nacl/libpthread.abilist: New file.
13743         * sysdeps/nacl/libresolv.abilist: New file.
13744         * sysdeps/nacl/librt.abilist: New file.
13746 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
13748         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
13749         __startcontext to initialize the new context.
13750         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
13751         up CFI directive to forbid further backtracing.
13753 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
13755         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
13756         reference.
13757         * charmaps/ANSI_X3.4-1968: Likewise.
13758         * charmaps/BS_4730: Likewise.
13759         * charmaps/BS_VIEWDATA: Likewise.
13760         * charmaps/CP1250: Likewise.
13761         * charmaps/CP1251: Likewise.
13762         * charmaps/CP1252: Likewise.
13763         * charmaps/CP1253: Likewise.
13764         * charmaps/CP1254: Likewise.
13765         * charmaps/CP1255: Likewise.
13766         * charmaps/CP1256: Likewise.
13767         * charmaps/CSN_369103: Likewise.
13768         * charmaps/EBCDIC-DK-NO: Likewise.
13769         * charmaps/GB_1988-80: Likewise.
13770         * charmaps/GREEK-CCITT: Likewise.
13771         * charmaps/GREEK7: Likewise.
13772         * charmaps/INIS-8: Likewise.
13773         * charmaps/ISIRI-3342: Likewise.
13774         * charmaps/ISO_2033-1983: Likewise.
13775         * charmaps/ISO_5427-EXT: Likewise.
13776         * locales/POSIX: Likewise.
13777         * locales/ar_SA: Likewise.
13778         * locales/be_BY: Likewise.
13779         * locales/be_BY@latin: Likewise.
13780         * locales/ca_ES: Likewise.
13781         * locales/cs_CZ: Likewise.
13782         * locales/da_DK: Likewise.
13783         * locales/de_BE: Likewise.
13784         * locales/de_CH: Likewise.
13785         * locales/de_LU: Likewise.
13786         * locales/en_AU: Likewise.
13787         * locales/en_BW: Likewise.
13788         * locales/en_CA: Likewise.
13789         * locales/en_DK: Likewise.
13790         * locales/en_GB: Likewise.
13791         * locales/en_IE: Likewise.
13792         * locales/en_NZ: Likewise.
13793         * locales/en_ZA: Likewise.
13794         * locales/en_ZW: Likewise.
13795         * locales/es_AR: Likewise.
13796         * locales/es_BO: Likewise.
13797         * locales/es_CL: Likewise.
13798         * locales/es_CO: Likewise.
13799         * locales/es_DO: Likewise.
13800         * locales/es_EC: Likewise.
13801         * locales/es_ES: Likewise.
13802         * locales/es_HN: Likewise.
13803         * locales/es_MX: Likewise.
13804         * locales/es_PA: Likewise.
13805         * locales/es_PE: Likewise.
13806         * locales/es_PY: Likewise.
13807         * locales/es_SV: Likewise.
13808         * locales/es_US: Likewise.
13809         * locales/es_UY: Likewise.
13810         * locales/es_VE: Likewise.
13811         * locales/et_EE: Likewise.
13812         * locales/fa_IR: Likewise.
13813         * locales/fo_FO: Likewise.
13814         * locales/fr_CA: Likewise.
13815         * locales/fr_CH: Likewise.
13816         * locales/gv_GB: Likewise.
13817         * locales/he_IL: Likewise.
13818         * locales/hr_HR: Likewise.
13819         * locales/id_ID: Likewise.
13820         * locales/is_IS: Likewise.
13821         * locales/it_CH: Likewise.
13822         * locales/iw_IL: Likewise.
13823         * locales/kl_GL: Likewise.
13824         * locales/ko_KR: Likewise.
13825         * locales/kw_GB: Likewise.
13826         * locales/lg_UG: Likewise.
13827         * locales/lt_LT: Likewise.
13828         * locales/lv_LV: Likewise.
13829         * locales/mi_NZ: Likewise.
13830         * locales/nhn_MX: Likewise.
13831         * locales/nl_BE: Likewise.
13832         * locales/pl_PL: Likewise.
13833         * locales/sk_SK: Likewise.
13834         * locales/sl_SI: Likewise.
13835         * locales/sv_FI: Likewise.
13836         * locales/tl_PH: Likewise.
13837         * locales/tr_TR: Likewise.
13838         * locales/vi_VN: Likewise.
13840 2015-07-21  Khem Raj  <raj.khem@gmail.com>
13842         [BZ #17475]
13843         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
13844         of tu_IN and bh_IN.
13846 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
13848         [BZ #18694]
13849         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
13850         bits/wordsize.h.
13851         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
13853 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
13855         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
13856         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
13857         (spawn_thread): New function.
13858         (load): Rename to reg_dtor_and_close.  Move dlopen to...
13859         (do_test): ... here.  Use IS_LOADED to test for its
13860         availability.
13862 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
13864         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
13866 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
13868         [BZ #18696]
13869         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
13870         si_addr_bnd.
13871         (si_lower): New.
13872         (si_upper): Likewise.
13874 2015-07-16  David S. Miller  <davem@davemloft.net>
13876         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
13878 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13880         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
13881         buffer.
13882         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
13883         fail output information.
13885 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13887         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
13888         and strstr-ppc64..
13889         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
13890         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
13891         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
13892         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
13893         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
13895 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
13897         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
13898         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
13899         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
13900         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
13902 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
13904         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
13905         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
13906         rtld_hidden_proto.
13907         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
13909 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13911         * tst-nodelete-opened.c (do_test): Add comment to clarify how
13912         the test can fail.
13914         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
13916         [BZ #18676]
13917         * elf/tst-nodelete-opened.c: New test case.
13918         * elf/tst-nodelete-opened-lib.c: New test case module.
13919         * elf/Makefile (tests, modules-names): Use them.
13920         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
13921         early.
13923 2015-07-15  David S. Miller  <davem@davemloft.net>
13925         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
13926         futex-intenal.h
13927         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
13928         * sysdeps/sparc/sparc64/Makefile: Likewise.
13929         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
13930         Remove space from macro define.
13931         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
13933 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
13935         [BZ #17475]
13936         * locale/iso-639.def: Update Bhili and Tulu language codes as
13937         per iso639-3.
13939 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
13941         * elf/tst-leaks1.c (main): Converted to ...
13942         (do_test): ... this.
13943         (TEST_FUNCTION): New macro.
13944         Include test-skeleton.c.
13945         * localedata/tst-langinfo.c (main): Converted to ...
13946         (do_test): ... this.
13947         (TEST_FUNCTION): New macro.
13948         Include test-skeleton.c.
13949         * math/test-fpucw.c (main): Converted to ...
13950         (do_test): ... this.
13951         (TEST_FUNCTION): New macro.
13952         Include test-skeleton.c.
13953         * math/test-tgmath.c (main): Converted to ...
13954         (do_test): ... this.
13955         (TEST_FUNCTION): New macro.
13956         Include test-skeleton.c.
13957         * math/test-tgmath2.c (main): Converted to ...
13958         (do_test): ... this.
13959         (TEST_FUNCTION): New macro.
13960         Include test-skeleton.c.
13961         * setjmp/tst-setjmp.c (main): Converted to ...
13962         (do_test): ... this.
13963         (TEST_FUNCTION): New macro.
13964         Include test-skeleton.c.
13965         * stdio-common/tst-sscanf.c (main): Converted to ...
13966         (do_test): ... this.
13967         (TEST_FUNCTION): New macro.
13968         Include test-skeleton.c.
13969         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
13970         (do_test): ... this.
13971         (TEST_FUNCTION): New macro.
13972         Include test-skeleton.c.
13974         * elf/tst-audit9.c (main): Converted to ...
13975         (do_test): ... this.
13976         (TEST_FUNCTION): New macro.
13977         Include test-skeleton.c.
13979 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
13981         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
13983 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
13985         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
13986         New variable.
13988 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
13990         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13992 2015-07-14  Roland McGrath  <roland@hack.frob.com>
13994         * sysdeps/generic/dl-fileid.h: New file.
13995         * sysdeps/posix/dl-fileid.h: New file.
13996         * sysdeps/nacl/dl-fileid.h: New file.
13997         * include/link.h: Include <dl-fileid.h>.
13998         (struct link_map): Replace l_dev and l_ino with l_file_id.
13999         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
14000         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
14001         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
14003 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
14005         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
14007 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14009         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
14010         Add iff $CXX is set.
14011         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
14012         Likewise.
14013         (tst-nodelete-zmodiff): Likewise.
14014         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
14016 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
14018         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
14020 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
14022         * sysdeps/aarch64/fpu/math_private.h
14023         (define math_opt_barrier): Add AArch64 version.
14024         (math_force_eval): Likewise.
14026 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
14028         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
14030 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
14032         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
14033         %ld with %jd and cast to intmax_t.
14034         (do_test_length_zero): Likewise.
14036 2015-07-10  Roland McGrath  <roland@hack.frob.com>
14038         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
14040 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
14042         * sysdeps/tile/libm-test-ulps: Regenerated.
14044         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
14045         Comment out the whole function, not just its body.
14047 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14049         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
14050         locks.
14052         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
14054 2015-07-10  Torvald Riegel  <triegel@redhat.com>
14056         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
14057         (sem_assume_only_signals_cause_futex_EINTR): Remove.
14059 2015-07-10  Torvald Riegel  <triegel@redhat.com>
14061         * sysdeps/nptl/futex-internal.h: New file.
14062         * sysdeps/nacl/futex-internal.h: New file.
14063         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
14064         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
14065         error checking.
14066         (setxid_unmark_thread): Likewise.
14067         (__nptl_setxid): Likewise.
14068         (__wait_lookup_done): Likewise.
14069         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
14070         * nptl/nptl-init.c (sighandler_setxid): Likewise.
14071         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
14072         * nptl/pthread_once.c (clear_once_control): Likewise.
14073         (__pthread_once_slow): Likewise.
14074         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
14075         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
14076         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
14077         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
14078         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
14079         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
14080         Likewise.
14081         (__pthread_rwlock_rdlock): Likewise.
14082         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
14083         Likewise.
14084         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
14085         Likewise.
14086         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
14087         Likewise.
14088         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
14089         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
14090         Likewise.
14091         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
14092         __ASSUME_PRIVATE_FUTEX check.
14093         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
14094         Check that shared futexes are supported.
14095         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
14096         wrappers with error checking.
14097         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
14098         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
14099         * nptl/pthread_barrierattr_setpshared.c
14100         (pthread_barrierattr_setpshared): Check that shared futexes are
14101         supported.
14102         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
14103         Likewise.
14104         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
14105         Likewise.
14106         * nptl/sem_init.c (futex_private_if_supported): Remove.
14107         (__new_sem_init): Adapt and check that shared futexes are supported.
14108         * nptl/sem_open.c (sem_open): Likewise.
14109         * nptl/sem_post.c (futex_wake): Remove.
14110         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
14111         (do_futex_wait): Use futex wrappers with error checking.
14112         * nptl/sem_wait.c: Include lowlevellock.h.
14113         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
14114         Use futex_supports_pshared.
14115         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
14116         Use futex wrappers with error checking.
14117         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
14118         Likewise.
14119         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
14120         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
14121         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
14122         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
14123         (futex_wake): Likewise.
14124         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
14125         (do_futex_wait): Use futex wrappers with error checking.
14126         (__new_sem_wait_slow): Update EINTR handling.
14127         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
14129 2015-07-09  Martin Sebor  <msebor@redhat.com>
14131         [BZ #18435]
14132         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
14133         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
14134         * nptl/Makefile (test-xfail-tst-once5): Define.
14136 2015-07-09  Roland McGrath  <roland@hack.frob.com>
14138         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
14139         * elf/dl-minimal.c: For readability, reorder some definitions and
14140         introduce more page breaks.  Include <stdio.h>.
14141         (__libc_fatal): New function.
14143         * include/unistd.h: Add rtld_hidden_proto for _exit.
14144         * posix/_exit.c: Add rtld_hidden_def.
14145         * sysdeps/mach/hurd/_exit.c: Likewise.
14146         * sysdeps/nacl/_exit.c: Likewise.
14147         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
14148         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
14150 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
14152         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
14153         bndmov encoding with zero displacement.
14155 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
14156             H.J. Lu  <hongjiu.lu@intel.com>
14158         [BZ #18134]
14159         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
14160         * sysdeps/i386/configure: Regenerated.
14161         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
14162         (_dl_runtime_profile): Save and restore Intel MPX return bound
14163         registers when calling _dl_call_pltexit.  Add
14164         PRESERVE_BND_REGS_PREFIX before return.
14165         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
14166         (LRV_BND1_OFFSET): Likewise.
14167         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
14168         lrv_bnd1.
14169         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
14170         typo in bndmov encoding.
14171         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
14172         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
14173         branch instructions to preserve bounds.
14175 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
14178         [GLIBC_2.22]: Add fmemopen.
14180 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14182         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
14183         returns an error, also try to use host port from __mach_host_self for
14184         the __vm_wire call.
14185         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
14187 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14189         [BZ #18400]
14190         [BZ #18648]
14191         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
14192         Fix pr_uid and pr_gid members.
14193         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
14194         definition to elf_greg_t.
14196 2015-07-08  Roland McGrath  <roland@hack.frob.com>
14198         [BZ #18383]
14199         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
14200         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
14201         * sysdeps/arm/configure: Regenerated.
14202         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
14203         (test-xfail-tst-tlsalign-static): Variable removed.
14205         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
14206         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
14207         rather than explicit 'ln -s'.
14209         * resolv/rpc/netdb.h: New file.
14210         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
14212 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14214         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
14215         length buffers.
14216         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
14217         test-skeleton.c.
14219         [BZ #6544]
14220         [BZ #11216]
14221         [BZ #12836]
14222         [BZ #13151]
14223         [BZ #13152]
14224         [BZ #14292]
14225         * include/stdio.h (fmemopen): Remove hidden prototype.
14226         (__fmemopen): Add new hidden prototype.
14227         * libio/Makefile: Add oldfmemopen object.
14228         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
14229         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
14230         compliance.
14231         * libio/oldfmemopen.c: New file: old fmemopen implementation for
14232         symbol compatibility.
14233         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
14234         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
14235         fmemopen.
14236         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
14237         on append and read mode.
14238         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
14239         fmemopen.
14240         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
14241         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
14242         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
14243         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
14244         Likewise.
14245         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
14246         [GLIBC_2.22]: Likewise.
14247         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
14248         Likewise.
14249         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
14250         Likewise.
14251         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
14252         [GLIBC_2.22]: Likewise.
14253         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
14254         [GLIBC_2.22]: Likewise.
14255         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
14256         [GLIBC_2.22]: Likewise.
14257         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
14258         [GLIBC_2.22]: Likewise.
14259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
14260         [GLIBC_2.22]: Likewise.
14261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
14262         [GLIBC_2.22]: Likewise.
14263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
14264         [GLIBC_2.22]: Likewise.
14265         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
14266         Likewise.
14267         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
14268         Likewise.
14269         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
14270         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
14271         [GLIBC_2.22]: Likewise.
14272         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
14273         [GLIBC_2.22]: Likewise.
14274         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
14275         [GLIBC_2.22]: Likewise.
14276         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
14277         [GLIBC_2.22]: Likewise.
14278         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
14279         Likewise.
14280         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
14281         Likewise.
14282         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
14283         Likewise.
14284         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
14285         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
14287 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
14289         [BZ #18643]
14290         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
14291         IPV6_PATHMTU, and IPV6_DONTFRAG.
14293 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
14295         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
14296         and _IO_UNBUFFERED.
14297         * libio/oldfileops.c: Likewise.
14298         * libio/wfileops.c: Likewise.
14300 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
14302         * nscd/selinux.c: Delete selinux/flask.h include.
14304 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
14306         [BZ #18641]
14307         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
14308         (putpwent): Likewise.
14309         (getpwnam): Likewise.
14310         (getpwent_r): Likewise.
14311         (getpwuid_r): Likewise.
14312         (getpwnam_r): Likewise.
14313         (fgetpwent_r): Likewise.
14315 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
14317         [BZ #18557]
14318         * inet/rcmd.c (__validuser2_sa): Check user first to
14319         short-circuit host check.
14321 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
14322             Mikhail Ilin  <m.ilin@samsung.com>
14324         [BZ #17833]
14325         * elf/Makefile (tests): Add tst-nodelete.
14326         (modules-names): Add tst-nodelete-uniquemod.
14327         (tst-nodelete-uniquemod.so-no-z-defs): New.
14328         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
14329         (tst-nodelete-zmod.so-no-z-defs): Likewise.
14330         ($(objpfx)tst-nodelete): Likewise.
14331         ($(objpfx)tst-nodelete.out): Likewise.
14332         (LDFLAGS-tst-nodelete): Likewise.
14333         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
14334         * elf/dl-close.c (_dl_close_worker): Add a parameter to
14335         implement forced object deletion.
14336         (_dl_close): Pass false to _dl_close_worker.
14337         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
14338         * elf/tst-nodelete.cc: New file.
14339         * elf/tst-nodeletelib.cc: Likewise.
14340         * elf/tst-znodeletelib.cc: Likewise.
14341         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
14343 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
14345         [BZ #18508]
14346         * stdlib/Makefile ($(objpfx)tst-makecontext3):
14347         Depend on $(libdl).
14348         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
14349         is not called infinitely times.
14350         (backtrace_helper): New function.
14351         (trace_arg): New struct.
14352         (st1): Enlarge stack size.
14353         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
14354         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
14355         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
14356         Likewise.
14358 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
14360         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14362 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
14364         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
14365         Include sys/types.h instead of bits/types.h.
14366         Remove inclusion of bits/wordsize.h.
14368 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
14370         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
14371         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
14372         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
14373         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
14374         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
14375         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
14377 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
14379         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
14380         link-defines.sym.
14381         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
14382         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
14383         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
14384         and LR_SIZE.
14385         * sysdeps/i386/link-defines.sym: New file.
14387 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
14389         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
14390         (modules-names): Add tst-auditmod3a tst-auditmod3b.
14391         ($(objpfx)tst-audit3): New rule.
14392         ($(objpfx)tst-audit3.out): Likewise.
14393         * sysdeps/i386/tst-audit3.c: New file.
14394         * sysdeps/i386/tst-audit3.h: Likewise.
14395         * sysdeps/i386/tst-auditmod3a.c: Likewise.
14396         * sysdeps/i386/tst-auditmod3b.c: Likewise.
14398 2015-07-07  Torvald Riegel  <triegel@redhat.com>
14400         [BZ #18633]
14401         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
14402         pointer in C code.
14403         (__strcat_c): Likewise.
14404         (__strcat_g): Likewise.
14406 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
14408         [BZ #18592]
14409         * misc/sbrk.c: Set errno to ENOMEM on overflow.
14411 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
14413         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
14414         New function.  (__ieee754_sqrtf): New function.
14415         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
14416         New function.
14417         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
14418         New function.
14420 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
14422         * sysdeps/ieee754/support.c: Remove unused file.
14424 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14426         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
14427         registers instead of d ones so the layout is kernel abi compatible.
14428         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
14429         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
14430         Likewise.
14432 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14434         * sysdeps/aarch64/libm-test-ulps: Regenerated.
14436 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
14438         [BZ #18619]
14439         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
14440         and return argument in case of subnormal argument.
14442 2015-07-01  Martin Sebor  <msebor@redhat.com>
14444         [BZ #18435]
14445         * nptl/Makefile: Add tst-once5.cc.
14446         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
14447         Remove macro redefinitions.
14448         * nptl/tst-once5.cc: New test.
14450 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
14452         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14454         * sysdeps/arm/libm-test-ulps: Regenerated.
14456         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
14457         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14459 2015-06-30  Torvald Riegel  <triegel@redhat.com>
14461         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
14462         lll_lock_wait_private and lll_futex_wake probes.
14464         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
14465         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
14466         Likewise.
14467         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
14468         atomic_spin_nop.
14469         * sysdeps/x86_64/bits/atomic.h: Likewise.
14470         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
14471         to atomic_spin_nop and move ...
14472         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
14473         ... here and ...
14474         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
14475         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
14476         atomic_spin_nop instead of BUSY_WAIT_NOP.
14477         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
14478         Likewise.
14479         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
14480         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
14481         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
14482         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
14483         instead of atomic_delay.
14485 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
14487         [BZ #18613]
14488         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
14489         X_ADJ not X when adjusting exponent.
14490         (__ieee754_gamma_r): Do intermediate computations in
14491         round-to-nearest then adjust overflowing and underflowing results
14492         as needed.
14493         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
14494         of X_ADJ not X when adjusting exponent.
14495         (__ieee754_gammaf_r): Do intermediate computations in
14496         round-to-nearest then adjust overflowing and underflowing results
14497         as needed.
14498         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
14499         log of X_ADJ not X when adjusting exponent.
14500         (__ieee754_gammal_r): Do intermediate computations in
14501         round-to-nearest then adjust overflowing and underflowing results
14502         as needed.  Use 1.0L not 1.0f as numerator of division.
14503         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
14504         log of X_ADJ not X when adjusting exponent.
14505         (__ieee754_gammal_r): Do intermediate computations in
14506         round-to-nearest then adjust overflowing and underflowing results
14507         as needed.  Use 1.0L not 1.0f as numerator of division.
14508         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
14509         of X_ADJ not X when adjusting exponent.
14510         (__ieee754_gammal_r): Do intermediate computations in
14511         round-to-nearest then adjust overflowing and underflowing results
14512         as needed.  Use 1.0L not 1.0f as numerator of division.
14513         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
14514         to auto-libm-test-in.
14515         (tgamma_test): Use ALL_RM_TEST.
14516         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
14517         tests of tgamma with spurious-overflow.
14518         * math/auto-libm-test-out: Regenerated.
14519         * math/gen-libm-have-vector-test.sh: Do not check for START.
14520         * sysdeps/i386/fpu/libm-test-ulps: Update.
14521         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14523         [BZ #18612]
14524         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
14525         arguments, just return 0.5 times the argument, with underflow
14526         forced as needed.
14527         * math/auto-libm-test-in: Add more tests of j1.
14528         * math/auto-libm-test-out: Regenerated.
14530         [BZ #16559]
14531         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
14532         (__ieee754_j1): Force underflow exception for small results.
14533         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
14534         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
14535         (__ieee754_j1f): Force underflow exception for small results.
14536         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
14537         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
14538         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14539         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
14540         (__ieee754_j1l): Force underflow exception for small results.
14541         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
14542         * math/auto-libm-test-in: Add more tests of j1 and jn.
14543         * math/auto-libm-test-out: Regenerated.
14545         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
14546         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
14547         (PF_MPLS): Likewise.
14548         (AF_IB): Likewise.
14549         (AF_MPLS): Likewise.
14550         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
14551         value and macro.
14552         (MS_RMT_MASK): Include MS_LAZYTIME.
14554 2015-06-26  Mel Gorman  <mgorman@suse.de>
14556         [BZ #18502]
14557         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
14558         already minimal.
14560 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
14562         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
14563         (DT_MIPS_NUM): Update.
14564         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
14565         DT_MIPS_RLD_MAP_REL.
14567 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
14569         [BZ #16559]
14570         [BZ #18602]
14571         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
14572         round-to-nearest internally then recompute results that
14573         underflowed to zero in the original rounding mode.
14574         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
14575         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
14576         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14577         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
14578         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
14579         * sysdeps/i386/fpu/libm-test-ulps: Update.
14580         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14582 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
14584         * NEWS: Fixed description of link with vector math library.
14586 2015-06-25  Andreas Schwab  <schwab@suse.de>
14588         [BZ #18549]
14589         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
14590         * libio/test-fmemopen.c (do_test): Add test for it.
14592 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
14594         [BZ #17841]
14595         * Makeconfig (no-pie-ldflag): New.
14596         (+link): Set to $(+link-pie) if default to PIE.
14597         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
14598         * config.make.in (build-pie-default): New.
14599         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
14600         is default.  AC_SUBST.
14601         * configure: Regenerated.
14602         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
14604 2015-06-24  Roland McGrath  <roland@hack.frob.com>
14606         * nptl/descr.h (struct pthread): Change type of field setxid_futex
14607         to 'unsigned int'.
14609         * resolv/gai_misc.h (struct waitlist): Change type of field
14610         counterp to 'volatile unsigned int *'.
14611         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
14612         FUTEXADDR and OLDVAL.
14613         * resolv/getaddrinfo_a.c (getaddrinfo_a):
14614         Give local variable TOTAL type 'volatile unsigned int'.
14615         (struct async_waitlist): Change type of field counter to 'unsigned int'.
14616         * resolv/gai_suspend.c (gai_suspend):
14617         Give local variable CNTR type 'unsigned int'.
14619         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
14620         counterp to 'volatile unsigned int *'.
14621         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
14622         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
14623         (aio_suspend): Give local variable CNTR type 'unsigned int'.
14624         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
14625         Give local variable TOTAL type 'volatile unsigned int'.
14626         (struct async_waitlist): Change type of field counter to 'unsigned int'.
14628 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
14630         [BZ #18383]
14631         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
14632         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
14633         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
14634         comment for i386/x86-64.
14635         (test-xfail-tst-tlsalign-extern-static): Removed.
14637 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
14639         * math/test-double.h: New file.
14640         * math/test-float.h: Likewise.
14641         * math/test-ldouble.h: Likewise.
14642         * math/test-math-inline.h: Likewise.
14643         * math/test-math-no-inline.h: Likewise.
14644         * math/test-math-scalar.h: Likewise.
14645         * math/test-math-vector.h: Likewise.
14646         * math/test-vec-loop.h: Remove file.  Contents moved into
14647         test-math-vector.h.
14648         * math/libm-test.inc (MATHCONST): Do not document macro.
14649         * math/test-double.c: Include test-double.h, test-math-no-inline.h
14650         and test-math-scalar.h.
14651         (FUNC): Remove macro.
14652         (FUNC_TEST): Likewise.
14653         (FLOAT): Likewise.
14654         (MATHCONST): Likewise.
14655         (PRINTF_EXPR): Likewise.
14656         (PRINTF_XEXPR): Likewise.
14657         (PRINTF_NEXPR): Likewise.
14658         (TEST_DOUBLE): Likewise.
14659         (TEST_MATHVEC): Likewise.
14660         (__NO_MATH_INLINES): Likewise.
14661         * math/test-float.c: Include test-float.h, test-math-no-inline.h
14662         and test-math-scalar.h.
14663         (FUNC): Remove macro.
14664         (FUNC_TEST): Likewise.
14665         (FLOAT): Likewise.
14666         (MATHCONST): Likewise.
14667         (PRINTF_EXPR): Likewise.
14668         (PRINTF_XEXPR): Likewise.
14669         (PRINTF_NEXPR): Likewise.
14670         (TEST_FLOAT): Likewise.
14671         (TEST_MATHVEC): Likewise.
14672         (__NO_MATH_INLINES): Likewise.
14673         * math/test-idouble.c: Include test-double.h, test-math-inline.h
14674         and test-math-scalar.h.
14675         (FUNC): Remove macro.
14676         (FUNC_TEST): Likewise.
14677         (FLOAT): Likewise.
14678         (MATHCONST): Likewise.
14679         (PRINTF_EXPR): Likewise.
14680         (PRINTF_XEXPR): Likewise.
14681         (PRINTF_NEXPR): Likewise.
14682         (TEST_DOUBLE): Likewise.
14683         (TEST_MATHVEC): Likewise.
14684         (TEST_INLINE): Likewise.
14685         (__NO_MATH_INLINES): Likewise.
14686         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
14687         test-math-scalar.h.
14688         (FUNC): Remove macro.
14689         (FUNC_TEST): Likewise.
14690         (FLOAT): Likewise.
14691         (MATHCONST): Likewise.
14692         (PRINTF_EXPR): Likewise.
14693         (PRINTF_XEXPR): Likewise.
14694         (PRINTF_NEXPR): Likewise.
14695         (TEST_FLOAT): Likewise.
14696         (TEST_MATHVEC): Likewise.
14697         (TEST_INLINE): Likewise.
14698         (__NO_MATH_INLINES): Likewise.
14699         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
14700         and test-math-scalar.h.
14701         (FUNC): Remove macro.
14702         (FUNC_TEST): Likewise.
14703         (FLOAT): Likewise.
14704         (MATHCONST): Likewise.
14705         (PRINTF_EXPR): Likewise.
14706         (PRINTF_XEXPR): Likewise.
14707         (PRINTF_NEXPR): Likewise.
14708         (TEST_LDOUBLE): Likewise.
14709         (TEST_MATHVEC): Likewise.
14710         (TEST_INLINE): Likewise.
14711         (__NO_MATH_INLINES): Likewise.
14712         * math/test-ldouble.c: Include test-ldouble.h,
14713         test-math-no-inline.h and test-math-scalar.h.
14714         (FUNC): Remove macro.
14715         (FUNC_TEST): Likewise.
14716         (FLOAT): Likewise.
14717         (MATHCONST): Likewise.
14718         (PRINTF_EXPR): Likewise.
14719         (PRINTF_XEXPR): Likewise.
14720         (PRINTF_NEXPR): Likewise.
14721         (TEST_LDOUBLE): Likewise.
14722         (TEST_MATHVEC): Likewise.
14723         (__NO_MATH_INLINES): Likewise.
14724         * math/test-double-vlen2.h: Include test-double.h,
14725         test-math-no-inline.h and test-math-vector.h.
14726         (FLOAT): Remove macro.
14727         (FUNC): Likewise.
14728         (MATHCONST): Likewise.
14729         (PRINTF_EXPR): Likewise.
14730         (PRINTF_XEXPR): Likewise.
14731         (PRINTF_NEXPR): Likewise.
14732         (TEST_DOUBLE): Likewise.
14733         (TEST_MATHVEC): Likewise.
14734         (__NO_MATH_INLINES): Likewise.
14735         (CNCT): Likewise.
14736         (CONCAT): Likewise.
14737         (WRAPPER_NAME): Likewise.
14738         (WRAPPER_DECL): Likewise.
14739         (WRAPPER_DECL_ff): Likewise.
14740         (WRAPPER_DECL_fFF): Likewise.
14741         (VECTOR_WRAPPER): Likewise.
14742         (VECTOR_WRAPPER_ff): Likewise.
14743         (VECTOR_WRAPPER_fFF): Likewise.
14744         (VEC_LEN): New macro.
14745         * math/test-double-vlen4.h: Include test-double.h,
14746         test-math-no-inline.h and test-math-vector.h.
14747         (FLOAT): Remove macro.
14748         (FUNC): Likewise.
14749         (MATHCONST): Likewise.
14750         (PRINTF_EXPR): Likewise.
14751         (PRINTF_XEXPR): Likewise.
14752         (PRINTF_NEXPR): Likewise.
14753         (TEST_DOUBLE): Likewise.
14754         (TEST_MATHVEC): Likewise.
14755         (__NO_MATH_INLINES): Likewise.
14756         (CNCT): Likewise.
14757         (CONCAT): Likewise.
14758         (WRAPPER_NAME): Likewise.
14759         (WRAPPER_DECL): Likewise.
14760         (WRAPPER_DECL_ff): Likewise.
14761         (WRAPPER_DECL_fFF): Likewise.
14762         (VECTOR_WRAPPER): Likewise.
14763         (VECTOR_WRAPPER_ff): Likewise.
14764         (VECTOR_WRAPPER_fFF): Likewise.
14765         (VEC_LEN): New macro.
14766         * math/test-double-vlen8.h: Include test-double.h,
14767         test-math-no-inline.h and test-math-vector.h.
14768         (FLOAT): Remove macro.
14769         (FUNC): Likewise.
14770         (MATHCONST): Likewise.
14771         (PRINTF_EXPR): Likewise.
14772         (PRINTF_XEXPR): Likewise.
14773         (PRINTF_NEXPR): Likewise.
14774         (TEST_DOUBLE): Likewise.
14775         (TEST_MATHVEC): Likewise.
14776         (__NO_MATH_INLINES): Likewise.
14777         (CNCT): Likewise.
14778         (CONCAT): Likewise.
14779         (WRAPPER_NAME): Likewise.
14780         (WRAPPER_DECL): Likewise.
14781         (WRAPPER_DECL_ff): Likewise.
14782         (WRAPPER_DECL_fFF): Likewise.
14783         (VECTOR_WRAPPER): Likewise.
14784         (VECTOR_WRAPPER_ff): Likewise.
14785         (VECTOR_WRAPPER_fFF): Likewise.
14786         (VEC_LEN): New macro.
14787         * math/test-float-vlen4.h: Include test-float.h,
14788         test-math-no-inline.h and test-math-vector.h.
14789         (FLOAT): Remove macro.
14790         (FUNC): Likewise.
14791         (MATHCONST): Likewise.
14792         (PRINTF_EXPR): Likewise.
14793         (PRINTF_XEXPR): Likewise.
14794         (PRINTF_NEXPR): Likewise.
14795         (TEST_FLOAT): Likewise.
14796         (TEST_MATHVEC): Likewise.
14797         (__NO_MATH_INLINES): Likewise.
14798         (CNCT): Likewise.
14799         (CONCAT): Likewise.
14800         (WRAPPER_NAME): Likewise.
14801         (WRAPPER_DECL): Likewise.
14802         (WRAPPER_DECL_ff): Likewise.
14803         (WRAPPER_DECL_fFF): Likewise.
14804         (VECTOR_WRAPPER): Likewise.
14805         (VECTOR_WRAPPER_ff): Likewise.
14806         (VECTOR_WRAPPER_fFF): Likewise.
14807         (VEC_LEN): New macro.
14808         * math/test-float-vlen8.h: Include test-float.h,
14809         test-math-no-inline.h and test-math-vector.h.
14810         (FLOAT): Remove macro.
14811         (FUNC): Likewise.
14812         (MATHCONST): Likewise.
14813         (PRINTF_EXPR): Likewise.
14814         (PRINTF_XEXPR): Likewise.
14815         (PRINTF_NEXPR): Likewise.
14816         (TEST_FLOAT): Likewise.
14817         (TEST_MATHVEC): Likewise.
14818         (__NO_MATH_INLINES): Likewise.
14819         (CNCT): Likewise.
14820         (CONCAT): Likewise.
14821         (WRAPPER_NAME): Likewise.
14822         (WRAPPER_DECL): Likewise.
14823         (WRAPPER_DECL_ff): Likewise.
14824         (WRAPPER_DECL_fFF): Likewise.
14825         (VECTOR_WRAPPER): Likewise.
14826         (VECTOR_WRAPPER_ff): Likewise.
14827         (VECTOR_WRAPPER_fFF): Likewise.
14828         (VEC_LEN): New macro.
14829         * math/test-float-vlen16.h: Include test-float.h,
14830         test-math-no-inline.h and test-math-vector.h.
14831         (FLOAT): Remove macro.
14832         (FUNC): Likewise.
14833         (MATHCONST): Likewise.
14834         (PRINTF_EXPR): Likewise.
14835         (PRINTF_XEXPR): Likewise.
14836         (PRINTF_NEXPR): Likewise.
14837         (TEST_FLOAT): Likewise.
14838         (TEST_MATHVEC): Likewise.
14839         (__NO_MATH_INLINES): Likewise.
14840         (CNCT): Likewise.
14841         (CONCAT): Likewise.
14842         (WRAPPER_NAME): Likewise.
14843         (WRAPPER_DECL): Likewise.
14844         (WRAPPER_DECL_ff): Likewise.
14845         (WRAPPER_DECL_fFF): Likewise.
14846         (VECTOR_WRAPPER): Likewise.
14847         (VECTOR_WRAPPER_ff): Likewise.
14848         (VECTOR_WRAPPER_fFF): Likewise.
14849         (VEC_LEN): New macro.
14850         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
14851         test-vec-loop.h.
14852         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
14853         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
14854         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
14855         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
14856         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
14857         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
14858         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
14860 2015-06-24  Roland McGrath  <roland@hack.frob.com>
14862         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
14863         (__getlogin_r): ... this.
14865 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
14867         [BZ #18594]
14868         * math/s_ccosh.c (__ccosh): Compare with least normal value
14869         instead of comparing class with FP_SUBNORMAL.
14870         * math/s_ccoshf.c (__ccoshf): Likewise.
14871         * math/s_ccoshl.c (__ccoshl): Likewise.
14872         * math/s_cexp.c (__cexp): Likewise.
14873         * math/s_cexpf.c (__cexpf): Likewise.
14874         * math/s_cexpl.c (__cexpl): Likewise.
14875         * math/s_csin.c (__csin): Likewise.
14876         * math/s_csinf.c (__csinf): Likewise.
14877         * math/s_csinh.c (__csinh): Likewise.
14878         * math/s_csinhf.c (__csinhf): Likewise.
14879         * math/s_csinhl.c (__csinhl): Likewise.
14880         * math/s_csinl.c (__csinl): Likewise.
14881         * math/s_ctan.c (__ctan): Likewise.
14882         * math/s_ctanf.c (__ctanf): Likewise.
14883         * math/s_ctanh.c (__ctanh): Likewise.
14884         * math/s_ctanhf.c (__ctanhf): Likewise.
14885         * math/s_ctanhl.c (__ctanhl): Likewise.
14886         * math/s_ctanl.c (__ctanl): Likewise.
14887         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
14888         csin, csinh, ctan and ctanh.
14889         * math/auto-libm-test-out: Regenerated.
14890         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
14891         * sysdeps/i386/fpu/libm-test-ulps: Update.
14892         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14894 2015-06-24  Roland McGrath  <roland@hack.frob.com>
14896         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
14897         return value is wrong, print the expected value too.
14899 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
14901         [BZ #18585]
14902         * elf/readlib.c (is_gdb_python_file): New.
14903         (process_file): Don't issue errors on filenames with -gdb.py
14904         suffix.
14906 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
14908         * math/auto-libm-test-in: Add more tests of csin and csinh.
14909         * math/auto-libm-test-out: Regenerated.
14910         * math/libm-test.inc (csin_test_data): Remove tests moved to
14911         auto-libm-test-in.
14912         (csinh_test_data): Likewise.
14914         [BZ #18593]
14915         * math/s_csin.c (__csin): Negate before rather than after possibly
14916         overflowing multiplication.
14917         * math/s_csinf.c (__csinf): Likewise.
14918         * math/s_csinh.c (__csinh): Likewise.
14919         * math/s_csinhf.c (__csinhf): Likewise.
14920         * math/s_csinhl.c (__csinhl): Likewise.
14921         * math/s_csinl.c (__csinl): Likewise.
14922         * math/auto-libm-test-in: Add some tests of csin and csinh.
14923         * math/auto-libm-test-out: Regenerated.
14924         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
14925         (csinh_test_data): Likewise.
14926         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14928         [BZ #18586]
14929         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
14930         underflow exception for small results.
14932 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
14934         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
14935         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
14936         variable and included header.
14937         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
14938         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
14939         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
14940         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
14941         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
14942         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
14943         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
14944         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
14945         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
14946         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
14947         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
14948         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
14949         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
14950         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
14951         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
14952         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
14954 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
14956         [BZ #16526]
14957         [BZ #16538]
14958         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
14959         (__sin): Force underflow exception for arguments with small
14960         absolute value.
14961         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
14962         (__kernel_sinf): Force underflow exception for arguments with
14963         small absolute value.
14964         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
14965         (__kernel_sincosl): Force underflow exception for arguments with
14966         small absolute value.
14967         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
14968         (__kernel_sinl): Force underflow exception for arguments with
14969         small absolute value.
14970         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
14971         (__kernel_sincosl): Force underflow exception for arguments with
14972         small absolute value.
14973         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
14974         (__kernel_sinl): Force underflow exception for arguments with
14975         small absolute value.
14976         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
14977         (__kernel_sinl): Force underflow exception for arguments with
14978         small absolute value.
14979         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
14980         (__kernel_sinf): Force underflow exception for arguments with
14981         small absolute value.
14982         * math/auto-libm-test-in: Add more tests of sin and sincos.
14983         * math/auto-libm-test-out: Regenerated.
14985         [BZ #18245]
14986         [BZ #18583]
14987         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
14988         (__kernel_standard_l): Use feholdexcept and fesetenv around
14989         conversion to double instead of special-casing overflow and
14990         underflow.
14991         * math/libm-test.inc (fmod_test_data): Add more tests.
14992         (remainder_test_data): Likewise.
14993         (sqrt_test_data): Likewise.
14995 2015-06-23  Torvald Riegel  <triegel@redhat.com>
14997         [BZ #17403]
14998         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
14999         atomic_read_barrier, atomic_write_barrier): Define.
15000         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
15001         atomic_read_barrier, atomic_write_barrier): Define.
15003 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
15005         * math/Makefile [$(PERL) != no]
15006         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
15007         dependency on libm-test.stmp below the inclusion of Rules.
15009 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
15011         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
15012         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
15013         and included header.
15014         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
15015         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
15016         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
15017         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
15018         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
15019         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
15020         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
15021         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
15022         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
15023         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
15024         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
15025         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
15026         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
15027         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
15028         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
15029         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
15030         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
15031         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
15032         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
15034 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
15036         [BZ #18371]
15037         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
15038         intermediate but not final result might underflow.
15039         * math/s_csqrtf.c (__csqrtf): Likewise.
15040         * math/s_csqrtl.c (__csqrtl): Likewise.
15041         * math/auto-libm-test-in: Add more tests of csqrt.
15042         * math/auto-libm-test-out: Regenerated.
15043         * sysdeps/i386/fpu/libm-test-ulps: Update.
15045         [BZ #18219]
15046         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
15047         threshold on absolute value of exponent for which scaling is used.
15048         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
15049         * math/auto-libm-test-in: Add more tests of exp2.
15050         * math/auto-libm-test-out: Regenerated.
15052 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
15054         [BZ #17977]
15055         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
15056         when initializing interface list, based on the bug analysis
15057         and the patch proposed by Eric Newton.
15058         * resolv/tst-res_hconf_reorder.c: New test.
15059         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
15060         tst-res_hconf_reorder.
15061         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
15062         and $(shared-thread-library).
15063         (tst-res_hconf_reorder-ENV): New variable.
15065         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
15066         in comment.
15068 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
15070         [BZ #16353]
15071         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
15072         (__expm1): Force underflow exception for arguments with small
15073         absolute value.
15074         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
15075         (__expm1f): Force underflow exception for arguments with small
15076         absolute value.
15077         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
15078         (__expm1): Force underflow exception for arguments with small
15079         absolute value.
15080         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
15081         (__expm1f): Force underflow exception for arguments with small
15082         absolute value.
15083         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
15084         Check for small arguments before calling __expm1.
15085         * math/auto-libm-test-in: Do not mark underflow exceptions as
15086         possibly missing for bug 16353.
15087         * math/auto-libm-test-out: Regenerated.
15089 2015-06-22  Andreas Schwab  <schwab@suse.de>
15091         [BZ #18513]
15092         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
15093         PTR queries.
15095 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
15097         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
15099         * string/strcoll_l.c: Remove unused struct element idxnow.
15101 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
15103         [BZ #18569]
15104         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
15105         underflow and return argument in case of subnormal argument.
15106         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
15107         Likewise.
15108         * math/auto-libm-test-in: Add more tests of expm1.
15109         * math/auto-libm-test-out: Regenerated.
15111         [BZ #16361]
15112         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
15113         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
15114         tiny results.
15115         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
15116         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
15117         tiny results.
15118         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
15119         mark underflow exceptions as possibly missing for bug 16361.
15120         * math/auto-libm-test-out: Regenerated.
15122 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
15124         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
15125         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
15126         Remove variable.
15127         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
15128         (test-xfail-XOPEN2K8/utmpx.h/conform).
15130         * conform/conformtest.pl ($xerrors): New variable.
15131         (note_error): New function.
15132         (compiletest): New argument $xfail.  Use not_error.
15133         (runtest): Likewise.
15134         (top level): Handle xfail- lines.  Update calls to compiletest and
15135         runtest.  Handle xfail- and optional- in headers listed with
15136         allow-header.
15137         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
15138         (O_EXEC): Likewise.
15139         (O_SEARCH): Likewise.
15140         * conform/data/stropts.h-data (ioctl): Likewise.
15141         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
15142         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
15143         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
15144         (msghdr.msg_controllen): Likewise.
15145         (cmsghdr.cmsg_len): Likewise.
15146         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
15147         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
15148         variable.
15149         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
15150         (test-xfail-XPG4/stropts.h/conform): Likewise.
15151         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
15152         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
15153         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
15154         (test-xfail-UNIX98/stropts.h/conform): Likewise.
15155         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
15156         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
15157         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
15158         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
15159         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
15160         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
15161         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
15162         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
15163         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
15164         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
15165         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
15166         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
15167         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
15168         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
15169         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
15171 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
15173         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
15174         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
15175         definitions for proper unfolding of __MATHDECL_VEC.
15177 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
15179         * benchtests/bench-strcoll.c:
15180         Include string.h.
15181         (main): Remove unused variable res.
15183 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
15185         * timezone/Makefile (%/UTC %/Universal):
15186         Generate test-result files for UTC and Universal.
15188 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
15190         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15192 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
15194         [BZ #16350]
15195         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
15196         for arguments with small absolute value.
15197         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
15198         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
15199         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
15200         (__asinh): Force underflow exception for arguments with small
15201         absolute value.
15202         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
15203         (__asinhf): Force underflow exception for arguments with small
15204         absolute value.
15205         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
15206         (__asinhl): Force underflow exception for arguments with small
15207         absolute value.
15208         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
15209         (__asinhl): Force underflow exception for arguments with small
15210         absolute value.
15211         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
15212         (__asinhl): Force underflow exception for arguments with small
15213         absolute value.
15214         * math/auto-libm-test-in: Do not mark underflow exceptions as
15215         possibly missing for bug 16350.
15216         * math/auto-libm-test-out: Regenerated.
15218         * include/bits/ipc.h: Remove file.
15219         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
15220         variable.
15221         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
15222         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
15223         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
15224         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
15225         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
15226         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
15227         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
15228         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
15229         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
15231         * math/auto-libm-test-in: Remove spurious underflow allowance for
15232         tests of cexp.
15233         * math/auto-libm-test-out: Regenerated.
15235         [BZ #18558]
15236         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
15237         unconditional definition.
15238         (MCAST_BLOCK_SOURCE): Likewise.
15239         (MCAST_UNBLOCK_SOURCE): Likewise.
15240         (MCAST_LEAVE_GROUP): Likewise.
15241         (MCAST_JOIN_SOURCE_GROUP): Likewise.
15242         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
15243         (MCAST_MSFILTER): Likewise.
15244         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
15245         Remove variable.
15246         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
15247         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
15248         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
15249         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
15250         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
15252 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
15254         * NEWS: Mention addition of x86_64 vector sincosf.
15255         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
15256         * math/test-float-vlen4.h: Likewise.
15257         * math/test-float-vlen8.h: Likewise.
15258         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
15259         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
15260         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15261         * sysdeps/x86_64/fpu/Versions: New versions added.
15262         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15263         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
15264         Added build of SSE, AVX2 and AVX512 IFUNC versions.
15265         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
15266         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
15267         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
15268         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
15269         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
15270         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
15271         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
15272         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
15273         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
15274         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
15275         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
15276         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
15277         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
15278         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
15279         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
15280         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
15281         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
15282         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
15283         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
15284         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
15285         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
15287         * NEWS: Mention addition of x86_64 vector sincos.
15288         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
15289         * math/math.h (__MATHDECL_VEC): New macro.
15290         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
15291         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
15292         declaration under condition.
15293         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
15294         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
15295         TEST_VEC_LOOP change.
15296         * math/test-double-vlen4.h: Likewise.
15297         * math/test-double-vlen8.h: Likewise.
15298         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
15299         * math/test-float-vlen4.h: Likewise.
15300         * math/test-float-vlen8.h: Likewise.
15301         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
15302         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
15303         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15304         * sysdeps/x86_64/fpu/Versions: New versions added.
15305         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15306         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
15307         Added build of SSE, AVX2 and AVX512 IFUNC versions.
15308         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
15309         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
15310         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
15311         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
15312         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
15313         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
15314         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
15315         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
15316         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
15317         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
15318         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
15319         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
15320         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
15321         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
15322         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
15323         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
15324         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
15325         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
15326         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
15327         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
15328         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
15330         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
15331         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
15332         redirections for powf.
15333         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15334         * sysdeps/x86_64/fpu/Versions: New versions added.
15335         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15336         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
15337         Added build of SSE, AVX2 and AVX512 IFUNC versions.
15338         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
15339         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
15340         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
15341         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
15342         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
15343         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
15344         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
15345         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
15346         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
15347         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
15348         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
15349         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
15350         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
15351         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
15352         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
15353         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
15354         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
15355         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
15356         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
15357         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
15358         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
15359         * math/test-float-vlen16.h: Fixed 2 argument macro.
15360         * math/test-float-vlen4.h: Likewise.
15361         * math/test-float-vlen8.h: Likewise.
15362         * NEWS: Mention addition of x86_64 vector powf.
15364 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
15366         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15367         and redefine.
15368         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15369         and redefine.
15370         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
15371         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
15372         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
15374         [BZ #18553]
15375         * resource/getpriority.c (getpriority): Rename to __getpriority
15376         and define as weak alias of __getpriority.
15377         * resource/setpriority.c (setpriority): Rename to __setpriority
15378         and define as weak alias of __setpriority.
15379         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
15380         __getpriority and define as weak alias of __getpriority.
15381         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
15382         __setpriority and define as weak alias of __setpriority.
15383         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
15384         strong name.
15385         (setpriority): Use __setpriority as strong name.
15386         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
15387         __getpriority and define as weak alias of __getpriority.
15388         * include/sys/resource.h (__getpriority): Declare.  Use
15389         libc_hidden_proto.
15390         (__setpriority): Likewise.
15391         (getpriority): Don't use libc_hidden_proto.
15392         (setpriority): Likewise.
15393         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
15394         getpriority.  Call __setpriority instead of setpriority.
15395         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
15396         Remove variable.
15398         [BZ #18547]
15399         * misc/getttyent.c (getttynam): Rename to __getttynam and define
15400         as weak alias of __getttynam.  Use prototype function definition.
15401         Call __setttyent, __getttyent and __endttyent instead of
15402         setttyent, getttyent and endttyent.
15403         (getttyent): Rename to __getttyent and define as weak alias of
15404         __getttyent.  Call __setttyent instead of setttyent.  Call
15405         __fgets_unlocked instead of fgets_unlocked.
15406         (setttyent): Rename to __setttyent and define as weak alias of
15407         __setttyent.
15408         (endttyent): Rename to __endttyent and define as weak alias of
15409         __endttyent.
15410         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
15411         (__setttyent): Likewise.
15412         (__endttyent): Likewise.
15413         (getttyent): Don't use libc_hidden_proto.
15414         (setttyent): Likewise.
15415         (endttyent): Likewise.
15416         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
15417         __endttyent instead of setttyent, getttyent and endttyent.
15418         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
15419         Remove variable.
15421         [BZ #18546]
15422         * socket/recv.c (__recv): Use libc_hidden_def.
15423         * socket/socket.c (__socket): Likewise.
15424         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
15425         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
15426         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
15427         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
15428         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
15429         libc_hidden_def.
15430         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
15431         libc_hidden_weak.
15432         * include/sys/socket.h (__socket): Do not use attribute_hidden.
15433         Use libc_hidden_proto.
15434         (__recv): Likewise.
15435         * socket/Versions (libc): Export __recv and __socket at version
15436         GLIBC_PRIVATE.
15437         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
15438         instead of recv.
15439         (init_mq_netlink): Call __socket instead of socket.
15440         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
15441         Remove variable.
15443         [BZ #18545]
15444         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
15445         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
15446         hidden_weak.
15447         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
15448         define as alias of __mq_timedsend.  Use hidden_weak.
15449         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
15450         __mq_timedsend as strong name.
15451         (mq_timedreceive): Use __mq_timedreceive as strong name.
15452         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
15453         (__mq_timedreceive): Likewise.
15454         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
15455         __mq_timedreceive instead of mq_timedreceive.
15456         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
15457         instead of mq_timedsend.
15458         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
15459         Remove variable.
15461         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
15462         hidden_def and hidden_weak instead of libc_hidden_def and
15463         libc_hidden_weak.
15464         (top level): Refer to hidden_def in comment.
15465         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
15466         macro.  Use it instead of libc_hidden_def.
15467         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
15468         specify __GI_* name explicitly.
15469         (mq_timedreceive): Likewise.
15470         (mq_setattr): Likewise.
15472         [BZ #18544]
15473         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
15474         __pthread_barrier_init and define as weak alias of
15475         __pthread_barrier_init.
15476         * sysdeps/sparc/nptl/pthread_barrier_init.c
15477         (pthread_barrier_init): Likewise.
15478         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
15479         __pthread_barrier_wait and define as weak alias of
15480         __pthread_barrier_wait.
15481         * sysdeps/sparc/nptl/pthread_barrier_wait.c
15482         (pthread_barrier_wait): Likewise.
15483         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
15484         (pthread_barrier_wait): Likewise.
15485         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
15486         (pthread_barrier_wait): Likewise.
15487         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
15488         (pthread_barrier_wait): Likewise.
15489         * nptl/Versions (libpthread): Export __pthread_barrier_init and
15490         __pthread_barrier_wait at version GLIBC_PRIVATE.
15491         * include/pthread.h (__pthread_barrier_init): Declare.
15492         (__pthread_barrier_wait): Likewise.
15493         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
15494         Call __pthread_barrier_wait instead of pthread_barrier_wait.
15495         (helper_thread): Likewise.
15496         (init_mq_netlink): Call __pthread_barrier_init instead of
15497         pthread_barrier_init.
15499         [BZ #18542]
15500         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
15501         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
15502         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
15503         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
15504         vswscanf.
15505         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
15506         Remove variable.
15508         [BZ #18540]
15509         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
15510         strong alias of _IO_fflush.  Use libc_hidden_def.
15511         * libio/iofflush_u.c (fflush_unlocked): Rename to
15512         __fflush_unlocked and define as weak alias of __fflush_unlocked.
15513         Use libc_hidden_weak.
15514         * include/stdio.h (__fflush_unlocked): Declare.  Use
15515         libc_hidden_proto.
15516         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
15517         fflush_unlocked.
15518         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
15519         Remove variable.
15521         [BZ #18539]
15522         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
15523         define as weak alias of __addseverity.
15524         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
15525         Remove variable.
15526         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
15527         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
15528         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
15530         [BZ #18536]
15531         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
15532         (__tfind): Likewise.
15533         (__tdelete): Likewise.
15534         (__twalk): Likewise.
15535         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
15536         __twalk to GLIBC_PRIVATE.
15537         * include/search.h (__tsearch): Use libc_hidden_proto.
15538         (__tfind): Likewise.
15539         (__tdelete): Likewise.
15540         (__twalk): Likewise.
15541         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
15542         Call __tdelete instead of tdelete.
15543         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
15544         tfind.  Call __tsearch instead of tsearch.
15545         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
15546         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
15547         Remove variable.
15548         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
15550         [BZ #18534]
15551         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
15552         (dprintf): Define as a weak alias of __dprintf, not a strong
15553         alias.
15554         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
15555         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
15556         dprintf.
15557         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
15558         Remove variable.
15559         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
15560         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
15562         [BZ #18533]
15563         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
15564         not a strong alias.
15565         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
15566         Remove variable.
15568         [BZ #18532]
15569         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
15570         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
15571         (in6addr_loopback): Rename to __in6addr_loopback and define as
15572         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
15573         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
15574         libc_hidden_proto.
15575         (__in6addr_any): Likewise.
15576         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
15577         in6addr_any.
15578         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
15579         variable.
15580         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
15582 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
15584         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
15585         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
15586         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
15587         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
15588         redirections for pow.
15589         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15590         * sysdeps/x86_64/fpu/Versions: New versions added.
15591         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15592         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
15593         build of SSE, AVX2 and AVX512 IFUNC versions.
15594         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
15595         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
15596         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
15597         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
15598         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
15599         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
15600         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
15601         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
15602         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
15603         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
15604         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
15605         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
15606         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
15607         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
15608         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
15609         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
15610         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
15611         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
15612         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
15613         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
15614         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
15615         * NEWS: Mention addition of x86_64 vector pow.
15617         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
15618         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
15619         redirections for expf.
15620         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15621         * sysdeps/x86_64/fpu/Versions: New versions added.
15622         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15623         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
15624         build of SSE, AVX2 and AVX512 IFUNC versions.
15625         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
15626         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
15627         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
15628         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
15629         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
15630         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
15631         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
15632         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
15633         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
15634         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
15635         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
15636         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
15637         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
15638         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
15639         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
15640         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
15641         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
15642         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
15643         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
15644         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
15645         * NEWS: Mention addition of x86_64 vector expf.
15647         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
15648         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
15649         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
15650         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
15651         redirections for exp.
15652         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15653         * sysdeps/x86_64/fpu/Versions: New versions added.
15654         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15655         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
15656         build of SSE, AVX2 and AVX512 IFUNC versions.
15657         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
15658         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
15659         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
15660         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
15661         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
15662         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
15663         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
15664         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
15665         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
15666         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
15667         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
15668         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
15669         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
15670         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
15671         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
15672         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
15673         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
15674         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
15675         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
15676         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
15677         * NEWS: Mention addition of x86_64 vector exp.
15679         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
15680         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
15681         redirections for logf.
15682         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15683         * sysdeps/x86_64/fpu/Versions: New versions added.
15684         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15685         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
15686         build of SSE, AVX2 and AVX512 IFUNC versions.
15687         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
15688         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
15689         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
15690         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
15691         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
15692         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
15693         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
15694         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
15695         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
15696         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
15697         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
15698         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
15699         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
15700         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
15701         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
15702         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
15703         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
15704         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
15705         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
15706         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
15707         * NEWS: Mention addition of x86_64 vector logf.
15709         * bits/libm-simd-decl-stubs.h: Added stubs for log.
15710         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
15711         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
15712         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
15713         redirections for log.
15714         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15715         * sysdeps/x86_64/fpu/Versions: New versions added.
15716         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15717         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
15718         build of SSE, AVX2 and AVX512 IFUNC versions.
15719         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
15720         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
15721         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
15722         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
15723         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
15724         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
15725         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
15726         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
15727         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
15728         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
15729         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
15730         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
15731         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
15732         test.
15733         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
15734         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
15735         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
15736         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
15737         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
15738         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
15739         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
15740         * NEWS: Mention addition of x86_64 vector log.
15742 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15744         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
15745         cfi_adjust_cfa_offset argument.
15746         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
15747         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
15749         [BZ #18034]
15750         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
15751         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
15752         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
15753         ordering using ldar.
15754         (_dl_tlsdesc_dynamic): Likewise.
15755         (_dl_tlsdesc_return_lazy): Likewise.
15756         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
15757         relaxed atomics instead of volatile and synchronize with release store.
15758         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
15759         volatile.
15760         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
15762 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
15764         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
15765         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
15766         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15767         * sysdeps/x86_64/fpu/Versions: New versions added.
15768         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15769         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
15770         build of SSE, AVX2 and AVX512 IFUNC versions.
15771         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
15772         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
15773         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
15774         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
15775         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
15776         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
15777         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
15778         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
15779         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
15780         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
15781         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
15782         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
15783         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
15784         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
15785         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
15786         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
15787         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
15788         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
15789         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
15790         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
15791         * NEWS: Mention addition of x86_64 vector sinf.
15793 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
15795         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
15796         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
15797         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
15798         Remove variable.
15799         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
15800         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
15802 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
15804         [BZ #18530]
15805         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
15806         strong alias of _IO_fputs.  Use libc_hidden_def.
15807         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
15808         and define as weak alias of __fputs_unlocked.  Use
15809         libc_hidden_weak.
15810         * include/stdio.h (__fputs_unlocked): Declare.  Use
15811         libc_hidden_proto.
15812         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
15813         fputs_unlocked.
15815         [BZ #18529]
15816         * resolv/netdb.h [__USE_POSIX]: Change condition to
15817         [__USE_XOPEN2K].
15818         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
15819         not expect.
15820         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
15821         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
15822         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
15823         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
15824         [XPG4 || UNIX98] (AI_ALL): Likewise.
15825         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
15826         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
15827         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
15828         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
15829         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
15830         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
15831         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
15832         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
15833         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
15834         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
15835         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
15836         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
15837         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
15838         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
15839         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
15840         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
15841         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
15842         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
15843         [XPG4 || UNIX98] (gai_strerror): Likewise.
15844         [XPG4 || UNIX98] (getaddrinfo): Likewise.
15845         [XPG4 || UNIX98] (getnameinfo): Likewise.
15847         [BZ #18528]
15848         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
15849         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
15850         __USE_XOPEN2K8].
15851         (getgrent): Likewise.
15852         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
15853         expect.
15854         [XPG3 || POSIX2008] (endgrent): Likewise.
15855         [XPG3] (setgrent): Likewise.
15856         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
15857         variable.
15858         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
15860         [BZ #18527]
15861         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
15862         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
15863         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
15864         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
15865         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
15866         * include/unistd.h (__getlogin_r): Declare.  Use
15867         libc_hidden_proto.
15868         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
15869         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
15870         variable.
15871         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
15872         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
15873         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
15875 2015-06-12  Martin Sebor  <msebor@redhat.com>
15877         [BZ #18512]
15878         * Makerules (check-install-supported): New target.
15879         (install): Add check-install-supported as a dependency.
15880         * manual/install.texi (Installing the C Library): Document
15881         that overriding prefix and exec_prefix is not supported.
15882         Mention DESTDIR.
15883         * INSTALL: Regenerate from the above.
15885 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
15887         [BZ #18519]
15888         * posix/Versions (libc): Export __libc_pread at version
15889         GLIBC_PRIVATE.
15890         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
15891         instead of pread.
15892         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
15893         variable.
15895         [BZ #18522]
15896         * misc/efgcvt_r.c
15897         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
15898         (cvt_symbol): Use weak_alias instead of strong_alias.
15899         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
15900         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
15901         Remove variable.
15902         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
15903         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
15905         [BZ #18520]
15906         * inet/herrno.c (h_errno): Rename to __h_errno.
15907         (__libc_h_errno): Define as alias of __h_errno not h_errno.
15908         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
15909         to __h_errno instead of h_errno.
15910         * nptl/herrno.c (h_errno): Rename to __h_errno.
15911         (__h_errno_location): Refer to __h_errno not h_errno.
15912         * resolv/Versions (h_errno): Rename to __h_errno.
15913         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
15914         Remove variable.
15915         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
15917 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
15919         * configure.ac: More strict check for AVX512 assembler support.
15920         * configure: Regenerated.
15922         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
15923         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
15924         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
15925         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
15926         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15927         * sysdeps/x86_64/fpu/Versions: New versions added.
15928         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15929         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
15930         Added build of SSE, AVX2 and AVX512 IFUNC versions.
15931         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
15932         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
15933         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
15934         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
15935         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
15936         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
15937         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
15938         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
15939         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
15940         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
15941         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
15942         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
15943         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
15944         test.
15945         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
15946         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
15947         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
15948         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
15949         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
15950         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
15951         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
15952         * NEWS: Mention addition of x86_64 vector sin.
15954 2015-06-11  Florian Weimer  <fweimer@redhat.com>
15956         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
15957         comment.
15959 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
15961         [BZ #18479]
15962         * nptl/pt-interp.c: New file.
15963         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
15964         Add pt-interp.
15965         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
15966         $(common-objpfx)runtime-linker.h.
15968 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
15970         * Makeconfig (+interp): Remove unused variable.
15971         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
15972         only.  Depend on $(common-objpfx)runtime-linker.h instead of
15973         $(elf-objpfx)runtime-linker.h.
15974         ($(elf-objpfx)runtime-linker.h): Rename to
15975         $(common-objpfx)runtime-linker.h and move ...
15976         * Makerules [$(build-shared) = yes]: ... here.
15977         * elf/interp.c: Include <runtime-linker.h> instead of
15978         <elf/runtime-linker.h>.
15980 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15982         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
15983         (__gettimeofday_syscall): Remove vsyscall fallback.
15984         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
15985         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
15986         Add syscall fallback function.
15987         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
15988         if vDSO is not present.
15989         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
15990         fallback function.
15991         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
15992         present.
15993         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
15994         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
15996 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
15998         [BZ #18497]
15999         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
16000         of wcscmp.
16001         (wcscmp): Define as weak alias of WCSCMP.
16002         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
16003         wcscoll.
16004         (USE_HIDDEN_DEF): Define.
16005         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
16006         __wcscoll.  Don't use libc_hidden_weak.
16007         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
16008         wcscmp.
16009         * sysdeps/i386/i686/multiarch/wcscmp-c.c
16010         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
16011         __GI_wcscmp.
16012         (weak_alias): Undefine and redefine.
16013         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
16014         __wcscmp and define as weak alias of __wcscmp.
16015         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
16016         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
16017         (__wcscoll): Likewise.
16018         (wcscmp): Don't use libc_hidden_proto.
16019         (wcscoll): Likewise.
16020         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
16021         wcscoll.
16022         * posix/regexec.c (check_node_accept_bytes): Likewise.
16023         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
16024         variable.
16025         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
16026         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
16028         [BZ #18507]
16029         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
16030         __fstatvfs and define as weak alias of __fstatvfs.  Use
16031         libc_hidden_weak.
16032         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
16033         and define as weak alias of __statvfs.  Use libc_hidden_weak.
16034         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
16035         Define as alias of __fstatvfs, not fstatvfs.
16036         (fstatvfs64): Likewise.
16037         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
16038         Define as alias of __statvfs, not statvfs.
16039         (statvfs64): Likewise.
16040         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
16041         Remove variable.
16043 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
16046         (HAVE_GETCPU_VSYSCALL): Define.
16047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
16048         (HAVE_GETCPU_VSYSCALL): Likewise.
16049         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
16050         * sysdeps/unix/sysv/linux/sched_getcpu.c
16051         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
16052         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
16053         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
16054         prototype.
16055         * sysdeps/unix/sysv/linux/x86_64/init-first.c
16056         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
16057         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
16058         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
16059         Define.
16060         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
16061         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
16062         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
16063         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
16065 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
16067         * sysdeps/x86_64/fpu/Makefile: New file.
16068         * sysdeps/x86_64/fpu/Versions: New file.
16069         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
16070         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
16071         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
16072         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
16073         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
16074         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
16075         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
16076         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
16077         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
16078         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
16079         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
16080         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
16081         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
16082         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
16083         Added build of SSE, AVX2 and AVX512 IFUNC versions.
16084         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
16085         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
16086         * sysdeps/x86_64/configure.ac: Options for libmvec build.
16087         * sysdeps/x86_64/configure: Regenerated.
16088         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
16089         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
16090         * manual/install.texi (Configuring and compiling): Document
16091         --disable-mathvec.
16092         * INSTALL: Regenerated.
16093         * NEWS: Mention addition of libmvec and x86_64 vector cos.
16095         * math/Makefile: Added rules for vector tests.
16096         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
16097         declaration under condition.
16098         * math/test-double-vlen2.h: New file.
16099         * math/test-double-vlen4.h: New file.
16100         * math/test-double-vlen8.h: New file.
16101         * math/test-vec-loop.h: Added initialization macro.
16102         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
16103         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
16104         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
16105         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
16106         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
16107         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
16108         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
16109         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
16110         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
16111         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
16112         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
16114         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16115         * sysdeps/x86_64/fpu/Versions: New versions added.
16116         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
16117         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
16118         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
16119         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
16120         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
16121         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
16122         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
16123         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
16124         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
16125         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
16126         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
16127         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
16128         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
16129         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
16130         Added build of SSE, AVX2 and AVX512 IFUNC versions.
16131         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
16132         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
16133         * NEWS: Mention addition of x86_64 vector cosf.
16135         * math/Makefile: Added CFLAGS for new tests.
16136         * math/test-float-vlen16.h: New file.
16137         * math/test-float-vlen4.h: New file.
16138         * math/test-float-vlen8.h: New file.
16139         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
16140         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
16141         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16142         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
16143         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
16144         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
16145         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
16146         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
16147         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
16148         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
16149         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
16151 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
16153         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
16154         * locale/programs/ld-ctype.c: Likewise.
16156 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
16158         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
16159         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
16160         bit_ZMM16_31_state): New macro.
16161         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16162         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
16164 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
16166         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
16168 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
16170         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
16172 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
16174         [BZ #18498]
16175         * libio/memstream.c (open_memstream): Rename to __open_memstream
16176         and define as weak alias of __open_memstream.
16177         * include/stdio.h (__open_memstream): Declare.  Use
16178         libc_hidden_proto.
16179         (open_memstream): Don't use libc_hidden_proto.
16180         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
16181         open_memstream.
16182         * posix/getopt.c (_getopt_internal_r): Likewise.
16183         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
16184         variable.
16185         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
16186         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
16187         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
16189         [BZ #18496]
16190         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
16191         instead of wcrtomb.
16193         [BZ #18483]
16194         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
16195         [__USE_XOPEN2K8].  Remove redundant #endif.
16196         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
16197         Remove redundant #if.
16198         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
16199         Remove variable.
16200         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
16201         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
16203         [BZ #18495]
16204         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
16205         (__iswlower): Likewise.
16206         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
16207         (__iswlower): Likewise.
16208         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
16209         instead of towlower.
16210         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
16211         instead of iswlower.  Call __towupper instead of towupper.
16212         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
16213         instead of iswalnum.
16215 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16217         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
16218         errors to stderr.
16220 2015-06-05  Florian Weimer  <fweimer@redhat.com>
16222         [BZ #15661]
16223         [BZ #17322]
16224         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
16225         Check for overflow properly.  Check for O_APPEND.  Ignore large
16226         file system block sizes.  Add comments about problems.
16227         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
16228         * manual/filesys.texi (Storage Allocation): New node.
16230 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16232         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
16233         cancellable syscalls.
16234         (SYS_ify): Add guard to no redefine it.
16235         (INLINE_SYSCALL): Likewise.
16236         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
16237         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
16238         SYSCALL_CANCEL instead.
16239         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
16240         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
16241         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
16242         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
16243         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
16244         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
16245         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
16246         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
16247         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
16248         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
16249         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
16250         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
16251         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
16252         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
16253         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
16254         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
16255         Likewise.
16256         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
16257         (__libc_pread64): Likewise.
16258         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
16259         (__libc_preadv): Likewise.
16260         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
16261         (__libc_readv64): Likewise.
16262         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
16263         (__libc_pwrite): Likewise.
16264         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
16265         (__libc_pwrite64): Likewise.
16266         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
16267         (__libc_pwritev): Likewise.
16268         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
16269         (__libc_pwritev64): Likewise.
16270         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
16271         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
16272         (sync_file_range): Likewise.
16273         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
16274         Likewise.
16275         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
16276         Likewise.
16277         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
16278         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
16279         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
16280         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
16281         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
16282         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
16283         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
16284         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
16285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
16286         Likewise.
16287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
16288         (__libc_read64): Likewise.
16289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
16290         Likewise.
16291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
16292         Likewise.
16293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
16294         Likewise.
16295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
16296         Likewise.
16297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
16298         (__libc_pread64): Likewise.
16299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
16300         Likewise.
16301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
16302         (__libc_pwrite64): Likewise.
16303         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
16304         (sync_file_range): Likewise.
16305         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
16306         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
16307         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
16308         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
16309         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
16310         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
16311         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
16312         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
16313         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
16314         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
16315         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
16316         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
16317         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
16318         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
16319         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
16320         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
16321         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
16322         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
16323         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
16324         Likewise.
16325         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
16326         Likewise.
16327         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
16328         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
16329         Likewise.
16330         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
16331         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
16332         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
16333         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
16334         Likewise.
16335         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
16336         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
16337         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
16338         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
16339         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
16341 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
16343         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
16344         Include dl-vdso.
16345         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
16346         Use VDSO routines for gettimeofday, clock_gettime if
16347         available.
16348         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
16349         Declare VDSO symbols.
16350         * sysdeps/unix/sysv/linux/arm/sysdep.h:
16351         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
16352         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
16353         * sysdeps/unix/sysv/linux/arm/Versions: Add
16354         __vdso_clock_gettime.
16356 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16358         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
16359         be an inline implementation regardless of library is built within.
16360         (open_not_cancel_2): Likewise.
16361         (__read_nocancel): Likewise.
16362         (__write_nocancel): Likewise.
16363         (openat_not_cancel): Likewise.
16364         (openat_not_cancel_3): Likewise.
16365         (openat64_not_cancel): Likewise.
16366         (openat64_not_cancel_3): Likewise.
16367         (__close_nocancel): Likewise.
16368         (pause_not_cancel): Likewise.
16369         (nanosleep_not_cancel): Likewise.
16370         (sigsuspend_not_cancel): Likewise.
16372 2015-06-04  Torvald Riegel  <triegel@redhat.com>
16374         [BZ #14958]
16375         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
16376         wake-up.
16377         (__pthread_rwlock_rdlock_slow): Likewise.
16378         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
16379         Likewise.
16380         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
16381         Likewise.
16382         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
16383         * nptl/tst-rwlock16.c: New file.
16384         * nptl/Makefile (tests): Add new test.
16386 2015-06-04  Torvald Riegel  <triegel@redhat.com>
16388         [BZ #18324]
16389         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
16390         missing wake-up of readers.
16391         * nptl/tst-rwlock15.c: New file.
16392         * nptl/Makefile (tests): Add new test.
16394 2015-06-03  Roland McGrath  <roland@hack.frob.com>
16396         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
16397         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
16398         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
16399         and __nacl_supply_interface_rtld.
16400         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
16401         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
16402         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
16403         Add __nacl_supply_interface_rtld.
16404         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
16406 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
16408         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
16409         isfinite.
16410         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16411         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
16413 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
16415         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
16416         __signbit* with standard C99 macros.
16417         * math/e_exp10l.c: Likewise.
16418         * math/e_exp2l.c: Likewise.
16419         * math/e_scalb.c: Likewise.
16420         * math/e_scalbf.c: Likewise.
16421         * math/e_scalbl.c: Likewise.
16422         * math/s_ldexp.c: Likewise.
16423         * math/s_ldexpf.c: Likewise.
16424         * math/s_ldexpl.c: Likewise.
16425         * math/w_atan2.c: Likewise.
16426         * math/w_atan2f.c: Likewise.
16427         * math/w_atan2l.c: Likewise.
16428         * math/w_cosh.c: Likewise.
16429         * math/w_coshf.c: Likewise.
16430         * math/w_coshl.c: Likewise.
16431         * math/w_exp10.c: Likewise.
16432         * math/w_exp10f.c: Likewise.
16433         * math/w_exp10l.c: Likewise.
16434         * math/w_exp2.c: Likewise.
16435         * math/w_exp2f.c: Likewise.
16436         * math/w_exp2l.c: Likewise.
16437         * math/w_fmod.c: Likewise.
16438         * math/w_fmodf.c: Likewise.
16439         * math/w_fmodl.c: Likewise.
16440         * math/w_hypot.c: Likewise.
16441         * math/w_hypotf.c: Likewise.
16442         * math/w_hypotl.c: Likewise.
16443         * math/w_jnl.c: Likewise.
16444         * math/w_lgamma.c: Likewise.
16445         * math/w_lgamma_r.c: Likewise.
16446         * math/w_lgammaf.c: Likewise.
16447         * math/w_lgammaf_r.c: Likewise.
16448         * math/w_lgammal.c: Likewise.
16449         * math/w_lgammal_r.c: Likewise.
16450         * math/w_pow.c: Likewise.
16451         * math/w_powf.c: Likewise.
16452         * math/w_powl.c: Likewise.
16453         * math/w_remainder.c: Likewise.
16454         * math/w_remainderf.c: Likewise.
16455         * math/w_remainderl.c: Likewise.
16456         * math/w_scalb.c: Likewise.
16457         * math/w_scalbf.c: Likewise.
16458         * math/w_scalbl.c: Likewise.
16459         * math/w_scalbln.c: Likewise.
16460         * math/w_scalblnf.c: Likewise.
16461         * math/w_scalblnl.c: Likewise.
16462         * math/w_sinh.c: Likewise.
16463         * math/w_sinhf.c: Likewise.
16464         * math/w_sinhl.c: Likewise.
16465         * math/w_tgamma.c: Likewise.
16466         * math/w_tgammaf.c: Likewise.
16467         * math/w_tgammal.c: Likewise.
16468         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16469         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
16470         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
16471         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16472         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
16473         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16474         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
16475         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
16476         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
16477         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16478         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
16479         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
16480         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16481         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
16482         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
16483         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16484         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
16485         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
16486         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
16487         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
16488         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16489         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
16490         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16491         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16492         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
16493         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16494         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
16495         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
16496         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16497         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
16498         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
16499         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
16500         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
16501         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
16502         * stdio-common/printf_fp.c: Likewise.
16503         * stdio-common/printf_fphex.c: Likewise.
16504         * stdio-common/printf_size.c: Likewise.
16506 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
16508         [BZ #18470]
16509         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
16510         strnlen.
16511         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
16512         Remove variable.
16513         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
16514         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
16515         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
16516         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
16517         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
16518         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
16519         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
16520         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
16521         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
16522         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
16524         [BZ #18468]
16525         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
16526         weak alias of __wmemchr.  Use libc_hidden_weak.
16527         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
16528         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
16529         instead of wmemchr.
16531 2015-06-02  Roland McGrath  <roland@hack.frob.com>
16533         [BZ #18383]
16534         * elf/tst-tlsalign-extern.c: New file.
16535         * elf/tst-tlsalign-extern-static.c: New file.
16536         * elf/tst-tlsalign-vars.c: New file.
16537         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
16538         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
16539         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
16540         ($(objpfx)tst-tlsalign-extern-static): Likewise.
16541         (test-xfail-tst-tlsalign-extern-static): New variable.
16543 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
16545         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
16546         Use variable name _sc_err instead of err.
16547         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
16548         instead of ret.
16549         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
16550         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
16551         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
16552         (INLINE_SYSCALL): Likewise.
16554         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
16555         * include/string.h (__strnlen): Use libc_hidden_proto.
16556         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
16557         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
16558         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
16559         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
16560         (libc_hidden_def): Undefine and redefine.
16561         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
16562         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
16563         __GI_strnlen.
16564         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
16565         libc_hidden_def.
16566         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
16568         [BZ #18469]
16569         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
16570         weak alias of __towlower.  Use libc_hidden_weak.
16571         (towupper): Rename to __towupper and define as weak alias of
16572         __towupper.  Use libc_hidden_weak.
16573         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
16574         (__towupper): Likewise.
16575         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
16576         __towlower instead of towlower.
16578 2015-06-02  Roland McGrath  <roland@hack.frob.com>
16580         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
16581         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
16583 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16585         * sysdeps/aarch64/libm-test-ulps: Update.
16587 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16589         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
16590         Define.
16591         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
16592         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
16593         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
16594         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
16595         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
16596         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
16597         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
16599 2015-06-01  Martin Sebor  <msebor@redhat.com>
16601         [BZ #18116]
16602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
16603         (__setcontext): Use extended four-operand version of mtsf whenever
16604         possible.
16605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
16606         (__novec_swapcontext): Likewise.
16608 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
16610         * benchtests/scripts/compare_bench.py: New file.
16611         * benchtests/scripts/import_bench.py (mean): New function.
16612         (split_list): Likewise.
16613         (do_for_all_timings): Likewise.
16614         (compress_timings): Likewise.
16616         * benchtests/scripts/import_bench.py: New file.
16617         * benchtests/scripts/validate_benchout.py: Import import_bench
16618         instead of jsonschema.
16619         (validate_bench): Remove function.
16620         (main): Use import_bench.
16622 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
16624         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
16625         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
16627 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16629         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16631 2015-05-28  Roland McGrath  <roland@hack.frob.com>
16633         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
16634         set THREAD_SELF->tid to a magic value and futex-wake it.
16635         Pass its address to the thread_exit system call.
16636         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
16637         bit is clear.
16638         * sysdeps/nacl/lowlevellock.h: New file.
16639         * sysdeps/nacl/lll_timedwait_tid.c: New file.
16641         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
16642         Add TIMEOUT to current time, don't subtract it.
16644 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
16646         [BZ #2981]
16647         [BZ #18422]
16648         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
16649         ($(objpfx)tst-audit2.out): Also depend on
16650         $(objpfx)tst-auditmod9b.so.
16651         * elf/tst-audit2.c: Include <dlfcn.h>.
16652         (calloc_called): New.
16653         (calloc): Allow to be called more than once.
16654         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
16656 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
16658         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
16659         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
16661 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
16663         * stdlib/monetary.h: Fix comment.
16665 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
16667         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
16668         Avoid using variables in #defines that might cause shadowing.
16669         (INTERNAL_VSYSCALL_CALL): Likewise.
16671 2015-05-26  Roland McGrath  <roland@hack.frob.com>
16673         * sysdeps/nacl/lll_timedlock_wait.c: New file.
16675         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
16676         * nptl/lll_timedlock_wait.c: ... to this new file.
16677         * nptl/Makefile (libpthread-routines): Add it.
16678         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
16679         * nptl/lll_timedwait_tid.c: ... to this new file.
16680         * nptl/Makefile (libpthread-routines): Add it.
16681         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
16682         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
16683         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
16684         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
16685         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
16686         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
16687         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
16688         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
16689         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
16690         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
16692 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16694         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
16695         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
16696         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
16697         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
16698         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
16699         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
16700         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
16701         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
16702         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
16703         * sysdeps/unix/sysv/linux/tile/sysdep.h
16704         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
16705         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
16706         using vDSO syscall macro.
16708 2015-05-26  Andriy Rysin  <arysin@gmail.com>
16710         [BZ #17293]
16711         * uk_UA: Fix sorting order for Ukrainian locale
16713 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
16715         * stdlib/monetary.h: Fix comment.
16717 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16719         [BZ #18234]
16720         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
16721         st_mtim and st_ctim members.
16722         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
16723         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
16724         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
16725         (struct stat64): Likewise.
16726         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
16727         (struct stat64): Likewise.
16728         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
16729         (struct stat64): Likewise.
16731 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16733         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
16734         Define and include sysdep-vdso.h.
16735         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
16736         Likewise.
16737         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
16738         Likewise.
16739         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
16740         Define with VDSO_SYMBOL and use PTR_MANGLE.
16741         (__vdso_clock_gettime): Likewise.
16742         (__vdso_clock_getres): Likewise.
16743         (_libc_vdso_platform_setup): Likewise.
16744         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
16745         Likewise.
16746         (_libc_vdso_platform_setup): Likewise.
16747         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
16748         Likewise.
16749         (__vdso_clock_gettime): Likewise.
16750         (__vdso_clock_getres): Likewise.
16751         (__vdso_get_tbfreq): Likewise.
16752         (__vdso_getcpu): Likewise.
16753         (__vdso_time): Likewise.
16754         (__vdso_sigtramp_rt64): Likewise.
16755         (__vdso_signtramp32): Likewise.
16756         (__vdso_sigtramp_rt32): Likewise.
16757         (_libc_vdso_platform_setup): Likewise.
16758         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
16759         Likewise.
16760         (__vdso_clock_gettime): Likewise.
16761         (__vdso_clock_getres): Likewise.
16762         (_libc_vdso_platform_setup): Likewise.
16763         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
16764         Likewise.
16765         (__vdso_clock_gettime): Likewise.
16766         (_libc_vdso_platform_setup): Likewise.
16767         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
16768         Likewise.
16769         (__vdso_getcpu): Likewise.
16770         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
16771         Use VDSO_SYMBOL macro to define.
16772         (__vdso_clock_gettime): Likewise.
16773         (__vdso_clock_getres): Likewise.
16774         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
16775         Likewise.
16776         (__vdso_clock_gettime): Likewise.
16777         (__vdso_clock_getres): Likewise.
16778         (__vdso_get_tbfreq): Likewise.
16779         (__vdso_getcpu): Likewise.
16780         (__vdso_time): Likewise.
16781         (__vdso_sigtramp_rt64): Likewise.
16782         (__vdso_signtramp32): Likewise.
16783         (__vdso_sigtramp_rt32): Likewise.
16784         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
16785         Likewise.
16786         (__vdso_clock_gettime): Likewise.
16787         (__vdso_clock_getres): Likewise.
16788         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
16789         Likewise.
16790         (__vdso_clock_gettime): Likewise.
16791         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
16792         Likewise.
16793         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
16794         macro.
16795         (INTERNAL_VSYSCALL): Likewise.
16796         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
16797         Remove macro.
16798         (INTERNAL_VSYSCALL): Likewise.
16799         (INTERNAL_VSYSCALL_NCS): Likewise.
16800         (INTERNAL_VSYSCALL_CALL): New macro.
16801         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
16802         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
16803         Likewise.
16804         (INTERNAL_VSYSCALL): Likewise.
16805         (INTERNAL_VSYSCALL_NCS): Likewise.
16806         (INTERNAL_VSYSCALL_CALL): New macro.
16807         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
16808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
16809         (INLINE_VSYSCALL): Remove macro.
16810         (INTERNAL_VSYSCALL): Remove macro.
16811         (INTERNAL_VSYSCALL_NCS): Remove macro.
16812         (INTERNAL_VSYSCALL_CALL): New macro.
16813         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
16814         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
16815         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
16816         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
16817         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
16818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
16819         (INLINE_VSYSCALL): Remove macro.
16820         (INTERNAL_VSYSCALL): Likewise.
16821         (INTERNAL_VSYSCALL_NCS): Likewise.
16822         (INTERNAL_VSYSCALL_CALL): New macro.
16823         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
16824         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
16825         PTR_DEMANGLE on vDSO pointer.
16826         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
16827         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
16828         macro.
16829         (INTERNAL_SYSCALL): Likewise.
16830         (INTERNAL_VSYSCALL_NCS): Remove macro.
16831         (INTERNAL_VSYSCALL_CALL): New macro.
16832         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
16833         Remove macro.
16834         (INTERNAL_VSYSCALL): Likewise.
16835         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
16836         sysdep-vdso.h instead of libc-vdso.h.
16837         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
16838         definition.
16839         (INLINE_VSYSCALL): Likewise.
16840         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
16841         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
16842         definition.
16843         (INLINE_VSYSCALL): Likewise.
16844         (INTERNAL_VSYSCALL): Likewise.
16845         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
16846         * sysdeps/unix/sysv/linux/timespec_get.c
16847         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
16848         (timespec_get): Use ANSI prototype.
16849         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
16850         and definition for Linux.
16852 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
16854         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
16855         * include/libc-symbols.h: libmvec_hidden_* macro series added.
16857 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
16859         [BZ #2981]
16860         [BZ #18410]
16861         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
16862         for missing DT_PLTRELSZ.
16864 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
16866         Remove obsolete aliases that broke 'locale -a'
16867         [BZ #18412]
16868         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
16869         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
16870         breaking some applications that use 'locale -a' output.
16871         Change the encoding of this file from Latin-1 to ASCII to avoid
16872         other potential problems with people grepping this file.
16874 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16876         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
16877         -fasynchronous-unwind-tables.
16878         (CFLAGS-sendto.c): Likewise.
16879         (CFLAGS-sendmsg.c): Likewise.
16880         (CFLAGS-connect.c): Likewise.
16881         (CFLAGS-recvmsg.c): Likewise.
16882         (CFLAGS-recvfrom.c): Likewise.
16883         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
16884         (SOCKETCALL): New macro: non-cancellable socketcall.
16885         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
16886         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
16887         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
16888         * sysdeps/unix/sysv/linux/accept.c: New file.
16889         * sysdeps/unix/sysv/linux/bind.c: Likewise.
16890         * sysdeps/unix/sysv/linux/connect.c: Likewise.
16891         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
16892         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
16893         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
16894         * sysdeps/unix/sysv/linux/listen.c: Likewise.
16895         * sysdeps/unix/sysv/linux/recv.c: Likewise.
16896         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
16897         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
16898         * sysdeps/unix/sysv/linux/send.c: Likewise.
16899         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
16900         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
16901         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
16902         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
16903         * sysdeps/unix/sysv/linux/socket.c: Likewise.
16904         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
16905         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
16906         prototype.
16907         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
16908         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
16909         instead of __internal_xxx function.
16910         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
16911         prototype.
16912         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
16913         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
16914         instead of __internal_xxx function.
16915         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
16916         prototype.
16917         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
16918         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
16919         instead of __internal_xxx function.
16920         * sysdeps/unix/sysv/linux/accept.S: Remove file.
16921         * sysdeps/unix/sysv/linux/bind.S: Likewise.
16922         * sysdeps/unix/sysv/linux/connect.S: Likewise.
16923         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
16924         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
16925         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
16926         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
16927         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
16928         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
16929         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
16930         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
16931         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
16932         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
16933         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
16934         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
16935         * sysdeps/unix/sysv/linux/listen.S: Likewise.
16936         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
16937         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
16938         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
16939         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
16940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
16941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
16942         * sysdeps/unix/sysv/linux/recv.S: Likewise.
16943         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
16944         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
16945         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
16946         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
16947         * sysdeps/unix/sysv/linux/send.S: Likewise.
16948         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
16949         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
16950         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
16951         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
16952         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
16953         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
16954         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
16955         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
16956         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
16957         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
16958         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
16959         socketcall is implemented in GLIBC.
16961 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
16963         * soft-fp/fmadf4.c: Include <libc-internal.h>.
16964         (__fma): Ignore uninitialized warnings around packing.
16965         * soft-fp/fmasf4.c: Include <libc-internal.h>.
16966         (__fmaf): Ignore uninitialized warnings around packing.
16967         * soft-fp/fmatf4.c: Include <libc-internal.h>.
16968         (__fmal): Ignore uninitialized warnings around packing.
16970         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
16971         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
16972         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
16973         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
16975         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
16976         switch statement into default case.
16977         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
16979         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
16980         a conditional in forcing "inexact".
16981         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
16982         Likewise.
16984 2015-05-22  Roland McGrath  <roland@hack.frob.com>
16986         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
16987         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
16988         for each INTERNAL_SYSCALL use.
16990 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
16992         [BZ #438]
16993         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
16994         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
16995         variable.
16997         [BZ #18444]
16998         * string/basename.c (basename): Rename to __basename and define as
16999         weak alias of __basename.  Use libc_hidden_weak.
17000         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
17001         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
17002         __basename instead of basename.
17003         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
17004         Remove variable.
17005         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
17007 2015-05-18  Florian Weimer  <fweimer@redhat.com>
17009         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
17010         (_IO_JUMPS_FILE_plus): New.
17011         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
17012         _IO_CAST_FIELD_ACCESS.
17013         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
17014         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
17015         * libio/freopen.c (freopen): Likewise.
17016         * libio/freopen64.c (freopen64): Likewise.
17017         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
17018         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
17019         * libio/iofwide.c (_IO_fwide): Likewise.
17020         * libio/memstream.c (open_memstream): Likewise.
17021         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
17022         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
17023         * libio/oldiopopen.c (_IO_old_popen): Likewise.
17025 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
17027         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
17028         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
17029         NADJ.
17030         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
17031         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
17032         NADJ.
17033         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
17034         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
17035         NADJ.
17037         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
17038         (p == 4) case.
17040         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
17041         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
17042         Remove variable.
17043         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
17044         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
17045         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
17047 2015-05-21  Florian Weimer  <fweimer@redhat.com>
17049         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
17050         Adjust jump table label generation macros.
17052 2015-05-21  Florian Weimer  <fweimer@redhat.com>
17054         * stdio-common/vfprintf.c (vfprintf): Move local variables
17055         args_malloced, specs, specs_malloced, and the code after
17056         do_positional to the printf_positional function.
17057         (printf_positional): New function.
17059 2015-05-21  Florian Weimer  <fweimer@redhat.com>
17061         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
17062         function.
17063         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
17064         STEP4_TABLE, process_arg): Move macro definitions
17065         out of the vfprintf function.  (Cosmetic change only.)
17067 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
17069         * benchtests/Makefile (stdio-common-bench): Define.
17070         (benchset): Add stdio-common-bench.
17071         * sprintf-inputs: New file.
17072         * sprintf-source.c: New file.
17074 2015-05-21  Andreas Schwab  <schwab@suse.de>
17076         [BZ #13028]
17077         [BZ #17053]
17078         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
17079         of struct __res_state.
17080         * resolv/res_send.c (__libc_res_nsend): Likewise.
17081         (get_nsaddr): New function.
17082         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
17083         statp directly.
17085 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
17087         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
17088         -D_POSIX_C_SOURCE=199506L.
17090         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
17092         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
17093         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
17094         Do not mention otherwise.
17095         [POSIX] (_XOPEN_VERSION): Do not expect.
17096         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
17097         [POSIX] (_POSIX2_C_BIND): Likewise.
17098         [POSIX] (_POSIX2_VERSION): Likewise.
17099         [POSIX] (_XOPEN_XPG2): Likewise.
17100         [POSIX] (_XOPEN_XPG3): Likewise.
17101         [POSIX] (_XOPEN_XPG4): Likewise.
17102         [POSIX] (_XOPEN_UNIX): Likewise.
17103         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
17104         [POSIX] (_POSIX_BARRIERS): Likewise.
17105         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
17106         [POSIX] (_POSIX_CPUTIME): Likewise.
17107         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
17108         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
17109         [POSIX] (_POSIX_SHELL): Likewise.
17110         [POSIX] (_POSIX_SPAWN): Likewise.
17111         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
17112         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
17113         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
17114         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
17115         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
17116         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
17117         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
17118         [POSIX] (_XBS5_LP64_OFF64): Likewise.
17119         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
17120         [POSIX] (_POSIX_TIMEOUTS): Likewise.
17121         [POSIX] (_POSIX2_PBS): Likewise.
17122         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
17123         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
17124         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
17125         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
17126         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
17127         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
17128         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
17129         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
17130         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
17131         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
17132         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
17133         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
17134         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
17135         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
17136         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
17137         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
17138         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
17139         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
17140         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
17141         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
17142         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
17143         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
17144         [POSIX] (_SC_2_C_BIND): Likewise.
17145         [POSIX] (_SC_2_C_VERSION): Likewise.
17146         [POSIX] (_SC_2_PBS): Likewise.
17147         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
17148         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
17149         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
17150         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
17151         [POSIX] (_SC_2_PBS_TRACK): Likewise.
17152         [POSIX] (_SC_ATEXIT_MAX): Likewise.
17153         [POSIX] (_SC_BARRIERS): Likewise.
17154         [POSIX] (_SC_BASE): Likewise.
17155         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
17156         [POSIX] (_SC_DEVICE_IO): Likewise.
17157         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
17158         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
17159         [POSIX] (_SC_FD_MGMT): Likewise.
17160         [POSIX] (_SC_FIFO): Likewise.
17161         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
17162         [POSIX] (_SC_FILE_LOCKING): Likewise.
17163         [POSIX] (_SC_FILE_SYSTEM): Likewise.
17164         [POSIX] (_SC_IOV_MAX): Likewise.
17165         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
17166         [POSIX] (_SC_NETWORKING): Likewise.
17167         [POSIX] (_SC_PAGE_SIZE): Likewise.
17168         [POSIX] (_SC_PASS_MAX): Likewise.
17169         [POSIX] (_SC_PIPE): Likewise.
17170         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
17171         [POSIX] (_SC_REGEXP): Likewise.
17172         [POSIX] (_SC_SHELL): Likewise.
17173         [POSIX] (_SC_SIGNALS): Likewise.
17174         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
17175         [POSIX] (_SC_SPIN_LOCKS): Likewise.
17176         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
17177         [POSIX] (_SC_USER_GROUPS): Likewise.
17178         [POSIX] (_SC_USER_GROUPS_R): Likewise.
17179         [POSIX] (_SC_STREAMS): Likewise.
17180         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
17181         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
17182         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
17183         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
17184         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
17185         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
17186         [POSIX] (_PC_FILESIZEBITS): Likewise.
17187         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
17188         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
17189         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
17190         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
17191         [POSIX] (uid_t): Likewise.
17192         [POSIX] (gid_t): Likewise.
17193         [POSIX] (off_t): Likewise.
17194         [POSIX] (pid_t): Likewise.
17195         [POSIX] (cuserid): Allow.
17196         (_SC_2_CHAR_TERM): Require constant.
17197         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
17198         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
17199         variable.
17201 2015-05-20  Roland McGrath  <roland@hack.frob.com>
17203         * sysdeps/nacl/pthread-pids.h: New file.
17204         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
17205         (create_thread): Use __nacl_get_tid to initialize PD->tid.
17207         * nptl/pthread-pids.h: New file.
17208         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
17209         * nptl/nptl-init.c: Include <pthread-pids.h>.
17210         (__pthread_initialize_minimal_internal):
17211         Call __pthread_initialize_pids instead of set_tid_address syscall.
17213         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
17214         * sysdeps/posix/usleep.c: ... here.
17216 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17218         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
17219         call_pselect6 object.
17220         [$(subdir) = io]: Remove call_sync_file_range object.
17221         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
17222         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
17223         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
17224         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
17226 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
17228         * math/s_cproj.c: Add include "math_private.h".
17229         * math/s_cprojf.c: Likewise.
17230         * math/s_cprojl.c: Likewise.
17232 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
17234         [BZ #18244]
17235         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
17236         high mantissa bit when testing whether P is a NaN.
17237         * math/libm-test.inc (remainder_test_data): Add more tests.
17238         (remquo_test_data): Likewise.
17240         [BZ #18049]
17241         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
17242         below -32, return the argument, with underflow if subnormal.
17243         * math/auto-libm-test-in: Add more tests of atanh.
17244         * math/auto-libm-test-out: Regenerated.
17246 2015-05-19  Roland McGrath  <roland@hack.frob.com>
17248         [BZ #18434]
17249         * nptl/tst-sem15.c: New file.
17250         * nptl/Makefile (tests): Add it.
17251         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
17252         s/<</>>/ to fix typo in EOVERFLOW check.
17253         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
17255 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17257         * manual/strings.texi (envz_remove): Fix typo in safety
17258         annotations.
17260 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
17261             Steve Ellcey  <sellcey@imgtec.com>
17263         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
17264         in order to avoid strict alias warnings.
17265         (iruserok_af): Ditto for ra.
17267 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
17269         [BZ #17581]
17270         * malloc/hooks.c
17271         (magicbyte): Convert to a function and avoid returning 0x01.
17272         (mem2mem_check): Avoid using a length byte equal to the magic byte.
17273         (mem2chunk_check): Fix unsigned comparisons to zero.
17274         Hoist defs of sz and magic.
17276 2015-05-19  Richard Henderson  <rth@redhat.com>
17278         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
17280         * sysdeps/alpha/fpu/libm-test-ulps: Update.
17282 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17284         [BZ #16159]
17285         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
17286         * malloc/arena.c (arena_lock): Check if arena is corrupt.
17287         (reused_arena): Find a non-corrupt arena.
17288         (heap_trim): Pass arena to unlink.
17289         * malloc/hooks.c (malloc_check_get_size): Pass arena to
17290         malloc_printerr.
17291         (top_check): Likewise.
17292         (free_check): Likewise.
17293         (realloc_check): Likewise.
17294         * malloc/malloc.c (malloc_printerr): Add arena argument.
17295         (unlink): Likewise.
17296         (munmap_chunk): Adjust.
17297         (ARENA_CORRUPTION_BIT): New macro.
17298         (arena_is_corrupt): Likewise.
17299         (set_arena_corrupt): Likewise.
17300         (sysmalloc): Use mmap if there are no usable arenas.
17301         (_int_malloc): Likewise.
17302         (__libc_malloc): Don't fail if arena_get returns NULL.
17303         (_mid_memalign): Likewise.
17304         (__libc_calloc): Likewise.
17305         (__libc_realloc): Adjust for additional argument to
17306         malloc_printerr.
17307         (_int_free): Likewise.
17308         (malloc_consolidate): Likewise.
17309         (_int_realloc): Likewise.
17310         (_int_memalign): Don't touch corrupt arenas.
17311         * malloc/tst-malloc-backtrace.c: New test case.
17313         * Makefile (summarize-tests): Fix return value on success.
17315         * manual/string.texi (Envz Functions): Add envz_remove.
17317 2015-05-18  Roland McGrath  <roland@hack.frob.com>
17319         * sysdeps/posix/opendir.c: Include <stdbool.h>.
17320         (invalid_name): New function, broken out of ...
17321         (__opendirat): ... here.  Call it.
17322         (need_isdir_precheck): New function, broken out of ...
17323         (__opendirat): ... here.  Call it.
17324         Use __fxstatat64, not __xstatat64.
17325         (opendir_oflags): New function, broken out of ...
17326         (__opendirat): ... here.  Call it.
17327         (opendir_tail): New function, broken out of ...
17328         (__opendirat): ... here.  Call it.
17329         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
17330         opendir_tail, rather than punting to __opendirat.
17331         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
17333 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
17335         * .gitignore: Ignore generated *.pyc.
17337 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
17339         * include/stdio.h: Define __need_wint_t.
17340         * test-skeleton.c: Avoid `for' loop initial declaration.
17341         * nptl/tst-initializers1.c: Use test-skeleton.c.
17343 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17345         [BZ #18418]
17346         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
17348 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
17350         [BZ #16352]
17351         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
17352         (__ieee754_atanh): Force underflow exception for results with
17353         small absolute value.
17354         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
17355         (__ieee754_atanhf): Force underflow exception for results with
17356         small absolute value.
17357         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
17358         (__ieee754_atanh): Force underflow exception for results with
17359         small absolute value.
17360         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
17361         (__ieee754_atanhf): Force underflow exception for results with
17362         small absolute value.
17363         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
17364         (__ieee754_atanhl): Force underflow exception for results with
17365         small absolute value.
17366         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
17367         (__ieee754_atanhl): Force underflow exception for results with
17368         small absolute value.
17369         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
17370         (__ieee754_atanhl): Force underflow exception for results with
17371         small absolute value.
17372         * math/auto-libm-test-in: Do not allow missing underflow
17373         exceptions from atanh.
17374         * math/auto-libm-test-out: Regenerated.
17376         [BZ #18221]
17377         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
17378         2**-28 as threshold for returning x or +/- 1/x.
17379         * math/auto-libm-test-in: Add more tests of tan.
17380         * math/auto-libm-test-out: Regenerated.
17382         [BZ #18220]
17383         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
17384         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
17385         * math/auto-libm-test-in: Add another test of lgamma.
17386         * math/auto-libm-test-out: Regenerated.
17388 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
17390         * stdio-common/printf_fp.c (___printf_fp): Use abs.
17391         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
17392         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
17393         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
17394         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
17395         (ADD2A): Use fabs.  (SUB2A): Use fabs.
17396         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
17397         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
17398         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
17399         (log1): Use fabs.  (my_log2): Use fabs.
17400         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
17401         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
17402         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
17403         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
17404         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
17405         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
17406         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
17407         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
17408         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
17409         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
17410         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
17412 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
17414         [BZ #18217]
17415         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
17416         as threshold for returning 1 - x.
17417         * math/auto-libm-test-in: Add more tests of erfc.
17418         * math/auto-libm-test-out: Regenerated.
17420 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
17422         [BZ #18196]
17423         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
17424         threshold for large arguments.
17425         * math/auto-libm-test-in: Add another test of atan.
17426         * math/auto-libm-test-out: Regenerated.
17428         [BZ #16339]
17429         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
17430         (__log1p): Force underflow exception for results with small
17431         absolute value.
17432         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
17433         (__log1pf): Force underflow exception for results with small
17434         absolute value.
17435         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
17436         (__log1p): Force underflow exception for results with small
17437         absolute value.
17438         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
17439         (__log1pf): Force underflow exception for results with small
17440         absolute value.
17441         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
17442         (__log1pl): Force underflow exception for results with small
17443         absolute value.
17444         * math/auto-libm-test-in: Do not allow missing underflow
17445         exceptions from log1p.
17446         * math/auto-libm-test-out: Regenerated.
17448 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
17449             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17451         [BZ #16704]
17452         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
17454 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
17456         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
17457         (libmvec): New variable.
17458         * configure.ac: Added option for mathvec build.
17459         * configure: Regenerated.
17460         * mathvec/Depend: New file.
17461         * mathvec/Makefile: New file.
17462         * shlib-versions: Added libmvec.
17463         * math/Makefile: Added rule for libm.so installation.
17465         * bits/math-vector.h: New file.
17466         * bits/libm-simd-decl-stubs.h: New header.
17467         * math/Makefile (headers): Added new header
17468         libm-simd-decl-stubs.h.
17469         * math/math.h (__MATHCALL_VEC): New macro.
17471         * math/gen-libm-have-vector-test.sh: Script generates series of macros
17472         for conditions in testing functions.
17473         * math/Makefile: Added call of libm-have-vector-test.sh.
17474         * math/libm-test.inc (HAVE_VECTOR): New macros.
17476         * math/libm-test.inc: START refactored.
17477         * math/test-double.c (TEST_MATHVEC): Add define.
17478         * math/test-float.c: Likewise.
17479         * math/test-idouble.c: Likewise.
17480         * math/test-ifloat.c: Likewise.
17481         * math/test-ildoubl.c: Likewise.
17482         * math/test-ldouble.c: Likewise.
17483         * sysdeps/generic/math-tests-arch.h
17484         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
17485         architecture check.
17487         * math/test-double.c (FUNC_TEST): New macro.
17488         * math/test-float.c: Likewise.
17489         * math/test-idouble.c: Likewise.
17490         * math/test-ifloat.c: Likewise.
17491         * math/test-ildoubl.c: Likewise.
17492         * math/test-ldouble.c: Likewise.
17493         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
17495 2015-05-13  Roland McGrath  <roland@hack.frob.com>
17497         * sysdeps/nacl/fdopendir.c: New file.
17499         * dirent/scandir-tail.c: New file.
17500         * dirent/scandir64-tail.c: New file.
17501         * dirent/Makefile (routines): Add them.
17502         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
17503         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
17504         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
17505         [!SCANDIR] (SCANDIR_TAIL): New macro.
17506         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
17507         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
17508         (SCANDIRAT): Macro removed.
17509         (SCANDIR_TAIL): New macro.
17510         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
17511         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
17512         (SCANDIRAT): Just call __opendirat and __scandir_tail.
17513         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
17514         (READDIR): Macro removed.
17515         (SCANDIR_TAIL): New macro.
17516         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
17517         (SCANDIR_TAIL): New macro.
17519         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
17520         * dirent/scandir-cancel.c: ... to this new file.
17521         * dirent/Makefile (routines): Add it.
17522         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
17523         * sysdeps/unix/sysv/linux/i386/scandir64.c
17524         (SKIP_SCANDIR_CANCEL): Macro removed.
17525         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
17527         * dirent/tst-scandir.c: New file.
17528         * dirent/tst-scandir64.c: New file.
17529         * dirent/Makefile (tests): Add them.
17531 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
17533         [BZ #18409]
17534         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
17536 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17538         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
17539         list.
17541 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
17543         * benchtests/bench-strcoll.c: New benchmark.
17544         * benchtests/Makefile: Generate locales and run benchmark.
17545         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
17546         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
17547         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
17548         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
17549         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
17550         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
17551         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
17552         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
17553         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
17554         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
17555         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
17556         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
17557         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
17558         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
17559         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
17560         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
17561         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
17562         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
17563         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
17564         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
17565         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
17566         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
17567         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
17568         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
17570 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
17572         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
17573         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
17575 2015-05-12  Roland McGrath  <roland@hack.frob.com>
17577         * posix/uname-values.h: New file.
17578         * posix/uname.c: Include that instead of <config-name.h>.
17579         * sysdeps/nacl/uname-values.h: New file.
17580         * sysdeps/arm/nacl/uname-values.h: New file.
17582 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
17584         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
17585         splitting into fields.
17587 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
17589         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
17590         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
17591         * locale/localeinfo.h: Add enum collation_encoding_type.
17592         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
17593         * programs/ld-collate.c (collate_output): Add encoding type info.
17594         * string/strcoll_l.c (STRDIFF): New function.
17595         * (STRCOLL): Use STRDIFF to skip over equal prefix.
17596         * wcsmbs/wcscoll_l.c: Define STRDIFF.
17598 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
17600         [BZ #18397]
17601         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
17602         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
17603         <fpu_control.h> instead of <math/fpu_control.c>.
17604         * sysdeps/mips/mips32/fpu/Makefile: New file.
17606 2015-05-11  Andreas Schwab  <schwab@suse.de>
17608         [BZ #18007]
17609         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
17610         nss_endgrent.
17611         (_nss_compat_endgrent): Call nss_endgrent.
17612         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
17613         nss_endpwent.
17614         (_nss_compat_endpwent): Call nss_endpwent.
17615         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
17616         needent, call nss_setspent only if non-zero.
17617         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
17618         (internal_endspent): Don't call nss_endspent.
17619         (_nss_compat_endspent): Call nss_endspent.
17620         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
17621         Remove.  All uses removed.
17622         (internal_setent): Remove parameter stayopen, add parameter
17623         stream.  Use it instead of global variable.
17624         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
17625         (internal_endent, internal_getent): Add parameter stream.  Use it
17626         instead of global variable.
17627         (CONCAT(_nss_files_end,ENTNAME))
17628         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
17629         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
17630         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
17631         uses removed.
17632         (internal_setent, internal_endent): Add parameter stream.  Use it
17633         instead of global variable.
17634         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
17635         stream.
17636         (get_next_alias): Add parameter stream.
17637         (_nss_files_getaliasent_r): Pass global stream.
17638         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
17639         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
17640         (_nss_files_gethostbyname4_r): Pass local stream to
17641         internal_setent, internal_getent and internal_endent.  Remove
17642         locking.
17644 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
17646         * tst-strfmon1.c (tests): Update expected currency symbol.
17648 2015-05-08  Roland McGrath  <roland@hack.frob.com>
17650         * sysdeps/nacl/gethostname.c: New file.
17652 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
17654         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
17655         and sinh.
17656         * math/auto-libm-test-out: Regenerated.
17657         * sysdeps/i386/fpu/libm-test-ulps: Update.
17658         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17660 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
17662         [BZ #18125]
17663         * stdlib/tst-setcontext3.c: New file.
17664         * stdlib/tst-setcontext3.sh: New file.
17665         * stdlib/Makefile (tests): Add tst-setcontext3.
17666         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
17667         to verify test program created output file.
17668         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
17669         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
17670         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
17671         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
17673 2015-05-06  Roland McGrath  <roland@hack.frob.com>
17675         [BZ #18383]
17676         * elf/tst-tlsalign.c: New file.
17677         * elf/tst-tlsalign-static.c: New file.
17678         * elf/tst-tlsalign-lib.c: New file.
17679         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
17680         (tests-static): Add tst-tlsalign-static.
17681         (modules-names): Add tst-tlsalign-lib.
17682         (test-xfail-tst-tlsalign): New variable.
17683         (test-xfail-tst-tlsalign-static): New variable.
17685         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
17686         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
17688 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
17690         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
17691         csqrt, erfc, sin and sincos.
17692         * math/auto-libm-test-out: Regenerated.
17693         * sysdeps/i386/fpu/libm-test-ulps: Update.
17694         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17696 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17698         * sysdeps/aarch64/libm-test-ulps: Update.
17700 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
17702         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
17703         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
17704         * math/auto-libm-test-out: Regenerated.
17705         * sysdeps/i386/fpu/libm-test-ulps: Update.
17706         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17708 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
17710         [BZ #18265]
17711         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
17712         (wcsncpy): Likewise.
17714 2015-05-05  Florian Weimer  <fweimer@redhat.com>
17716         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
17717         Assume __ASSUME_FALLOCATE is always true.
17718         * sysdeps/unix/sysv/linux/posix_fallocate64.c
17719         (__posix_fallocate64_l64): Likweise.
17720         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
17721         (posix_fallocate): Likewise.
17722         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
17723         (__posix_fallocate64_l64): Likewise.
17724         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17725         [!__ASSUME_FALLOCATE]: Add comment.
17727 2015-05-05  Florian Weimer  <fweimer@redhat.com>
17729         * sysdeps/unix/sysv/linux/i386/Makefile
17730         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
17731         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
17732         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
17733         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
17734         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
17735         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
17736         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
17738 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
17740         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
17741         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
17742         tgamma.
17743         * math/auto-libm-test-out: Regenerated.
17744         * sysdeps/i386/fpu/libm-test-ulps: Update.
17745         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17747 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
17749         * math/auto-libm-test-in: Add more tests of tgamma.
17750         * math/auto-libm-test-out: Regenerated.
17751         * sysdeps/i386/fpu/libm-test-ulps: Update.
17752         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17754         * math/auto-libm-test-in: Add more tests of tanh.
17755         * math/auto-libm-test-out: Regenerated.
17756         * sysdeps/i386/fpu/libm-test-ulps: Update.
17757         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17759         * math/auto-libm-test-in: Add more tests of tan.
17760         * math/auto-libm-test-out: Regenerated.
17761         * sysdeps/i386/fpu/libm-test-ulps: Update.
17762         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17764         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
17765         * math/auto-libm-test-out: Regenerated.
17766         * sysdeps/i386/fpu/libm-test-ulps: Update.
17767         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17769         * math/auto-libm-test-in: Add another test of pow.
17770         * math/auto-libm-test-out: Regenerated.
17771         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17773         * math/auto-libm-test-in: Add more tests of lgamma.
17774         * math/auto-libm-test-out: Regenerated.
17775         * sysdeps/i386/fpu/libm-test-ulps: Update.
17776         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17778         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
17779         log1p.
17780         * math/auto-libm-test-out: Regenerated.
17781         * sysdeps/i386/fpu/libm-test-ulps: Update.
17782         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17784 2015-05-01  Mark Wielaard  <mjw@redhat.com>
17786         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
17787         Elf64_Chdr structs and ELFCOMPRESS constants.
17789 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
17791         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
17792         expm1.
17793         * math/auto-libm-test-out: Regenerated.
17794         * sysdeps/i386/fpu/libm-test-ulps: Update.
17795         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17797         * math/auto-libm-test-in: Add more tests of erf and erfc.
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 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17804         * config.h.in (HAVE_AARCH64_BE): Add.
17806 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
17808         * math/auto-libm-test-in: Add more tests of csqrt.
17809         * math/auto-libm-test-out: Regenerated.
17810         * sysdeps/i386/fpu/libm-test-ulps: Update.
17811         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17813         * math/auto-libm-test-in: Add more tests of cosh and sinh.
17814         * math/auto-libm-test-out: Regenerated.
17815         * sysdeps/i386/fpu/libm-test-ulps: Update.
17816         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17818         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
17820 2015-04-29  Roland McGrath  <roland@hack.frob.com>
17822         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
17823         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
17825         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
17826         (euidaccess, eaccess): Define as weak aliases.
17828         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
17829         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
17830         but __suseconds_t is often 'long int' so some sources assume that
17831         type is being used (e.g. they use %ld to print tv_usec).
17833 2015-04-29  Florian Weimer  <fweimer@redhat.com>
17835         [BZ #18007]
17836         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
17837         (CVE-2014-8121)
17838         * nss/tst-nss-getpwent.c: New file.
17839         * nss/Makefile (tests): Add new test.
17841 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
17843         [BZ #18346]
17844         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
17845         exponents less than 48 as cases where high part of mantissa needs
17846         examining to determine whether argument is integral.
17847         * math/libm-test.inc (round_test_data): Add more tests.
17849 2015-04-28  Mark Wielaard  <mjw@redhat.com>
17851         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
17853 2015-04-27  David S. Miller  <davem@davemloft.net>
17855         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
17856         __tls_get_addr.
17857         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
17859 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
17861         [BZ#18333]
17862         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
17864 2015-04-27  Florian Weimer  <fweimer@redhat.com>
17866         [BZ#18333]
17867         * time/tzset.c (parse_tzname): Return error on memory allocation
17868         failure.
17869         * test-skeleton.c (struct temp_name_list): Change type of name
17870         member to non-const.
17871         (add_temp_file): Create a copy of the file name.
17872         (delete_temp_files): Deallocate memory.
17873         (create_temp_file): Add comment.
17875 2015-04-24  Florian Weimer  <fweimer@redhat.com>
17877         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
17878         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
17880 2015-04-24  Roland McGrath  <roland@hack.frob.com>
17882         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
17883         * sysdeps/arm/configure: Regenerated.
17885 2015-04-24  Florian Weimer  <fweimer@redhat.com>
17887         [BZ #17715]
17888         * time/tzfile.c (__tzfile_read): Check for large values of
17889         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
17890         * time/tzset.c (__tzstring_len): New function, based on the old
17891         __tzstring function.
17892         (__tzstring): Call __tzstring_len.
17893         (parse_tzname): New helper function extracted from
17894         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
17895         the input string.
17896         (parse_offset): New helper function extracted from
17897         __tzset_parse_tz.  Replace switch with fallthrough with
17898         initialization before sscanf.
17899         (parse_rule): Likewise.
17900         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
17901         new-style function definition.
17902         * timezone/Makefile (tests): Add tst-tzset.
17903         (tst-tzset.out): Dependencies on time zone files.
17904         (tst-tzset-ENV): Set TZDIR.
17905         (testdata/XT%): Copy crafted time zone files.
17906         * timezone/README: Mention crafted time zone files.
17907         * timezone/testdata/XT1, timezone/testdata/XT2,
17908         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
17909         files.
17910         * timezone/tst-tzset.c: New test.
17912 2015-04-24  Florian Weimer  <fweimer@redhat.com>
17914         * Makeconfig (+gccwarn): Remove -Winline.
17916 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
17918         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
17920 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
17922         * NEWS: Mention sysconf() cache information support for s390.
17923         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
17925 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
17927         * math/k_casinh.c (__kernel_casinh): Use __copysign.
17928         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
17929         (__nearbyint): Likewise.
17930         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
17931         (copysignl): Likewise.
17933 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
17935         [BZ #18287]
17936         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
17937         based on padding.  (CVE-2015-1781)
17939 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17941         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
17942         libc-vdso.h.
17943         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
17944         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
17945         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
17946         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
17947         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
17948         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
17949         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
17950         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
17951         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
17952         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
17953         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
17954         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
17955         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
17956         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
17957         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
17958         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
17959         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
17960         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
17961         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
17962         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
17963         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
17964         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
17965         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
17967 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
17969         * stdlib/setenv.c (__add_to_environ):
17970         Dump core quickly if setenv (..., NULL, ...) is called.
17971         This time, do it the right way, and pacify GCC with a pragma.
17973 2015-04-17  Roland McGrath  <roland@hack.frob.com>
17975         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
17976         IMAP->l_prev cannot be null, and #if out the code for the contrary
17977         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
17978         believe that NS (&_dl_ns[NSID]) could point outside the array.
17980         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
17981         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
17982         before using NSID as an index.
17984 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
17986         [BZ #17825]
17987         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
17988         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
17989         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
17991 2015-04-17  Roland McGrath  <roland@hack.frob.com>
17993         Add preliminary port to Google Native Client on ARM.
17994         * abi-tags (.*-.*-nacl.*): New entry.
17995         * sysdeps/arm/nacl: New directory.
17996         * sysdeps/nacl: New directory.
17998 2015-04-16  David S. Miller  <davem@davemloft.net>
18000         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
18001         lowlevellock-futex.h
18003 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
18005         * sysdeps/tile/configure.ac: New file.
18006         * sysdeps/tile/configure: Regenerated.
18008 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18010         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
18011         conditionals for weak_alias and libc_hidden_weak.
18012         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
18013         libc_hidden_weak and weak_alias.
18014         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
18015         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
18016         and weak_alias for static one.
18018 2015-04-15  David S. Miller  <davem@davemloft.net>
18020         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
18022 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
18024         [BZ #18206]
18025         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
18026           Use signed comparision instead of substraction to avoid
18027           overflow bug.
18028         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
18029           Take the sign of ret.
18030         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
18031           Do not expect precise return values. Only the sign matters.
18032         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
18033         * wcsmbs/test-wcsncmp.c: New File.
18034         * string/test-strncmp.c: Add wcsncmp support.
18036 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
18038         [BZ #6792]
18039         * math/w_log1p.c: New file.
18040         * math/w_log1pf.c: Likewise.
18041         * math/w_log1pl.c: Likewise.
18042         * math/Makefile (libm-calls): Add w_log1p.
18043         * math/s_log1pl.c (log1pl): Remove weak_alias.
18044         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
18045         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
18046         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
18047         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
18048         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
18049         [NO_LONG_DOUBLE] (log1pl): Likewise.
18050         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
18051         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
18052         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
18053         (log1p): Remove long_double_symbol.
18054         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
18055         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
18056         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
18057         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
18058         remove weak_alias for corresponding log1p function.
18059         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
18060         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
18061         * sysdeps/ia64/fpu/w_log1p.c: New file.
18062         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
18063         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
18064         * math/libm-test.inc (log1p_test_data): Add errno expectations.
18066 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
18068         [BZ #18247]
18069         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
18070         decimal exponent by 1.
18071         * stdlib/tst-strtod-round-data: Add more tests.
18072         * stdlib/tst-strtod-round.c (tests): Regenerated.
18074 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
18076         * math/auto-libm-test-in: Add more tests of clog and clog10.
18077         * math/auto-libm-test-out: Regenerated.
18078         * sysdeps/i386/fpu/libm-test-ulps: Update.
18079         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18081 2015-04-09  Roland McGrath  <roland@hack.frob.com>
18083         * Makeconfig (module-cppflags): Exclude all .v.i files.
18084         (skip-module-cppflags): Variable removed.
18086         * configure.ac (libc_config_ok): Initialize before reading
18087         preconfigure scripts, not after.
18088         * configure: Regenerated.
18090         * test-skeleton.c (TIMEOUT): Move #define to top level.
18091         (main): Grok environment variable TEST_DIRECT.  If set, print
18092         test expectation details into that file and then behave as if
18093         given --direct.
18095 2015-04-09  Florian Weimer  <fweimer@redhat.com>
18097         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
18098         warning on 32-bit.
18100 2015-04-08  David S. Miller  <davem@davemloft.net>
18102         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18104 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
18106         * math/auto-libm-test-in: Add more tests of atanh.
18107         * math/auto-libm-test-out: Regenerated.
18108         * sysdeps/i386/fpu/libm-test-ulps: Update.
18109         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18111         * math/auto-libm-test-in: Add more tests of atan.
18112         * math/auto-libm-test-out: Regenerated.
18113         * sysdeps/i386/fpu/libm-test-ulps: Update.
18114         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18116 2015-04-08  Florian Weimer  <fweimer@redhat.com>
18118         * elf/pldd.c (main): Rewrite to use struct
18119         scratch_buffer instead of extend_alloca.
18120         * elf/pldd-xx.c (find_maps): Likewise.
18121         * grp/initgroups.c: Include <scratch_buffer.h> instead of
18122         <alloca.h>.
18123         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
18124         scratch_buffer instead of extend_alloca.
18125         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
18126         grp/compat-initgroups.c.
18127         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
18128         Rewrite to use struct scratch_buffer instead of extend_alloca.
18129         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
18130         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
18132 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
18134         * math/auto-libm-test-in: Add more tests of cbrt.
18135         * math/auto-libm-test-out: Regenerated.
18136         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18138         * math/auto-libm-test-in: Add more tests of cabs.
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 #18210]
18144         [BZ #18211]
18145         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
18146         (__ieee754_atan2): Set FE_TONEAREST mode for internal
18147         computations.
18148         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
18149         clog10.
18150         * math/auto-libm-test-out: Regenerated.
18151         * sysdeps/i386/fpu/libm-test-ulps: Update.
18152         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18154         [BZ #18197]
18155         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
18156         (atan): Set FE_TONEAREST mode for internal computations.
18157         * math/auto-libm-test-in: Add more tests of atan.
18158         * math/auto-libm-test-out: Regenerated.
18160 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
18162         [BZ #17930]
18163         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
18165 2015-04-07  Florian Weimer  <fweimer@redhat.com>
18167         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
18169 2015-04-07  Florian Weimer  <fweimer@redhat.com>
18171         * include/scratch_buffer.h: New file.
18172         * malloc/scratch_buffer_grow.c: Likewise.
18173         * malloc/scratch_buffer_grow_preserve.c: Likewise.
18174         * malloc/scratch_buffer_set_array_size.c: Likewise.
18175         * malloc/tst-scratch_buffer.c: Likewise.
18176         * malloc/Makefile (routines): Add scratch_buffer_grow.
18177         (tests): Add test case.
18178         * malloc/Versions (GLIBC_PRIVATE): Export
18179         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
18180         __libc_scratch_buffer_set_array_size.
18182 2015-04-06  Richard Henderson  <rth@redhat.com>
18184         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
18185         * sysdeps/alpha/fpu/libm-test-ulps: Update.
18187         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
18188         unsigned int before printing.
18190 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18192         [BZ #17596]
18193         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
18194         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
18196 2015-04-02  Florian Weimer  <fweimer@redhat.com>
18198         * include/libc-internal.h (libc_max_align_t): Define.
18200 2015-04-02  Andreas Schwab  <schwab@suse.de>
18202         [BZ #16850]
18203         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
18205 2015-04-02  Mel Gorman  <mgorman@suse.de>
18207         [BZ #17195]
18208         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
18209         as well as the main arena.
18211 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
18213         [BZ #18185]
18214         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
18215         sharing L2 cache to 2 for Silvermont/Knights Landing.
18217 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
18219         [BZ #17711]
18220         * config.make.in (have-protected-data): New.
18221         * configure.ac: Check linker support for protected data symbol.
18222         * configure: Regenerated.
18223         * elf/Makefile (modules-names): Add tst-protected1moda and
18224         tst-protected1modb if $(have-protected-data) is yes.
18225         (tests): Add tst-protected1a and tst-protected1b if
18226         $(have-protected-data) is yes.
18227         ($(objpfx)tst-protected1a): New.
18228         ($(objpfx)tst-protected1b): Likewise.
18229         (tst-protected1modb.so-no-z-defs): Likewise.
18230         * elf/tst-protected1a.c: New file.
18231         * elf/tst-protected1b.c: Likewise.
18232         * elf/tst-protected1mod.h: Likewise.
18233         * elf/tst-protected1moda.c: Likewise.
18234         * elf/tst-protected1modb.c: Likewise.
18236 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
18238         [BZ #17711]
18239         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
18240         indicates it is called from do_lookup_x on relocation against
18241         protected data, skip the data definion in the executable from
18242         copy reloc.
18243         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
18244         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
18245         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
18246         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
18247         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
18248         otherwise to 0.
18249         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
18250         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
18251         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
18252         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
18253         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
18254         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
18256 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
18258         * sysdeps/nptl/pthread.h: Remove duplicate definition of
18259         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
18261 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
18263         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
18264         THREAD_SETMEM_NC.
18265         * sysdeps/x86_64/nptl/tls.h: Ditto.
18267 2015-03-27  Roland McGrath  <roland@hack.frob.com>
18269         * dlfcn/tststatic.c (main): Converted to ...
18270         (do_test): ... this.
18271         (TEST_FUNCTION): New macro.
18272         Include test-skeleton.c.
18274 2015-03-26  Alan Modra  <amodra@gmail.com>
18276         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
18277         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
18278         zero for undefined weak.
18279         (elf_machine_plt_conflict): Similarly.
18281 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
18283         * math/auto-libm-test-in: Add more tests of acosh, asinh and
18284         atanh.
18285         * math/auto-libm-test-out: Regenerated.
18286         * sysdeps/i386/fpu/libm-test-ulps: Update.
18287         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18289         * math/auto-libm-test-in: Add another test of asin.
18290         * math/auto-libm-test-out: Regenerated.
18291         * sysdeps/i386/fpu/libm-test-ulps: Update.
18292         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18294         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
18295         Remove macro.
18296         (LLL_EBX_REG): Likewise.
18297         (LLL_ENTER_KERNEL): Likewise.
18299         * math/auto-libm-test-in: Add more tests of asin.
18300         * math/auto-libm-test-out: Regenerated.
18301         * sysdeps/i386/fpu/libm-test-ulps: Update.
18302         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18304         [BZ #18138]
18305         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
18306         libc_do_syscall_args): New structure.
18307         (INTERNAL_SYSCALL_MAIN_0): New macro.
18308         (INTERNAL_SYSCALL_MAIN_1): Likewise.
18309         (INTERNAL_SYSCALL_MAIN_2): Likewise.
18310         (INTERNAL_SYSCALL_MAIN_3): Likewise.
18311         (INTERNAL_SYSCALL_MAIN_4): Likewise.
18312         (INTERNAL_SYSCALL_MAIN_5): Likewise.
18313         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
18314         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
18315         Replace conditional definitions by conditional definitions of ....
18316         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
18317         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
18318         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
18319         (libpthread-sysdep_routines): Add libc-do-syscall.
18320         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
18321         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
18322         to __NR_futex not 240.
18324 2015-03-25  Alan Modra  <amodra@gmail.com>
18326         * NEWS: Advertise TLS optimization.
18327         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
18328         (DT_PPC_NUM): Increment.
18329         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
18330         (CHECK_STATIC_TLS): Use here.
18331         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
18332         TLS descriptors.
18333         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18334         * sysdeps/powerpc/dl-tls.c: New file.
18335         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
18336         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
18337         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
18338         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
18339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
18340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
18341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
18343 2015-03-25  Alan Modra  <amodra@gmail.com>
18345         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
18346         for overlapping .opd entries" to "support...".
18347         * sysdeps/powerpc/powerpc64/configure: Regenerate
18349 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
18351         * math/auto-libm-test-in: Add more tests of acos.
18352         * math/auto-libm-test-out: Regenerated.
18353         * sysdeps/i386/fpu/libm-test-ulps: Update.
18354         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18356         * math/auto-libm-test-in: Add more tests of expm1.
18357         * math/auto-libm-test-out: Regenerated.
18358         * sysdeps/i386/fpu/libm-test-ulps: Update.
18359         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18361 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
18363         * math/auto-libm-test-in: Add more tests of cosh and sinh.
18364         * math/auto-libm-test-out: Regenerated.
18365         * sysdeps/i386/fpu/libm-test-ulps: Update.
18366         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18368         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
18369         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18371         * math/auto-libm-test-in: Add more tests of log2.
18372         * math/auto-libm-test-out: Regenerated.
18373         * sysdeps/i386/fpu/libm-test-ulps: Update.
18374         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18376 2015-03-23  Roland McGrath  <roland@hack.frob.com>
18378         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
18379         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
18380         _IO_IS_APPENDING bit in READ_WRITE instead.
18382 2015-03-23  Florian Weimer  <fweimer@redhat.com>
18384         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
18385         (__determine_cpumask_size): Replace extend_alloca with a
18386         variable-length array.  Do not treat res == 0 as an error.
18388 2015-03-23  Florian Weimer  <fweimer@redhat.com>
18390         [BZ #18100]
18391         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
18392         and integer overflow.
18393         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
18394         (main): Add integer overflow tests.
18395         * manual/pattern.texi (Calling Wordexp): Document additional use
18396         for WRDE_SYNTAX.
18398 2015-03-23  Alan Modra  <amodra@gmail.com>
18400         * config.h.in: Remove HAVE_ASM_PPC_REL16.
18401         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
18402         and false branch of conditional.
18403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
18404         Likewise.
18406 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
18408         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
18409         libc-modules.h
18410         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
18411         unused declaration of _hurd_intr_rpc_msg_in_trap.
18412         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
18413         defined instead of whether it is non-zero.
18414         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
18415         input constraint instead of both input and output constraint.  Use ecx
18416         clobber instead of %ecx.
18417         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
18418         mutex_unlock): Use a statement expression instead of an expression list.
18419         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
18420         type to vm_size_t instead of vm_address_t.
18421         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
18422         defined instead of whether it is non-zero.
18423         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
18424         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
18425         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
18426         comparisons with mapaddr.
18427         * nscd/nscd-client.h: Include <time.h>.
18428         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
18429         9th parameter to __vm_region instead of int.
18430         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
18431         * scripts/check-local-headers.sh (exclude): Add device/,
18432         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
18433         cthreads.h.
18435 2015-03-19  Roland McGrath  <roland@hack.frob.com>
18437         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
18438         to account for alignment padding.
18439         * sysdeps/arm/memmove.S: Likewise.
18441 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
18443         * sysdeps/unix/sysv/linux/generic/README: New file.
18445 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
18447         [BZ #18138]
18448         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
18449         (futex_abstimed_wait)
18450         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
18451         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
18452         of lll_futex_timed_wait.
18454 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
18456         [BZ #17542]
18457         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
18459 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
18461         [BZ #17090]
18462         [BZ #17620]
18463         [BZ #17621]
18464         [BZ #17628]
18465         * NEWS: Update.
18466         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
18467         entries with Static TLS too.  Skip entries past the end of the
18468         allocated DTV, from Alan Modra.
18469         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
18470         Static TLS DTV entry set up from...
18471         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
18472         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
18473         * nptl/allocatestack.c (init_one_static_tls): ... and here...
18474         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
18475         for Static TLS.
18476         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
18477         that the slot we find is associated with the given map before
18478         using its generation count.
18479         * nptl_db/db_info.c: Include ldsodefs.h.
18480         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
18481         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
18482         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
18483         (link_map::l_tls_offset): New struct field.
18484         (dtv_t::counter): Likewise.
18485         (rtld_global): New struct.
18486         (_rtld_global): New rtld variable.
18487         (dl_tls_dtv_slotinfo_list): New rtld global field.
18488         (dtv_slotinfo_list): New struct.
18489         (dtv_slotinfo): Likewise.
18490         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
18491         (td_lookup): Rename to...
18492         (td_mod_lookup): ... this.  Use new mod parameter instead of
18493         LIBPTHREAD_SO.
18494         * nptl_db/td_thr_tlsbase.c: Include link.h.
18495         (dtv_slotinfo_list, dtv_slotinfo): New functions.
18496         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
18497         addresses even if the DTV is out of date or missing them.
18498         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
18499         index zero-length arrays.
18500         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
18501         (td_lookup): Make it a macro implemented in terms of...
18502         (td_mod_lookup): ... this declaration.
18503         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
18504         (DB_MAIN_VARIABLE): Likewise.
18506 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
18508         [BZ #18134]
18509         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
18511 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
18513         * stdlib/setenv.c (__add_to_environ): Revert previous change.
18515 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
18517         [BZ #18128]
18518         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
18519         (atomic_add, atomic_increment_and_test)
18520         (atomic_decrement_and_test): Fix 64-bit arithmetic.
18522 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
18524         * stdlib/setenv.c (__add_to_environ):
18525         Dump core quickly if setenv (..., NULL, ...) is called.
18527 2015-03-13  Roland McGrath  <roland@hack.frob.com>
18529         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
18530         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
18531         all the necessary asm magic in one place.
18532         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
18533         using those.
18535 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
18537         [BZ #14906]
18538         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
18539         traced file mtime. Use consistent log message.
18540         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
18541         (register_traced_file): Call install_watches. Always set mtime.
18542         (invalidate_cache): Iterate over all trace files. Call install_watches.
18543         (inotify_check_files): Don't inline. Handle watching parent
18544         directories and configuration file movement in and out.
18545         (handle_inotify_events): New function.
18546         (main_loop_poll): Call handle_inotify_events.
18547         (main_loop_epoll): Likewise.
18548         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
18549         (struct traced_file): Use array of inotify fds. Add parent directory,
18550         and basename.
18551         (struct database_dyn): Remove unused file_mtime.
18552         (init_traced_file): New inline function.
18553         (define_traced_file): New macro.
18554         * nss/nss_db/db-init.c: Use define_traced_file.
18555         (_nss_db_init): Use init_traced_file.
18556         * nss/nss_files/files-init.c: Use define_traced_file.
18557         (_nss_files_init): Use init_traced_file.
18559 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
18561         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
18562         [_LIBC]: Do not include <stdlib.h>.
18563         [!_LIBC] (abort): Remove declaration.
18564         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
18565         _FP_STATIC_ASSERT instead of conditionally calling abort.
18566         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
18567         (_FP_EXTEND_CNAN): Likewise.
18568         (FP_TRUNC): Likewise.
18569         (__FP_CLZ): Likewise.
18570         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
18572 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
18574         * manual/string.texi (XPG basename): Fix prototype.
18576 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
18578         [BZ #18080]
18579         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
18580         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
18581         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
18582         (__setcontext): Likewise.
18583         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
18584         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
18585         Call rt_sigprocmask syscall one time to set new signal mask
18586         and retrieve the current signal mask instead of two calls.
18587         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
18588         (__swapcontext): Likewise.
18589         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
18590         * stdlib/tst-setcontext2.c: New file.
18592 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
18594         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18596 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
18598         [BZ #18093]
18599         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
18600         the wrong size.
18602 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
18604         [BZ #18043]
18605         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
18607 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
18609         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
18610         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
18611         Remove define.
18612         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
18613         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
18614         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
18615         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
18616         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
18617         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
18618         define.
18619         * nptl_db/td_symbol_list.c (td_lookup): Remove
18620         HAVE_ASM_GLOBAL_DOT_NAME code.
18621         * sysdeps/powerpc/powerpc64/configure.ac: Remove
18622         HAVE_ASM_GLOBAL_DOT_NAME check.
18623         * sysdeps/powerpc/powerpc64/configure: Regenerate.
18624         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
18625         (DOT_LABEL): Remove define.
18626         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
18627         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
18628         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
18629         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
18630         (__TLS_GET_ADDR): Likewise.
18631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
18632         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
18634 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
18636         [BZ #18111]
18637         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
18638         (_FPU_SETCW): Initialize cw from fpsr before storing.
18639         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
18640         (fesetexceptflag): Rewrite using fpu_control.h.
18641         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
18643 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
18645         [BZ #18110]
18646         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
18647         asms.
18648         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
18650 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
18652         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
18653         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
18654         abort.
18655         (_FP_FMA): Likewise.
18656         (_FP_DIV): Likewise.
18658 2015-03-10  Roland McGrath  <roland@hack.frob.com>
18660         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
18661         with 0 in that case.
18662         * Makefile (summarize-tests): New canned sequence, factored out of
18663         commands for targets tests and xtests.  Display summary lines that
18664         don't start with PASS: or XFAIL: rather than ones that do start with
18665         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
18666         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
18667         do start with ERROR: or FAIL:.
18668         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
18669         (except for [$(build-shared) = yes]).
18670         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
18671         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
18672         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
18673         * nptl/Makefile: Revert 2015-03-04 changes.
18674         [$(CXX) empty] (tests-unsupported): New variable.
18675         * debug/Makefile: Likewise.
18677         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
18678         gnulib file.  Replace __attribute with __attribute__ throughout.
18680 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
18682         * sysdeps/hppa/fpu/libm-test-ulps: Update.
18684 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
18686         [BZ #18104]
18687         * math/auto-libm-test-in: Add another test of pow.
18688         * math/auto-libm-test-out: Regenerated.
18690 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18692         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
18693         $(config-cflags-nofma).
18695 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
18697         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
18698         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
18699         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
18700         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
18701         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
18702         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
18703         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
18704         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
18705         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
18706         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
18707         Add comment on closing #endif.
18709 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
18711         * posix/wordexp.c (CHAR_IN_SET): New macro.
18712         (parse_param): Use it.
18714 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18716         * sysdeps/powerpc/fpu/libm-test-ulps: update.
18718 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
18720         [BZ #18043]
18721         * posix/wordexp.c (parse_param): Fix buffer overflow.
18722         * posix/wordexp-test.c (test_case): Add test case.
18724 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
18726         [BZ #18042]
18727         * posix/wordexp.c (parse_backtick): Fix off-by-one.
18728         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
18730 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
18732         [BZ #18043]
18733         * posix/wordexp-test.c (test_case): Add test for BZ #18043
18734         (do_bz18043): Delete.
18735         (at_page_end): New.
18736         (testit): Refactor to have words at the edge of unreadable page.
18738 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
18740         [BZ #16734]
18741         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
18742         Cleanup read-only streams as well.
18743         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
18745 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18747         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
18748         <bits/libc-lockP.h>
18750 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
18752         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
18753         on [__KERNEL__].
18754         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
18755         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
18756         * soft-fp/op-common.h (_FP_DECL): Likewise.
18758 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
18760         * elf/ifuncdep2.c (global): Replace
18761         __attribute__((visibility("protected"))) with
18762         asm (".protected global").
18763         * elf/ifuncmod1.c (global): Likewise.
18764         * elf/ifuncmod5.c (global): Likewise.
18766 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
18768         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
18769         <asm/sfp-machine.h> instead of <sfp-machine.h>.
18771 2015-03-06  Roland McGrath  <roland@hack.frob.com>
18773         * manual/install.texi (Configuring and compiling):
18774         Document test-wrapper-env-only.
18775         * INSTALL: Regenerated.
18777 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
18779         [BZ #18043]
18780         * posix/wordexp.c (parse_param): Fix buffer overflow.
18781         * posix/wordexp-test.c (do_bz18043): Add test case.
18783 2015-03-06  Vincent Bernat  <vincent@bernat.im>
18785         * time/tst-strptime2.c (do_test): Ensure failing tests are
18786         reported correctly.
18787         * time/tst-strptime3.c (do_test): Likewise.
18789 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
18791         Fix aio_error thread-safety.
18792         * sysdeps/pthread/aio_error.c: New file
18793         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
18794         synchronization.
18796 2015-03-06  Florian Weimer  <fweimer@redhat.com>
18798         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
18799         (group_number, vfprintf): Use it.
18800         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
18801         (JUMP, REF): Use it.
18802         (WORK_BUFFER_SIZE): New enum constant.
18803         (process_arg, vfprintf): Use it.
18805 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
18807         * manual/errno.texi (Error Messages): Complete example function
18808         by adding missing #define.
18809         (program_invocation_name): Add statement indicating GNU
18810         extension and reference which header file declares the variable.
18811         (program_invocation_short_name): Likewise.
18813 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
18815         * manual/errno.texi (Error Messages): Delete strerror ISO C89
18816         compatibility note.
18818 2015-03-05  Roland McGrath  <roland@hack.frob.com>
18820         * Makeconfig (test-wrapper-env-only): New variable.
18821         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
18822         then use that with $(test-wrapper-env-only) rather than using
18823         $(test-wrapper-env) $(run-program-env) $($*-ENV).
18825 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
18827         [BZ #18082]
18828         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
18829         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
18830         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
18831         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
18832         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
18833         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
18834         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
18835         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
18836         Likewise.
18837         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
18838         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
18839         Likewise.
18840         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
18841         Likewise.
18842         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
18843         Likewise.
18844         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
18845         Likewise.
18846         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
18847         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
18848         Likewise.
18849         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
18850         Likewise.
18851         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
18852         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
18854 2015-03-04  Roland McGrath  <roland@hack.frob.com>
18856         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
18857         (ETH_ALEN): New macro.
18858         (struct ether_addr): Use it for length of ether_addr_octet.
18860         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
18861         (setdb): Don't call __nss_configure_lookup for "rpc".
18862         (do_test): Don't call test_rpc.
18863         (output_rpcent, test_rpc): Functions moved ...
18864         * sunrpc/test-rpcent.c: ... to this new file.
18865         * sunrpc/Makefile (tests): Add it.
18867         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
18868         __xpg_sigpause.
18869         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
18870         * nptl/tst-signal6.c: Likewise.
18871         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
18872         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
18874         * configure.ac (libc_cv_cxx_link_ok): New check.
18875         Reset CXX to empty if it fails to link.
18876         * configure: Regenerated.
18877         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
18878         bug-atexit3-lib only if $(CXX) is nonempty.
18879         * nptl/Makefile (tests): Likewise for tst-cancel24.
18880         (tests, tests-static): Likewise for tst-cancel24-static.
18881         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
18882         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
18883         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
18884         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
18886 2015-03-04  Andreas Schwab  <schwab@suse.de>
18888         [BZ #17631]
18889         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
18890         for non-GCC compilers.
18891         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
18892         Likewise.
18894 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
18896         [BZ #17776]
18897         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
18898         integer before bitwise and assembly operations.
18899         (feclearexcept): Likewise.
18900         * math/test-fenvinline.c: New file.
18901         * math/Makefile: Add test-fenvinline test.
18903 2015-03-03  Alan Modra  <amodra@gmail.com>
18905         [BZ #16512]
18906         * scripts/localplt.awk: Strip off symbol version.
18907         * NEWS: Mention bug fix.
18909 2015-03-02  Roland McGrath  <roland@hack.frob.com>
18911         * sysdeps/pthread/timer_routines.c
18912         (timer_free_list, thread_free_list, thread_active_list): Make static.
18914 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
18916         [BZ #17779]
18917         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
18918         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
18919         Undefine.
18920         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18921         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
18922         Likewise.
18923         * sysdeps/unix/sysv/linux/sh/kernel-features.h
18924         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
18925         Likewise.
18927 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
18929         [BZ #18036]
18930         * posix/fnmatch_loop.c (END): Detect invalid pattern.
18931         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
18933 2015-03-02  Andreas Schwab  <schwab@suse.de>
18935         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
18936         variable name.
18938 2015-03-02  Florian Weimer  <fweimer@redhat.com>
18940         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
18941         Return error status.
18943 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
18945         [BZ #15969]
18946         * locale/findlocale.c (_nl_find_locale): Introduce const
18947         version of loc_name and drop unsafe type casts.
18949 2015-02-27  Roland McGrath  <roland@hack.frob.com>
18951         * dlfcn/tststatic2.c (main): Converted to ...
18952         (do_test): ... this.
18953         (TEST_FUNCTION): New macro.
18954         Include test-skeleton.c.
18956 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
18958         [BZ #17711]
18959         * elf/Makefile (tests): Add vismain only if PIE is enabled.
18960         (tests-pie): Add vismain.
18961         (CFLAGS-vismain.c): New.
18962         * elf/vismain.c: Add comments for PIE requirement.
18964 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
18966         [BZ #18046]
18967         [BZ #18047]
18968         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
18969         0x1p-56L as threshold for just returning the argument.
18970         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
18971         0x1p-32L as threshold for just returning the argument.
18972         * math/auto-libm-test-in: Add more tests of atanh.
18973         * math/auto-libm-test-out: Regenerated.
18974         * sysdeps/i386/fpu/libm-test-ulps: Update.
18975         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
18977 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
18979         * string/bcopy.c (bcopy): Call memmove for performance.
18981 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
18983         * string/bzero.c (__bzero): Call memset for performance.
18985 2015-02-27  John David Anglin  <dave.anglin@bell.net>
18987         [BZ #18068]
18988         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
18989         to 00100000.
18991 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
18993         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
18995 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
18997         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
18998         (__kernel_standard): Use CSTR macro when setting exc.name.
18999         * sysdeps/ieee754/Makefile [$(subdir) = math]
19000         (CFLAGS-k_standard.c): Remove variable.
19002         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
19003         setting p and q from "else if" to "else".
19004         (qzero): Likewise.
19005         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
19006         (qone): Likewise.
19007         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
19008         (qzerof): Likewise.
19009         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
19010         (qonef): Likewise.
19011         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
19012         (qzero): Likewise.
19013         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
19014         (qone): Likewise.
19016         [BZ #18038]
19017         [BZ #18039]
19018         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
19019         return pi/2 for arguments below 0x1p-113L.
19020         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
19021         return pi/2 for arguments below 0x1p-106L.
19022         * math/auto-libm-test-in: Add more tests of acos.
19023         * math/auto-libm-test-out: Regenerated.
19025         [BZ #16351]
19026         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
19027         (MO): New macro.
19028         (__ieee754_asin): Force underflow exception for results with small
19029         absolute value.
19030         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
19031         (MO): New macro.
19032         (__ieee754_asinf): Force underflow exception for results with
19033         small absolute value.
19034         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
19035         (__ieee754_asin): Force underflow exception for results with small
19036         absolute value.
19037         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
19038         (__ieee754_asinf): Force underflow exception for results with
19039         small absolute value.
19040         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
19041         (__ieee754_asinl): Force underflow exception for results with
19042         small absolute value.
19043         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
19044         (__ieee754_asinl): Force underflow exception for results with
19045         small absolute value.
19046         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
19047         (__ieee754_asinl): Force underflow exception for results with
19048         small absolute value.
19049         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
19050         Include <math.h>.
19051         * math/auto-libm-test-in: Do not mark underflow exceptions as
19052         possibly missing for bug 16351.
19053         * math/auto-libm-test-out: Regenerated.
19055         [BZ #18030]
19056         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
19057         of power of 2 down when low part has opposite sign.
19058         * math/libm-test.inc (logb_test_data): Add more tests.
19060 2015-02-26  Andreas Schwab  <schwab@suse.de>
19062         [BZ #18032]
19063         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
19064         over collating symbol inside a bracket expression.  Minor cleanup.
19065         * posix/tst-fnmatch3.c (do_test): Add test case.
19067 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
19069         [BZ #18029]
19070         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
19071         Adjust exponent of power of 2 down when low part has opposite
19072         sign.
19073         * math/libm-test.inc (ilogb_test_data): Add more tests.
19075 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
19077         [BZ #15969]
19078         * locale/findlocale.c (_nl_find_locale): Fix constness error in
19079         the previous change.
19081         [BZ #15969]
19082         * locale/findlocale.c (_nl_find_locale): Retry archive search
19083         after alias expansion.
19085 2015-02-25  Roland McGrath  <roland@hack.frob.com>
19087         * iconv/tst-iconv3.c (main): Converted to ...
19088         (do_test): ... this.
19089         (TEST_FUNCTION): New macro.
19090         Include test-skeleton.c.
19092         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
19093         (convert): Make function static.
19094         (test_unalign): Likewise.  Add const to argument pointee types.
19095         (main): Replace with static function do_test.
19096         Print "Succeeded." only if RET is zero.
19097         (TEST_FUNCTION): New macro.
19098         Include test-skeleton.c.
19100         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
19101         returns a null pointer.
19103 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19105         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
19106         to __memcpy_ppc only for static builds.
19108 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
19110         [BZ #18020]
19111         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
19112         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
19113         * math/auto-libm-test-in: Add more tests of asinh.
19114         * math/auto-libm-test-out: Regenerated.
19115         * sysdeps/i386/fpu/libm-test-ulps: Update.
19116         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19118 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
19120         [BZ #15850]
19121         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
19122         and ip6_mtuinfo definitions here.
19123         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
19124         in this define too.  Update comment.
19126 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
19128         * elf/sprof.c (load_shobj): Tweak error message to match others.
19130 2015-02-24  Kevin Easton  <kevin@guarana.org>
19132         [BZ #16145] (partial fix)
19133         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
19134         to reduce lock contention.
19136 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
19138         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
19139         (struct timex): Update time comment.
19140         (ADJ_SETOFFSET): Define.
19142 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
19144         [BZ #18019]
19145         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
19146         2**56 not 2**28 as threshold for log (2x) formula.
19147         * math/auto-libm-test-in: Add more tests of acosh.
19148         * math/auto-libm-test-out: Regenerated.
19149         * sysdeps/i386/fpu/libm-test-ulps: Update.
19150         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19152 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
19154         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
19155         parenthesis around the buf assignment.
19156         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
19158 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
19160         [BZ #16783]
19161         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
19162         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
19163         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
19164         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
19165         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
19166         * math/libm-test.inc (scalb_test_data): Add more tests.
19168 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
19170         [BZ #17916]
19171         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
19172         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
19174 2015-02-24  Eric Rannaud  <e@nanocritical.com>
19176         [BZ #17523]
19177         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
19178         * io/bits/fcntl2.h (open): Use it.
19179         (openat): Likewise.
19180         * io/open.c (__libc_open): Likewise.
19181         * io/open64.c (__libc_open64): Likewise.
19182         * io/open64_2.c (__open64_2): Likewise.
19183         * io/open_2.c (__open_2): Likewise.
19184         * io/openat.c (__openat): Likewise.
19185         * io/openat64.c (__openat64): Likewise.
19186         * io/openat64_2.c (__openat64_2): Likewise.
19187         * io/openat_2.c (__openat_2): Likewise.
19188         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
19189         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
19190         * sysdeps/posix/open64.c (__libc_open64): Likewise.
19191         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
19192         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
19193         (__open_nocancel): Likewise.
19194         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
19195         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
19196         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
19198 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19200         [BZ #14841]
19201         * resolv/gethnamaddr.c (getanswer): Skip logging if
19202         RES_USE_DNSSEC is set.
19203         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
19205 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
19207         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
19209 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
19211         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
19212         201304L, for Unicode 7.
19214 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
19216         [BZ #17836]
19217         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
19218         shared library.  Add gmon-start.os otherwise.
19219         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
19220         $(objpfx)gmon-start.os if builing shared library.
19221         ($(objpfx)g$(static-start-installed-name)): Likewise.
19223 2015-02-23  Andreas Schwab  <schwab@suse.de>
19225         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
19227 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
19229         [BZ #17269]
19230         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
19231         (enlarge_userbuf): Likewise.
19233 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
19235         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
19236         * math/atest-exp.c (TIMEOUT): Adjust to 200.
19237         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
19238         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
19240 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
19242         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
19243         expression inside statement expression.
19245 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
19247         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
19248         <sysdeps/nptl/lowlevellock.h> and remove macros and
19249         functions that are now defined there.
19250         (SYS_futex): Remove.
19251         (lll_compare_and_swap): Remove.
19252         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
19254 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
19256         [BZ #17999]
19257         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
19258         instead of scandirat.
19259         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
19260         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
19261         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
19262         __scandirat.
19263         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
19264         (__scandirat): Declare.  Use libc_hidden_proto.
19265         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
19266         Remove variable.
19267         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
19269 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
19271         [BZ #15319]
19272         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
19273         (MO): New macro.
19274         (__ieee754_atan2): For results with small absolute value, force
19275         underflow exception and remove excess range and precision from
19276         return value.
19277         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
19278         (MO): New macro.
19279         (__ieee754_atan2f): For results with small absolute value, force
19280         underflow exception and remove excess range and precision from
19281         return value.
19282         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
19283         (MO): New macro.
19284         (__atan): For results with small absolute value, force underflow
19285         exception and remove excess range and precision from return value.
19286         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
19287         (MO): New macro.
19288         (__atanf): For results with small absolute value, force underflow
19289         exception and remove excess range and precision from return value.
19290         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
19291         <math.h>.
19292         (__ieee754_atan2): Force underflow exception for results with
19293         small absolute value.
19294         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
19295         <math_private.h>.
19296         (atan): Force underflow exception for results with small absolute
19297         value.
19298         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
19299         (__atanf): Force underflow exception for results with small
19300         absolute value.
19301         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
19302         <math.h>.
19303         (__atanl): Force underflow exception for results with small
19304         absolute value.
19305         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
19306         (__atanl): Force underflow exception for results with small
19307         absolute value.
19308         * sysdeps/x86/fpu/bits/mathinline.h
19309         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
19310         (__ieee754_atan2): Only define inline for long double.
19311         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
19312         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
19313         * math/auto-libm-test-in: Do not mark underflow exceptions as
19314         possibly missing for bug 15319.  Add more tests of atan2.
19315         * math/auto-libm-test-out: Regenerated.
19316         * math/libm-test.inc (casin_test_data): Do not mark underflow
19317         exceptions as possibly missing for bug 15319.
19318         (casinh_test_data): Likewise.
19319         * sysdeps/i386/fpu/libm-test-ulps: Update.
19321 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
19323         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
19324         * sysdeps/mips/bits/endian.h: Fix comments.
19326 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
19328         [BZ #17996]
19329         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
19330         (hdestroy_r): Likewise.
19331         (hsearch_r): Likewise.
19332         (__hcreate_r): Declare and use libc_hidden_proto.
19333         (__hdestroy_r): Likewise.
19334         (__hsearch_r): Likewise.
19335         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
19336         (hcreate): Call __hcreate_r instead of hcreate_r.
19337         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
19338         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
19339         as weak alias of __hcreate_r.
19340         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
19341         __hdestroy_r.
19342         (hsearch_r): Rename to __hsearch_r and define as weak alias of
19343         __hsearch_r.
19344         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
19345         Remove variable.
19346         (test-xfail-XPG4/search.h/linknamespace): Likewise.
19347         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
19348         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
19349         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
19351 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
19353         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
19354         arena_lock into a single arena_get.
19356 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
19358         * dl-reloc.c: Inlucde libc-internal.h.
19359         (_dl_try_allocate_static_tls): Call ALIGN_UP.
19360         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
19361         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
19362         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
19363         (grow_heap): Likewise.
19364         * malloc/malloc.c: Include libc-internal.h.
19365         (do_check_malloc): Call powerof2.
19366         (sysmalloc): Use pagesize. Call ALIGN_UP.
19367         (systrim): Use pagesize.
19368         (mremap_chunk): Use pagesize. Call ALIGN_UP.
19369         (__libc_valloc): Use pagesize.
19370         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
19372 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
19374         [BZ #17991]
19375         * include/sys/resource.h (__getrlimit64): Declare.  Use
19376         libc_hidden_proto.
19377         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
19378         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
19379         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
19380         getrlimit64.
19381         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
19382         __getrlimit64.
19383         [!getrlimit64] (getrlimit64): Define as weak alias of
19384         __getrlimit64.  Use libc_hidden_weak.
19385         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
19386         using __getrlimit64 not __new_getrlimit64.
19387         (__GI_getrlimit64): Likewise.
19388         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
19389         Likewise.
19390         (__GI_getrlimit64): Likewise.
19391         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
19392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
19393         (getrlimit): Add __getrlimit64 alias.
19394         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
19395         Likewise.
19396         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
19397         Remove variable.
19398         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
19399         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
19401 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
19403         * libio/fileops.c: Add missing sys/mman.h
19404         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
19406 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
19408         * manual/math.texi (Errors in Math Functions): Clarify goals
19409         regarding inexact and underflow exceptions.
19411 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
19413         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
19414         * sysdeps/mips/memset.S: Ditto.
19416 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
19418         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
19420 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
19422         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
19423         (__v1longjmp): Remove versioned symbol.
19424         (__v1siglongjmp): Remove alias and versioned symbol.
19425         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
19426         (__v2siglongjmp): Likewise.
19428 2015-02-16  Torvald Riegel  <triegel@redhat.com>
19430         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
19432 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
19434         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
19436 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
19438         [BZ #17987]
19439         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
19440         zero result does not depend on the sign resulting from
19441         subtraction.
19442         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
19443         Likewise.
19444         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
19445         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
19446         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
19447         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
19448         * math/libm-test.inc (remquo_test_data): Add more tests.
19450 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
19452         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
19453         Problem reported by J William Piggott.
19455 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
19457         [BZ #17978]
19458         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
19459         products 4 * y and 2 * y where those would overflow.
19460         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
19461         Likewise.
19462         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
19463         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
19464         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
19465         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
19466         * math/libm-test.inc (remquo_test_data): Add more tests.
19468         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
19470         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
19471         [defined _COMPILING_NEWLIB].
19472         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
19473         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
19475         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
19476         [!defined __mips_isa_rev || __mips_isa_rev < 6].
19478 2015-02-16  Torvald Riegel  <triegel@redhat.com>
19480         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
19481         acquired.
19483 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
19485         [BZ #17792]
19486         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
19487         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
19488         HOST_STACK_END_ADDR): Likewise.
19490 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
19492         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
19493         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
19494         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
19496 2015-02-13  Roland McGrath  <roland@hack.frob.com>
19498         * sysdeps/generic/c++-types.data: New file.
19499         * sysdeps/generic/ld.abilist: New file.
19500         * sysdeps/generic/libBrokenLocale.abilist: New file.
19501         * sysdeps/generic/libanl.abilist: New file.
19502         * sysdeps/generic/libc.abilist: New file.
19503         * sysdeps/generic/libcrypt.abilist: New file.
19504         * sysdeps/generic/libdl.abilist: New file.
19505         * sysdeps/generic/libm.abilist: New file.
19506         * sysdeps/generic/libpthread.abilist: New file.
19507         * sysdeps/generic/libresolv.abilist: New file.
19508         * sysdeps/generic/librt.abilist: New file.
19510 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
19512         [BZ #17569]
19513         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
19514         Compute absolute value of x as modified by fmod, not original
19515         value of x.
19516         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
19517         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
19518         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
19519         RUN_TEST_ffI_f1_mod8.
19520         (remquo_test_data): Add more tests.
19522 2015-02-13  Roland McGrath  <roland@hack.frob.com>
19524         * sysdeps/init_array/pt-crti.S: New file.
19526 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
19528         [BZ #17967]
19529         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
19530         __builtin_fmaf instead of relying on contraction of a * b + c.
19532 2015-02-12  J William Piggott  <elseifthen@gmx.com>
19534         [BZ #17969]
19535         * manual/time.texi: correct the zoneinfo path in the TZ Variable
19536         node.
19538 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
19540         [BZ #17964]
19541         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
19542         __builtin_fma instead of relying on contraction of a * b + c.
19544 2015-02-12  Roland McGrath  <roland@hack.frob.com>
19546         * Makeconfig (ASFLAGS): Add -Werror=undef.
19547         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
19548         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
19549         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
19551         * Makeconfig (after-link): New variable.
19552         (+link-pie, +link-pie-tests): Use it.
19553         (+link-static, +link-static-tests): Likewise.
19554         (+link, +link-tests): Likewise.
19555         * Makerules (build-module, build-module-asneeded): Likewise.
19556         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
19557         Likewise.
19558         * elf/Makefile ($(objpfx)ld.so): Likewise.
19560 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
19562         [BZ #17965]
19563         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
19564         both struct timeval and struct timespec.
19566 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
19568         [BZ #16560]
19569         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19570         and redefine.
19571         (__ieee754_exp2l): Do not multiply small fractional parts by
19572         M_LN2l.
19573         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
19574         small argument.
19575         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
19576         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
19577         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
19578         * math/auto-libm-test-in: Add more tests of exp2.
19579         * math/auto-libm-test-out: Regenerated.
19581 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19583         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
19584         unaligned path.
19586 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19588         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
19589         little endian.
19591 2015-02-12  Andreas Schwab  <schwab@suse.de>
19593         [BZ #15790]
19594         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
19595         Filter out elision flags from value returned in kind.
19596         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
19597         * nptl/tst-pthread-mutexattr.c: New file.
19599 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19601         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
19602         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
19603         into gnu-gnu, and update comment to refer to abi-tags.
19605 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
19607         [BZ #15467]
19608         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
19609         (__sincos): Set errno to EDOM for infinite argument.
19610         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
19611         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
19612         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
19613         (__sincosl): Set errno to EDOM for infinite argument.
19614         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
19615         (__sincosl): Set errno to EDOM for infinite argument.
19616         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
19617         (__sincosl): Set errno to EDOM for infinite argument.
19618         * math/libm-test.inc (sincos_test_data): Test errno setting.
19620 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
19622         * string/strxfrm_l.c: Remove #define STRCMP.
19623         * string/strcoll_l.c: Remove #define STRLEN.
19624         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
19625         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
19627 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
19629         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
19630         * sysdeps/mips/mips32/sfp-machine.h: ... here.
19631         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
19632         * sysdeps/mips/mips64/Makefile: ... here.
19633         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
19634         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
19635         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
19636         * sysdeps/mips/mips64/sfp-machine.h: ... here.
19637         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
19638         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
19639         * sysdeps/mips/mips64/n64/Implies: Likewise.
19641 2015-02-10  Roland McGrath  <roland@hack.frob.com>
19643         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
19644         <sys/time.h>, <string.h>, and <errno.h>.
19645         (dest_offset, dest_address, value, zero): Remove unused variables.
19646         (ldouble): Remove typedef.
19647         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
19648         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
19649         1).  Fix code style.
19650         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
19651         (check): Function removed.
19652         (CHECK): New macro.
19653         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
19654         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
19655         Don't call set_sigaction_FP and remove_sigaction_FP here.
19656         (ldouble_test): Just use 'long double' as macro argument, no need for
19657         the 'ldouble' typedef.
19658         (do_test): Set up SIGFPE handler at start, using plain signal rather
19659         than sigaction.  Fix code style.
19661 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
19663         [BZ #17949]
19664         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
19665         jump label.
19667 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
19669         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
19670         * sysdeps/powerpc/powerpc32/configure: Regenerated.
19672         * sysdeps/powerpc/configure.ac: Remove file.
19673         * sysdeps/powerpc/configure: Likewise.
19675         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
19676         [sysdep_routines]: Remove wordcopy-power6 object.
19677         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
19678         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
19679         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
19680         (__memmove_ppc32): Likewise.
19681         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
19682         file.
19683         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
19684         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
19685         Remove preprocessor.
19687         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
19688         [sysdep_routines]: Remove wide chars objects.
19689         [wcsmbs]: New rule for wide char objects.
19691         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19692         Remove wordcopy-power6 obejct.
19693         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
19694         Use local call for wordcopy and memcpy symbols.
19695         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
19696         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
19697         implementation for loader.
19698         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
19700         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19701         Remove wordcopy-power7 object.
19702         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
19703         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
19704         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
19705         (_wordcopy_fwd_dest_aligned): Likewise.
19706         (_wordcopy_bwd_aligned): Likewise.
19707         (_wordcopy_bwd_dest_aligned): Likewise.
19709         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
19710         Rewrite to call __memmove_ppc instead of include default
19711         implementation.
19713         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19714         Remove wide chars objects.
19715         [wcsmbs]: New rule for wide char objects.
19717 2015-02-09  Andreas Schwab  <schwab@suse.de>
19719         [BZ #17912]
19720         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
19721         in terms of __O_DIRECTORY.
19723 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19725         * time/getdate.c: Include <stdbool.h>.
19726         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
19727         call PTR_MANGLE.
19728         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
19729         PTR_DEMANGLE.
19731 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
19733         Add ersatz _Static_assert on older C hosts
19734         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
19735         pre-C11 C platform that is not known to support _Static_assert.
19737 2015-02-07  Richard Braun  <rbraun@sceen.net>
19739         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
19740         sigstate.
19741         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
19743 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19745         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
19746         priority against unexistent AIO_PRIO_DELTA_MAX.
19747         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
19748         instead of int.
19749         * misc/fchflags.c (fchflags): Likewise.
19750         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
19751         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
19752         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
19753         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
19754         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
19755         Declare macros.
19756         [__USE_MISC] (chflags, fchflags): Declare functions.
19757         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
19758         EINVAL when nfds is greater than FD_SETSIZE.
19759         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
19760         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
19761         45.
19762         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
19763         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
19764         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
19765         MACH_RCV_TIMED_OUT.
19766         * hurd/hurd/signal.h (_hurd_self_sigstate,
19767         _hurd_critical_section_lock, _hurd_critical_section_unlock):
19768         Explicit casts from void *.
19769         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
19770         * abi-tags: Rename gnu-gnu os into gnu.
19772         [BZ #4719]
19773         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
19774         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
19775         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
19776         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
19777         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
19778         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
19780         [BZ #17944]
19781         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
19782         duplicates ADDR->sun_path with sockaddr LEN limitation.
19783         * sysdeps/mach/hurd/connect.c: Include <string.h>
19784         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
19785         * sysdeps/mach/hurd/sendmsg.c: Likewise.
19786         * sysdeps/mach/hurd/sendto.c: Likewise.
19787         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
19788         implementing it by hand.
19790 2015-02-06  Roland McGrath  <roland@hack.frob.com>
19792         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
19793         Use sfi_breg on ldr.
19794         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
19795         Likewise.
19797         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
19798         it's defined.
19799         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
19800         Test SIGSETXID only if it's defined.
19802         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
19804         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
19805         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
19807         * nptl/tst-align2.c: Moved ...
19808         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
19809         * nptl/Makefile (tests): Remove tst-align2.
19810         * sysdeps/unix/sysv/linux/Makefile
19811         [$(subdir) = nptl] (tests): Add tst-align-clone.
19812         * nptl/tst-getpid1.c: Moved ...
19813         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
19814         * nptl/tst-getpid2.c: Moved ...
19815         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
19816         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
19817         * sysdeps/unix/sysv/linux/Makefile
19818         [$(subdir) = nptl] (tests): ... here.
19819         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
19820         * sysdeps/unix/sysv/linux/Makefile
19821         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
19823         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
19824         Drop trailing \n from perror argument.  Use return rather than exit.
19826         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
19827         on [SA_SIGINFO].
19828         * nptl/tst-cancel21.c (do_test): Likewise.
19829         * debug/tst-backtrace6.c: Include <signal.h> first thing.
19830         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
19831         [!SA_SIGINFO]: Make it a stub test.
19833         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
19834         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
19836         * posix/tst-getlogin.c: Move to ...
19837         * login/tst-getlogin.c: ... here.
19838         * posix/Makefile (tests): Move tst-getlogin to ...
19839         * login/Makefile (tests): ... here.
19841         * libio/tst-atime.c (do_test): Move local variables SV and E
19842         inside [ST_NOATIME] conditional.
19844         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
19846         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
19848         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
19849         (wait_code): New function replaces macro.
19850         Call nanosleep rather than syscall.
19852         * nptl/pt-system.c: Rewritten.  Put everything under
19853         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
19854         Use IFUNC to redirect when possible.
19856         * nptl/pt-longjmp.c: Rewritten.  Put everything under
19857         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
19858         Use IFUNC to redirect when possible.
19860         * nptl/pt-fork.c: Rewritten.  Put everything under
19861         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
19862         Use IFUNC to redirect when possible.
19863         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
19865         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
19866         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
19867         unconditionally nowadays.  This included the only reference to
19868         __vdso_clock_gettime that appears outside libc proper.
19869         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
19870         Remove version set (containing only __vdso_clock_gettime).
19871         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
19872         Add attribute_hidden.
19873         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
19874         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
19875         libc_hidden_data_def.
19876         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
19877         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
19879         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
19880         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
19881         setrpcent, and getrpcport to ...
19882         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
19883         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
19884         getrpcbynumber_r, and getrpcent_r to ...
19885         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
19886         * inet/getrpcbyname.c: Moved ...
19887         * sunrpc/getrpcbyname.c: ... here.
19888         * inet/getrpcbyname_r.c: Moved ...
19889         * sunrpc/getrpcbyname_r.c: ... here.
19890         * inet/getrpcbynumber.c: Moved ...
19891         * sunrpc/getrpcbynumber.c: ... here.
19892         * inet/getrpcbynumber_r.c: Moved ...
19893         * sunrpc/getrpcbynumber_r.c: ... here.
19894         * inet/getrpcent.c: Moved ...
19895         * sunrpc/getrpcent.c: ... here.
19896         * inet/getrpcent_r.c: Moved ...
19897         * sunrpc/getrpcent_r.c: ... here.
19898         * inet/Makefile (routines): Move those to ...
19899         * sunrpc/Makefile (routines): ... here.
19900         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
19901         the $(subdirs) list.
19902         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
19903         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
19904         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
19905         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
19907         * elf/Makefile (routines): Include $(all-dl-routines), not just
19908         $(dl-routines).
19909         (rtld-routines): Likewise.  Use = rather than :=.
19910         * sysdeps/aarch64/Makefile [$(subdir) = elf]
19911         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
19912         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
19913         * sysdeps/arm/Makefile: Likewise.
19914         * sysdeps/i386/Makefile: Likewise.
19915         * sysdeps/x86_64/Makefile: Likewise.
19916         * sysdeps/hppa/Makefile [$(subdir) = elf]
19917         (sysdep_routines, sysdep-rtld-routines): Don't add
19918         $(sysdep-dl-routines) to these.
19919         * sysdeps/ia64/Makefile: Likewise.
19920         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
19921         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
19922         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
19923         Don't add dl-static to these; sysdep-dl-routines alone is enough.
19924         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
19925         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
19926         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
19927         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
19928         * sysdeps/powerpc/Makefile [$(subdir) = elf]
19929         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
19930         these; sysdep-dl-routines alone is enough.
19932 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
19934         [BZ #17932]
19935         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
19936         where multiplication results in zero and third argument is finite
19937         and nonzero.
19938         * math/auto-libm-test-in: Add more tests of fma.
19939         * math/auto-libm-test-out: Regenerated.
19941         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
19942         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
19943         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
19944         (_FP_CMP_EQ): Likewise.
19945         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
19947         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
19948         extra argument CHECK_NAN.  Redefine as wrapper around
19949         _FP_EXTEND_CNAN.
19951 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
19953         * version.h (RELEASE): Set to "stable".
19954         (VERSION): Set to "2.21"
19955         * include/features.h (__GLIBC_MINOR__): Set to 21.
19957         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
19959 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
19960             Paul Eggert  <eggert@cs.ucla.edu>
19962         [BZ #16618]
19963         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
19964         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
19965         size in bytes. Store needed elements in wpmax. Use needed size
19966         in bytes for extend_alloca.
19968 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
19970         * manual/install.texi: Latest tested versions are GCC 4.9.2,
19971         binutls 2.25, and texinfo 5.2.
19972         * INSTALL: Regenerate.
19973         * sysdeps/nios2/configure: Regenerate.
19974         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
19975         * manual/contrib.texi: Update.
19976         * po/be.po: Update.
19977         * po/bg.po: Update.
19978         * po/ca.po: Update.
19979         * po/cs.po: Update.
19980         * po/da.po: Update.
19981         * po/de.po: Update.
19982         * po/el.po: Update.
19983         * po/eo.po: Update.
19984         * po/es.po: Update.
19985         * po/fi.po: Update.
19986         * po/fr.po: Update.
19987         * po/gl.po: Update.
19988         * po/hr.po: Update.
19989         * po/hu.po: Update.
19990         * po/ia.po: Update.
19991         * po/id.po: Update.
19992         * po/it.po: Update.
19993         * po/ja.po: Update.
19994         * po/ko.po: Update.
19995         * po/lt.po: Update.
19996         * po/nb.po: Update.
19997         * po/nl.po: Update.
19998         * po/pl.po: Update.
19999         * po/pt_BR.po: Update.
20000         * po/ru.po: Update.
20001         * po/rw.po: Update.
20002         * po/sk.po: Update.
20003         * po/sl.po: Update.
20004         * po/sv.po: Update.
20005         * po/tr.po: Update.
20006         * po/uk.po: Update.
20007         * po/vi.po: Update.
20008         * po/zh_CN.po: Update.
20009         * po/zh_TW.po: Update.
20011         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
20012         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
20013         * sysdeps/hppa/dl-irel.h: Remove #warning.
20014         * sysdeps/hppa/entry.h: Provide prototype for
20015         __canonicalize_funcptr_for_compare and cast argument.
20016         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
20017         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
20018         * sysdeps/hppa/sotruss-lib.c: New file.
20019         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
20020         (atomic_compare_and_exchange_val_acq): Use __typeof__.
20021         (atomic_compare_and_exchange_bool_acq): Likewise.
20022         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
20023         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
20025         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
20026         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
20027         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
20029 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
20031         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
20032         called function in non-PIC case.
20034 2015-01-31  David S. Miller  <davem@davemloft.net>
20036         * sysdeps/sparc/sparc32/bits/atomic.h
20037         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
20038         unlock not after it.
20039         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
20040         volatile register usage warnings from the compiler.
20042         * sysdeps/sparc/nptl/sem_init.c: Delete.
20043         * sysdeps/sparc/nptl/sem_post.c: Delete.
20044         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
20045         * sysdeps/sparc/nptl/sem_wait.c: Delete.
20046         * sysdeps/sparc/sparc32/sem_init.c: New file.
20047         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
20048         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
20049         padding explicitly initialized.
20050         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
20051         padding for in-semaphore spinlock.
20052         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
20053         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
20054         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
20055         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
20056         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
20057         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
20058         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
20059         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
20060         version.
20061         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
20062         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
20064 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
20066         [BZ #17801]
20067         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20068         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
20069         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
20070         New.
20071         (index_AVX_Fast_Unaligned_Load): Likewise.
20072         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
20073         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
20074         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
20075         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
20076         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
20077         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
20078         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
20079         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
20080         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
20082 2015-01-29  Andreas Schwab  <schwab@suse.de>
20084         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
20086 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
20088         [BZ #17892]
20089         * nscd/nscd_stat.c (send_stats): Initialize DATA.
20091 2015-01-28  Martin Sebor  <msebor@redhat.com>
20093         * math/README.libm-test: Clarify. Add "How to read the test output."
20095 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
20097         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
20098         Define to 0.
20100 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
20102         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
20103         (__HAVE_64B_ATOMICS): Define to 0.
20105 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
20107         [BZ #17885]
20108         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
20109         value to set as new flag.
20111         [BZ #16576]
20112         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
20113         and use _ARCH_PPCSQ instead.
20114         (__ieee754_sqrt): Likewise.
20115         (__ieee754_sqrtf): Likewise.
20116         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
20117         _ARCH_PPCSQ is defined.
20118         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
20119         fsqrt instruction.
20120         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
20121         _ARCH_PPCSQ is defined.
20122         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
20123         fsqrts instruction.
20124         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
20126 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20128         * iconv/loop.c: Suppress array out of bound warning caused by GCC
20129         bug (GCC BZ #64739).
20131 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
20133         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
20134         Mark _retval as used.
20135         (lll_futex_wake_unlock): Likewise.
20136         (lll_futex_timed_wait_requeue_pi): Likewise.
20138         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
20139         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
20140         register variables.
20142         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
20143         libm_hidden_def.
20145         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
20146         (__bswap_64): Mark as __always_inline.
20148 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
20150         [BZ #15378]
20151         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
20152         when none of the search directories exist.
20154 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
20156         [BZ #17869]
20157         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
20158         power8 in .machine directive.
20160         [BZ #17868]
20161         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
20162         set dependency from opd value.
20164 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
20166         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20167         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
20168         architecture.
20170 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
20172         [BZ #17870]
20173         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
20174         with uint64_t.
20175         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
20176         (uint64_t) 1.
20177         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
20178         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
20179         Replace 1UL with (uint64_t) 1.
20180         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
20181         int with uint64_t.
20183 2015-01-23  Roland McGrath  <roland@hack.frob.com>
20185         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
20186         (if_freenameindex): Likewise.
20188         * resource/getrlimit64.c: Add missing libc_hidden_def.
20190 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
20192         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
20193         __label__.
20194         (_FP_FMA): Likewise.
20195         (_FP_TO_INT_ROUND): Likewise.
20196         (_FP_FROM_INT): Likewise.
20198 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20200         [BZ #16418]
20201         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
20202         Make code racy and cancel safe.
20204 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
20206         * sysdeps/arm/unwind-resume.h: Fix copyright year.
20207         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
20208         attribution.
20210         * pwd/tst-getpw.c: Rewrite.
20212         [BZ #17702]
20213         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
20214         (modules-names): Add moddummy1 and moddummy2.
20215         ($(objpfx)tst-rec-dlopen): Define.
20216         * dlfcn/moddummy1.c: New file.
20217         * dlfcn/moddummy2.c: New file.
20218         * dlfcn/tst-rec-dlopen.c: New file.
20219         * elf/dl-cache.c (_dl_load_cache_lookup):
20220         Return char*. Copy result with alloca/strcpy/strdup.
20221         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
20222         returns char*. Free cached. If not saving realname
20223         free cached.
20224         * elf/dl-open.c (dl_open_worker): Do not assert that
20225         _r_debug->r_state is RT_CONSISTENT.
20226         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
20227         returns char*.
20229 2015-01-21  Torvald Riegel  <triegel@redhat.com>
20230             Carlos O'Donell  <carlos@redhat.com>
20232         [BZ #12674]
20233         * nptl/sem_waitcommon.c: New file.
20234         * nptl/sem_wait.c: Include sem_waitcommon.c.
20235         (__sem_wait_cleanup, do_futex_wait): Remove.
20236         (__new_sem_wait): Adapt.
20237         (__new_sem_trywait): New function.
20238         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
20239         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
20240         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
20241         (sem_timedwait): Adapt.
20242         * nptl/sem_post.c (__new_sem_post): Adapt.
20243         (futex_wake): New function.
20244         (__old_sem_post): Add release MO fence.
20245         * nptl/sem_open.c (sem_open): Adapt.
20246         * nptl/sem_init.c (__new_sem_init): Adapt.
20247         (futex_private_if_supported): New function.
20248         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
20249         (__old_sem_getvalue): Add using previous code.
20250         * sysdeps/nptl/internaltypes.h: Adapt.
20251         * nptl/tst-sem13.c (do_test): Adapt.
20252         * nptl/tst-sem11.c (main): Adapt.
20253         * nptl/sem_trywait.c: Remove.
20254         * nptl/DESIGN-sem.txt: Remove.
20255         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
20256         (gen-as-const-headers): Remove structsem.sym.
20257         * nptl/structsem.sym: Remove.
20258         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
20259         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
20260         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
20261         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
20262         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
20263         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
20264         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
20265         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
20266         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
20267         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
20268         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
20269         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
20270         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
20271         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
20272         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
20273         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
20274         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
20275         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
20276         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
20277         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
20278         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
20279         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
20281 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
20283         * INSTALL: Regenerated.
20285         * po/libc.pot: Regenerated.
20287 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
20288             Sandra Loosemore  <sandra@codesourcery.com>
20289             Andrew Jenner  <andrew@codesourcery.com>
20290             Joseph Myers  <joseph@codesourcery.com>
20291             Nathan Sidwell  <nathan@codesourcery.com>
20293         * NEWS: Mention new Nios II port.
20294         * sysdeps/nios2/Implies: New file.
20295         * sysdeps/nios2/Makefile: New file.
20296         * sysdeps/nios2/Subdirs: New file.
20297         * sysdeps/nios2/Versions: New file.
20298         * sysdeps/nios2/__longjmp.S: New file.
20299         * sysdeps/nios2/abort-instr.h: New file.
20300         * sysdeps/nios2/backtrace.c: New file.
20301         * sysdeps/nios2/bits/endian.h: New file.
20302         * sysdeps/nios2/bits/fenv.h: New file.
20303         * sysdeps/nios2/bits/link.h: New file.
20304         * sysdeps/nios2/bits/setjmp.h: New file.
20305         * sysdeps/nios2/bsd-_setjmp.S: New file.
20306         * sysdeps/nios2/bsd-setjmp.S: New file.
20307         * sysdeps/nios2/configure: New generated file.
20308         * sysdeps/nios2/configure.ac: New file.
20309         * sysdeps/nios2/crti.S: New file.
20310         * sysdeps/nios2/crtn.S: New file.
20311         * sysdeps/nios2/dl-init.c: New file.
20312         * sysdeps/nios2/dl-machine.h: New file.
20313         * sysdeps/nios2/dl-sysdep.h: New file.
20314         * sysdeps/nios2/dl-tls.h: New file.
20315         * sysdeps/nios2/dl-trampoline.S: New file.
20316         * sysdeps/nios2/gccframe.h: New file.
20317         * sysdeps/nios2/gmp-mparam.h: New file.
20318         * sysdeps/nios2/jmpbuf-offsets.h: New file.
20319         * sysdeps/nios2/jmpbuf-unwind.h: New file.
20320         * sysdeps/nios2/ldsodefs.h: New file.
20321         * sysdeps/nios2/libc-tls.c: New file.
20322         * sysdeps/nios2/libm-test-ulps: New file.
20323         * sysdeps/nios2/machine-gmon.h: New file.
20324         * sysdeps/nios2/math-tests.h: New file.
20325         * sysdeps/nios2/math_private.h: New file.
20326         * sysdeps/nios2/memusage.h: New file.
20327         * sysdeps/nios2/nptl/Makefile: New file.
20328         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
20329         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
20330         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
20331         * sysdeps/nios2/nptl/pthreaddef.h: New file.
20332         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
20333         * sysdeps/nios2/nptl/tls.h: New file.
20334         * sysdeps/nios2/preconfigure: New file.
20335         * sysdeps/nios2/s_fma.c: New file.
20336         * sysdeps/nios2/s_fmaf.c: New file.
20337         * sysdeps/nios2/setjmp.S: New file.
20338         * sysdeps/nios2/sfp-machine.h: New file.
20339         * sysdeps/nios2/sotruss-lib.c: New file.
20340         * sysdeps/nios2/stackguard-macros.h: New file.
20341         * sysdeps/nios2/stackinfo.h: New file.
20342         * sysdeps/nios2/start.S: New file.
20343         * sysdeps/nios2/sysdep.h: New file.
20344         * sysdeps/nios2/tls-macros.h: New file.
20345         * sysdeps/nios2/tst-audit.h: New file.
20346         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
20347         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
20348         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
20349         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
20350         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
20351         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
20352         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
20353         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
20354         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
20355         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
20356         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
20357         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
20358         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
20359         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
20360         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
20361         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
20362         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
20363         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
20364         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
20365         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
20366         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
20367         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
20368         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
20369         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
20370         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
20371         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
20372         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
20373         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
20374         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
20375         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
20376         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
20377         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
20378         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
20379         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
20380         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
20381         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
20382         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
20383         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
20384         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
20385         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
20386         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
20387         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
20388         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
20389         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
20391 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
20393         [BZ #17844]
20394         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
20395         (getutent): Use weak_alias in non SHARED case
20396         and default_symbol_version in SHARED case.
20397         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
20398         (getutent_r, pututline): Likewise.
20399         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
20400         (getutid): Likewise.
20401         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
20402         (getutid_r): Likewise.
20403         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
20404         (getutline): Likewise.
20405         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
20406         (getutline_r): Likewise.
20407         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
20408         (updwtmp): Likewise.
20410 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
20412         [BZ #17848]
20413         * sysdeps/s390/s390-32/memcmp.S
20414         (memcmp_g5): Rename to __memcmp_g5.
20415         * sysdeps/s390/s390-32/memcpy.S
20416         (memcpy_g5): Rename to __memcpy_g5.
20417         Jump to __memcpy_mvcle instead of memcpy_mvcle.
20418         (memcpy_mvcle) Rename to __memcpy_mvcle.
20419         * sysdeps/s390/s390-32/memset.S
20420         (memset_g5): Rename to __memset_g5.
20421         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
20422         (IFUNC_RESOLVE): Prefix ifunc-resolve function
20423         and use prefixed functions.
20424         * sysdeps/s390/s390-32/multiarch/memcmp.S
20425         (memcmp_z196): Rename to __memcmp_z196.
20426         (memcmp_z10): Rename to __memcmp_z10.
20427         (memcmp): Set alias to __memcmp_g5.
20428         (bcmp): Set alias to __memcmp_g5.
20429         * sysdeps/s390/s390-32/multiarch/memcpy.S
20430         (memcpy_z196): Rename to __memcpy_z196.
20431         Jump to __memcpy_mvcle instead of memcpy_mvcle.
20432         (memcpy_z10): Rename to __memcpy_z10.
20433         Jump to __memcpy_mvcle instead of memcpy_mvcle.
20434         (memcpy): Set alias to __memcpy_g5.
20435         * sysdeps/s390/s390-32/multiarch/memset.S
20436         (memset_z196): Rename to __memset_z196.
20437         Jump to __memset_mvcle instead of memset_mvcle.
20438         (memset_z10): Rename to __memset_z10.
20439         Jump to __memset_mvcle instead of memset_mvcle.
20440         (memset_mvcle) Rename to __memset_mvcle.
20441         (memset): Set alias to __memset_g5.
20442         * sysdeps/s390/s390-64/memcmp.S
20443         (memcmp_z900): Rename to __memcmp_z900.
20444         * sysdeps/s390/s390-64/memcpy.S
20445         (memcpy_z900): Rename to __memcpy_z900.
20446         Jump to __memcpy_mvcle instead of memcpy_mvcle.
20447         (memcpy_mvcle) Rename to __memcpy_mvcle.
20448         * sysdeps/s390/s390-64/memset.S
20449         (memset_z900): Rename to __memset_z900.
20450         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
20451         (IFUNC_RESOLVE): Prefix ifunc-resolve function
20452         and use prefixed functions.
20453         * sysdeps/s390/s390-64/multiarch/memcmp.S
20454         (memcmp_z196): Rename to __memcmp_z196.
20455         (memcmp_z10): Rename to __memcmp_z10.
20456         (memcmp): Set alias to __memcmp_z900.
20457         (bcmp): Set alias to __memcmp_z900.
20458         * sysdeps/s390/s390-64/multiarch/memcpy.S
20459         (memcpy_z196): Rename to __memcpy_z196.
20460         Jump to __memcpy_mvcle instead of memcpy_mvcle.
20461         (memcpy_z10): Rename to __memcpy_z10.
20462         Jump to __memcpy_mvcle instead of memcpy_mvcle.
20463         (memcpy): Set alias to __memcpy_z900.
20464         * sysdeps/s390/s390-64/multiarch/memset.S
20465         (memset_z196): Rename to __memset_z196.
20466         Jump to __memset_mvcle instead of memset_mvcle.
20467         (memset_z10): Rename to __memset_z10.
20468         Jump to __memset_mvcle instead of memset_mvcle.
20469         (memset_mvcle) Rename to __memset_mvcle.
20470         (memset): Set alias to __memset_z900.
20472 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
20474         [BZ #17748]
20475         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
20476         __fesetenv instead of fesetenv.
20478 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
20480         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
20481         macro.
20483 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20485         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
20486         regression on LE.
20488         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
20489         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
20490         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
20491         strncmp-power8 object.
20492         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20493         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
20494         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
20495         * NEWS: Update.
20497 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20498             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20500         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
20501         trailing byte check.
20503 2015-01-13  David S. Miller  <davem@davemloft.net>
20505         * include/signal.h (__sigreturn): Guard with __USE_MISC.
20507 2015-01-13  Roland McGrath  <roland@hack.frob.com>
20509         * login/logout.c (logout): Use memset rather than bzero.
20510         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
20511         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
20512         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
20513         (_gethtbyaddr): Likewise.
20514         * locale/programs/simple-hash.c (bcopy): Macro removed.
20516 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20518         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20519         Add strcmp-power8 object.
20520         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20521         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
20522         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
20523         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
20524         __strcmp_power8 implementation.
20525         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
20526         * NEWS: Update.
20528         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20529         Add strncpy-power8 and stpncpy-power8 objects.
20530         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20531         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
20532         implementations.
20533         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
20534         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
20535         __stpncpy_power8 implementation.
20536         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
20537         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
20538         __strncpy_power8 implementation.
20539         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
20540         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
20541         * NEWS: Update.
20543         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
20544         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
20545         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
20547         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
20548         strncat-power8 object.
20549         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
20550         __strcat_power8 implementation.
20551         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20552         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
20553         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
20554         optimized strcat for power8.
20556         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
20557         strcpy-power8 and stpcpy-power8 objects.
20558         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20559         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
20560         implementations.
20561         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
20562         multiarch stpcpy implementation for POWER8.
20563         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
20564         multiarch strcpy implementation for POWER8.
20565         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
20566         __strcpy_power8 function.
20567         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
20568         stpcpy for POWER8.
20569         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
20570         strcpy for POWER8.
20571         * NEWS: Update.
20573 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
20575         [BZ #16009]
20576         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
20577         weights and rules. Use do_xfrm_cached if data fits in cache,
20578         do_xfrm otherwise.  Moved former main loop to...
20579         * (do_xfrm_cached): New function.
20580         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
20581         find_idx, find_position and stack_push.
20582         * (find_idx): New function.
20583         * (find_position): Likewise.
20584         * localedata/sort-test.sh: Added test run for do_xfrm.
20585         * localedata/xfrm-test.c (main): Added command line option
20586         -nocache to run the test with strings that are too large for
20587         the STRXFRM cache.
20589 2015-01-13  Torvald Riegel  <triegel@redhat.com>
20591         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
20592         variable to lll_futex_wake call, not the value itself.
20594 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
20596         [BZ #17803]
20597         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
20598         twom64.  Adjust value to 0x1p-64L.
20599         (__scalblnl): Only return standard underflowing result for K <=
20600         -64 not K <= -63; adjust exponent for underflowing result by 64
20601         not 63.
20602         * math/libm-test.inc (scalbn_test_data): Add more tests.
20603         (scalbln_test_data): Likewise.
20605         [BZ #17834]
20606         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
20607         0x1p63L.
20608         (__scalblnl): Get new exponent of adjusted subnormal value from ES
20609         not HX.
20610         * math/libm-test.inc (scalbn_test_data): Add more tests.
20611         (scalbln_test_data): Likewise.
20613 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20614             Stefani Seibold  <stefani@seibold.net>
20616         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
20617         (sysdep_routines): Add dl-vdso here, ...
20618         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
20619         (sysdep_routines): ... not here.
20620         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
20621         fallback when vDSO is not presented.
20622         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
20623         Define with libc_hidden_proto/libc_hidden_data_def definitions.
20624         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
20625         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
20626         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
20627         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
20628         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
20629         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
20630         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
20631         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
20632         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
20633         fallback configurable symbol when vDSO is not available.
20634         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
20635         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
20636         be able to redefine fallback symbol when vDSO is not available.
20637         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
20638         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
20640 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20642         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
20643         (TLS_INIT_TP): Add tm_capable initialization.
20644         (TLS_DEFINE_INIT_TP): Likewise.
20645         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
20646         TCB.
20647         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
20648         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
20649         calculation.
20650         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
20651         transactoion is lock elision is built and TCB tm_capable is set.
20652         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
20653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20654         (INTERNAL_SYSCALL_NCS): Likewise.
20655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20656         (INTERNAL_SYSCALL_NCS): Likewise.
20657         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
20659         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
20660         for powerpc.
20661         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
20662         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
20663         and remove it for 32 bits case.
20664         [pthread_rwlock_t] (__rwelision): New field for lock elision.
20665         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
20666         initialization.
20667         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
20668         Disable lock elision with rdlocks if elision is not available.
20670         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
20671         (sysdep_routines): Add lock elision objects.
20672         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
20673         [pthread_mutex_t] (__spins): Rework to add lock elision field.
20674         [pthread_mutex_t] (__elision): Add field.
20675         [__PTHREAD_SPINS]: Adjust to init lock elision field.
20676         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
20677         elision definitions for powerpc.
20678         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
20679         implementation of lock elision for powerpc.
20680         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
20681         implementation of timed lock elision for powerpc.
20682         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
20683         implementation of trylock with lock elision for powerpc.
20684         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
20685         implementaion of unlock for lock elision for powerpc.
20686         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
20687         automatic enable lock elision for mutexes.
20688         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
20689         transaction execution definitions for powerpc.
20690         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
20691         definitions.
20692         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
20693         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
20694         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
20695         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
20696         * NEWS: Update.
20698 2015-01-09  Roland McGrath  <roland@hack.frob.com>
20700         * sysdeps/posix/shm-directory.c: Use <> rather than ""
20701         for #include of <shm-directory.h>.
20703 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
20705         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
20706         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
20708 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
20710         [BZ #17791]
20711         * NEWS: Mention bug fix.
20712         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
20713         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
20714         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
20716 2015-01-09  Torvald Riegel <triegel@redhat.com>
20718         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
20720 2015-01-09  Torvald Riegel <triegel@redhat.com>
20722         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
20724 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
20726         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
20727         pointer and cast to uintptr_t.
20729 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
20731         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
20732         removed.
20733         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
20735 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
20737         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
20738         of 0.
20740 2015-01-08  Roland McGrath  <roland@hack.frob.com>
20742         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
20743         <nptl/pthreadP.h> instead.
20744         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
20746         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
20747         already defined.
20748         [__SIGRTMIN] (init): Function removed.
20749         [__SIGRTMIN] (initialized): Variable removed.
20750         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
20751         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
20752         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
20753         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
20754         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
20755         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
20756         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
20757         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
20758         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
20759         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
20760         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
20761         * sysdeps/nptl/allocrtsig.c: New file.
20762         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
20763         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
20764         * sysdeps/generic/testrtsig.h: File removed.
20766         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
20767         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
20769         * nptl/nptl-init.c (pthread_functions): Conditionalize
20770         .ptr__nptl_setxid initialization on [SIGSETXID].
20772         * sysdeps/nptl/sys/procfs.h: New file.
20773         * nptl_db/Makefile (headers): Add it.
20774         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
20776         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
20777         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
20778         * nptl/pthread_attr_setaffinity.c: Include it.
20779         * nptl/pthread_setattr_default_np.c: Likewise.
20780         * nptl/check-cpuset.h: New file.
20782 2015-01-08  Richard Henderson  <rth@redhat.com>
20784         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
20785         (CFLAGS-tst-execstack-prog.c): Likewise.
20786         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
20788 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
20789             Sandra Loosemore  <sandra@codesourcery.com>
20790             Andrew Jenner  <andrew@codesourcery.com>
20791             Joseph Myers  <joseph@codesourcery.com>
20792             Nathan Sidwell  <nathan@codesourcery.com>
20794         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
20795         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
20796         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
20797         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
20798         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
20799         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
20800         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
20801         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
20802         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
20803         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
20804         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
20805         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
20806         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
20807         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
20808         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
20809         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
20810         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
20812 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20814         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
20815         timespec struct member in syscall macro.
20816         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
20817         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
20818         first timeval struct member in syscall macro.
20819         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
20821 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
20823         [BZ #17748]
20824         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
20825         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
20826         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
20827         __feupdateenv and define as weak alias of __feupdateenv.  Use
20828         libm_hidden_weak.
20829         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
20830         libm_hidden_def.
20831         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
20832         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
20833         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
20834         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
20835         libm_hidden_def.
20836         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
20837         __feupdateenv and define as weak alias of __feupdateenv.  Use
20838         libm_hidden_weak.
20839         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
20840         libm_hidden_def.
20841         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
20842         __feupdateenv and define as weak alias of __feupdateenv.  Use
20843         libm_hidden_weak.
20844         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
20845         libm_hidden_def.
20846         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
20847         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
20848         (__feupdateenv): Likewise.
20849         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
20850         __feupdateenv and define as weak alias of __feupdateenv.  Use
20851         libm_hidden_weak.
20852         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
20853         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
20854         libm_hidden_def.
20855         * sysdeps/tile/math_private.h (__feupdateenv): New inline
20856         function.
20857         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
20858         libm_hidden_def.
20859         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
20860         __feupdateenv instead of feupdateenv.
20861         (default_libc_feupdateenv_test): Likewise.
20862         (libc_feresetround_ctx): Likewise.
20864 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20866         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
20867         prototype.
20869 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
20871         * posix/regcomp.c (parse_bracket_exp): Initialize type to
20872         COLL_SYM in a couple of places to avoid uninitialized variable
20873         wanings on tilegx gcc 4.8.2.
20875 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
20877         * sysdeps/aarch64/strcpy.S: New file.
20878         * sysdeps/aarch64/stpcpy.S: New file.
20879         * NEWS: Updated.
20881 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
20883         * sysdeps/aarch64/strrchr.S: New file.
20884         * NEWS: Updated.
20886 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
20888         [BZ #17658]
20889         * stdlib/setenv.c: Fix memory leak when setting large,
20890         duplicate string.
20892 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
20894         [BZ #17273]
20895         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
20896         and tabs from buffer before parsing fstab entry.
20897         * misc/tst-mntent.c (main): Add test for mount entry with
20898         trailing spaces and tabs.
20900 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
20902         [BZ #17748]
20903         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
20904         * math/fesetround.c (fesetround): Rename to __fesetround and
20905         define as weak alias of __fesetround.  Use libm_hidden_weak.
20906         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
20907         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
20908         * sysdeps/arm/fesetround.c (fesetround): Likewise.
20909         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
20910         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
20911         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
20912         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
20913         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
20914         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
20915         __fesetround_inline.
20916         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
20917         __fesetround_inline instead of __fesetround.
20918         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
20919         __fesetround and define as weak alias of __fesetround.  Use
20920         libm_hidden_weak.  Call __fesetround_inline instead of
20921         __fesetround.
20922         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
20923         __fesetround and define as weak alias of __fesetround.  Use
20924         libm_hidden_weak.
20925         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
20926         Likewise.
20927         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
20928         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
20929         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
20930         * sysdeps/tile/math_private.h (__fesetround): New inline function.
20931         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
20932         __fesetround and define as weak alias of __fesetround.  Use
20933         libm_hidden_weak.
20934         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
20935         __fesetround instead of fesetround.
20936         (default_libc_feholdexcept_setround): Likewise.
20937         (libc_feholdsetround_ctx): Likewise.
20938         (libc_feholdsetround_noex_ctx): Likewise.
20940         [BZ #17748]
20941         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
20942         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
20943         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
20944         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
20945         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
20946         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
20947         define as weak alias of __fesetenv.  Use libm_hidden_weak.
20948         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
20949         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
20950         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
20951         define as weak alias of __fesetenv.  Use libm_hidden_weak.
20952         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
20953         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
20954         define as weak alias of __fesetenv.  Use libm_hidden_weak.
20955         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
20956         libm_hidden_def.
20957         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
20958         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
20959         Likewise.
20960         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
20961         define as weak alias of __fesetenv.  Use libm_hidden_weak.
20962         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
20963         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
20964         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
20965         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
20966         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
20967         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
20968         __fesetenv instead of fesetenv.
20969         (libc_feresetround_noex_ctx): Likewise.
20970         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
20971         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
20972         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
20973         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
20974         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
20975         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
20976         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
20977         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
20978         (__feupdateenv): Likewise.
20979         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
20980         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
20981         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
20982         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
20984 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
20986         [BZ #17806]
20987         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
20988         addresses have been freed.
20990 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
20992         * resolv/res_init.c (__res_vinit): Improve comments about nserv
20993         and nservall.
20995 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
20997         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
20998         Clean up check_pf allocation pattern. addresses
21000 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21002         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
21003         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
21004         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
21005         * nptl/pthread_exit.c (__pthread_exit): Likewise.
21006         * nptl/pthread_join.c (pthread_join): Likewise.
21007         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
21008         * sysdeps/posix/waitid.c (__waitid): Likewise.
21009         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
21010         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
21011         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
21012         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
21013         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
21014         Likewise.
21015         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
21016         (__libc_pread64): Likewise.
21017         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
21018         (__libc_pwrite): Likewise.
21019         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
21020         (__libc_pwrite64): Likewsie.
21021         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
21022         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
21023         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
21024         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
21025         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
21026         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
21027         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
21028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
21029         Likewise.
21030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
21031         (__libc_pread64): Likewise.
21032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
21033         Likewise.
21034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
21035         (__libc_pwrite64): Likewise.
21036         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
21037         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
21038         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
21039         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
21040         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
21041         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
21042         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
21043         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
21044         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
21045         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
21046         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
21047         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
21048         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
21049         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
21050         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
21051         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
21052         Likewise.
21054 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
21056         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
21057         (CFLAGS-test-double.c): Likewise.
21058         (CFLAGS-test-ldouble.c): Likewise.
21059         (CPPFLAGS-test-ifloat.c): Likewise.
21060         (CPPFLAGS-test-idouble.c): Likewise.
21061         (CPPFLAGS-test-ildoubl.c): Likewise.
21062         (CFLAGS-test-test-fenv.c): Remove variable.
21063         (CFLAGS-test-misc.c): Likewise.
21065 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
21067         [BZ #17797]
21068         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
21069         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
21070         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
21071         CLOCKS_PER_SEC == 1000000.
21072         * time/clocktest.c (main): Replace %ld with %jd and cast to
21073         intmax_t.
21075 2015-01-05  Roland McGrath  <roland@hack.frob.com>
21077         * sysdeps/generic/unwind-resume.h: New file.
21078         * sysdeps/gnu/unwind-resume.c: Include it.
21079         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
21080         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
21081         argument list.
21082         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
21083         global rather than static.
21084         (_Unwind_Resume): Update user.
21085         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
21086         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
21087         rather than static.  Add __attribute__ ((cold)).
21088         (_Unwind_Resume, __gcc_personality_v0): Update callers.
21089         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
21090         * sysdeps/arm/arm-unwind-resume.S: New file.
21091         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
21092         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
21093         * sysdeps/arm/Makefile [$(subdir) = csu]
21094         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
21095         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
21096         Add rt-arm-unwind-resume.
21097         [$(subdir) = nptl]
21098         (libpthread-sysdep_routines, libpthread-shared-only-routines):
21099         Add pt-arm-unwind-resume.
21100         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
21101         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
21103 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
21105         [BZ #17748]
21106         * include/fenv.h (__feholdexcept): Declare.  Use
21107         libm_hidden_proto.
21108         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
21109         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
21110         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
21111         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
21112         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
21113         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
21114         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
21115         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
21116         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
21117         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
21118         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
21119         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
21120         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
21121         (feholdexcept): Likewise.
21122         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
21123         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
21124         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
21125         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
21126         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
21127         __feholdexcept instead of feholdexcept.
21128         (default_libc_feholdexcept_setround): Likewise.
21130 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
21132         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
21133         to avoid using stl/str to align destination.
21135 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
21137         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
21139 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
21141         [BZ #17796]
21142         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
21143         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
21144         Define as weak alias not strong alias.
21146 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
21148         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
21149         bltzal with addiupc.
21150         (RTLD_START): Ditto.
21152 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
21154         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
21155         for __vdso_* functions in declarations.
21156         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
21157         definitions.
21158         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
21159         INTERNAL_VSYSCALL): Use struct return types to check for error.
21161         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
21162         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
21163         function with cast from llround().
21164         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
21165         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
21166         Define.
21168 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
21170         [BZ #17793]
21171         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
21172         Define as weak alias not strong alias.
21174         [BZ #17635]
21175         * ctype/ctype-c99.c: New file.  isblank implementation moved from
21176         ...
21177         * ctype/ctype-extn.c: ... here.
21178         (__isblank_l): Move to ...
21179         * ctype/ctype-c99_l.c: ... here.  New file.
21180         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
21181         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
21182         Remove variable.
21183         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
21184         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
21185         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
21186         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
21187         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
21189         [BZ #17777]
21190         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
21191         (posix_fadvise64): Define as weak alias not strong alias.
21192         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
21193         (posix_fallocate64): Likewise.
21194         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
21195         Remove variable.
21196         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
21197         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
21198         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
21199         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
21200         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
21202 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
21204         [BZ #16191]
21205         * NEWS: Mention bug fix.
21206         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
21207         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
21208         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
21209         (HOST_STACK_END_ADDR): Likewise.
21211 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
21213         [BZ #17748]
21214         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
21215         * math/fegetround.c (fegetround): Rename to __fegetround and
21216         define as weak alias of __fegetround.  Use libm_hidden_weak.
21217         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
21218         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
21219         * sysdeps/arm/fegetround.c (fegetround): Likewise.
21220         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
21221         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
21222         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
21223         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
21224         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
21225         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
21226         Undefine after rather than before function definition; use
21227         parentheses around function name in definition.
21228         (__fegetround): Also undefine macro after function definition.
21229         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
21230         __fegetround and define as weak alias of __fegetround.  Use
21231         libm_hidden_weak.  Do not undefine as macro.
21232         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
21233         Likewise.
21234         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
21235         __fegetround and define as weak alias of __fegetround.  Use
21236         libm_hidden_weak.
21237         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
21238         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
21239         * sysdeps/tile/math_private.h (__fegetround): New inline function.
21240         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
21241         __fegetround and define as weak alias of __fegetround.  Use
21242         libm_hidden_weak.
21243         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
21244         __fegetround instead of fegetround.
21246         [BZ #17782]
21247         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
21248         Condition macro definition on [__USE_MISC].
21250         [BZ #17781]
21251         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
21252         (struct sigaction): Change type of sa_flags field to int.
21254         [BZ #17780]
21255         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
21256         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
21257         __glibc_reserved0.
21259         * nptl/version.c (banner): Use single year in copyright notice.
21261         * NEWS: Update copyright dates.
21262         * catgets/gencat.c (print_version): Likewise.
21263         * csu/version.c (banner): Likewise.
21264         * debug/catchsegv.sh: Likewise.
21265         * debug/pcprofiledump.c (print_version): Likewise.
21266         * debug/xtrace.sh (do_version): Likewise.
21267         * elf/ldconfig.c (print_version): Likewise.
21268         * elf/ldd.bash.in: Likewise.
21269         * elf/pldd.c (print_version): Likewise.
21270         * elf/sotruss.sh: Likewise.
21271         * elf/sprof.c (print_version): Likewise.
21272         * iconv/iconv_prog.c (print_version): Likewise.
21273         * iconv/iconvconfig.c (print_version): Likewise.
21274         * locale/programs/locale.c (print_version): Likewise.
21275         * locale/programs/localedef.c (print_version): Likewise.
21276         * login/programs/pt_chown.c (print_version): Likewise.
21277         * malloc/memusage.sh (do_version): Likewise.
21278         * malloc/memusagestat.c (print_version): Likewise.
21279         * malloc/mtrace.pl: Likewise.
21280         * manual/libc.texinfo: Likewise.
21281         * nptl/version.c (banner): Likewise.
21282         * nscd/nscd.c (print_version): Likewise.
21283         * nss/getent.c (print_version): Likewise.
21284         * nss/makedb.c (print_version): Likewise.
21285         * posix/getconf.c (main): Likewise.
21286         * scripts/test-installation.pl: Likewise.
21287         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
21289 2015-01-02  Will Newton  <will.newton@linaro.org>
21291         * sysdeps/arm/armv7/configure: Removed.
21292         * sysdeps/arm/armv7/configure.ac: Likewise.
21294 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
21296         * All files with FSF copyright notices: Update copyright dates
21297         using scripts/update-copyrights.
21298         * intl/plural.c: Regenerated.
21299         * locale/programs/charmap-kw.h: Likewise.
21300         * locale/programs/locfile-kw.h: Likewise.
21302 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
21304         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
21306 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
21308         [BZ #17748]
21309         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
21310         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
21311         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
21312         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
21313         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
21314         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
21315         define as weak alias of __fegetenv.  Use libm_hidden_weak.
21316         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
21317         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
21318         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
21319         define as weak alias of __fegetenv.  Use libm_hidden_weak.
21320         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
21321         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
21322         define as weak alias of __fegetenv.  Use libm_hidden_weak.
21323         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
21324         libm_hidden_def.
21325         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
21326         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
21327         Likewise.
21328         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
21329         define as weak alias of __fegetenv.  Use libm_hidden_weak.
21330         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
21331         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
21332         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
21333         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
21334         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
21335         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
21336         __fegetenv instead of fegetenv.
21337         (libc_feholdsetround_noex_ctx): Likewise.
21339 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
21341         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
21342         (Elf_MIPS_ABIFlags_v0): New structure.
21343         (EF_MIPS_FP64): Define.
21344         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
21345         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
21346         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
21347         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
21348         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
21349         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
21350         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
21351         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
21352         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
21353         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
21354         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
21355         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
21356         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
21357         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
21358         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
21359         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
21360         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
21361         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
21362         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
21363         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
21364         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
21365         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
21366         field.
21367         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
21368         EF_MIPS_FP64.
21369         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
21370         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
21371         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
21372         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
21373         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
21374         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
21375         * sysdeps/mips/tst-abi-interlink.c: Likewise.
21376         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
21377         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
21378         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
21379         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
21380         record the current FP ABI extension.
21381         (mips-mode-switch): Define to show if kernel headers support mode
21382         switching.
21383         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
21384         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
21385         supported SYSV ABI version to 3.
21386         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
21387         feature.
21389 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21390             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21392         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
21393         path.
21394         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
21396 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
21398         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
21399         __fegetround and redefine to call __fegetround.  Remove condition
21400         on [!__NO_MATH_INLINES].
21401         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
21402         function.
21403         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
21404         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
21405         Remove macro.
21406         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
21407         instead of <fenv_libc.h>.
21408         (__llrintl): Call fegetround instead of __fegetround.
21409         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
21410         instead of <fenv_libc.h>.
21411         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
21412         (__lrintl): Call fegetround instead of __fegetround.
21413         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
21414         instead of <fenv_libc.h>.
21415         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
21416         (__rintl): Call fegetround instead of __fegetround.
21418 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
21420         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
21421         arrays.
21423 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
21425         [BZ #17775]
21426         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
21427         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
21428         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
21430 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
21432         * sysdeps/i386/tls-macros.h: Include <features.h>.
21433         (TLS_LE): Use non-PIC version for GCC >= 5.0.
21434         (TLS_IE): Likewise.
21435         (TLS_LD): Likewise.
21436         (TLS_GD): Likewise.
21437         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
21438         define for GCC >= 5.0.
21440 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
21442         * math/test-fenv.c (test_single_exception, set_single_exc,
21443         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
21444         feexcp_mask_test, feenable_test, fe_single_test): Add
21445         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
21446         case where they are not used.
21447         * math/libm-test.inc: Likewise.
21448         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
21449         unused in the absence of FP rounding/exception support.
21450         * stdio-common/tst-printf-round.c: Likewise.
21451         * stdlib/tst-strtod-round.c: Likewise.
21452         * stdlib/tst-strtod-underflow.c: Likewise.
21454 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
21456         [BZ #17723]
21457         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
21458         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
21459         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
21460         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
21461         libm_hidden_weak.
21462         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
21463         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
21464         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
21465         libm_hidden_def.
21466         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
21467         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
21468         libm_hidden_weak.
21469         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
21470         Likewise.
21471         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
21472         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
21473         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
21474         libm_hidden_weak.
21475         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
21476         libm_hidden_def.
21477         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
21478         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
21479         (__feraiseexcept): Likewise.
21480         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
21481         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
21482         libm_hidden_weak.
21483         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
21484         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
21485         libm_hidden_def.
21486         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
21487         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
21488         Use libm_hidden_def.
21489         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
21490         libm_hidden_def.
21491         (feraiseexcept): Define as weak not strong alias.  Use
21492         libm_hidden_weak.
21493         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
21494         New inline function.  Factored out of ...
21495         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
21496         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
21497         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
21498         feraiseexcept.
21499         * math/w_acos.c (__acos): Likewise.
21500         * math/w_asin.c (__asin): Likewise.
21501         * math/w_ilogb.c (__ilogb): Likewise.
21502         * math/w_j0.c (y0): Likewise.
21503         * math/w_j1.c (y1): Likewise.
21504         * math/w_jn.c (yn): Likewise.
21505         * math/w_log.c (__log): Likewise.
21506         * math/w_log10.c (__log10): Likewise.
21507         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
21508         * sysdeps/aarch64/fpu/math_private.h
21509         (libc_feupdateenv_test_aarch64): Likewise.
21510         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
21511         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
21512         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
21513         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
21514         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
21515         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
21516         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
21517         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
21518         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
21519         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
21521 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
21523         [BZ #17732]
21524         * io/test-utime.c (main): Replace %ld with %jd and cast to
21525         intmax_t.
21526         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
21527         * nptl/tst-mutex5.c: Include <stdint.h>.
21528         (do_test): Replace %ld with %jd and cast to intmax_t.
21529         * posix/tst-regex.c (run_test): Likewise.
21530         (run_test_backwards): Likewise.
21531         * rt/tst-clock.c: Include <stdint.h>.
21532         (clock_test): Replace %ld with %jd and cast to intmax_t.
21533         * rt/tst-cpuclock1.c: Include <stdint.h>.
21534         (do_test): Replace %lu with %ju and cast to uintmax_t.
21535         * rt/tst-cpuclock2.c: Include <stdint.h>.
21536         (do_test): Replace %lu with %ju and cast to uintmax_t.
21537         * rt/tst-mqueue1.c: Include <stdint.h>.
21538         (check_attrs): Replace %ld with %jd and cast to intmax_t.
21539         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
21540         intmax_t.
21541         * rt/tst-mqueue4.c (do_test): Likewise.
21542         * rt/tst-timer4.c: Include <stdint.h>.
21543         (check_ts): Replace %ld with %jd and cast to intmax_t.
21544         (do_test): Likewise.
21545         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
21546         and cast to intmax_t.
21547         * sysdeps/pthread/tst-timer.c (main): Likewise.
21548         * time/clocktest.c (main): Likewise.
21549         * time/tst-posixtz.c (do_test): Likewise.
21550         * timezone/tst-timezone.c (main): Likewise.
21552 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
21553             H.J. Lu  <hongjiu.lu@intel.com>
21555         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
21556         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
21557         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
21558         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
21559         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
21560         version if bit_Fast_Unaligned_Load is set.
21561         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
21562         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
21563         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
21564         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
21565         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
21566         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
21567         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21568         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
21569         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
21570         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
21571         to 4.
21572         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
21573         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
21574         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
21575         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
21577 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
21579         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
21580         instead of #if to avoid a Wundef warning.
21581         * stdlib/tst-limits.c (do_test): Likewise.
21583         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
21584         parallel other exception macros.
21585         (fegetenv): Convert from macro to extern inline so that it applies
21586         retroactively to inline functions already seen by the compiler.
21587         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
21589         * posix/Makefile (before-compile): Use $(objpfx) for
21590         posix-conf-vars-def.h.
21592 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
21594         * posix/getconf.c (main): Use size_t for type of I.
21595         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
21596         NSPEC.
21598         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
21599         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
21600         * posix/posix-envs.def: Likewise.
21601         * sysdeps/posix/sysconf.c: Likewise.
21602         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
21603         (specs): Remove array.
21604         * scripts/gen-posix-conf-vars.awk: Support generation of specs
21605         array.
21607         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
21608         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
21609         (__sysconf): Use CONF_IS_* macros.
21611         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
21612         ($(objpfx)posix-conf-vars-def.h): New target.
21613         * posix/posix-conf-vars.list: New file.
21614         * posix/posix-conf-vars.h: New file.
21615         * posix/confstr.c: Include posix-conf-vars.h.
21616         (confstr): Use CONF_IS_* macros.
21617         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
21618         CONF_IS_* macros.
21619         * scripts/gen-posix-conf-vars.awk: New file.
21621 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
21623         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
21624         fegetround): Add no-op macros to avoid linknamespace issues.
21626         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
21627         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
21629         * sysdeps/unix/sysv/linux/tile/sysdep.h
21630         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
21631         assembly-specific section to avoid a redefinition warning.
21633         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
21634         long before casting to pointer to avoid a cast warning.
21636 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
21638         * sysdeps/tile/tilegx/Implies: New file.
21640 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
21642         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
21644 2014-12-23  Florian Weimer  <fweimer@redhat.com>
21646         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
21648 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
21650         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
21651         not define.
21652         * sysdeps/unix/sysv/linux/utimes.c: Do not include
21653         <kernel-features.h>.
21654         (__utimes) [__NR_utimes]: Make code unconditional.
21655         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
21656         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21657         (__ASSUME_UTIMES): Do not undefine.
21658         * sysdeps/unix/sysv/linux/tile/kernel-features.h
21659         (__ASSUME_UTIMES): Likewise.
21660         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
21661         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
21662         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
21663         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
21665 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
21667         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
21669 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
21671         [BZ #17747]
21672         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
21673         alias to weak alias for j0l, y0l.
21674         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
21675         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
21677         [BZ #17746]
21678         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
21679         conversion.
21681 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
21683         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
21684         to zero if not already defined.
21686 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
21688         [BZ #17724]
21689         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
21690         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
21691         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
21692         (char *) casts added.
21693         * sysdeps/ieee754/k_standardf.c: New file.
21694         * sysdeps/ieee754/k_standardl.c: Likewise.
21695         * math/Makefile (libm-support): Remove k_standard.
21696         (libm-calls): Add k_standard.
21698 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
21700         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
21701         Optimize to avoid an unnecessary FPCR read.
21703 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
21705         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
21706         Optimize to reduce FPCR/FPSR accesses.
21708 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
21710         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
21711         Call libc_fetestexcept_aarch64.
21713 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
21715         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
21716         Call libc_fesetround_aarch64.
21718 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
21720         [BZ #17733]
21721         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
21722         (__bind): Do not define as weak alias.
21723         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
21724         define.
21725         (__getsockname): Do not define as weak alias.
21727 2014-12-22  Will Newton  <will.newton@linaro.org>
21729         * manual/install.texi: Document that we require bison 2.7
21730         or above.
21731         * INSTALL: Regenerate.
21732         * configure.ac: Use AC_CHECK_PROG_VER instead of
21733         AC_PATH_PROG when checking for bison and check for
21734         version 2.7 or above.
21735         * configure: Regenerate.
21737 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
21739         [BZ #17745]
21740         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
21741         * sysdeps/tile/ffsll.c (ffsll): To here.
21743         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
21745 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
21747         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
21748         if not defined.
21749         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
21750         definition.
21751         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
21752         hidden ___tls_get_addr.
21753         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
21754         hidden __tls_get_addr.
21755         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
21756         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
21757         Likewise.
21759 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
21761         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
21762         _dl_init call.
21764 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
21766         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
21767         from "call _dl_init@PLT".
21768         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
21770 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
21772         * manual/search.texi: (Array Sort Function): Clarify stable sorting
21773         guarantees.
21775 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
21777         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
21779 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
21781         [BZ #17744]
21782         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
21783         strnlen.
21785 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
21787         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
21788         of multu on MIPSr6.
21789         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
21790         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
21791         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
21792         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
21793         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
21795 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
21797         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
21798         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
21799         (PTR_SUBU): Use subu for mips32r6/mips64r6.
21800         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
21801         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
21802         mips32r6/mips64r6.
21803         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
21805 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
21807         * string/strncat.c (STRNCAT): Simplify implementation.
21809 2014-12-19  David S. Miller  <davem@davemloft.net>
21811         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
21812         access the quad as both a long double and as a series of 4 words.
21814         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
21815         link_map->l_info array access.
21817 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
21819         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
21821         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
21822         * math/atest-exp2.c (TIMEOUT): Likewise.
21823         * math/atest-sincos.c (TIMEOUT): Likewise.
21825 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
21827         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
21828         -Wno-error with -fno-builtin-lround.
21830 2014-12-19  Torvald Riegel  <triegel@redhat.com>
21832         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
21833         Contains futex constants and functions moved over from ...
21834         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
21835         <lowlevellock-futex.h>.
21836         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
21837         (lll_timedwait_tid): Add comments and parentheses around macro
21838         arguments.
21840 2014-12-19  Torvald Riegel  <triegel@redhat.com>
21842         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
21843         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
21844         (__lll_private_flag): Remove.
21845         (lll_futex_wait): Likewise.
21846         (lll_futex_timed_wait): Likewise.
21847         (lll_futex_wake): Likewise.
21848         (lll_futex_requeue): Likewise.
21849         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
21850         (__lll_timedwait_tid): Spell out argument names.
21851         (lll_timedwait_tid): Add comments and parentheses around macro
21852         arguments.
21853         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
21854         LLL_SHARED and LLL_PRIVATE usable from assembly code.
21856 2014-12-19  Torvald Riegel  <triegel@redhat.com>
21858         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
21859         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
21860         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
21861         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
21862         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
21863         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
21864         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
21865         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
21866         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
21867         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
21868         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
21869         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
21870         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
21871         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
21872         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
21873         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
21874         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
21875         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
21876         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
21878 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
21880         * sysdeps/x86_64/x32/Makefile: New file.
21882 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
21884         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
21885         1L with (mp_limb_t) 1.
21887 2014-12-17  Roland McGrath  <roland@hack.frob.com>
21889         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
21890         * nptl/libc_pthread_init.c: ... here.
21891         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
21892         * nptl/register-atfork.c: ... here.
21894         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
21895         Use pthread_sigmask rather than INTERNAL_SYSCALL.
21896         Use assert_perror to check its return value.
21897         (__gai_create_helper_thread): Likewise.
21899         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
21901         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
21903 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
21905         [BZ #17725]
21906         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
21907         __profil_counter.
21908         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
21909         Likewise.
21910         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
21911         Likewise.
21912         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
21913         Likewise.
21914         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
21915         (profil_counter): Likewise.
21916         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
21917         (profil_counter): Likewise.
21918         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
21919         Likewise.
21920         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
21921         Likewise.
21922         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
21923         (profil_counter): Likewise.
21924         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
21925         Likewise.
21926         [!__profil_counter] (profil_counter): Define as weak alias of
21927         __profil_counter.
21928         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
21929         (profil_counter): Rename to __profil_counter.
21930         [!__profil_counter] (profil_counter): Define as weak alias of
21931         __profil_counter.
21932         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
21933         (profil_counter): Rename to __profil_counter.
21934         [!__profil_counter] (profil_counter): Define as weak alias of
21935         __profil_counter.
21936         * sysdeps/posix/profil.c: Update comment referring to
21937         profil_counter.
21938         (__profil): Use __profil_counter instead of profil_counter.
21939         * sysdeps/posix/sprofil.c (profil_counter): Rename to
21940         __profil_counter.  Use __profil_counter_ushort and
21941         __profil_counter_uint in definitions.
21942         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
21943         instead of profil_counter_uint and profil_counter_ushort.
21945         [BZ #17722]
21946         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
21947         define as weak alias of __inet_makeaddr.
21948         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
21949         as weak alias of __inet_addr.
21950         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
21951         as weak alias of __inet_pton.  Use libc_hidden_weak.
21952         * include/arpa/inet.h (__inet_pton): Declare.  Use
21953         libc_hidden_proto.
21954         (inet_makeaddr): Don't use libc_hidden_proto.
21955         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
21956         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
21957         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
21958         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
21959         Remove variable.
21960         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
21961         (test-xfail-POSIX/time.h/linknamespace): Likewise.
21963 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
21965         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
21967 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
21969         * stdio-common/bug-vfprintf-nargs.c (do_test):
21970         Cast value to intptr_t to avoid format warning
21971         for usage with PRIdPTR printing macro.
21973 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
21975         * libio/tst-widetext.c (do_test):
21976         Use format type %td instead of %Zd for ptrdiff_t
21977         in order to avoid format warning.
21979 2014-12-17  Andreas Schwab  <schwab@suse.de>
21981         * nscd/mem.c (gc): Add size_t cast to match printf format.
21983 2014-12-16  Roland McGrath  <roland@hack.frob.com>
21985         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
21986         (init): Apply PTR_MANGLE to pointers before storing them.
21987         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
21988         before using them.
21990 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
21992         [BZ #17719]
21993         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
21994         define as weak alias of __memrchr.
21995         (__memrchr): Do not define as strong alias of memrchr.
21996         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
21997         Remove variable.
21998         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
21999         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
22000         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
22002         [BZ #17717]
22003         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
22004         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
22005         (if_indextoname): Rename to __if_indextoname and define as weak
22006         alias of __if_indextoname.  Use libc_hidden_weak.
22007         (if_freenameindex): Rename to __if_freenameindex and define as
22008         weak alias of __if_freenameindex.
22009         (if_nameindex): Rename to __if_nameindex and define as weak alias
22010         of __if_nameindex.
22011         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
22012         __if_nametoindex and define as weak alias of __if_nametoindex.
22013         Use libc_hidden_weak.
22014         (if_freenameindex): Rename to __if_freenameindex and define as
22015         weak alias of __if_freenameindex.
22016         (if_nameindex): Rename to __if_nameindex and define as weak alias
22017         of __if_nameindex.
22018         (if_indextoname): Rename to __if_indextoname and define as weak
22019         alias of __if_indextoname.  Use libc_hidden_weak.
22020         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
22021         __if_nametoindex and define as weak alias of __if_nametoindex.
22022         Use libc_hidden_weak.
22023         (if_freenameindex): Rename to __if_freenameindex and define as
22024         weak alias of __if_freenameindex.  Use libc_hidden_weak.
22025         (if_nameindex_netlink): Use __if_freenameindex instead of
22026         if_freenameindex.
22027         (if_nameindex): Rename to __if_nameindex and define as weak alias
22028         of __if_nameindex.  Use libc_hidden_weak.
22029         (if_indextoname): Rename to __if_indextoname and define as weak
22030         alias of __if_indextoname.  Use libc_hidden_weak.
22031         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
22032         libc_hidden_proto.
22033         [!_ISOMAC] (__if_freenameindex): Likewise.
22034         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
22035         if_nametoindex.
22036         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
22037         variable.
22038         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
22039         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
22040         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
22041         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
22042         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
22043         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
22044         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
22046         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
22047         Remove variable.
22048         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
22049         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
22051 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22053         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
22054         subscript above bounds'
22056         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
22057         bounds.
22059 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
22061         * libio/tst-fopenloc.c: Use test-skeleton.c.
22063         * stdlib/tst-bsearch.c: Use test-skeleton.c.
22064         (entry): Rename to ITEM.
22065         (do_test, comp): Adjust.
22067         * stdio-common/tst-fseek.c: Use test-skeleton.c.
22069 2014-12-16  Torvald Riegel  <triegel@redhat.com>
22071         * string/tester.c: Include <libc-internal.h>.
22072         (test_memset): Ignore -Wmemset-transposed-args.
22074 2014-12-16  Torvald Riegel  <triegel@redhat.com>
22076         * misc/tst-mntent2.c (do_test): Fix warning.
22078 2014-12-16  Torvald Riegel  <triegel@redhat.com>
22080         * elf/tst-unique4lib.cc(a): Mark as used.
22082 2014-12-16  Florian Weimer  <fweimer@redhat.com>
22084         [BZ #17630]
22085         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
22086         names.
22088 2014-12-16  Allan McRae  <allan@archlinux.org>
22090         * stdio-common/Makefile (tests): Re-add bug26.
22092 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
22094         [BZ #17657]
22095         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
22096         static array.
22098 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
22100         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
22101         (__lll_lock_wait): Likewise.
22102         (__lll_timedlock_wait): Likewise.
22103         (__lll_timedwait_tid): Likewise.
22104         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
22105         (__lll_robust_timedlock_wait): Likewise.
22106         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
22107         (lll_cond_trylock): Likewise.
22108         (__lll_lock): Likewise.
22109         (__lll_robust_lock): Likewise.
22110         (__lll_cond_lock): Likewise.
22111         (lll_robust_cond_lock): Likewise.
22112         (__lll_timedlock): Likewise.
22113         (__lll_robust_timedlock): Likewise.
22114         (__lll_unlock): Likewise.
22115         (__lll_robust_unlock): Likewise.
22116         (lll_wait_tid): Likewise.
22117         (lll_timedwait_tid): Likewise.
22119 2014-12-15  Torvald Riegel  <triegel@redhat.com>
22121         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
22123 2014-12-15  Torvald Riegel  <triegel@redhat.com>
22125         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
22127 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
22129         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
22130         * stdio-common/tst-sprintf.c: Likewise.
22132 2014-12-15  Torvald Riegel  <triegel@redhat.com>
22134         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
22136 2014-12-15  Jeff Law  <law@redhat.com>
22138         [BZ #16617]
22139         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
22140         on the heap.  (CVE-2012-3406)
22141         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
22142         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
22143         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
22145 2014-12-15  Will Newton  <will.newton@linaro.org>
22147         * manual/install.texi: Bump required version of texinfo
22148         to 4.7 from 4.5.
22149         * INSTALL: Regenerated.
22150         * configure.ac: Check for makeinfo version 4.7 and above.
22151         * configure: Regenerated.
22153 2014-12-12  Roland McGrath  <roland@hack.frob.com>
22155         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
22156         PREFIX, string constant to insert between directory and name.
22157         * sysdeps/posix/shm_open.c: Update caller.
22158         * sysdeps/posix/shm_unlink.c: Likewise.
22159         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
22160         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
22161         (SEM_SHM_PREFIX): New macro.
22162         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
22163         [$(have-thread-library) = no].
22164         * nptl/Makefile (libpthread-routines): Add shm-directory.
22165         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
22166         * sysdeps/nptl/shm-directory.h: New file.
22167         * sysdeps/posix/shm-directory.c
22168         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
22169         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
22170         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
22171         INTERNAL_SYSCALL.
22172         (__where_is_shmfs): Function removed.
22173         (mountpoint, defaultmount, defaultdir, __namedsem_once):
22174         Variables removed.
22175         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
22176         Use SHM_GET_NAME.
22177         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
22179         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
22180         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
22181         unconditional for use inside libpthread.
22182         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
22184 2014-12-12  Roland McGrath  <roland@hack.frob.com>
22186         * nptl/pthread_getaffinity.c: New file.
22187         * nptl/pthread_setaffinity.c: New file.
22188         * nptl/pthread_getname.c: New file.
22189         * nptl/pthread_setname.c: New file.
22191         * nptl/pthread_create.c (START_THREAD_DEFN)
22192         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
22194 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
22195             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22197         * resolv/res_send.c (send_vc): Disable warning resplen may
22198         be used uninitialized.
22200 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
22202         * nptl/tst-mutex6.c
22203         (ATTR_NULL): New define checks ATTR against NULL.
22204         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
22205         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
22207 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
22209         [BZ #17581]
22210         * malloc/hooks.c
22211         (mem2mem_check): Revert my previous change.
22212         (malloc_check_get_size): Revert my previous change.
22213         (mem2chunk_check): Revert my previous change.
22215 2014-12-11  Roland McGrath  <roland@hack.frob.com>
22217         * sysdeps/posix/shm-directory.c: New file.
22218         * sysdeps/posix/shm-directory.h: New file.
22219         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
22220         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
22221         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
22222         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
22223         Transmute EPERM to EACCES.
22224         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
22225         from ...
22226         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
22227         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
22229 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22231         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
22232         pointer and cast to uintptr_t.
22233         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
22234         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
22235         Add cast to avoid warning.
22236         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
22238 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
22240         * nptl/semaphore.h: Move to ...
22241         * sysdeps/pthread/semaphore.h: ... here.
22242         * Makefile (installed-headers): Change nptl/semaphore.h to
22243         sysdeps/pthread/semaphore.h.
22245 2014-12-11  Roland McGrath  <roland@hack.frob.com>
22247         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
22248         generated error format strings.
22250         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
22251         -Wformat-extra-args warnings for scanf formats.
22252         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
22253         test of zero-length format (duh).
22254         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
22255         corner-case scanf format test.
22256         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
22257         generated fprintf format string.
22258         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
22259         corner-case sprintf format tests.
22260         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
22261         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
22262         -Wformat-extra-args warnings throughout.
22263         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
22264         (CFLAGS-scanf4.c): Likewise.
22265         (CFLAGS-scanf7.c): Likewise.
22266         (CFLAGS-tst-sprintf.c): Likewise.
22267         (CFLAGS-tst-printf.c): Likewise.
22268         (CFLAGS-tst-printfsz.c): Likewise.
22270 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
22272         * include/cpio.h: New file.
22273         * include/fmtmsg.h: Likewise.
22275         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
22276         corresponding format argument to size_t.
22277         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
22278         arguments.
22279         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
22280         corresponding format argument to size_t.
22281         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
22282         arguments.
22283         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
22284         corresponding format argument to size_t.
22285         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
22286         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
22287         (CFLAGS-tst-mbswcs2.c): Likewise.
22288         (CFLAGS-tst-mbswcs3.c): Likewise.
22289         (CFLAGS-tst-mbswcs4.c): Likewise.
22290         (CFLAGS-tst-mbswcs5.c): Likewise.
22291         (CFLAGS-tst-trans.c): Likewise.
22293 2014-12-11  Roland McGrath  <roland@hack.frob.com>
22295         * posix/regexbug1.c (main): Use "%s" format with regerror results,
22296         rather than assuming they won't contain any '%'s.
22298 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
22300         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
22301         inhibit_loop_to_libcall to avoid recursive calls.
22302         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
22303         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
22305 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
22307         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
22308         prototype.
22310 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
22312         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
22313         integer value instead of boolean.
22315 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
22317         * malloc/malloc.c: Fix powerof2 check.
22319 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
22321         * locale/programs/locfile.h (maybe_swap_uint32):
22322         Remove inline and add unused attribute.
22324 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
22326         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
22327         Truncating assembler expression to a .long expression.
22329 2014-12-11  Andreas Schwab  <schwab@suse.de>
22331         * elf/rtld.c (struct map_args): Constify str member.
22332         (do_preload): Constify fname argument.
22334 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22336         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
22337         constants definition.
22339 2014-12-11  Andreas Schwab  <schwab@suse.de>
22341         [BZ #16657]
22342         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
22343         FORCE_ELISION instead of DO_ELISION.
22344         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
22345         Remove.
22346         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
22347         Likewise.
22349         * iconvdata/gconv-modules: Remove duplicate entry.
22351 2014-12-11  Will Newton  <will.newton@linaro.org>
22353         Merge gettext 0.19.3 into intl/.
22355         This involves a number of cosmetic changes to comments
22356         and ANSI function definitions and prototypes throughout
22357         all the files. The gettext copyright header is used but
22358         with the date ranges taken from the glibc copy.
22360         * NEWS: Add gettext merge to 2.21.
22361         * intl/bindtextdom.c: Switch to gettext copyright.
22362         Use ANSI definitions and prototypes.
22363         Use gl_* locking primitives rather than __libc_* ones.
22364         Use __builtin_expect rather than __glibc_likely/unlikely.
22365         * intl/dcgettext.c: Switch to gettext copyright.
22366         Use ANSI definitions and prototypes.
22367         * intl/dcigettext.c: Switch to gettext copyright.
22368         Use ANSI definitions and prototypes.
22369         (INTDIV0_RAISES_SIGFPE): New define.
22370         Use gl_* locking primitives rather than __libc_* ones.
22371         Include eval-plural.h instead of plural-eval.c.
22372         Use __builtin_expect rather than __glibc_likely/unlikely.
22373         * intl/dcngettext.c: Switch to gettext copyright.
22374         Use ANSI definitions and prototypes.
22375         * intl/dgettext.c: Likewise.
22376         * intl/dngettext.c: Likewise.
22377         * intl/plural-eval.c: Renamed to...
22378         * intl/eval-plural.h: ...this.
22379         * intl/explodename.c: Switch to gettext copyright.
22380         Use ANSI definitions and prototypes.
22381         (_nl_explode_name): Use strchr instead of __rawmemchr.
22382         * intl/finddomain.c: Switch to gettext copyright.
22383         Use ANSI definitions and prototypes.
22384         Use gl_* locking primitives rather than __libc_* ones.
22385         (_nl_find_domain): Use malloc rather than alloca for
22386         allocation of temporary locale name.
22387         * intl/gettext.c: Switch to gettext copyright.
22388         Use ANSI definitions and prototypes.
22389         * intl/gettextP.h: Switch to gettext copyright.
22390         Use ANSI definitions and prototypes.
22391         Use gl_* locking primitives rather than __libc_* ones.
22392         * intl/gmo.h: Switch to gettext copyright.
22393         (struct sysdep_string): Move struct segment_pair outside of
22394         struct definition.
22395         * intl/hash-string.c: Use ANSI definitions and prototypes.
22396         * intl/hash-string.h: Switch to gettext copyright.
22397         Use ANSI definitions and prototypes.
22398         * intl/l10nflist.c: Switch to gettext copyright.
22399         Use ANSI definitions and prototypes.
22400         (_nl_normalize_codeset): Avoid integer overflow.
22401         * intl/loadinfo.h: Switch to gettext copyright.
22402         Use ANSI definitions and prototypes.
22403         (LIBINTL_DLL_EXPORTED): New define.
22404         (PATH_SEPARATOR): New define.
22405         * intl/loadmsgcat.c: Switch to gettext copyright.
22406         * intl/localealias.c: Switch to gettext copyright.
22407         Use ANSI definitions and prototypes.
22408         (_nl_expand_alias): Use PATH_SEPARATOR.
22409         * intl/ngettext.c: Switch to gettext copyright.
22410         Use ANSI definitions and prototypes.
22411         * intl/plural-exp.c: Likewise.
22412         * intl/plural-exp.h: Switch to gettext copyright.
22413         Use ANSI definitions and prototypes.
22414         (struct expression): Move definition of enum operator outside
22415         of struct definition.
22416         * intl/plural.c: Regenerate.
22417         * intl/plural.y: Switch to gettext copyright.
22418         Use ANSI definitions and prototypes.
22419         Port to bison 3.0.
22420         * intl/textdomain.c: Switch to gettext copyright.
22421         Use ANSI definitions and prototypes.
22422         Use gl_* locking primitives rather than __libc_* ones.
22424 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
22426         * debug/warning-nop.c: Add used atrribute.
22428 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
22430         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
22432         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
22433         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
22434         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
22436 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
22437             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22439         [BZ #17634]
22440         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
22441         Undefine after defining function.  Define as weak alias of
22442         __wcschr.  Use libc_hidden_weak.
22443         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
22444         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
22445         (libc_hidden_def): Also define __GI___wcschr alias.
22446         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
22447         __wcschr and define as weak alias of __wcschr.
22448         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
22449         __wcschr.
22450         [!WCSCHR] (DEFAULT_WCSCHR): Define.
22451         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
22452         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
22453         libc_hidden_weak.  Do not use libc_hidden_def.
22454         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
22455         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
22456         __GI___wcschr alias.
22457         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
22458         [IS_IN (libc)] (wcschr): Define as macro expanding to
22459         __redirect_wcschr.
22460         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
22461         [IS_IN (libc)] (__wcschr_power6): Likewise.
22462         [IS_IN (libc)] (__wcschr_power7): Likewise.
22463         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
22464         instead of wcschr.
22465         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
22466         __libc_wcschr.
22467         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
22468         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
22469         __wcschr and define as weak alias of __wcschr.  Use
22470         libc_hidden_builtin_def.
22471         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
22472         as weak alias of __wcschr.  Use libc_hidden_weak.
22473         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
22474         wcschr.
22475         * time/era.c (_nl_init_era_entries): Likewise.
22476         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
22477         variable.
22478         (test-xfail-XPG3/time.h/linknamespace): Likewise.
22479         (test-xfail-XPG4/time.h/linknamespace): Likewise.
22481 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
22483         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
22484         format for long int variable.
22486 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
22488         [BZ #10672]
22489         * manual/search.texi: (Array Sort Function): Remove claim how to make
22490         qsort stable.
22492 2014-12-10  Andreas Schwab  <schwab@suse.de>
22494         [BZ #12847]
22495         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
22496         user-controlled locks.
22498 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
22500         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
22501         register.
22503 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
22505         * configure.ac (--disable-werror): New configure option.
22506         (enable_werror): New AC_SUBST.
22507         * configure: Regenerated.
22508         * config.make.in (enable-werror): New variable.
22509         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
22510         -Wno-error=undef.
22511         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
22512         * manual/install.texi (Configuring and compiling): Document
22513         --disable-werror.
22514         * INSTALL: Regenerated.
22515         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
22516         (CFLAGS-tst-chk2.c): Likewise.
22517         (CFLAGS-tst-chk3.c): Likewise.
22518         (CFLAGS-tst-chk4.cc): Likewise.
22519         (CFLAGS-tst-chk5.cc): Likewise.
22520         (CFLAGS-tst-chk6.cc): Likewise.
22521         (CFLAGS-tst-lfschk1.c): Likewise.
22522         (CFLAGS-tst-lfschk2.c): Likewise.
22523         (CFLAGS-tst-lfschk3.c): Likewise.
22524         (CFLAGS-tst-lfschk4.cc): Likewise.
22525         (CFLAGS-tst-lfschk5.cc): Likewise.
22526         (CFLAGS-tst-lfschk6.cc): Likewise.
22528         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
22529         (main): Disable -Wdeprecated-declarations around calls to
22530         register_printf_function.
22532         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
22533         (do_test): Disable -Wdiv-by-zero around some calls to
22534         fwrite_unlocked and fread_unlocked.
22536         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
22537         (DIAG_POP_NEEDS_COMMENT): Likewise.
22538         (_DIAG_STR1): Likewise.
22539         (_DIAG_STR): Likewise.
22540         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
22541         * stdio-common/bug21.c: Include <libc-internal.h>.
22542         (do_test): Disable -Wformat around call to sscanf.
22543         * stdio-common/scanf14.c: Include <libc-internal.h>.
22544         (main): Disable -Wformat around some calls to scanf functions.
22546 2014-12-09  Torvald Riegel  <triegel@redhat.com>
22548         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
22550 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22552         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
22553         stack variable alignment.
22555 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
22557         [BZ #17682]
22558         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
22559         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
22560         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
22561         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
22562         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
22563         __getrlimit instead of getrlimit.
22564         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
22565         __gettimeofday instead of gettimeofday.
22566         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
22567         Likewise.
22568         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
22569         Likewise.
22570         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
22571         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
22572         Remove variable.
22573         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
22574         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
22576 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22578         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
22579         for wide-character tests.
22581 2014-12-04  Roland McGrath  <roland@hack.frob.com>
22583         * io/openat64.c: #include <libc-internal.h>
22584         (__openat64): Prototypify.  Use ignore_value on MODE.
22585         * io/openat.c: Likewise.
22586         * misc/reboot.c: #include <libc-internal.h>
22587         (reboot): Prototypify.  Use ignore_value on HOWTO.
22588         * misc/ptrace.c: #include <libc-internal.h>
22589         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
22591 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
22593         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
22594         XPG4, UNIX98 and XOPEN2K.
22595         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
22596         Remove variable.
22597         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
22599 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22601         * libio/fileops.c: Use ISO C style for function definitions.
22602         * libio/iofopen.c: Likewise.
22603         * libio/wfileops.c: Likewise.
22605         [BZ #17653]
22606         * libio/fileops.c (_IO_new_file_underflow): Unset cached
22607         offset on EOF.
22608         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
22609         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
22610         (fgets_func): Function pointer to fgets and fgetws.
22611         (do_ftell_test): Add test to verify ftell value after read
22612         EOF.
22613         (do_test): Set fgets_func.
22615         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
22616         O_TRUNC flag for w and w+ modes.
22617         (do_rewind_test): Likewise.
22618         (do_ftell_test): Likewise.
22619         (do_write_test): Likewise.
22621         [BZ #17647]
22622         * libio/fileops.c (do_ftell): Seek only when there are
22623         unflushed writes.
22624         * libio/wfileops.c (do_ftell_wide): Likewise.
22625         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
22626         test case.
22627         (do_one_test): Call it.
22629 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
22631         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
22632         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
22633         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
22634         Remove variable.
22635         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
22636         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
22637         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
22639 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
22641         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
22642         Remove variable.
22643         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
22645         [BZ #17668]
22646         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
22647         as weak alias of __getifaddrs.  Use libc_hidden_weak.
22648         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
22649         __freeifaddrs.  Use libc_hidden_weak.
22650         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
22651         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
22652         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
22653         __freeifaddrs.  Use libc_hidden_weak.
22654         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
22655         __getifaddrs and define as weak alias of __getifaddrs.  Use
22656         libc_hidden_weak.
22657         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
22658         __freeifaddrs.  Use libc_hidden_weak.
22659         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
22660         Remove variable.
22661         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
22662         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
22664 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
22666         [BZ #17601]
22667         * sysdeps/mips/start.S (__start): Use indirect jump to call
22668         __libc_start_main.
22670 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
22672         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
22674         * nptl/tst-mutex1.c: Include <stdbool.h>.
22675         [!ATTR] (ATTR_NULL): New macro.
22676         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
22677         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
22678         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
22680         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
22681         to char *.
22683         [BZ #17665]
22684         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
22685         Change conditional to [__USE_MISC].
22687         [BZ #17664]
22688         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
22689         fgets_unlocked.
22690         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
22691         __fgets_unlocked.
22692         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
22693         fgets_unlocked.
22694         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
22695         Remove variable.
22696         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
22697         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
22698         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
22699         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
22700         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
22701         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
22702         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
22703         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
22704         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
22706         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
22708 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22710         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22711         Remove strpbrk objects.
22712         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22713         (__libc_ifunc_impl_list): Remove strpbrk implementation.
22714         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
22715         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
22716         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
22717         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
22719         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22720         Remove strcspn objects.
22721         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22722         (__libc_ifunc_impl_list): Remove strcspn implementation.
22723         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
22724         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
22725         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
22726         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
22728         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22729         Remove strspn objetcs.
22730         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22731         (__libc_ifunc_impl_list): Remove strspn implementation.
22732         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
22733         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
22734         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
22735         * sysdeps/powerpc/powerpc64/strspn.S: New file.
22737 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
22739         [BZ #17581]
22740         * malloc/hooks.c
22741         (mem2mem_check): Add a terminator to the chain of checking blocks.
22742         (malloc_check_get_size): Use it here.
22743         (mem2chunk_check): Ditto.
22745 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22747         * sysdeps/powerpc/powerpc64/strtok.S: New file.
22748         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
22750 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
22752         * bits/ioctl-types.h: Indent preprocessor directives correctly.
22754         * nptl/nptl-init.c: Include libc-internal.h.
22755         (__pthread_initialize_minimal_internal): Use ROUND_UP.
22757         * elf/ldconfig.c (search_dir): Expand comment.
22759 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
22761         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
22762         variable.
22763         (linknamespace-symlist-stdlibs-tests): Likewise.
22764         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
22765         instead of $(objpfx)symlist-stdlibs.
22766         (linknamespace-libs-isoc): New variable.
22767         (linknamespace-libs): Use $(linknamespace-libs-isoc).
22768         (linknamespace-libs-ISO): New variable.
22769         (linknamespace-libs-ISO99): Likewise.
22770         (linknamespace-libs-ISO11): Likewise.
22771         (linknamespace-libs-XPG3): Likewise.
22772         (linknamespace-libs-XPG4): Likewise.
22773         (linknamespace-libs-POSIX): Likewise.
22774         (linknamespace-libs-UNIX98): Likewise.
22775         (linknamespace-libs-XOPEN2K): Likewise.
22776         (linknamespace-libs-POSIX2008): Likewise.
22777         (linknamespace-libs-XOPEN2K8): Likewise.
22778         ($(objpfx)symlist-stdlibs): Replace by
22779         $(linknamespace-symlist-stdlibs-tests).  Use
22780         $(linknamespace-libs-$*) as set of libraries.
22781         ($(linknamespace-header-tests)): Update dependencies.  Use
22782         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
22783         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
22784         * conform/linknamespace.pl: Remove comment about considering
22785         definitions of symbols from irrelevant libraries.
22787 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
22789         [BZ #13862]
22790         * elf/dl-tls.c: Include <atomic.h>.
22791         (oom): Remove #ifdef SHARED/#endif.
22792         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
22793         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
22794         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
22795         big enough.
22796         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
22797         * nptl/Makefile (tests): Add tst-stack4.
22798         (modules-names): Add tst-stack4mod.
22799         ($(objpfx)tst-stack4): New.
22800         (tst-stack4mod.sos): Likewise.
22801         ($(objpfx)tst-stack4.out): Likewise.
22802         ($(tst-stack4mod.sos)): Likewise.
22803         (clean): Likewise.
22804         * nptl/tst-stack4.c: New file.
22805         * nptl/tst-stack4mod.c: Likewise.
22807 2014-11-27  J. Brown  <jb999@gmx.de>
22809         * sysdeps/x86/bits/string.h: Add recent CPUs.
22811 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
22813         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
22814         sigblock.
22816         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
22817         feof.
22819         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
22820         variable.
22822 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
22824         * nscd/connections.c: Include libc-internal.h because of macro
22825         usage ignore_value.
22827 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
22829         * string/bits/string3.h (__warn_memset_zero_len): Don't
22830         declare for gcc newer than 5.0.
22831         (memset): Don't test for zero-length __LEN for gcc newer than
22832         5.0.
22834 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
22836         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
22837         size_t for %zu format.
22839         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
22840         difference, not %ju.
22842 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
22844         * include/libc-internal.h (ignore_value): New macro.
22845         * nscd/connections.c (restart): Wrap calls to setuid and setgid
22846         with ignore_value.
22848         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
22849         definition.
22851         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
22852         pthread_cleanup_push to void *.
22854         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
22855         Undefine.
22857         [BZ #16619]
22858         [BZ #16740]
22859         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
22860         instead of 1L << 52.
22862         * libio/bug-rewind.c (do_test): Check fwscanf return values.
22863         * libio/bug-rewind2.c (do_test): Likewise.
22865         * debug/test-stpcpy_chk-ifunc.c: Remove file.
22866         * debug/test-strcpy_chk-ifunc.c: Likewise.
22867         * wcsmbs/test-wcschr-ifunc.c: Likewise.
22868         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
22869         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
22870         * wcsmbs/test-wcslen-ifunc.c: Likewise.
22871         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
22872         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
22873         * Rules [$(multi-arch) = no] (tests): Do not filter out
22874         $(tests-ifunc).
22875         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
22876         * debug/Makefile (tests-ifunc): Remove variable.
22877         (tests): Do not add $(tests-ifunc).
22878         * wcsmbs/Makefile (tests-ifunc): Remove variable.
22879         (tests): Do not add $(tests-ifunc).
22880         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
22881         [TEST_IFUNC]: Remove conditionals.
22882         * string/test-string.h (TEST_IFUNC): Remove macro.
22883         [TEST_IFUNC]: Remove conditionals.
22885         * string/test-strchr.c [!WIDE] (L): New macro.
22886         [WIDE] (L): Likewise.
22887         (check1): Use CHAR instead of char.  Use L on string and character
22888         constants.
22890 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
22892         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
22893         tests.
22894         * sysdeps/powerpc/bits/atomic.h
22895         (__arch_atomic_exchange_and_add_32_acq): Add definition.
22896         (__arch_atomic_exchange_and_add_32_rel): Likewise.
22897         (atomic_exchange_and_add_acq): Likewise.
22898         (atomic_exchange_and_add_rel): Likewise.
22899         * sysdeps/powerpc/powerpc32/bits/atomic.h
22900         (__arch_atomic_exchange_and_add_64_acq): Add definition.
22901         (__arch_atomic_exchange_and_add_64_rel): Likewise.
22902         * sysdeps/powerpc/powerpc64/bits/atomic.h
22903         (__arch_atomic_exchange_and_add_64_acq): Add definition.
22904         (__arch_atomic_exchange_and_add_64_rel): Likewise.
22906 2014-11-26  Torvald Riegel  <triegel@redhat.com>
22908         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
22909         Change synchronization of __sched_fifo_min_prio and
22910         __sched_fifo_max_prio.
22911         * nptl/pthread_mutexattr_getprioceiling.c
22912         (pthread_mutexattr_getprioceiling): Likewise.
22913         * nptl/pthread_mutexattr_setprioceiling.c
22914         (pthread_mutexattr_setprioceiling): Likewise.
22915         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
22916         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
22917         Likewise.
22919 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
22921         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
22922         void.
22924 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
22926         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
22927         third argument const.
22929 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
22931         fnmatch: work around GCC compiler warning bug with uninit var
22932         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
22933         This works around a bug with x86-64 GCC 4.9.2 and earlier
22934         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
22935         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
22936         used uninitialized in this function [-Wmaybe-uninitialized]".
22938 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
22940         * posix/bug-regex31.c (main): Return RES not 0.
22942 2014-11-25  Anton Blanchard <anton@samba.org>
22944         * sysdeps/powerpc/bits/atomic.h
22945         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
22947 2014-11-24  Sterling Augustine  <saugustine@google.com>
22949         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
22951 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
22953         [BZ #17608]
22954         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
22956 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
22958         [BZ #17633]
22959         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
22960         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
22961         variable.
22962         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
22963         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
22965 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
22967         * string/strncpy.c (strncpy): Improve performance by using memset.
22969 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
22971         * string/strcpy.c (strcpy):
22972         Improve performance by using strlen and memcpy.
22974 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
22976         * string/strcoll_l.c (get_next_seq): __always_inline.
22977         * string/strcoll_l.c (do_compare): __always_inline.
22979 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22981         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
22982         defined.
22983         * include/mqueue.h: Likewise.
22984         * include/stdlib.h: Likewise.
22986         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
22987         (get_null_defines): Adjust.
22988         * sunrpc/Makefile: Adjust comment.
22989         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
22990         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
22991         (CFLAGS-interp.c): Likewise.
22992         (CFLAGS-ldconfig.c): Likewise.
22993         (CPPFLAGS-.os): Likewise.
22994         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
22995         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
22996         * extra-modules.mk (extra-modules.mk): Likewise.
22997         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
22998         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
22999         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
23000         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
23001         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
23002         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
23003         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
23004         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
23005         * iconvdata/Makefile (CPPFLAGS): Likewise.
23006         (cpp-srcs-left): Add libof for all iconvdata routines.
23007         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
23008         * include/assert.h: Likewise.
23009         * include/ctype.h: Likewise.
23010         * include/errno.h: Likewise.
23011         * include/libc-symbols.h: Likewise.
23012         * include/math.h: Likewise.
23013         * include/netdb.h: Likewise.
23014         * include/resolv.h: Likewise.
23015         * include/stdio.h: Likewise.
23016         * include/stdlib.h: Likewise.
23017         * include/string.h: Likewise.
23018         * include/sys/stat.h: Likewise.
23019         * include/wctype.h: Likewise.
23020         * intl/l10nflist.c: Likewise.
23021         * libidn/idn-stub.c: Likewise.
23022         * libio/libioP.h: Likewise.
23023         * nptl/libc_multiple_threads.c: Likewise.
23024         * nptl/pthreadP.h: Likewise.
23025         * posix/regex_internal.h: Likewise.
23026         * resolv/res_hconf.c: Likewise.
23027         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
23028         * sysdeps/arm/memmove.S: Likewise.
23029         * sysdeps/arm/sysdep.h: Likewise.
23030         * sysdeps/generic/_itoa.h: Likewise.
23031         * sysdeps/generic/symbol-hacks.h: Likewise.
23032         * sysdeps/gnu/errlist.awk: Likewise.
23033         * sysdeps/gnu/errlist.c: Likewise.
23034         * sysdeps/i386/i586/memcpy.S: Likewise.
23035         * sysdeps/i386/i586/memset.S: Likewise.
23036         * sysdeps/i386/i686/memcpy.S: Likewise.
23037         * sysdeps/i386/i686/memmove.S: Likewise.
23038         * sysdeps/i386/i686/mempcpy.S: Likewise.
23039         * sysdeps/i386/i686/memset.S: Likewise.
23040         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
23041         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23042         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
23043         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
23044         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23045         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
23046         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
23047         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23048         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
23049         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
23050         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23051         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23052         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23053         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23054         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23055         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23056         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
23057         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
23058         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
23059         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23060         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
23061         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
23062         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23063         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23064         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23065         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
23066         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
23067         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23068         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
23069         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
23070         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23071         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
23072         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
23073         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23074         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
23075         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
23076         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23077         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23078         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23079         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
23080         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23081         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23082         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23083         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
23084         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23085         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23086         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
23087         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
23088         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23089         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
23090         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23091         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
23092         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
23093         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23094         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
23095         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
23096         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23097         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
23098         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
23099         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23100         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
23101         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23102         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
23103         * sysdeps/nptl/bits/libc-lock.h: Likewise.
23104         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
23105         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
23106         * sysdeps/posix/closedir.c: Likewise.
23107         * sysdeps/posix/opendir.c: Likewise.
23108         * sysdeps/posix/readdir.c: Likewise.
23109         * sysdeps/posix/rewinddir.c: Likewise.
23110         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
23111         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
23112         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
23113         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
23114         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
23115         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
23116         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
23117         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
23118         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
23119         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
23120         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
23121         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
23122         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
23123         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
23124         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
23125         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
23126         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
23127         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
23128         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
23129         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
23130         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
23131         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
23132         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
23133         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
23134         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
23135         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
23136         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
23137         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
23138         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
23139         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
23140         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
23141         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
23142         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
23143         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
23144         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
23145         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
23146         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
23147         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
23148         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
23149         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
23150         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
23151         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
23152         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
23153         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
23154         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
23155         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
23156         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
23157         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
23158         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
23159         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
23160         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
23161         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
23162         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
23163         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
23164         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
23165         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
23166         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
23167         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
23168         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
23169         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
23170         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
23171         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
23172         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
23173         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
23174         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
23175         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
23176         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
23177         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
23178         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
23179         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
23180         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
23181         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
23182         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
23183         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
23184         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
23185         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
23186         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
23187         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
23188         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
23189         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
23190         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
23191         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
23192         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
23193         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
23194         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
23195         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
23196         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
23197         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
23198         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
23199         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23200         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
23201         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
23202         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
23203         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
23204         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
23205         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
23206         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
23207         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
23208         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
23209         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
23210         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23211         * sysdeps/unix/alpha/sysdep.S: Likewise.
23212         * sysdeps/unix/alpha/sysdep.h: Likewise.
23213         * sysdeps/unix/make-syscalls.sh: Likewise.
23214         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
23215         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
23216         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
23217         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
23218         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
23219         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
23220         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
23221         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
23222         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
23223         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
23224         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
23225         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
23226         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23227         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
23228         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
23229         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
23230         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
23231         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
23232         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
23233         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
23234         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
23235         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
23236         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
23237         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
23238         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
23239         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
23240         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
23241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
23242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
23243         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
23244         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
23245         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
23246         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
23247         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23248         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
23249         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
23250         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
23251         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23252         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
23253         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
23254         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
23255         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
23256         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
23257         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
23258         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
23259         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
23260         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23261         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23262         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
23263         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23264         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
23265         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
23266         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
23267         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
23268         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
23269         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
23270         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
23271         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23272         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
23273         * sysdeps/x86_64/memcpy.S: Likewise.
23274         * sysdeps/x86_64/memmove.c: Likewise.
23275         * sysdeps/x86_64/memset.S: Likewise.
23276         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
23277         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
23278         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
23279         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
23280         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
23281         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23282         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23283         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
23284         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
23285         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
23286         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
23287         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
23288         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
23289         * sysdeps/x86_64/multiarch/memset.S: Likewise.
23290         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23291         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
23292         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
23293         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
23294         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
23295         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
23296         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
23297         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23298         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
23299         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
23300         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
23301         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
23302         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
23303         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
23304         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
23305         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
23306         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
23307         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
23308         * sysdeps/x86_64/strcmp.S: Likewise.
23310         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
23312         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
23313         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
23314         * elf/rtld-Rules: Likewise.
23315         * elf/setup-vdso.h: Likewise.
23316         * include/assert.h: Likewise.
23317         * include/bits/stdlib-float.h: Likewise.
23318         * include/errno.h: Likewise.
23319         * include/sys/stat.h: Likewise.
23320         * include/unistd.h: Likewise.
23321         * sysdeps/aarch64/setjmp.S: Likewise.
23322         * sysdeps/alpha/setjmp.S: Likewise.
23323         * sysdeps/arm/__longjmp.S: Likewise.
23324         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
23325         * sysdeps/arm/setjmp.S: Likewise.
23326         * sysdeps/arm/sysdep.h: Likewise.
23327         * sysdeps/generic/_itoa.h: Likewise.
23328         * sysdeps/generic/dl-sysdep.h: Likewise.
23329         * sysdeps/generic/ldsodefs.h: Likewise.
23330         * sysdeps/i386/dl-tls.h: Likewise.
23331         * sysdeps/i386/setjmp.S: Likewise.
23332         * sysdeps/m68k/setjmp.c: Likewise.
23333         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
23334         * sysdeps/mach/hurd/opendir.c: Likewise.
23335         * sysdeps/posix/getcwd.c: Likewise.
23336         * sysdeps/posix/opendir.c: Likewise.
23337         * sysdeps/posix/profil.c: Likewise.
23338         * sysdeps/powerpc/dl-procinfo.h: Likewise.
23339         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
23340         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
23341         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
23342         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
23343         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
23344         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
23345         * sysdeps/s390/dl-tls.h: Likewise.
23346         * sysdeps/s390/s390-32/setjmp.S: Likewise.
23347         * sysdeps/s390/s390-64/setjmp.S: Likewise.
23348         * sysdeps/sh/sh3/setjmp.S: Likewise.
23349         * sysdeps/sh/sh4/setjmp.S: Likewise.
23350         * sysdeps/unix/alpha/sysdep.h: Likewise.
23351         * sysdeps/unix/arm/sysdep.S: Likewise.
23352         * sysdeps/unix/i386/sysdep.S: Likewise.
23353         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
23354         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
23355         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
23356         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
23357         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23358         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
23359         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
23360         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
23361         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
23362         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
23363         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
23364         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
23365         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
23366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
23367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23368         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
23369         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23370         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23371         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
23372         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
23373         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
23374         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23375         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23376         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
23377         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
23378         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
23379         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23380         * sysdeps/unix/x86_64/sysdep.S: Likewise.
23381         * sysdeps/x86_64/setjmp.S: Likewise.
23383         * include/math.h: Use IS_IN instead of IS_IN_libm.
23384         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
23385         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
23386         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
23387         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
23388         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
23389         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
23390         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
23391         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
23392         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23393         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
23394         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
23395         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
23396         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
23397         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
23398         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
23399         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
23400         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
23401         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
23402         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
23403         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
23404         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
23405         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
23406         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
23407         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
23408         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
23409         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
23410         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
23411         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
23412         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
23413         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
23414         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
23415         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
23416         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
23417         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
23418         Likewise.
23419         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
23420         Likewise.
23421         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
23422         Likewise.
23423         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
23424         Likewise.
23425         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
23426         Likewise.
23427         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
23428         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
23429         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
23430         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
23431         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
23432         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
23433         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
23434         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
23435         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
23436         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
23437         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
23438         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
23439         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
23440         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
23441         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
23442         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
23443         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
23444         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
23445         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
23446         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
23447         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
23448         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
23449         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
23450         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
23451         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
23452         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
23453         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
23455         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
23456         * nptl/pthreadP.h: Likewise.
23457         * nptl_db/structs.def: Likewise.
23458         * sysdeps/arm/sysdep.h: Likewise.
23459         * sysdeps/nptl/bits/libc-lock.h: Likewise.
23460         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
23461         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
23462         * sysdeps/unix/alpha/sysdep.h: Likewise.
23463         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
23464         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
23465         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
23466         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
23467         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
23468         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
23469         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23470         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
23471         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
23472         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
23473         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
23474         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
23475         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
23476         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
23477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
23478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
23479         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
23480         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
23481         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
23482         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
23483         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
23484         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
23485         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
23486         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
23487         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
23488         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
23490         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
23491         * nptl/pthreadP.h: Likewise.
23492         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
23493         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
23494         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
23495         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
23496         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
23497         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
23498         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
23499         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
23500         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
23501         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
23502         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
23503         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
23504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
23505         Likewise.
23506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
23507         Likewise.
23508         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
23509         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
23510         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
23511         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
23512         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
23513         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
23514         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
23515         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
23517         * dlfcn/dladdr.c: Use IS_IN.
23518         * dlfcn/dladdr1.c: Likewise.
23519         * dlfcn/dlclose.c: Likewise.
23520         * dlfcn/dlerror.c: Likewise.
23521         * dlfcn/dlinfo.c: Likewise.
23522         * dlfcn/dlmopen.c: Likewise.
23523         * dlfcn/dlopen.c: Likewise.
23524         * dlfcn/dlsym.c: Likewise.
23525         * dlfcn/dlvsym.c: Likewise.
23527         * include/ifaddrs.h: Use IS_IN.
23528         * inet/check_pf.c: Likewise.
23529         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
23530         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
23532         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
23533         IS_IN_ldconfig.
23534         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
23535         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
23537         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
23538         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
23539         IS_IN (libc).
23541         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
23543         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
23544         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
23545         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
23546         * include/libc-symbols.h (IS_IN_LIB): New macro.
23547         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
23548         * include/netdb.h: Likewise.
23549         * include/stap-probe.h: Remove all uses of IN_LIB.
23551         * Makeconfig (module-cppflags-real): Define MODULE_NAME
23552         instead of IN_MODULE.
23553         * include/libc-symbols.h (IN_MODULE): Define using
23554         MODULE_NAME.
23555         (PASTE_NAME, PASTE_NAME1): New macros.
23556         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
23557         of IN_LIB.
23558         (STAP_PROBE_ASM): Likewise.
23560 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23562         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
23563         __mach_init in dlopened libc.
23565 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
23567         * sysdeps/arm/preconfigure.ac: Delete EABI check.
23568         * sysdeps/arm/preconfigure: Regenerate.
23570 2014-11-21  Roland McGrath  <roland@hack.frob.com>
23572         * nptl/pthread_create.c (__pthread_create_2_1): Set
23573         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
23574         when copying values from IATTR into PD.
23576 2014-11-21  Will Newton  <will.newton@linaro.org>
23577             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
23579         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
23580         Refactor inline-asm.  Also add comment.
23582         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
23583         ElfW macro instead of hardcoded Elf64 types.
23584         (la_aarch64_gnu_pltenter): Likewise.
23585         * sysdeps/aarch64/dl-machine.h
23586         (elf_machine_runtime_setup): Use ElfW(Addr).
23588         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
23589         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
23590         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
23591         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
23592         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
23593         (R_AARCH64_TLS_DTPMOD64): Rename to ..
23594         (R_AARCH64_TLS_DTPMOD): This.
23595         (R_AARCH64_TLS_DTPREL64): Rename to ...
23596         (R_AARCH64_TLS_DTPREL): This.
23597         (R_AARCH64_TLS_TPREL64): Rename to ...
23598         (R_AARCH64_TLS_TPREL): This.
23599         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
23600         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
23601         R_AARCH64_TLS_TPREL64.
23602         (elf_machine_rela): Likewise.
23604 2014-11-21  Torvald Riegel  <triegel@redhat.com>
23606         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
23607         by setting it to 0.  64b atomics are not supported currently.
23609 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
23611         [BZ #16469]
23612         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
23613         search domain names.
23615 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
23617         [BZ #16469]
23618         * NEWS: Update.
23619         * resolv/res_query.c (__libc_res_nquerydomain): Retain
23620         trailing dot.
23621         * posix/tst-getaddrinfo5.c: New.
23622         * posix/Makefile (tests): Add it.
23624 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
23626         [BZ #14498]
23627         * NEWS: Fixed.
23628         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
23629         after parsing line but before break_if_match.
23630         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
23631         if there is a protocol mismatch.
23633 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
23635         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
23636         because the potential race is on the user-supplied stream.
23638 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
23640         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
23641         string literal if not passed a buffer.
23642         * manual/job.texi (ctermid): Update reasoning, note deviation
23643         from posix, suggest mtasurace when not passed a buffer, for
23644         future non-preliminary safety notes.
23646 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
23648         * manual/users.texi (cuserid): Fix MT-Safety note for the case
23649         of not passing it a buffer.
23650         Reported by Peng Haitao.
23652 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
23654         * manual/Makefile ($(objpfx)stamp-summary): Require
23655         check-safety.sh to pass.
23656         * manual/check-safety.sh: Wish for verification that every
23657         @deftypefn and @deftypefun is followed by a @safety remark.
23659 2014-11-20  Roland McGrath  <roland@hack.frob.com>
23661         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
23663         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
23664         PTHREAD_CANCEL_ASYNCHRONOUS.
23665         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
23666         send SIGCANCEL.
23668         * nptl/default-sched.h: New file.
23669         * sysdeps/unix/sysv/linux/default-sched.h: New file.
23670         * nptl/pthread_create.c: Include it.
23671         (__pthread_create_2_1): Use collect_default_sched instead of making
23672         Linux syscalls here directly.
23674 2014-11-20  Torvald Riegel  <triegel@redhat.com>
23676         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
23677         __pthread_once): Use C11 atomics.
23679 2014-11-20  Torvald Riegel  <triegel@redhat.com>
23681         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
23683 2014-11-20  Torvald Riegel  <triegel@redhat.com>
23685         * include/atomic.h (__atomic_link_error, __atomic_check_size,
23686         atomic_thread_fence_acquire, atomic_thread_fence_release,
23687         atomic_thread_fence_seq_cst, atomic_load_relaxed,
23688         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
23689         atomic_compare_exchange_weak_relaxed,
23690         atomic_compare_exchange_weak_acquire,
23691         atomic_compare_exchange_weak_release,
23692         atomic_exchange_acquire, atomic_exchange_release,
23693         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
23694         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
23695         atomic_fetch_and_acquire,
23696         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
23698 2014-11-20  Torvald Riegel  <triegel@redhat.com>
23700         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
23701         USE_ATOMIC_COMPILER_BUILTINS): Define.
23702         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
23703         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23704         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
23705         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23706         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
23707         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23708         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
23709         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23710         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
23711         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23712         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
23713         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23714         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
23715         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23716         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
23717         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23718         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
23719         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23720         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
23721         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23722         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
23723         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23724         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
23725         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23726         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
23727         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23728         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
23729         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23730         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
23731         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23732         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
23733         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23734         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
23735         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23736         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
23737         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23738         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
23739         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23740         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
23741         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23743 2014-11-19  Roland McGrath  <roland@hack.frob.com>
23745         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
23746         the sched_priority value here.  It was already checked when the user
23747         called pthread_attr_setschedparam.
23749         * nptl/tst-bad-schedattr.c: New file.
23750         * nptl/Makefile (tests): Add it.
23752 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
23753             Florian Weimer  <fweimer@redhat.com>
23754             Joseph Myers  <joseph@codesourcery.com>
23755             Adam Conrad  <adconrad@0c3.net>
23756             Andreas Schwab  <schwab@suse.de>
23757             Brooks  <bmoses@google.com>
23759         [BZ #17625]
23760         * wordexp-test.c (__dso_handle): Add prototype.
23761         (__register_atfork): Likewise.
23762         (__app_register_atfork): New function.
23763         (registered_forks): New global.
23764         (register_fork): New function.
23765         (test_case): Add 3 new tests for WRDE_CMDSUB.
23766         (main): Call __app_register_atfork.
23767         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
23768         fork count is non-zero fail the test.
23769         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
23770         is set.
23771         (parse_dollars): Remove check for WRDE_NOCMD.
23772         (parse_dquote): Likewise.
23774 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23776         * Makeconfig (built-modules): List non-library modules to be
23777         built.
23778         (module-cppflags): Include libc-modules.h for
23779         everything except shlib-versions.v.i.
23780         (CPPFLAGS): Use it.
23781         (before-compile): Add libc-modules.h.
23782         ($(common-objpfx)libc-modules.h,
23783         $(common-objpfx)libc-modules.stmp): New targets.
23784         (common-generated): Add libc-modules.h and libc-modules.stmp.
23785         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
23786         * include/libc-symbols.h: Don't include libc-modules.h.
23787         * include/libc-modules.h: Remove file.
23788         * scripts/gen-libc-modules.awk: New script to generate
23789         libc-modules.h.
23790         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
23791         Depend on libc-modules.stmp.
23793         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
23795         * Makeconfig (in-module): Get value of libof set for the
23796         translation unit.
23797         (CPPFLAGS): Use $(in-module).
23798         * Makerules: Don't suffix routine names for nonlib.
23799         * include/libc-modules.h: New file.
23800         * include/libc-symbols.h: Include libc-modules.h
23801         (IS_IN): New macro to replace IS_IN_* macros.
23802         * elf/Makefile: Set libof-* for each routine.
23803         * elf/rtld-Rules: Likewise.
23804         * extra-modules.mk: Likewise.
23805         * iconv/Makefile: Likewise.
23806         * iconvdata/Makefile: Likewise.
23807         * locale/Makefile: Likewise.
23808         * malloc/Makefile: Likewise.
23809         * nss/Makefile: Likewise.
23810         * sysdeps/gnu/Makefile: Likewise.
23811         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
23812         * sysdeps/unix/sysv/linux/Makefile: Likewise.
23813         * sysdeps/s390/s390-64/Makefile: Likewise.
23814         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
23815         CPPFLAGS for nscd instead of nonlib.
23817 2014-11-18  Roland McGrath  <roland@hack.frob.com>
23819         * nptl/createthread.c: New file.
23821         * nptl/createthread.c: Moved ...
23822         * sysdeps/unix/sysv/linux/createthread.c: ... here.
23824         * nptl/createthread.c: Add proper top-line comment.
23825         (do_clone): Folded into ...
23826         (create_thread): ... here.  Take new arguments STOPPED_START and
23827         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
23828         increment __nptl_threads, do event-reporting logic, do
23829         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
23830         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
23831         resource cleanup if sched_setaffinity or sched_setscheduler fails,
23832         just send SIGCANCEL.
23833         * nptl/pthread_create.c: Forward-declare create_thread before
23834         including createthread.c.
23835         (start_thread): Use new macro START_THREAD_DEFN to replace defining
23836         declaration, and new macro START_THREAD_SELF to replace argument.
23837         Remove return statement.
23838         (report_thread_creation): New function.
23839         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
23840         synchronization logic, and __nptl_nthreads increment here, around
23841         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
23842         PD->parent_cancelhandling here, before create_thread.  When
23843         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
23844         __deallocate_stack, and ENOMEM translation here.
23846 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
23848         [BZ #17616]
23849         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
23850         (mptwo): Rename to __mptwo.
23851         (__inv): Use __mptwo instead of mptwo.
23852         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
23853         (mptwo): Rename to __mptwo.
23854         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
23855         of mpone and __mptwo instead of mptwo.
23856         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
23857         instead of mpone.
23858         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
23859         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
23860         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
23861         of mpone and __mptwo instead of mptwo.
23862         (__mpranred): Use __mpone instead of mpone.
23863         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
23864         variable.
23865         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
23866         (test-xfail-ISO99/math.h/linknamespace): Likewise.
23867         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
23868         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
23869         (test-xfail-ISO11/math.h/linknamespace): Likewise.
23870         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
23871         (test-xfail-XPG3/math.h/linknamespace): Likewise.
23872         (test-xfail-XPG4/math.h/linknamespace): Likewise.
23873         (test-xfail-POSIX/math.h/linknamespace): Likewise.
23874         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
23875         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
23876         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
23877         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
23878         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
23879         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
23880         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
23881         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
23882         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
23883         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
23885 2014-11-18  Tom de Vries  <tom@codesoucery.com>
23887         * manual/signal.texi (Primitives Interrupted by Signals): In section,
23888         replace BSD Handler xref with BSD Signal Handling.
23890 2014-11-17  Richard Henderson  <rth@redhat.com>
23892         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
23893         (_FP_PACK_RAW_2): Remove.
23894         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
23895         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
23896         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
23897         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
23898         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
23899         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
23900         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
23901         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
23902         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
23903         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
23904         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
23905         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
23906         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
23907         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
23908         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
23909         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
23911 2014-11-14  Roland McGrath  <roland@hack.frob.com>
23913         * signal/signal.h [__USE_MISC]
23914         (struct sigvec): Remove type.
23915         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
23916         (sigvec): Remove declaration.
23917         * sysdeps/posix/sigvec.c: Moved ...
23918         * signal/sigvec.c: ... here, replacing old file.
23919         (struct sigvec): New type, copied from old signal.h definition.
23920         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
23921         (__sigvec): Convert definition to prototype.
23922         (sigvec): Replace weak_alias with compat_symbol.
23923         * signal/Versions (libc: GLIBC_2.21): New version set.
23924         * include/signal.h: Remove __sigvec declaration.
23925         * sysdeps/unix/bsd/sigvec.c: Remove file.
23926         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
23927         * manual/signal.texi (BSD Handler): Remove subsection.
23928         Move siginterrupt up to ...
23929         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
23930         (Blocking in BSD): Fold subsection into its parent.
23931         * NEWS: Mention sigvec removal.
23933 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
23935         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
23936         (DLA_FMS): Make definition conditional only on [__FMA4__].
23937         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
23938         definition.
23940         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
23941         Make definition conditional only on [PROF].
23942         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
23943         definition.
23944         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
23945         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
23947         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
23948         !__GNUC__].
23949         * include/signal.h (__sigpause): Move declaration above call to
23950         libc_hidden_proto.
23951         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
23952         variable.
23953         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
23954         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
23956 2014-11-14  David S. Miller  <davem@davemloft.net>
23958         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
23959         Define before including <string/memcpy.c> and <string/mempcpy.c>.
23961 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
23963         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
23964         * configure: Regenerated.
23965         * manual/install.texi (Tools for Compilation): Document a
23966         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
23967         compiler verified to work.
23968         * INSTALL: Regenerated.
23970         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
23971         redeclare with asm name.
23972         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
23973         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
23974         including <string.h>.
23975         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
23976         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
23977         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
23978         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
23979         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
23980         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
23981         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
23983 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
23985         * stdlib/strtol.c (__strtol): Use prototype definition.
23987         [BZ #17594]
23988         * stdlib/strtol.c (SYM__): New macro.
23989         (SYM__1): Likewise.
23990         (__strtol): Likewise.
23991         (strtol): Rename to __strtol and define as weak alias of
23992         __strtol.  Use libc_hidden_weak.
23994 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
23996         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
23997         Use numbered labels in inline assembly.
23999 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
24001         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
24002         Add setjmp LIBC_PROBE.
24003         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
24004         Likewise.
24005         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
24006         Add longjmp, longjmp_target LIBC_PROBE.
24007         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
24008         Likewise.
24010 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
24012         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
24013         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
24014         to get rid of unused variable warning.
24016 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
24018         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
24019         Check for unwind_backtrace ==  NULL only in SHARED case.
24020         (__backchain_backtrace): Compile only in SHARED case.
24021         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
24022         Likewise.
24023         (__backchain_backtrace): Declare as static.
24025 2014-11-12  Roland McGrath  <roland@hack.frob.com>
24027         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
24028         (__libc_multiple_threads_ptr): Variable moved ...
24029         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
24031 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
24033         * conform/GlibcConform.pm: New file.
24034         * conform/conformtest.pl: Use GlibcConform module.
24035         * conform/linknamespace.pl: New file.
24036         * conform/list-header-symbols.pl: Likewise.
24037         * conform/Makefile (linknamespace-symlists-base): New variable.
24038         (linknamespace-symlists-tests): Likewise.
24039         (linknamespace-header-base): Likewise.
24040         (linknamespace-header-tests): Likewise.
24041         (tests-special): Add new tests.
24042         ($(linknamespace-symlists-tests)): New rule.
24043         (linknamespace-libs): New variable.
24044         ($(objpfx)symlist-stdlibs): New rule.
24045         ($(linknamespace-header-tests)): Likewise.
24046         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
24047         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
24048         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
24049         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
24050         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
24051         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
24052         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
24053         (test-xfail-ISO/math.h/linknamespace): Likewise.
24054         (test-xfail-ISO/signal.h/linknamespace): Likewise.
24055         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
24056         (test-xfail-ISO/time.h/linknamespace): Likewise.
24057         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
24058         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
24059         (test-xfail-ISO99/math.h/linknamespace): Likewise.
24060         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
24061         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
24062         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
24063         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
24064         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
24065         (test-xfail-ISO11/math.h/linknamespace): Likewise.
24066         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
24067         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
24068         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
24069         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
24070         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
24071         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
24072         (test-xfail-XPG3/math.h/linknamespace): Likewise.
24073         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
24074         (test-xfail-XPG3/search.h/linknamespace): Likewise.
24075         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
24076         (test-xfail-XPG3/time.h/linknamespace): Likewise.
24077         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
24078         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
24079         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
24080         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
24081         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
24082         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
24083         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
24084         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
24085         (test-xfail-XPG4/math.h/linknamespace): Likewise.
24086         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
24087         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
24088         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
24089         (test-xfail-XPG4/search.h/linknamespace): Likewise.
24090         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
24091         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
24092         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
24093         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
24094         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
24095         (test-xfail-XPG4/time.h/linknamespace): Likewise.
24096         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
24097         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
24098         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
24099         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
24100         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
24101         (test-xfail-POSIX/math.h/linknamespace): Likewise.
24102         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
24103         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
24104         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
24105         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
24106         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
24107         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
24108         (test-xfail-POSIX/time.h/linknamespace): Likewise.
24109         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
24110         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
24111         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
24112         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
24113         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
24114         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
24115         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
24116         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
24117         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
24118         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
24119         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
24120         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
24121         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
24122         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
24123         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
24124         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
24125         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
24126         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
24127         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
24128         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
24129         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
24130         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
24131         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
24132         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
24133         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
24134         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
24135         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
24136         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
24137         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
24138         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
24139         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
24140         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
24141         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
24142         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
24143         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
24144         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
24145         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
24146         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
24147         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
24148         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
24149         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
24150         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
24151         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
24152         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
24153         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
24154         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
24155         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
24156         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
24157         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
24158         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
24159         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
24160         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
24161         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
24162         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
24163         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
24164         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
24165         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
24166         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
24167         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
24168         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
24169         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
24170         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
24171         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
24172         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
24173         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
24174         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
24175         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
24176         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
24177         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
24178         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
24179         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
24180         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
24181         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
24182         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
24183         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
24184         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
24185         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
24186         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
24187         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
24188         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
24189         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
24190         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
24191         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
24192         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
24193         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
24194         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
24195         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
24196         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
24197         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
24198         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
24199         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
24200         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
24201         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
24202         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
24203         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
24204         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
24205         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
24206         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
24208         [BZ #17589]
24209         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
24210         of fgets_unlocked.
24212         [BZ #17585]
24213         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
24214         (memmem): Rename to __memmem and define as weak alias of
24215         __memmem.  Use libc_hidden_weak.
24216         (__memmem): Use libc_hidden_def.
24217         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
24218         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
24219         memmem.
24221         [BZ #17582]
24222         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
24223         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
24224         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
24225         and define as weak alias of __fgets_unlocked.  Use
24226         libc_hidden_weak.
24227         (__fgets_unlocked): Use libc_hidden_def.
24228         * include/stdio.h (__fgets_unlocked): Declare.  Use
24229         libc_hidden_proto.
24230         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
24231         __fgets_unlocked instead of fgets_unlocked.
24232         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
24233         (GET_NPROCS_CONF_PARSER): Likewise.
24234         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
24235         (GET_NPROCS_CONF_PARSER): Likewise.
24237         [BZ #17574]
24238         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
24239         weak alias of __wmemset.  Use libc_hidden_weak.
24240         (__wmemset): Use libc_hidden_def.
24241         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
24242         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
24243         of wmemset.
24245         [BZ #17573]
24246         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
24247         with asm name __mempcpy.
24248         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
24250         [BZ #17572]
24251         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
24252         and define as weak alias of __rawmemchr.
24253         (__rawmemchr): Do not define as strong alias of rawmemchr.
24255         [BZ #17571]
24256         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
24257         alias of __qsort_r.
24258         (qsort): Call __qsort_r instead of qsort_r.
24259         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
24260         (__qsort_r): Declare.  Call libc_hidden_proto.
24261         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
24262         instead of qsort_r.
24263         * nscd/gai.c (__qsort_r): Define to qsort_r.
24264         * posix/tst-rfc3484.c (__qsort_r): Likewise.
24265         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
24266         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
24268         [BZ #17570]
24269         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
24270         define as weak alias of __malloc_info.
24272         [BZ #17584]
24273         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
24274         as weak alias of __rewinddir.  Don't use libc_hidden_def.
24275         (__rewinddir): Use libc_hidden_def.
24276         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
24277         as weak alias of __rewinddir.  Don't use libc_hidden_def.
24278         (__rewinddir): Use libc_hidden_def.
24279         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
24280         weak alias of __rewinddir.  Don't use libc_hidden_def.
24281         (__rewinddir): Use libc_hidden_def.
24282         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
24283         (__rewinddir): Use libc_hidden_proto.
24284         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
24285         rewinddir.
24286         (__getcwd): Use __rewinddir instead of rewinddir.
24288         [BZ #17583]
24289         * libio/fileno.c (fileno): Rename to __fileno and define as weak
24290         alias of __fileno.  Use libc_hidden_weak.
24291         (__fileno): Use libc_hidden_def.
24292         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
24293         * libio/ftello.c (ftello): Rename to __ftello and define as weak
24294         alias of __ftello.
24295         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
24296         __ftello.
24297         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
24298         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
24299         libc_hidden_def.
24300         (fread_unlocked): Don't use libc_hidden_ver.
24301         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
24302         and define as weak alias of __fread_unlocked.  Don't use
24303         libc_hidden_def.
24304         (__fread_unlocked): Use libc_hidden_def.
24305         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
24306         (ftello): Don't use libc_hidden_proto.
24307         (__ftello): Declare.  Use libc_hidden_proto.
24308         (fread_unlocked): Don't use libc_hidden_proto.
24309         (__fread_unlocked): Declare.  Use libc_hidden_proto.
24310         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
24311         and __ftello instead of fileno, fread_unlocked and ftello.
24313 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
24315         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
24316         GOT12.
24317         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
24318         Likewise.
24319         (_dl_start_user): Likewise.
24320         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
24322 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
24323             Siddhesh Poyarekar  <siddhesh@redhat.com>
24325         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
24326         Move argv and envp down instead of moving argc up.
24327         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
24329 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
24331         [BZ #17506]
24332         * test-skeleton.c (main): Return successful if one of
24333         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
24334         * string/tst-strcoll-overflow.c: Define expected status.
24336 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
24338         [BZ #17475]
24339         * locale/iso-639.def: Define Bhili and Tulu language codes.
24341 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
24343         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
24345 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
24347         [BZ #17555]
24348         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
24350 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
24352         * configure.ac: Updated check of minimal required version to
24353         2.22.
24354         * manual/install.texi (Tools for Compilation): Updated version
24355         number.
24356         * configure: Regenerated.
24357         * INSTALL: Likewise.
24359 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
24361         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
24362         __tls_get_addr.
24364 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
24366         * include/sys/wait.h (__libc_waitpid): Remove declaration.
24367         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
24368         (__waitpid): Don't define as alias.  Use libc_hidden_def not
24369         libc_hidden_weak.
24370         (waitpid): Define as alias of __waitpid.
24371         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
24372         __waitpid.
24373         (__waitpid): Don't define as alias.  Use libc_hidden_def not
24374         libc_hidden_weak.
24375         (waitpid): Define as alias of __waitpid.
24376         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
24377         __libc_waitpid alias.
24378         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
24379         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
24380         Likewise.
24381         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
24382         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
24383         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
24384         alias.
24385         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
24386         __waitpid.
24387         (__waitpid): Don't define as alias.  Use libc_hidden_def not
24388         libc_hidden_weak.
24389         (waitpid): Define as alias of __waitpid.
24391 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
24393         * manual/llio.texi: Add comment that write safety has been
24394         fixed in Linux.
24396         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
24397         (localplt-build-dso): Add elf/ld.so.
24398         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
24399         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
24400         and free for ld.so.
24401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
24402         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
24403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
24404         Likewise.
24405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
24406         Likewise.
24407         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
24408         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
24409         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
24410         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
24411         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
24412         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
24413         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
24414         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
24415         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
24416         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
24417         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
24419 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
24421         [BZ #14132]
24422         * include/libc-symbols.h (INTUSE): Remove macro.
24423         (INTDEF): Likewise.
24424         (INTVARDEF): Likewise.
24425         (_INTVARDEF): Likewise.
24426         (INTDEF2): Likewise.
24427         (INTVARDEF2): Likewise.
24428         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
24429         rtld_hidden_def instead of INTVARDEF.
24430         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
24431         (_dl_starting_up_internal): Remove declaration.
24432         (_dl_starting_up): Use rtld_hidden_proto.
24433         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
24434         declaration.
24435         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
24436         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
24437         _dl_starting_up.
24438         * elf/dl-writev.h (_dl_writev): Likewise.
24439         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
24440         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
24441         _dl_starting_up_internal.
24443 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24445         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
24446         test-skeleton.c.
24448 2014-11-05  Will Newton  <will.newton@linaro.org>
24450         * benchtests/Makefile: (bench-malloc): Add malloc thread
24451         scalability benchmark.
24452         * benchtests/bench-malloc-threads.c: New file.
24454 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
24456         * sysdeps/aarch64/strchrnul.S: New file.
24458 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24460         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
24461         definition.
24462         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
24463         Likwise.
24464         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
24465         Likewise.
24466         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
24467         Likewise.
24468         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
24469         Likewise.
24470         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
24471         Likewise.
24473 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
24475         * catgets/test-gencat.c: Use test-skeleton.c.
24476         * catgets/tst-catgets.c: Likewise.
24477         * csu/tst-empty.c: Likewise.
24478         * elf/tst-audit2.c: Likewise.
24479         * elf/tst-global1.c: Likewise.
24480         * elf/tst-pathopt.c: Likewise.
24481         * elf/tst-piemod1.c: Likewise.
24482         * elf/tst-tls10.c: Likewise.
24483         * elf/tst-tls11.c: Likewise.
24484         * elf/tst-tls12.c: Likewise.
24485         * gnulib/tst-gcc.c: Likewise.
24486         * iconvdata/tst-e2big.c: Likewise.
24487         * iconvdata/tst-loading.c: Likewise.
24488         * iconv/tst-iconv1.c: Likewise.
24489         * iconv/tst-iconv2.c: Likewise.
24490         * inet/test-inet6_opt.c: Likewise.
24491         * inet/tst-gethnm.c: Likewise.
24492         * inet/tst-network.c: Likewise.
24493         * inet/tst-ntoa.c: Likewise.
24494         * intl/tst-codeset.c: Likewise.
24495         * intl/tst-gettext2.c: Likewise.
24496         * intl/tst-gettext3.c: Likewise.
24497         * intl/tst-ngettext.c: Likewise.
24498         * intl/tst-translit.c: Likewise.
24499         * io/test-stat.c: Likewise.
24500         * libio/test-fmemopen.c: Likewise.
24501         * libio/tst-freopen.c: Likewise.
24502         * libio/tst-sscanf.c: Likewise.
24503         * libio/tst-ungetwc1.c: Likewise.
24504         * libio/tst-ungetwc2.c: Likewise.
24505         * libio/tst-widetext.c: Likewise.
24506         * localedata/tst-ctype.c: Likewise.
24507         * localedata/tst-digits.c: Likewise.
24508         * localedata/tst-leaks.c: Likewise.
24509         * localedata/tst-mbswcs1.c: Likewise.
24510         * localedata/tst-mbswcs2.c: Likewise.
24511         * localedata/tst-mbswcs3.c: Likewise.
24512         * localedata/tst-mbswcs4.c: Likewise.
24513         * localedata/tst-mbswcs5.c: Likewise.
24514         * localedata/tst-setlocale.c: Likewise.
24515         * localedata/tst-trans.c: Likewise.
24516         * localedata/tst-wctype.c: Likewise.
24517         * localedata/tst-xlocale1.c: Likewise.
24518         * login/tst-grantpt.c: Likewise.
24519         * malloc/tst-calloc.c: Likewise.
24520         * malloc/tst-malloc.c: Likewise.
24521         * malloc/tst-mallocstate.c: Likewise.
24522         * malloc/tst-mcheck.c: Likewise.
24523         * malloc/tst-mtrace.c: Likewise.
24524         * malloc/tst-obstack.c: Likewise.
24525         * math/atest-exp2.c: Likewise.
24526         * math/atest-exp.c: Likewise.
24527         * math/atest-sincos.c: Likewise.
24528         * math/test-matherr.c: Likewise.
24529         * math/test-misc.c: Likewise.
24530         * math/test-powl.c: Likewise.
24531         * math/tst-definitions.c: Likewise.
24532         * misc/tst-dirname.c: Likewise.
24533         * misc/tst-efgcvt.c: Likewise.
24534         * misc/tst-fdset.c: Likewise.
24535         * misc/tst-hsearch.c: Likewise.
24536         * misc/tst-mntent2.c: Likewise.
24537         * nptl/tst-sem7.c: Likewise.
24538         * nptl/tst-sem8.c: Likewise.
24539         * nptl/tst-sem9.c: Likewise.
24540         * nss/test-netdb.c: Likewise.
24541         * posix/tst-fnmatch.c: Likewise.
24542         * posix/tst-getlogin.c: Likewise.
24543         * posix/tst-gnuglob.c: Likewise.
24544         * posix/tst-mmap.c: Likewise.
24545         * pwd/tst-getpw.c: Likewise.
24546         * resolv/tst-inet_ntop.c: Likewise.
24547         * rt/tst-timer.c: Likewise.
24548         * stdio-common/test-fseek.c: Likewise.
24549         * stdio-common/test-popen.c: Likewise.
24550         * stdio-common/test-vfprintf.c: Likewise.
24551         * stdio-common/tst-cookie.c: Likewise.
24552         * stdio-common/tst-fileno.c: Likewise.
24553         * stdio-common/tst-gets.c: Likewise.
24554         * stdio-common/tst-obprintf.c: Likewise.
24555         * stdio-common/tst-perror.c: Likewise.
24556         * stdio-common/tst-sprintf2.c: Likewise.
24557         * stdio-common/tst-sprintf3.c: Likewise.
24558         * stdio-common/tst-sprintf.c: Likewise.
24559         * stdio-common/tst-swprintf.c: Likewise.
24560         * stdio-common/tst-tmpnam.c: Likewise.
24561         * stdio-common/tst-unbputc.c: Likewise.
24562         * stdio-common/tst-wc-printf.c: Likewise.
24563         * stdlib/tst-environ.c: Likewise.
24564         * stdlib/tst-fmtmsg.c: Likewise.
24565         * stdlib/tst-limits.c: Likewise.
24566         * stdlib/tst-rand48-2.c: Likewise.
24567         * stdlib/tst-rand48.c: Likewise.
24568         * stdlib/tst-random2.c: Likewise.
24569         * stdlib/tst-random.c: Likewise.
24570         * stdlib/tst-strtol.c: Likewise.
24571         * stdlib/tst-strtoll.c: Likewise.
24572         * stdlib/tst-tls-atexit.c: Likewise.
24573         * stdlib/tst-xpg-basename.c: Likewise.
24574         * string/test-ffs.c: Likewise.
24575         * string/tst-bswap.c: Likewise.
24576         * string/tst-inlcall.c: Likewise.
24577         * string/tst-strtok.c: Likewise.
24578         * string/tst-strxfrm.c: Likewise.
24579         * sysdeps/x86_64/tst-audit10.c: Likewise.
24580         * sysdeps/x86_64/tst-audit3.c: Likewise.
24581         * sysdeps/x86_64/tst-audit4.c: Likewise.
24582         * sysdeps/x86_64/tst-audit5.c: Likewise.
24583         * time/tst-ftime_l.c: Likewise.
24584         * time/tst-getdate.c: Likewise.
24585         * time/tst-mktime3.c: Likewise.
24586         * time/tst-mktime.c: Likewise.
24587         * time/tst-posixtz.c: Likewise.
24588         * time/tst-strptime2.c: Likewise.
24589         * time/tst-strptime3.c: Likewise.
24590         * wcsmbs/tst-btowc.c: Likewise.
24591         * wcsmbs/tst-mbrtowc.c: Likewise.
24592         * wcsmbs/tst-mbsrtowcs.c: Likewise.
24593         * wcsmbs/tst-wchar-h.c: Likewise.
24594         * wcsmbs/tst-wcpncpy.c: Likewise.
24595         * wcsmbs/tst-wcrtomb.c: Likewise.
24596         * wcsmbs/tst-wcsnlen.c: Likewise.
24597         * wcsmbs/tst-wcstof.c: Likewise.
24599 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
24601         [BZ #14132]
24602         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
24603         INTDEF.
24604         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
24605         declaration.
24606         (_dl_mcount): Use rtld_hidden_proto.
24607         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
24608         _dl_mcount.
24609         * elf/rtld.c (_rtld_global_ro): Likewise.
24611         [BZ #14132]
24612         * elf/dl-init.c (_dl_init): Don't use INTDEF.
24613         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
24614         of _dl_init_internal.
24615         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
24616         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
24617         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
24618         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
24619         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
24620         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
24621         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
24622         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
24623         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
24624         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
24625         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
24626         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
24627         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
24628         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
24629         * sysdeps/tile/dl-start.S (_start): Likewise.
24630         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
24631         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
24633         [BZ #14132]
24634         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
24635         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
24636         (rtld_progname): Make macro definition unconditional.
24637         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
24638         INTDEF.
24639         (dlmopen_doit): Do not use INTUSE with _dl_argv.
24640         (dl_main): Likewise.
24641         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
24642         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
24643         instead of _dl_argv_internal.
24644         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
24645         __GI__dl_argv instead of INTUSE(_dl_argv).
24646         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
24647         __GI__dl_argv instead of _dl_argv_internal.
24649         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
24650         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
24651         macro.
24652         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
24653         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
24654         New macro.
24655         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
24656         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
24657         macro.
24658         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
24659         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
24661 2014-11-04  Andreas Schwab  <schwab@suse.de>
24663         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
24665 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24667         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
24668         mtvsrd instruction in binary form.
24670 2014-11-03  Andreas Schwab  <schwab@suse.de>
24672         [BZ #17522]
24673         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
24674         for less than MB_LEN_MAX use a local buffer of that size.
24675         * libio/tst-fputws.c: New file.
24676         * libio/Makefile (tests): Add tst-fputws.
24678 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
24680         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
24681         the size of the fpu_fr.fpu_dregs[] array.
24683 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
24685         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
24686         (__nanosleep): Do not define as alias.
24687         (nanosleep): Define as alias of __nanosleep.
24688         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
24689         __libc_nanosleep name.
24691 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
24693         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
24694         install.texi in comment.
24696 2014-10-31  Torvald Riegel  <triegel@redhat.com>
24698         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
24699         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
24700         ... add here and use lwsync or sync ...
24701         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
24702         ... and add here using lwsync.
24704 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
24706         * elf/dl-machine-reject-phdr.h: New file.
24707         * elf/dl-load.c: #include that.
24708         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
24709         if that returned true.
24711 2014-10-31  Roland McGrath  <roland@hack.frob.com>
24713         [BZ #17496]
24714         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
24715         gen-as-const-headers chunk.  Add a big scare comment after the last
24716         safe place to touch before-compile.
24718 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
24720         * manual/install.texi (Tools for Compilation): Update autoconf
24721         version requirements.
24722         * INSTALL: Regenerated.
24724         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
24725         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
24726         (__libc_pselect): Likewise.
24728         [BZ #14138]
24729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
24730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
24731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
24732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
24734 2014-10-31  Torvald Riegel  <triegel@redhat.com>
24736         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
24737         correct barrier instruction.
24738         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
24739         Likewise.
24740         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
24741         Likewise.
24743 2014-10-30  Roland McGrath  <roland@hack.frob.com>
24745         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
24746         after defining inlines.  Instead, just use parens to defeat macro
24747         expansion of __isctype in its declaration.
24749 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
24751         * include/sys/uio.h (__libc_readv): Remove declaration.
24752         (__libc_writev): Likewise.
24753         * misc/readv.c (__libc_readv): Rename to __readv.
24754         (__readv): Do not define as alias.
24755         (readv): Define as alias of __readv.
24756         * misc/writev.c (__libc_writev): Rename to __writev.
24757         (__writev): Do not define as alias.
24758         (writev): Define as alias of __writev.
24759         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
24760         (__readv): Do not define as alias.
24761         (readv): Define unconditionally as alias of __readv.
24762         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
24763         (__writev): Do not define as alias.
24764         (writev): Define unconditionally as alias of __writev.
24765         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
24766         name.
24767         (writev): Do not define __libc_writev name.
24769 2014-10-30  Roland McGrath  <roland@hack.frob.com>
24771         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
24772         (convert_charseq): New function, broken out of ...
24773         (use_from_charmap): ... here.  Call it.
24774         (use_to_charmap): Use convert_charseq and free instead of duplicating
24775         its code with a variable-length stack struct.
24777 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
24779         * include/fcntl.h (__libc_creat): Remove declaration.
24780         * io/creat.c (__libc_creat): Rename to creat.
24781         (creat): Do not define as alias.
24782         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
24783         of creat instead of __libc_creat.
24784         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
24785         to creat.
24786         (creat): Do not define as alias.
24787         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
24788         __libc_creat.
24789         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
24790         __libc_creat name.
24791         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
24792         Likewise.
24794 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
24796         * manual/llio.texi: Add comments discussing why write() may be
24797         considered MT-unsafe on Linux.
24799 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
24801         * dl-load.c (local_strdup): Remove.
24802         (expand_dynamic_string_token): Use __strdup.
24803         (decompose_rpath): Likewise.
24804         (_dl_map_object): Likewise.
24806 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
24808         [BZ #14132]
24809         * sysdeps/generic/unwind-dw2-fde.c
24810         (__register_frame_info_bases_internal): Do not declare.
24811         (__register_frame_info_table_bases_internal): Likewise.
24812         (__deregister_frame_info_bases_internal): Likewise.
24813         (__register_frame_info_bases): Declare and use hidden_proto before
24814         definition.  Use hidden_def instead of INTDEF.
24815         (__register_frame_info_table_bases): Likewise.
24816         (__deregister_frame_info_bases): Likewise.
24817         (__register_frame_info): Do not use INTUSE.
24818         (__register_frame): Likewise.
24819         (__register_frame_info_table): Likewise.
24820         (__register_frame_table): Likewise.
24821         (__deregister_frame_info): Likewise.
24822         (__deregister_frame): Likewise.
24824 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
24826         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24827         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
24828         not undefine.
24829         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
24830         Likewise.
24831         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
24832         Likewise.
24834 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
24836         [BZ #14138]
24837         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
24838         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
24839         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
24840         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
24841         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
24842         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
24843         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
24844         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
24845         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
24846         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
24847         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
24848         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
24849         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
24850         syscall.
24851         (setfsuid): Likewise.
24852         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
24853         (setfsuid): Likewise.
24854         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
24855         (setfsuid): Likewise.
24856         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
24857         Likewise.
24858         (setfsuid): Likewise.
24859         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
24860         (setfsuid): Likewise.
24861         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
24862         Likewise.
24863         (setfsuid): Likewise.
24865 2014-10-27  Andreas Schwab  <schwab@suse.de>
24867         [BZ #17501]
24868         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
24869         check for Slow_SSE4_2 feature bit.
24870         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
24871         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
24872         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
24873         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
24875 2014-10-24  Roland McGrath  <roland@hack.frob.com>
24877         * configure.ac: Validate compiler version with a empirical test of
24878         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
24879         $CC -v output.
24880         * configure: Regenerated.
24882         * inet/htons.c (htons): Prototypify.
24883         * inet/htonl.c (htonl): Likewise.
24885 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
24887         * string/strncat.c (strncat): Improve performance by using strlen.
24889 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
24891         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
24893 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
24895         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
24896         Call libc_fetestexcept_aarch64.
24898 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
24900         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
24901         Call libc_feholdexcept_aarch64.
24903 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
24905         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
24906         Call get_rounding_mode.
24908 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
24910         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
24911         Simplify logic.
24913 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
24915         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
24916         Simplify logic.
24918 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
24920         [BZ #14138]
24921         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
24922         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
24923         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
24924         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
24925         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
24926         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
24927         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
24928         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
24929         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
24930         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
24931         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
24932         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
24933         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
24934         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
24935         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
24936         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
24937         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
24938         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
24939         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
24940         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
24941         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
24942         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
24943         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
24944         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
24945         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
24946         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
24947         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
24948         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
24949         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
24950         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
24951         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
24952         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
24953         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
24954         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
24955         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
24956         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
24957         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
24958         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
24959         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
24960         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
24961         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
24962         syscall.
24963         (geteuid): Likewise.
24964         (getgid): Likewise.
24965         (getuid): Likewise.
24966         (getresgid): Likewise.
24967         (getresuid): Likewise.
24968         (getgroups): Likewise.
24969         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
24970         (geteuid): Likewise.
24971         (getgid): Likewise.
24972         (getuid): Likewise.
24973         (getresgid): Likewise.
24974         (getresuid): Likewise.
24975         (getgroups): Likewise.
24976         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
24977         (geteuid): Likewise.
24978         (getgid): Likewise.
24979         (getuid): Likewise.
24980         (getresgid): Likewise.
24981         (getresuid): Likewise.
24982         (getgroups): Likewise.
24983         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
24984         Likewise.
24985         (geteuid): Likewise.
24986         (getgid): Likewise.
24987         (getuid): Likewise.
24988         (getresgid): Likewise.
24989         (getresuid): Likewise.
24990         (getgroups): Likewise.
24991         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
24992         (geteuid): Likewise.
24993         (getgid): Likewise.
24994         (getuid): Likewise.
24995         (getresgid): Likewise.
24996         (getresuid): Likewise.
24997         (getgroups): Likewise.
24998         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
24999         Likewise.
25000         (geteuid): Likewise.
25001         (getgid): Likewise.
25002         (getuid): Likewise.
25003         (getgroups): Likewise.
25005         [BZ #14138]
25006         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
25007         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
25008         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
25009         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
25010         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
25011         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
25012         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
25013         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
25014         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
25015         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
25016         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
25017         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
25018         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
25019         __chown.
25020         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
25021         (lchown): Likewise.
25022         (fchown): Likewise.
25023         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
25024         Likewise.
25025         (lchown): Likewise.
25026         (fchown): Likewise.
25027         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
25028         (lchown): Likewise.
25029         (fchown): Likewise.
25030         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
25031         Likewise.
25032         (lchown): Likewise.
25033         (fchown): Likewise.
25035 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
25037         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
25038         Simplify logic.
25040 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
25042         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
25043         Cleanup logic.
25045 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
25047         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
25048         Remove unused include.
25050 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
25052         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
25053         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
25054         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
25055         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
25057 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
25058             Helge Deller <deller@gmx.de>
25060         [BZ #17508]
25061         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
25062         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
25063         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
25065 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
25067         [BZ #14132]
25068         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
25069         Remove macro definition.
25070         (__ashrdi3_v_glibc20): Likewise.
25071         (__lshrdi3_v_glibc20): Likewise.
25072         (__cmpdi2_v_glibc20): Likewise.
25073         (__ucmpdi2_v_glibc20): Likewise.
25074         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
25075         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
25076         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
25077         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
25078         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
25079         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
25081 2014-10-22  Roland McGrath  <roland@hack.frob.com>
25083         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
25084         old GNU extension [0] syntax.
25085         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
25086         alloca rather than an array member with variable length.
25087         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
25088         * nscd/nscd.c (invalidate_db): New function, broken out of ...
25089         (parse_opt): ... here.  Likewise use alloca there.
25090         Validate the -i argument before checking for rootness.
25091         (send_shutdown): New function, broken out of ...
25092         (parse_opt): ... here.
25094 2014-10-22  Roland McGrath  <roland@hack.frob.com>
25096         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
25097         macro to get at the _rt_local_ro field.
25098         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
25099         ([PIC] case) or _dl_hwcap ([!PIC] case).
25100         * sysdeps/arm/setjmp.S: Likewise.
25102         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
25103         * sysdeps/arm/configure.ac: New check to define it.
25104         * sysdeps/arm/configure: Regenerated.
25105         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
25106         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
25107         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
25108         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
25109         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
25110         Use move/movt pair instead of a load.
25111         (LDST_GLOBAL): Macro removed.
25112         (LDR_GLOBAL): New macro replaces it.
25113         (LDR_HIDDEN): New macro.
25114         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
25115         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
25117         * setjmp/tst-setjmp-static.c: New file.
25118         * setjmp/Makefile (tests): Add it.
25119         (tests-static): New variable.
25121 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
25123         [BZ #17485]
25124         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
25126 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
25128         [BZ #14132]
25129         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
25131 2014-10-21  Roland McGrath  <roland@hack.frob.com>
25133         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
25135 2014-10-20  Roland McGrath  <roland@hack.frob.com>
25137         * io/fts.c (dirent_not_directory): New function.
25138         (fts_build): Call it.
25140 2014-10-20  Roland McGrath  <roland@hack.frob.com>
25142         * nptl/version.c (__nptl_main): Use normal __write rather than
25143         INTERNAL_SYSCALL.
25144         (banner): Update copyright years.
25146         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
25147         gettimeofday.
25148         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
25149         * nptl/pthread_cond_timedwait.c: Likewise.
25150         * nptl/pthread_mutex_timedlock.c: Likewise.
25151         * nptl/sem_timedwait.c: Likewise.
25153         * sysdeps/nptl/bits/libc-lock.h
25154         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
25155         (__libc_lock_init_recursive): Return void, not 0.
25156         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
25157         (__libc_rwlock_init): Likewise.
25158         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
25160 2014-10-20  Torvald Riegel  <triegel@redhat.com>
25162         [BZ #15215]
25163         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
25164         (__pthread_once_slow): ... here.
25165         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
25166         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
25168 2014-10-20  Torvald Riegel  <triegel@redhat.com>
25170         [BZ #15215]
25171         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
25172         __PTHREAD_ONCE_FORK_GEN_INCR): New.
25173         * sysdeps/nptl/fork.c (__libc_fork): Use them.
25174         * nptl/pthread_once.c (__pthread_once): Likewise.
25175         Update comments.
25177 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
25179         [BZ #14138]
25180         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
25181         name.
25182         (writev): Use __libc_writev as strong name.
25183         * sysdeps/unix/sysv/linux/readv.c: Remove file.
25184         * sysdeps/unix/sysv/linux/writev.c: Likewise.
25186 2014-10-17  Roland McGrath  <roland@hack.frob.com>
25188         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
25190         * sysdeps/i386/nptl/tls.h
25191         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
25192         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
25193         New macros.
25194         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
25195         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
25196         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
25197         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
25198         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
25199         Call CHECK_THREAD_SYSINFO instead of doing an assert.
25201         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
25202         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
25203         on [__NR_futex].
25204         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
25205         broken out of ...
25206         (__pthread_mutex_init): ... here.  Call it.
25207         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
25208         Conditionalize PI cases on [__NR_futex].
25209         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
25210         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
25211         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
25213         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
25214         conditional on [SIGSETXID].
25215         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
25216         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
25217         is defined.  Likewise for SIGSETXID.
25218         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
25219         Conditionalize definitions on [SIGSETXID].
25220         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
25221         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
25222         unblocking on [SIGCANCEL].
25224         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
25225         [__NR_set_robust_list].
25227 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
25229         * string/strcoll_l.c (get_next_seq): Fix up formatting.
25230         (do_compare): Likewise.
25232 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
25234         [BZ #15884]
25235         * string/strcoll_l.c: Don't include stdio.h.
25236         (coll_seq): Remove members idxarr and rulearr.
25237         (get_next_seq_cached): Remove function.
25238         (get_next_seq): Likewise.
25239         (get_next_seq_nocache): Rename to get_next_seq.
25240         (do_compare): Remove function.
25241         (do_compare_nocache): Rename to do_compare.
25242         (STRCOLL): Remove weight and rules cache.
25244 2014-10-16  Roland McGrath  <roland@hack.frob.com>
25246         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
25247         * sysdeps/arm/sfp-machine.h: ... to here.
25248         * sysdeps/arm/Implies: Remove arm/soft-fp.
25250 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
25252         * conform/data/sys/utsname.h-data (*_t): Allow.
25253         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
25254         [POSIX] (WEXITED): Do not expect constant.
25255         [POSIX] (WSTOPPED): Likewise.
25256         [POSIX] (WNOHANG): Likewise.
25257         [POSIX] (WNOWAIT): Likewise.
25258         [POSIX] (siginfo_t): Do not expect type or elements.
25259         [POSIX] (pid_t): Do not expect type.
25260         [POSIX] (signal.h): Do not allow header.
25261         [POSIX] (sys/resource.h): Likewise.
25262         [POSIX] (si_*): Do not allow pattern.
25263         [POSIX] (W*): Likewise.
25264         [POSIX] (P_*): Likewise.
25265         [POSIX] (BUS_*): Likewise.
25266         [POSIX] (CLD_*): Likewise.
25267         [POSIX] (FPE_*): Likewise.
25268         [POSIX] (ILL_*): Likewise.
25269         [POSIX] (POLL_*): Likewise.
25270         [POSIX] (SEGV_*): Likewise.
25271         [POSIX] (SI_*): Likewise.
25272         [POSIX] (TRAP_*): Likewise.
25273         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
25274         variable.
25276 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
25278         [BZ #12926]
25279         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
25280         infinite loop when __recvmsg returns 0.
25282 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
25284         * CANCEL-FCT-WAIVE: Remove file.
25285         * CANCEL-FILE-WAIVE: Likewise.
25287         [BZ #14132]
25288         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
25289         instead of INTVARDEF.
25290         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
25291         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
25292         rtld_hidden_data_def instead of INTVARDEF.
25293         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
25294         * elf/dl-deps.c (expand_dst): Likewise.
25295         * elf/dl-load.c (_dl_dst_count): Likewise.
25296         (_dl_dst_substitute): Likewise.
25297         (decompose_rpath): Likewise.
25298         (_dl_init_paths): Likewise.
25299         (open_path): Likewise.
25300         (_dl_map_object): Likewise.
25301         * elf/rtld.c (dl_main): Likewise.
25302         (process_dl_audit): Likewise.
25303         (process_envvars): Likewise.
25304         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
25305         Remove declaration.
25306         (__libc_enable_secure): Use rtld_hidden_proto.
25308 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
25310         * elf/dl-load.c
25311         (add_path): New function broken out of _dl_rtld_di_serinfo.
25312         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
25314 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
25316         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
25317         parentheses around macro arguments.
25318         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
25319         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
25320         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
25321         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
25322         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
25323         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
25324         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
25325         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
25326         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
25327         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
25328         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
25329         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
25330         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
25331         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
25332         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
25333         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
25334         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
25335         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
25336         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
25337         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
25338         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
25339         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
25340         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
25341         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
25342         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
25343         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
25344         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
25345         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
25346         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
25347         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
25348         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
25349         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
25350         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
25351         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
25352         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
25353         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
25354         Likewise.
25355         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
25356         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
25357         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
25358         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
25359         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
25360         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
25361         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
25362         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
25363         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
25364         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
25365         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
25366         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
25367         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
25368         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
25369         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
25370         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
25371         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
25372         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
25373         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
25374         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
25375         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
25376         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
25377         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
25378         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
25379         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
25380         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
25381         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
25382         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
25383         (_FP_FRAC_SRS_1): Likewise.
25384         (_FP_FRAC_CLZ_1): Likewise.
25385         (_FP_MUL_MEAT_1_imm): Likewise.
25386         (_FP_MUL_MEAT_1_wide): Likewise.
25387         (_FP_MUL_MEAT_1_hard): Likewise.
25388         (_FP_SQRT_MEAT_1): Likewise.
25389         (_FP_FRAC_ASSEMBLE_1): Likewise.
25390         (_FP_FRAC_DISASSEMBLE_1): Likewise.
25391         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
25392         (__FP_CLZ_2): Likewise.
25393         (_FP_MUL_MEAT_2_wide): Likewise.
25394         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
25395         (_FP_MUL_MEAT_2_gmp): Likewise.
25396         (_FP_MUL_MEAT_2_120_240_double): Likewise.
25397         (_FP_SQRT_MEAT_2): Likewise.
25398         (_FP_FRAC_ASSEMBLE_2): Likewise.
25399         (_FP_FRAC_DISASSEMBLE_2): Likewise.
25400         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
25401         (_FP_FRAC_CLZ_4): Likewise.
25402         (_FP_MUL_MEAT_4_wide): Likewise.
25403         (_FP_MUL_MEAT_4_gmp): Likewise.
25404         (_FP_SQRT_MEAT_4): Likewise.
25405         (_FP_FRAC_ASSEMBLE_4): Likewise.
25406         (_FP_FRAC_DISASSEMBLE_4): Likewise.
25407         * soft-fp/op-common.h (_FP_CMP): Likewise.
25408         (_FP_CMP_EQ): Likewise.
25409         (_FP_CMP_UNORD): Likewise.
25410         (_FP_TO_INT): Likewise.
25411         (_FP_FROM_INT): Likewise.
25412         [!__FP_CLZ] (__FP_CLZ): Likewise.
25413         (_FP_DIV_HELP_imm): Likewise.
25414         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
25415         Likewise.
25416         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
25417         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
25418         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
25419         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
25420         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
25421         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
25422         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
25423         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
25424         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
25425         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
25426         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
25427         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
25428         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
25429         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
25430         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
25431         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
25432         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
25433         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
25434         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
25435         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
25436         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
25437         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
25438         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
25439         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
25440         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
25441         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
25442         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
25443         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
25444         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
25445         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
25446         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
25447         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
25448         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
25449         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
25450         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
25451         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
25452         (FP_UNPACK_RAW_SP): Likewise.
25453         (FP_PACK_RAW_S): Likewise.
25454         (FP_PACK_RAW_SP): Likewise.
25455         (FP_UNPACK_S): Likewise.
25456         (FP_UNPACK_SP): Likewise.
25457         (FP_UNPACK_SEMIRAW_S): Likewise.
25458         (FP_UNPACK_SEMIRAW_SP): Likewise.
25459         (FP_PACK_S): Likewise.
25460         (FP_PACK_SP): Likewise.
25461         (FP_PACK_SEMIRAW_S): Likewise.
25462         (FP_PACK_SEMIRAW_SP): Likewise.
25463         (_FP_SQRT_MEAT_S): Likewise.
25464         (FP_CMP_S): Likewise.
25465         (FP_CMP_EQ_S): Likewise.
25466         (FP_CMP_UNORD_S): Likewise.
25467         (FP_TO_INT_S): Likewise.
25468         (FP_FROM_INT_S): Likewise.
25470         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
25472         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
25473         (FP_EX_INVALID_IMZ): Likewise.
25474         (FP_EX_INVALID_IMZ_FMA): Likewise.
25475         (FP_EX_INVALID_ISI): Likewise.
25476         (FP_EX_INVALID_ZDZ): Likewise.
25477         (FP_EX_INVALID_IDI): Likewise.
25478         (FP_EX_INVALID_SQRT): Likewise.
25479         (FP_EX_INVALID_CVI): Likewise.
25480         (FP_EX_INVALID_VC): Likewise.
25481         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
25482         "invalid" exceptions.
25483         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
25484         (_FP_ADD_INTERNAL): Likewise.
25485         (_FP_MUL): Likewise.
25486         (_FP_FMA): Likewise.
25487         (_FP_DIV): Likewise.
25488         (_FP_CMP_CHECK_NAN): Likewise.
25489         (_FP_SQRT): Likewise.
25490         (_FP_TO_INT): Likewise.
25491         (FP_EXTEND): Likewise.
25493 2014-10-09  Allan McRae  <allan@archlinux.org>
25495         * po/fr.po: Update French translation from translation project.
25497 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
25499         [BZ #14132]
25500         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
25501         of INTDEF.
25502         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
25503         (__cxa_atexit): Use libc_hidden_proto.
25504         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
25506         [BZ #14132]
25507         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
25508         declaration.
25509         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
25510         [!_ISOMAC] (__iswspace_l_internal): Likewise.
25511         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
25512         [!_ISOMAC] (__iswctype_internal): Likewise.
25513         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
25514         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
25515         alias.
25516         (fcntl): Remove __fcntl_internal alias.
25517         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
25518         __connect_internal alias.
25519         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
25520         Likewise.
25522         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
25523         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
25524         FP_DENORM_ZERO.
25525         (_FP_CHECK_FLUSH_ZERO): New macro.
25526         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
25527         (_FP_CMP): Likewise.
25528         (_FP_CMP_EQ): Likewise.
25529         (_FP_TO_INT): Do not set inexact for subnormal arguments if
25530         FP_DENORM_ZERO.
25531         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
25532         (FP_TRUNC): Likewise.
25534         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
25535         treated as invalid conversion, not as normal exponent.
25537         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
25538         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
25539         (_FP_CMP_EQ): Likewise.
25540         (_FP_CMP_UNORD): Likewise.
25541         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
25542         (FP_CMP_EQ_D): Likewise.
25543         (FP_CMP_UNORD_D): Likewise.
25544         * soft-fp/extended.h (FP_CMP_E): Likewise.
25545         (FP_CMP_EQ_E): Likewise.
25546         (FP_CMP_UNORD_E): Likewise.
25547         * soft-fp/quad.h (FP_CMP_Q): Likewise.
25548         (FP_CMP_EQ_Q): Likewise.
25549         (FP_CMP_UNORD_Q): Likewise.
25550         * soft-fp/single.h (FP_CMP_S): Likewise.
25551         (FP_CMP_EQ_S): Likewise.
25552         (FP_CMP_UNORD_S): Likewise.
25553         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
25554         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
25555         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
25556         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
25557         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
25558         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
25559         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
25560         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
25561         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
25562         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
25563         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
25564         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
25565         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
25566         to FP_CMP_Q.
25567         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
25568         FP_CMP_Q.
25569         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
25570         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
25571         FP_CMP_EQ_Q.
25572         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
25573         FP_CMP_Q.
25574         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
25575         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
25576         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
25577         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
25578         FP_CMP_EQ_Q.
25579         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
25580         FP_CMP_Q.
25581         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
25582         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
25583         FP_CMP_EQ_Q.
25584         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
25585         FP_CMP_Q.
25586         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
25587         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
25588         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
25589         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
25590         FP_CMP_EQ_Q.
25592         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
25593         a subnormal result, set the underflow exception if trapping on
25594         underflow is enabled.
25595         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
25596         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
25597         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
25598         redefine to 0.
25599         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
25600         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
25601         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
25602         * soft-fp/extendxftf2.c (__extendxftf2): Use
25603         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
25605         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
25606         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
25607         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
25608         FP_HANDLE_EXCEPTIONS.
25609         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
25610         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
25611         FP_HANDLE_EXCEPTIONS.
25612         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
25613         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
25614         FP_HANDLE_EXCEPTIONS.
25615         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
25616         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
25617         FP_HANDLE_EXCEPTIONS.
25619 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
25621         [BZ #14132]
25622         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
25623         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
25624         use INTUSE.
25625         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
25626         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
25627         Remove alias.
25628         (__adjtimex): Define using libc_hidden_ver.
25629         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
25630         Remove declaration.
25631         (ntp_gettime): Call __adjtimex directly.
25632         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
25633         Remove declaration.
25634         (ntp_gettimex): Call __adjtimex directly.
25635         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
25636         __adjtimex_internal alias.
25638 2014-10-08  Roland McGrath  <roland@hack.frob.com>
25640         [BZ #17460]
25641         * nscd/nscd.c (more_help): Rewrite list of tables collection
25642         using xstrdup and asprintf.
25644         * nscd/nscd_conf.c: Remove local xstrdup declaration.
25646 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
25647             Roland McGrath  <roland@hack.frob.com>
25649         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
25650         (do_lookup_unique): ... local function 'enter' here; update callers.
25652 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
25654         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
25655         compat_symbol calls on [SHARED].
25656         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
25657         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
25658         Remove.
25659         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
25660         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
25661         (oldsetrlimit): Remove.
25662         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
25663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
25664         (lchown): New syscall entry.
25665         (oldsetrlimit): Remove.
25666         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
25667         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
25668         (oldsetrlimit): Remove.
25669         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
25671         [BZ #14138]
25672         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
25673         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
25674         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
25675         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
25676         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
25677         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
25678         (fchown): Likewise.
25679         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
25680         (fchown): Likewise.
25681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
25682         Likewise.
25684 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25686         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
25687         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
25688         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
25689         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
25690         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
25691         Likewise.
25692         (__old_sem_post): Likewise.
25694 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
25696         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
25697         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
25698         HAVE_CLOCK_GETTIME_VSYSCALL macros.
25699         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
25700         Use INLINE_VSYSCALL macro.
25701         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
25702         __vdso_clock_gettime.
25703         * sysdeps/unix/sysv/linux/tile/init-first.c
25704         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
25705         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
25706         __vdso_clock_gettime.
25708         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
25709         to set up frame more cleanly.
25711         * sysdeps/tile/memcmp.c: New file.
25713         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
25715         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
25716         * sysdeps/tile/tilegx/strcasestr.c: New file.
25717         * sysdeps/tile/tilegx/strnlen.c: New file.
25718         * sysdeps/tile/tilegx/strstr.c: New file.
25720         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
25722 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
25724         * nptl/tst-setuid3.c: Write errors to stdout.
25726 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
25728         * elf/dl-deps.c
25729         (preload): New functions broken out of _dl_map_object_deps.
25730         (_dl_map_object_deps):  Remove a nested function. Update call sites.
25732 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
25734         [BZ #14138]
25735         * sysdeps/unix/sysv/linux/execve.c: Remove file.
25736         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
25738 2014-10-01  Steve Ellcey  <sellcey@mips.com>
25740         * sysdeps/mips/strcmp.S: New.
25742 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
25744         [BZ #14138]
25745         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
25746         (linkat): Likewise.
25747         (mkdirat): Likewise.
25748         (readlinkat): Likewise.
25749         (renameat): Likewise.
25750         (symlinkat): Likewise.
25751         (unlinkat): Likewise.
25752         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
25753         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
25754         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
25755         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
25756         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
25757         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
25758         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
25760 2014-09-30  Will Newton  <will.newton@linaro.org>
25762         * math/math.h: Define long double math functions if
25763         _LIBC_TEST is defined.
25764         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
25766         * localedata/Makefile: Move assignment to tests-special
25767         into an ifdef testing run-built-tests.
25768         * timezone/Makefile: Likewise.
25770 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
25772         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
25773         with $(BASH) not $(SHELL).
25775 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
25776             Matthew LeGendre  <legendre1@llnl.gov>
25778         [BZ #17411]
25779         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
25780         l_reloc_result.
25782 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
25784         * stdio-common/printf_fp.c
25785         (hack_digit): New function, broken out of ...
25786         (__printf_fp): ... local function here.  Update call sites.
25787         hack_digit now takes an additional parameter that is a pointer
25788         to a struct of the referenced locals.  Those locals moved inside
25789         the struct and references updated.
25791 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
25793         * aclocal.m4: Require autoconf 2.69.
25794         * configure: Regenerated.
25795         * sysdeps/aarch64/configure: Likewise.
25796         * sysdeps/alpha/configure: Likewise.
25797         * sysdeps/arm/armv7/configure: Likewise.
25798         * sysdeps/arm/configure: Likewise.
25799         * sysdeps/ia64/configure: Likewise.
25800         * sysdeps/mach/configure: Likewise.
25801         * sysdeps/mips/configure: Likewise.
25802         * sysdeps/s390/configure: Likewise.
25803         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
25804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
25806         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
25807         file.
25808         * sysdeps/ia64/configure.ac: Likewise.
25810 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
25812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
25813         specify symbol version for ld.so.  Do not include entry for
25814         libpthread.
25815         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
25816         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
25817         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
25819         [BZ #14171]
25820         * Makeconfig [$(build-shared) = yes]
25821         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
25822         makefiles.
25823         [$(build-shared) = yes && $(soversions.mk-done) = t]
25824         ($(common-objpfx)gnu/lib-names.h): Remove rule.
25825         [$(build-shared) = yes && $(soversions.mk-done) = t]
25826         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
25827         to Makerules.
25828         [$(build-shared) = yes && $(soversions.mk-done) = t]
25829         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
25830         here.
25831         [$(build-shared) = yes && $(soversions.mk-done) = t]
25832         (common-generated): Don't append gnu/lib-names.h and
25833         gnu/lib-names.stmp here.
25834         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
25835         (lib-names-h-abi): New variable.
25836         [$(build-shared) = yes && $(soversions.mk-done) = t]
25837         (lib-names-stmp-abi): Likewise.
25838         [$(build-shared) = yes && $(soversions.mk-done) = t &&
25839         abi-variants] (before-compile): Append
25840         $(common-objpfx)$(lib-names-h-abi).
25841         [$(build-shared) = yes && $(soversions.mk-done) = t &&
25842         abi-variants] (common-generated): Append gnu/lib-names.h.
25843         [$(build-shared) = yes && $(soversions.mk-done) = t &&
25844         abi-variants] (install-others-nosubdir): Depend on
25845         $(inst_includedir)/$(lib-names-h-abi).
25846         [$(build-shared) = yes && $(soversions.mk-done) = t &&
25847         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
25848         [$(build-shared) = yes && $(soversions.mk-done) = t]
25849         ($(common-objpfx)$(lib-names-h-abi)): New rule.
25850         [$(build-shared) = yes && $(soversions.mk-done) = t]
25851         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
25852         [$(build-shared) = yes && $(soversions.mk-done) = t]
25853         (common-generated): Append $(lib-names-h-abi) and
25854         $(lib-names-stmp-abi).
25855         * scripts/lib-names.awk: Do not handle multi being set.
25856         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
25857         Remove variable.
25858         (abi-lp64_be-ld-soname): Likewise.
25859         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
25860         Likewise.
25861         (abi-hard-ld-soname): Likewise.
25862         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
25863         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
25864         Remove variable.
25865         (abi-o32_hard-ld-soname): Likewise.
25866         (abi-o32_soft_2008-ld-soname): Likewise.
25867         (abi-o32_hard_2008-ld-soname): Likewise.
25868         (abi-n32_soft-ld-soname): Likewise.
25869         (abi-n32_hard-ld-soname): Likewise.
25870         (abi-n32_soft_2008-ld-soname): Likewise.
25871         (abi-n32_hard_2008-ld-soname): Likewise.
25872         (abi-n64_soft-ld-soname): Likewise.
25873         (abi-n64_hard-ld-soname): Likewise.
25874         (abi-n64_soft_2008-ld-soname): Likewise.
25875         (abi-n64_hard_2008-ld-soname): Likewise.
25876         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
25877         Likewise.
25878         (abi-64-v2-ld-soname): Likewise.
25879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
25880         ld.so entries.
25881         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
25882         variable.
25883         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
25884         entry.
25885         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
25886         variable.
25887         (abi-64-ld-soname): Likewise.
25888         (abi-x32-ld-soname): Likewise.
25889         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
25890         entry.
25891         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
25893 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
25895         [BZ #14138]
25896         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
25897         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
25898         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
25899         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
25900         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
25901         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
25902         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
25903         syscall entry for GLIBC_2.2 symbol version.
25904         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
25905         Likewise.
25906         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
25907         (setrlimit): Likewise.
25908         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
25909         Likewise.
25911 2014-09-23  Will Newton  <will.newton@linaro.org>
25913         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
25914         _LINUX_ARM_SYSDEP_H include guard too.
25915         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
25916         define.
25918 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
25920         * sysdeps/unix/sysv/linux/eventfd.c:
25921         Make first argument unsigned.
25922         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
25923         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
25925 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
25927         [BZ #16852]
25928         * socket/recvmmsg.c (recvmmsg): Drop const argument.
25929         * socket/sys/socket.h: Likewise.
25930         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
25932 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25934         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
25936 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
25938         * time/tst-ftime.c: New test.
25939         * time/Makefile (tests): Add tst-ftime.
25941 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
25943         * soft-fp/extended.h: Fix comment formatting.
25944         * soft-fp/op-1.h: Likewise.
25945         * soft-fp/op-2.h: Likewise.
25946         * soft-fp/op-4.h: Likewise.
25947         * soft-fp/op-8.h: Likewise.
25948         * soft-fp/op-common.h: Likewise.
25949         * soft-fp/soft-fp.h: Likewise.
25951         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
25953 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
25955         [BZ #6652]
25956         * Makeconfig (soversions-default-setname): Remove variable.
25957         ($(common-objpfx)soversions.i): Don't pass default_setname to
25958         soversions.awk.
25959         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
25960         oldest_abi to abi-versions.awk.
25961         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
25962         * config.make.in (oldest-abi): Remove variable.
25963         * configure.ac (--enable-oldest-abi): Remove configure option.
25964         * configure: Regenerated.
25965         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
25966         text.
25967         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
25968         * scripts/soversions.awk: Do not handle default_setname variable.
25969         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
25970         variable.
25971         * sysdeps/mach/hurd/configure: Regenerated.
25972         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
25973         variable.
25974         * sysdeps/unix/sysv/linux/configure: Regenerated.
25976 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25978         * elf/Makefile (CFLAGS-interp.c): Remove.
25979         ($(elf-objpfx)runtime-linker.h): Generate header with linker
25980         path string.
25981         * elf/interp.c: Include generated runtime-linker.h
25983         * Makerules (lib%.so): Don't include $(+interp) in
25984         prerequisites.
25985         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
25986         * dlfcn/eval.c: Remove file.
25988         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
25989         macros.
25991         [BZ #17266]
25992         * misc/sys/cdefs.h: Define __extern_always_inline for clang
25993         4.2 and newer.
25995         [BZ #17370]
25996         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
25998 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25999             Jakub Jelinek  <jakub@redhat.com>
26001         [BZ #17266]
26002         * libio/stdio.h: Check definition of __fortify_function
26003         instead of __extern_always_inline to include bits/stdio2.h.
26004         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
26005         check if __extern_always_inline is defined.
26006         [__USE_MISC || __USE_XOPEN]: Likewise.
26007         [__USE_ISOC99] Likewise.
26008         * misc/sys/cdefs.h (__fortify_function): Define only if
26009         __extern_always_inline is defined.
26010         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
26011         __extern_always_inline and __extern_inline only for g++-4.3
26012         and newer or a compatible gcc.
26014 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
26016         [BZ #17371]
26017         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
26018         last change to handle zero prefix length.
26020 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26022         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
26023         _SC_REGEX_VERSION.
26025         * posix/getconf.c (vars): Add _POSIX_IPV6 and
26026         _POSIX_RAW_SOCKETS.
26028 2014-09-13  Allan McRae  <allan@archlinux.org>
26030         * po/ru.po: Update Russian translation from translation project.
26032 2014-09-12  Roland McGrath  <roland@hack.frob.com>
26034         * locale/programs/locale.c (show_locale_vars): Inline local function
26035         into its sole call site.  Clean up some style nits.
26036         (print_item): New function, broken out of ...
26037         (show_info): ... local function here.  Clean up style nits.
26039         * locale/programs/ld-ctype.c (set_one_default): New function, broken
26040         out of ...
26041         (set_class_defaults): ... local function set_default here.
26042         Define set_default as a macro locally to pass constant parameters.
26043         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
26044         rather than a shared local.
26046         * stdlib/rpmatch.c (try): New function, broken out of ...
26047         (rpmatch): ... local function here.  Also, prototypify definition.
26049 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
26051         * scripts/soversions.awk: Do not handle configuration names.
26052         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
26053         vendor and os variables to soversions.awk.
26054         * configure.ac: Do not modify gnu-* host_os.
26055         * configure: Regenerated
26056         * shlib-versions: Remove first column with configuration names.
26057         * nptl/shlib-versions: Likewise.
26058         * nptl_db/shlib-versions: Likewise.
26059         * sysdeps/hppa/shlib-versions: Likewise.
26060         * sysdeps/m68k/shlib-versions: Likewise.
26061         * sysdeps/mach/hurd/shlib-versions: Likewise.
26062         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
26063         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
26064         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
26065         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
26066         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
26067         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
26068         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
26069         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
26070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
26071         Likewise.
26072         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
26073         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
26074         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
26075         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
26076         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
26077         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
26078         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
26079         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
26081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
26082         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
26083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
26084         Regenerated.
26085         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
26086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
26087         Condition symbol version definitions on [HAVE_ELFV2_ABI].
26089         * shlib-versions: Remove OS-specific entries.  Moved to files in
26090         sysdeps.
26091         * sysdeps/mach/hurd/shlib-versions: New file.
26092         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
26094         * nptl/shlib-versions: Remove architecture-specific entries.
26095         Moved to files in sysdeps.
26096         * shlib-versions: Likewise.
26097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
26098         file.
26099         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
26100         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
26101         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
26102         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
26104         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
26105         (UDP_NO_CHECK6_RX): Likewise.
26107 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
26109         * sysdeps/posix/sysconf.c (__sysconf): Spell
26110         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
26112 2014-08-12  Florian Weimer  <fweimer@redhat.com>
26114         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
26115         loading.
26116         * iconv/Versions (__gconv_transliterate): Export for use from
26117         gconv modules.
26118         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
26119         (struct __gconv_trans_data, __gconv_trans_fct,
26120         __gconv_trans_context_fct, __gconv_trans_query_fct,
26121         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
26122         definitions.
26123         (struct __gconv_step_data): Remove __trans member.
26124         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
26125         longer hidden.  Remove unused trans_data argument.
26126         * iconv/gconv_int.h (struct trans_struct): Remove definition.
26127         (__gconv_translit_find): Remove declaration.
26128         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
26129         prototype.
26130         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
26131         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
26132         trans_data argument.  Add hidden definition.
26133         (__gconv_translit_find): Remove.
26134         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
26135         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
26136         * iconv/skeleton.c: Remove transliteration initialization.
26137         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
26138         __gconv_step_data initialization.
26139         * libio/iofwide.c (__libio_translit_): Remove.
26140         (_IO_fwide): Adjust struct __gconv_step_data initialization.
26141         * wcsmbs/btowc.c (__btowc): Likewise.
26142         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
26143         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
26144         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
26145         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
26146         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
26147         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
26148         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
26149         * wcsmbs/wctob.c (wctob): Likewise.
26151 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
26153         [BZ #16194]
26154         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
26155         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
26156         register usage.
26157         * sysdeps/x86/Makefile: Adjust.
26159 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
26160             Roland McGrath  <roland@hack.frob.com>
26162         * locale/weight.h: Add include guard.
26163         (findidx): Make static rather than auto; take new parameters
26164         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
26165         * locale/weightwc.h: Likewise.
26166         * posix/fnmatch_loop.c
26167         (FCT): Change type of EXTRA from int32_t to wint_t.
26168         Don't include either header inside the function.
26169         Call FINDIDX rather than findidx, and pass new arguments.
26170         #undef FINDIDX at the end of the file.
26171         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
26172         FINDIDX before including fnmatch_loop.c for the non-wide version.
26173         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
26174         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
26175         for the wide version.
26176         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
26177         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
26178         Pass new arguments to findidx.
26179         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
26180         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
26181         Don't #include it inside the function.  Pass new arguments to findidx.
26182         * posix/regex_internal.h
26183         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
26184         (re_string_elem_size_at): Don't #include it inside the function.
26185         Pass new arguments to findidx.
26186         * string/strcoll_l.c: #include WEIGHT_H at top level.
26187         (get_next_seq): Don't #include it inside the function.
26188         Pass new arguments to findidx.
26189         (get_next_seq_nocache): Likewise.
26190         * string/strxfrm_l.c: #include WEIGHT_H at top level.
26191         (STRXFRM): Don't #include it inside the function.
26192         Pass new arguments to findidx.
26194 2014-09-11  Florian Weimer  <fweimer@redhat.com>
26196         [BZ #17344]
26197         * malloc/malloc.c (unlink): Turn asserts into a call to
26198         malloc_printerr.
26200 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
26202         [BZ #17370]
26203         * libio/wfileops (do_ftell_wide): Free OUT.
26205 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
26207         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
26209 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26211         [BZ #17363]
26212         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
26213         group if the current group is empty.
26215 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26217         * benchtests/bench-memset.c (test_main): Add more test from size
26218         from 32 to 512 bytes.
26219         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26220         Add POWER8 memset object.
26221         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26222         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
26223         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
26224         implementation.
26225         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
26226         Likewise.
26227         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
26228         multiarch POWER8 memset optimization.
26229         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
26230         POWER8 memset optimization.
26232         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26233         Remove bzero multiarch objects.
26234         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
26235         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
26236         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
26237         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
26238         Remove define.
26239         [__bzero]: Redefine to specific name.
26240         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
26241         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
26242         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
26243         define.
26244         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
26245         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
26247 2014-09-10  Florian Weimer  <fweimer@redhat.com>
26249         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
26250         warnings into errors.
26252         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
26253         __cxa_thread_atexit_impl prototype.
26255 2014-09-09  Steve Ellcey  <sellcey@mips.com>
26257         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
26258         Fix capitalization of error message.
26260 2014-09-09  Steve Ellcey  <sellcey@mips.com>
26262         * sysdeps/mips/preconfigure: Modify ABI tests.
26264 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
26266         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
26268 2014-09-07  Roland McGrath  <roland@hack.frob.com>
26269             Carlos O'Donell  <carlos@systemhalted.org>
26271         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
26272         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
26273         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
26274         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
26275         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
26276         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
26277         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
26278         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
26279         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
26280         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
26281         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
26282         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
26283         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
26284         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
26285         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
26286         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
26287         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
26288         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
26289         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
26290         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
26291         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
26292         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
26293         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
26294         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
26295         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
26296         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
26297         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
26298         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
26299         Deconditionalize the code that was previously under [RESET_PID].
26300         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
26301         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
26302         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
26303         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
26304         include sysdep.h.
26306 2014-09-08  Allan McRae  <allan@archlinux.org>
26308         * version.h (RELEASE): Set to "development".
26309         (VERSION): Set to "2.20.90"
26311 2014-09-07  Allan McRae  <allan@archlinux.org
26313         * version.h (RELEASE): Set to "stable".
26314         (VERSION): Set to "2.20"
26315         * include/features.h (__GLIBC_MINOR__): Set to 20.
26317         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
26318         Liebler.
26320         * po/ko.po: Update Korean translation from translation project.
26322 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
26324         [BZ #17354]
26325         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
26326         macro for handling signed relocations.
26328 2014-09-03  Florian Weimer  <fweimer@redhat.com>
26330         [BZ #17325]
26331         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
26332         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
26333         assert.
26334         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
26335         * iconvdata/ibm935.c (BODY): Likewise.
26336         * iconvdata/ibm937.c (BODY): Likewise.
26337         * iconvdata/ibm939.c (BODY): Likewise.
26338         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
26339         assert.
26340         * iconvdata/Makefile (iconv-test.out): Pass module list to test
26341         script.
26342         * iconvdata/run-iconv-test.sh: New test loop for checking for
26343         decoder crashers.
26345 2014-09-02  Khem Raj  <raj.khem@gmail.com>
26347         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
26348         libm_hidden_ver.
26350 2014-09-01  Allan McRae  <allan@archlinux.org>
26352         * po/eo.po: Update Esperanto translation from translation project.
26354         * po/ca.po: Update Catalan translation from translation project.
26356 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26358         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
26359         __proc_dostop call.
26361 2014-08-27  Mark Wielaard  <mjw@redhat.com>
26363         [BZ #17319]
26364         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
26365         to call set_thread_area instead of hand written asm.
26366         (__NR_set_thread_area): Removed define.
26367         (TLS_FLAG_WRITABLE): Likewise.
26368         (__ASSUME_SET_THREAD_AREA): Remove check.
26369         (TLS_EBX_ARG): Remove define.
26370         (TLS_LOAD_EBX): Likewise.
26372 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26374         Simplify atomicity of socket creation in bind.
26376         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
26377         looking up the name after linking the file.
26379 2014-08-27  Allan McRae  <allan@archlinux.org>
26381         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
26383 2014-08-26  Florian Weimer  <fweimer@redhat.com>
26385         [BZ #17187]
26386         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
26387         trans_compare, open_translit, __gconv_translit_find):
26388         Remove module loading code.
26390 2014-08-26  Allan McRae  <allan@archlinux.org>
26392         * po/vi.po: Update Vietnamese translation from translation project.
26394         * po/uk.po: Update Ukrainian translation from translation project.
26396         * po/fr.po: Update French translation from translation project.
26398         * po/ru.po: Update Russian translation from translation project.
26400         * po/pl.po: Update Polish translation from translation project.
26402         * po/cs.po: Update Czech translation from translation project.
26404         * po/de.po: Update German translation from translation project.
26406         * po/bg.po: Update Bulgarian translation from translation project.
26408         * po/sv.po: Update Sweedish translation from translation project.
26410         * po/nl.po: Update Dutch translation from translation project.
26412         * po/es.po: Update Spanish translation from translation project.
26414 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26416         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
26418         * catgets/Makefile (CPPFLAGS-gencat): Remove.
26419         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
26420         (CPPFLAGS-iconvconfig): Likewise.
26421         * timezone/Makefile (CPPFLAGS-zic): Likewise.
26423         * include/libc-symbols.h: Remove unnecessary check for
26424         NOT_IN_libc.
26425         * nptl/pthreadP.h: Likewise.
26426         * sysdeps/aarch64/setjmp.S: Likewise.
26427         * sysdeps/alpha/setjmp.S: Likewise.
26428         * sysdeps/arm/sysdep.h: Likewise.
26429         * sysdeps/i386/setjmp.S: Likewise.
26430         * sysdeps/m68k/setjmp.c: Likewise.
26431         * sysdeps/posix/getcwd.c: Likewise.
26432         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
26433         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
26434         * sysdeps/s390/s390-32/setjmp.S: Likewise.
26435         * sysdeps/s390/s390-64/setjmp.S: Likewise.
26436         * sysdeps/sh/sh3/setjmp.S: Likewise.
26437         * sysdeps/sh/sh4/setjmp.S: Likewise.
26438         * sysdeps/unix/alpha/sysdep.h: Likewise.
26439         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
26440         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
26441         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
26442         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
26443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
26444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26445         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26446         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26447         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
26448         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26449         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26450         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
26451         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
26452         * sysdeps/x86_64/setjmp.S: Likewise.
26454 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
26456         [BZ #17263]
26457         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
26458         <stdint.h>.
26459         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
26460         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
26462 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
26464         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
26466         [BZ #17262]
26467         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
26468         and __x86_64__ when disabling x87 inline functions.
26470 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
26472         [BZ #17259]
26473         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
26474         asm statement with __cpuid_count.
26476 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
26478         * configure.ac: Change __ehdr_start code to dereference the struct.
26479         Run readelf on the output to look for relocations.
26480         * configure: Regenerated.
26482 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
26484         [BZ #17261]
26485         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
26486         value to 0.
26487         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
26489 2014-08-12  Roland McGrath  <roland@hack.frob.com>
26491         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
26493 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
26495         [BZ #16892]
26496         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
26497         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
26499 2014-08-12  Sean Anderson  <seanga2@gmail.com>
26501         * malloc/malloc.c: Fix typo in comment.
26503 2014-08-09  Allan McRae  <allan@archlinux.org>
26505         * Regenerate libc.po.
26507 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
26509         * intl/tst-gettext2.sh: Check every lang file for creation.
26511 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
26513         * sysdeps/aarch64/fpu/math_private.h
26514         (libc_feholdsetround_noex_aarch64_ctx): New function.
26516 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
26518         * sysdeps/arm/armv6/strcpy.S (strcpy):
26519         Fix performance issue in misaligned cases.
26521 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26523         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
26524         Move definition from termios.h.
26525         (struct termio): Likewise.
26526         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
26527         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
26528         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
26529         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
26530         Likewise.
26531         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
26532         Move definition to ioctl-types.h
26533         (struct termio): Likewise.
26534         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
26535         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
26536         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
26537         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
26538         Likewise.
26540 2014-08-05  Richard Henderson  <rth@redhat.com>
26542         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
26543         exceptions.
26544         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
26545         Add fraiseexcpt.
26546         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
26547         Use __feraiseexcept.
26548         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
26549         Protect libm symbols with IS_IN_libm.
26551         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
26553 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
26555         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
26557 2014-08-04  Will Newton  <will.newton@linaro.org>
26559         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
26560         file.
26562 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
26564         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
26565         variants for each function.
26567 2014-08-04  Roland McGrath  <roland@hack.frob.com>
26569         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
26570         appended ...
26571         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
26572         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
26573         appended ...
26574         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
26575         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
26576         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
26577         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
26578         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
26579         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
26580         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
26581         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
26582         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
26583         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
26584         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
26585         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
26586         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
26587         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
26588         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
26589         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
26590         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
26591         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
26592         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
26593         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
26594         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
26595         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
26596         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
26597         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
26598         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
26599         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
26600         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
26601         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
26602         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
26603         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
26604         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
26605         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
26606         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
26607         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
26608         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
26609         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
26610         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
26611         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
26612         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
26613         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
26614         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
26615         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
26616         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
26617         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
26618         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
26619         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
26620         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
26621         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
26622         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
26623         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
26624         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
26625         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
26626         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
26627         Update #include.
26628         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
26629         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
26631 2014-08-04  Roland McGrath  <roland@hack.frob.com>
26633         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
26634         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
26635         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
26636         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
26637         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
26638         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
26640 2014-08-04  Roland McGrath  <roland@hack.frob.com>
26642         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
26643         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
26644         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26645         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
26647 2014-08-04  Roland McGrath  <roland@hack.frob.com>
26649         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
26650         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
26651         (__libc_vfork): Define function under this name.
26652         (__vfork): Define as an alias.
26653         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
26654         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
26656 2014-08-04  Roland McGrath  <roland@hack.frob.com>
26658         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
26659         that was previously under [RESET_PID].
26660         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
26662 2014-08-04  Andreas Schwab  <schwab@suse.de>
26664         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
26666 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
26668         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
26669         (main): Likewise.
26671 2014-08-01  Roland McGrath  <roland@hack.frob.com>
26673         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
26675 2014-08-01  Richard Henderon  <rth@redhat.com>
26677         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
26678         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
26679         typo in exact zero test.
26680         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26681         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26682         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26684 2014-08-01  Roland McGrath  <roland@hack.frob.com>
26686         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
26687         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
26688         * sysdeps/arm/sysdep.h: ... here.
26689         [!__ASSEMBLER__]: Include <stdint.h>.
26691 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
26693         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
26694         (HAVE_WCTYPE_H): Likewise.
26695         (HAVE_ISWCTYPE): Likewise.
26696         (ENABLE_NLS): Likewise.
26697         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
26698         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
26700         * posix/regex_internal.c: Check if DEBUG is defined and is
26701         set.
26703         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
26704         (HAVE_MBSRTOWCS): Likewise.
26705         * posix/fnmatch.c: Include string.h unconditionally.
26707 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
26709         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
26710         reversal.
26712 2014-07-31  Roland McGrath  <roland@hack.frob.com>
26714         * sysdeps/generic/safe-fatal.h: New file.
26715         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
26716         * nptl/forward.c: Include it.
26717         (__pthread_unwind): Use __safe_fatal as default action, rather
26718         than a bogus use of INTERNAL_SYSCALL that could never work.
26720         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
26721         * configure.ac (libc_cv_builtin_trap): New test.
26722         * configure: Regenerated.
26723         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
26724         (ABORT_INSTRUCTION): Define using __builtin_trap.
26726         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
26727         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
26728         * sysdeps/nptl/nptl-signals.h: New file.
26729         * nptl/pthreadP.h: Include <nptl-signals.h>.
26731 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
26733         * sysdeps/s390/s390-64/utf16-utf32-z9.c
26734         (ONE_DIRECTION): Define.
26735         * sysdeps/s390/s390-64/utf8-utf16-z9.c
26736         (ONE_DIRECTION): Define.
26737         * sysdeps/s390/s390-64/utf8-utf32-z9.c
26738         (ONE_DIRECTION): Define.
26740 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
26742         * sysdeps/s390/Makefile: Delete file.
26743         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
26744         * sysdeps/s390/__longjmp.c: Delete file.
26745         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
26746         Remove fields __flags and __reserved.
26747         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
26748         and add versioning.
26749         * sysdeps/s390/rtld-__longjmp.c: Delete file.
26750         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
26751         * sysdeps/s390/rtld-setjmp.S: Likewise.
26752         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
26753         * sysdeps/s390/s390-32/__longjmp.c: ... here.
26754         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
26755         * sysdeps/s390/s390-32/setjmp.S: ... here.
26756         Add versioning.
26757         (__sigsetjmp): Remove setting __flags field.
26758         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
26759         * sysdeps/s390/s390-64/__longjmp.c: ... here.
26760         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
26761         * sysdeps/s390/s390-64/setjmp.S: ... here.
26762         Add versioning.
26763         (__sigsetjmp): Remove setting __flags field.
26764         * sysdeps/s390/setjmp.S: Delete file.
26765         * sysdeps/s390/sigjmp.c: Likewise.
26766         * sysdeps/s390/v1-longjmp.c: Likewise.
26767         * sysdeps/s390/v1-setjmp.h: Likewise.
26768         * sysdeps/s390/v1-sigjmp.c: Likewise.
26769         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
26770         Remove v1-longjmp_chk.
26771         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
26772         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
26773         Include debug/longjmp_chk.c and add versioning.
26774         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
26775         Include nptl/pt-longjmp.c and add versioning.
26776         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
26777         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
26778         Include __longjmp.c.
26779         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
26780         Move to ...
26781         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
26782         (__getcontext): Remove setting __flags field.
26783         Add versioning.
26784         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
26785         Don't restore upper high grps.
26786         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
26787         Likewise.
26788         (__swapcontext): Remove setting uc_flags field.
26789         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
26790         Delete file.
26791         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
26792         Include __longjmp.c.
26793         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
26794         Move to ...
26795         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
26796         (__getcontext): Remove setting __flags field.
26797         Add versioning.
26798         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
26799         (__swapcontext): Remove setting uc_flags field.
26800         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
26801         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
26802         Remove fields uc_high_gprs and __reserved.
26803         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
26804         New file with reverted content.
26805         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
26806         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
26807         Regenerated.
26808         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
26809         Regenerated.
26811 2014-07-31  Andreas Schwab  <schwab@suse.de>
26813         * config.h.in (HAVE_IFUNC): Define to 0.
26814         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
26815         definedness.
26817 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
26819         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26820         memmove-avx-unaligned, memcpy-avx-unaligned and
26821         mempcpy-avx-unaligned.
26822         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26823         Add tests for AVX memcpy functions.
26824         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
26825         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
26826         memcpy_chk.
26827         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
26828         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
26829         memmove_chk.
26830         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
26831         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
26832         mempcpy_chk.
26833         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
26834         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
26835         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
26837 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26839         [BZ #17213]
26840         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
26841         powerpc64le.
26843 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
26845         [BZ #16839]
26846         * manual/llio.texi: Add section about open file description locks.
26847         * manual/examples/ofdlocks.c: Example of open file description
26848         lock usage.
26849         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
26850         F_OFD_SETLK, and F_OFD_SETLKW.
26852 2014-07-23  Allan McRae  <allan@archlinux.org>
26854         * po/es.po: Update Spanish translation from translation project.
26856 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
26858         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
26860 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
26862         [BZ #17078]
26863         * sysdeps/arm/dl-machine.h (elf_machine_rela)
26864         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
26865         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
26867 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
26869         [BZ #17088]
26870         * math/fesetenv.c (__fesetenv)
26871         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
26872         * math/feupdateenv.c (__feupdateenv)
26873         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
26875         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
26876         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
26877         (__ASSUME_SOCKETCALL): Do not define.
26879         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
26880         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
26881         (__ASSUME_SOCKETCALL): Do not define.
26882         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
26883         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
26884         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
26885         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
26886         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
26887         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
26888         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
26889         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26891         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
26892         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
26893         (__ASSUME_SOCKETCALL): Do not define.
26894         (__ASSUME_IPC64): Define unconditionally.
26895         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
26896         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
26897         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
26898         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
26899         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
26900         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
26901         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
26902         Likewise.
26904         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
26905         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
26906         (__ASSUME_SOCKETCALL): Do not define.
26907         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
26908         (__ASSUME_FUTEX_LOCK_PI): Likewise.
26909         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
26910         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
26911         (__ASSUME_REQUEUE_PI): Define unconditionally.
26912         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
26913         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
26914         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26915         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
26916         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
26917         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26919         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
26920         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
26921         (__ASSUME_SOCKETCALL): Do not define.
26922         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
26923         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
26924         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26925         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
26926         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
26927         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26929         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
26930         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
26931         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
26932         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
26933         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
26934         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
26935         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
26936         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
26937         (__ASSUME_GETCPU_SYSCALL): Likewise.
26939         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
26940         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
26941         cases for individual architectures.
26942         * sysdeps/gnu/configure: Regenerated.
26943         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
26944         LIBC_SLIBDIR_RTLDDIR.
26945         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
26946         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
26947         LIBC_SLIBDIR_RTLDDIR.
26948         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
26949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
26950         LIBC_SLIBDIR_RTLDDIR.
26951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
26952         Regenerated.
26953         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
26954         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
26955         file.
26956         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
26957         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
26958         file.
26959         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
26960         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
26961         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
26962         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
26964         * sysdeps/aarch64/shlib-versions: Move to ...
26965         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
26966         * sysdeps/alpha/shlib-versions: Move to ...
26967         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
26968         * sysdeps/arm/shlib-versions: Move to ...
26969         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
26970         * sysdeps/hppa/shlib-versions: Move all contents except for
26971         libgcc_s entry to ...
26972         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
26973         entry from ...
26974         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
26975         * sysdeps/ia64/shlib-versions: Move to ...
26976         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
26977         entry from ...
26978         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
26979         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
26980         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
26981         * sysdeps/microblaze/shlib-versions: Move to ...
26982         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
26983         * sysdeps/mips/shlib-versions: Move to ...
26984         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
26985         entry from ...
26986         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
26987         * sysdeps/tile/shlib-versions: Move to ...
26988         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
26989         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
26990         from ...
26991         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
26992         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
26993         entry from ...
26994         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
26996 2014-07-17  Will Newton  <will.newton@linaro.org>
26998         * sysdeps/arm/bits/atomic.h
26999         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
27000         (__arch_compare_and_exchange_bool_16_int): Likewise.
27001         (__arch_compare_and_exchange_bool_64_int): Likewise.
27003         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
27004         into an #else block.
27006 2014-07-16  Roland McGrath  <roland@hack.frob.com>
27008         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
27009         just Linux configurations.  Test empirically that the compiler sets
27010         __ARM_EABI__, rather than using the tuple to decide.
27011         * sysdeps/arm/preconfigure: Regenerated.
27012         * sysdeps/unix/sysv/linux/arm/configure: File removed.
27013         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
27014         contents appended ...
27015         * sysdeps/arm/configure.ac: ... here.
27016         * sysdeps/arm/configure: Regenerated.
27018 2014-07-15  Roland McGrath  <roland@hack.frob.com>
27020         * nptl/pthread_kill.c: New file.
27021         * nptl/pthread_sigmask.c: New file.
27022         * nptl/pthread_sigqueue.c: New file.
27024         * sysdeps/nptl/lowlevellock.h: New file.
27025         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
27026         * sysdeps/nptl/lowlevellock-futex.h: New file.
27028         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
27029         Remove dead declarations.
27031 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
27033         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
27034         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
27035         config-cflags-avx2.
27036         * sysdeps/x86_64/configure.ac: Likewise.
27037         * sysdeps/i386/configure: Regenerated.
27038         * sysdeps/x86_64/configure: Likewise.
27039         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27040         memset-avx2 only if config-cflags-avx2 is yes.
27041         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27042         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
27043         defined.
27044         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
27045         only if HAVE_AVX2_SUPPORT is defined.
27046         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27048 2014-07-14  Alan Modra  <amodra@gmail.com>
27050         [BZ #17153]
27051         * elf/elf.h (DT_PPC64_NUM): Correct value.
27052         * NEWS: Add to fixed bug list.
27054 2014-07-13  Jim Meyering  <meyering@fb.com>
27056         [BZ 17150]
27057         regex: don't deref NULL upon heap allocation failure
27058         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
27059         failure in one more place.
27060         To trigger the segfault, configure grep -with-included-regex,
27061         build it, and run these commands:
27062         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
27064 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
27066         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
27068 2014-07-11  Richard Henderson  <rth@redhat.com>
27070         * sysdeps/aarch64/libm-test-ulps: Update.
27072 2014-07-10  Florian Weimer  <fweimer@redhat.com>
27074         [BZ #17135]
27075         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
27076         * nptl/allocatestack.c (__nptl_setxid_error): New function.
27077         (__nptl_setxid): Initialize error member.  Call
27078         __nptl_setxid_error.
27079         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
27080         * nptl/descr.h (struct xid_command): Add error member.
27081         * nptl/tst-setuid3.c: New file.
27082         * nptl/Makefile (tests): Add it.
27084 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27086         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
27087         New define.
27088         (__lll_trylock): Use __lll_base_trylock.
27089         (__lll_cond_trylock): Likewise.
27091 2014-07-10  Roland McGrath  <roland@hack.frob.com>
27093         * nptl/pthread_create.c (start_thread): Use atomic_or and
27094         lll_futex_wake directly rather than lll_robust_dead.
27095         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
27096         (lll_robust_dead): Macro removed.
27097         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
27098         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
27099         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
27100         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
27101         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
27102         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
27103         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
27104         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
27105         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
27106         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
27107         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
27108         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
27109         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
27110         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
27111         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
27113         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
27114         Use atomic_compare_and_exchange_val_acq directly rather than
27115         lll_robust_trylock.
27116         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
27117         (__lll_robust_trylock, lll_robust_trylock): Removed.
27118         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
27119         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
27120         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
27121         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
27122         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
27123         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
27124         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
27125         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
27126         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
27127         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
27128         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
27129         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
27130         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
27131         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
27133 2014-07-02  Florian Weimer  <fweimer@redhat.com>
27135         * manual/locale.texi (Locale Names): New section documenting
27136         locale name syntax.  Adjust menu and node chaining accordingly.
27137         (Choosing Locale): Reference Locale Names, Locale Categories.
27138         Mention setting LC_ALL=C.  Reflect that name syntax is now
27139         documented.
27140         (Locale Categories): New section title.  Reference Locale Names.
27141         LC_ALL is an environment variable, but not a category.
27142         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
27143         description, now in Locale Name.  Reference that section.  Locale
27144         name syntax is now documented.
27146 2014-07-02  Florian Weimer  <fweimer@redhat.com>
27148         [BZ #17137]
27149         * locale/findlocale.c (name_present, valid_locale_name): New
27150         functions.
27151         (_nl_find_locale): Use the loc_name variable to store name
27152         candidates.  Call name_present and valid_locale_name to check and
27153         validate locale names.  Return an error if the locale is invalid.
27155 2014-07-02  Florian Weimer  <fweimer@redhat.com>
27157         * locale/setlocale.c (setlocale): Use strdup for allocating
27158         composite name copy.
27160 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
27162         Sync up with gnulib.
27163         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
27164         [!_LIBC && ENABLE_NLS]: Include gettext.h.
27165         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
27166         and _GL_ARG_NONNULL.
27167         [USE_UNLOCKED_IO]: Include unlocked-io.h.
27168         [!_LIBC]: Include code for Windows and Cygwin.
27169         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
27170         Include prototype for int strerror_r.
27171         [!_LIBC] (is_open): New function.
27172         (flush_stdout): New function.
27173         (print_errno_message): Use it.
27174         (error): Likewise.
27175         (error_at_line): Likewise.
27176         (error_tail) Add function attribute macros.  Use
27177         __builtin_expect.
27179         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
27181         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
27183         * io/ftw.c: Include sys/param.h unconditionally.
27185         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
27187         [BZ #17125]
27188         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
27189         libc_freeres_ptr.
27190         (freecache): New function to free CACHE on exit.
27192         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
27193         initialization.
27195 2014-07-09  David S. Miller  <davem@davemloft.net>
27197         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27199         * sysdeps/sparc/nptl/internaltypes.h: Delete.
27200         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
27201         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
27202         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
27203         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
27204         * sysdeps/sparc/nptl/sem_init.c: Likewise.
27205         * sysdeps/sparc/nptl/sem_post.c: Likewise.
27206         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
27207         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
27208         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
27209         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
27210         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
27211         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
27213 2014-07-09  Andreas Schwab  <schwab@suse.de>
27215         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
27216         output.
27217         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
27218         (do_test): Likewise.
27220         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
27222 2014-07-09  Will Newton  <will.newton@linaro.org>
27224         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
27225         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
27226         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
27227         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
27228         * sysdeps/hppa/start.S (_start): Likewise.
27230 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
27232         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
27234         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
27235         defined.
27237 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
27239         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
27240         after checking that it is non-NULL.
27242         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
27244 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27246         * sysdeps/powerpc/memmove.c: Remove file.
27247         * sysdeps/powerpc/powerpc32/power4/memcopy.h
27248         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
27249         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
27250         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
27251         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
27252         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
27253         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
27254         string memmove instead of removed powerpc one.
27256         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
27257         [weak_alias]: Fix compiler warning due trailing data.
27258         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
27259         [weak_alias]: Likewise.
27260         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
27261         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
27263         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27264         (__libc_ifunc_impl_list): Add memmove functions.
27266 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
27268         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
27269         Remove code.
27270         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
27271         Likewise.
27272         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
27273         Likewise.
27274         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
27275         Likewise.
27276         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
27277         Likewise.
27278         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
27279         Likewise.
27280         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
27281         Likewise.
27282         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
27283         Likewise.
27284         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
27285         Likewise.
27286         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
27287         Likewise.
27288         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
27289         Likewise.
27290         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
27291         Likewise.
27292         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
27293         Likewise.
27294         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
27295         Likewise.
27296         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
27297         Likewise.
27298         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
27299         Likewise.
27300         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
27301         Likewise.
27303 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27305         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
27306         to avoid alignment traps in non-cacheable memory.
27307         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
27309         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
27310         multiarch objects.
27311         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
27312         file: multiarch power7 memmove.
27313         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
27314         multiarch default memmove.
27315         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
27316         multiarch memove for powerpc32/power4.
27318         * string/bcopy.c: Use full path to include memmove.c.
27319         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
27320         multiarch objects.
27321         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
27322         bcopy for powerpc64.
27323         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
27324         bcopy for powerpc64.
27325         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
27326         and memmove implementations.
27327         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
27328         optimized multiarch memmove for POWER7/powerpc64.
27329         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
27330         default multiarch memmove for powerpc64.
27331         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
27332         multiarch for powerpc64.
27333         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
27334         for POWER7/powerpc64.
27335         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
27336         memmove for POWER7/powerpc64.
27338         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
27339         glibc default one.
27341         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
27342         __ELF_NATIVE_CLASS equal to 64.
27344 2014-07-07  Roland McGrath  <roland@hack.frob.com>
27346         * sysdeps/nptl/lowlevellock.h: File removed.
27348         * NEWS: NPTL is no longer an add-on!
27349         * nptl/internaltypes.h: Moved ...
27350         * sysdeps/nptl/internaltypes.h: ... here.
27351         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
27352         * sysdeps/nptl/fork.c: Likewise.
27353         * sysdeps/nptl/gai_misc.h: Likewise.
27354         * sysdeps/nptl/librt-cancellation.c: Likewise.
27355         * sysdeps/nptl/jmp-unwind.c: Likewise.
27356         * sysdeps/nptl/setxid.h: Likewise.
27357         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
27358         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
27359         * sysdeps/unix/sysv/linux/arm/Implies: New file.
27360         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
27361         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
27362         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
27363         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
27364         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
27365         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
27366         * sysdeps/unix/sysv/linux/mips/Implies: New file.
27367         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
27368         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
27369         * sysdeps/unix/sysv/linux/sh/Implies: New file.
27370         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
27371         * sysdeps/unix/sysv/linux/tile/Implies: New file.
27372         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
27373         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
27374         * nptl/Makeconfig: Moved ...
27375         * sysdeps/nptl/Makeconfig: ... here.
27376         * nptl/configure: File removed.
27377         * nptl/ANNOUNCE: File removed.
27378         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
27379         * sysdeps/unix/sysv/linux/configure: Regenerated.
27381         * nptl/Makefile (routines): Add libc_pthread_init,
27382         libc_multiple_threads, register-atfork and unregister-atfork.
27383         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
27384         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
27385         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
27386         pthread-pi-defines.sym, structsem.sym.
27387         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
27388         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
27389         [$(subdir) = nptl] (tests): Add tst-setgetname.
27390         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
27391         * sysdeps/unix/sysv/linux/sigaction.c: Just include
27392         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
27393         [!LIBC_SIGACTION]: Remove aliases.
27394         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
27395         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
27396         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
27397         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
27398         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
27399         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
27400         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
27401         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
27402         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
27403         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
27404         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
27405         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
27406         __libc_allocate_rtsig_private.
27407         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
27408         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
27409         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
27410         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
27411         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
27412         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
27413         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
27414         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
27415         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
27416         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
27417         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
27418         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
27419         * nptl/internaltypes.h: ... here.
27420         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
27421         * sysdeps/nptl/jmp-unwind.c: ... here.
27422         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
27423         * nptl/libc-lowlevellock.c: ... here.
27424         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
27425         * nptl/libc_multiple_threads.c: ... here.
27426         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
27427         * nptl/libc_pthread_init.c: ... here.
27428         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
27429         * nptl/lowlevelbarrier.sym: ... here.
27430         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
27431         * nptl/lowlevelcond.sym: ... here.
27432         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
27433         * nptl/lowlevellock.c: ... here.
27434         * nptl/lowlevellock.h: Moved ...
27435         * sysdeps/nptl/lowlevellock.h: ... here.
27436         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
27437         * nptl/lowlevelrobustlock.c: ... here.
27438         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
27439         * nptl/lowlevelrobustlock.sym: ... here.
27440         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
27441         * nptl/lowlevelrwlock.sym: ... here.
27442         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
27443         * nptl/pt-fork.c: ... here.
27444         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
27445         * nptl/pthread-pi-defines.sym: ... here.
27446         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
27447         * nptl/pthread_attr_getaffinity.c: ... here.
27448         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
27449         * nptl/pthread_attr_setaffinity.c: ... here.
27450         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
27451         * nptl/pthread_mutex_cond_lock.c: ... here.
27452         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
27453         Update #include.
27454         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
27455         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
27456         * nptl/pthread_once.c: ... here, replacing old file.
27457         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
27458         * nptl/pthread_yield.c: ... here.
27459         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
27460         * nptl/register-atfork.c: ... here.
27461         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
27462         * nptl/sem_post.c: ... here.
27463         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
27464         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
27465         * nptl/sem_timedwait.c: ... here.
27466         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
27467         * nptl/sem_trywait.c: ... here.
27468         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
27469         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
27470         * nptl/sem_wait.c: ... here.
27471         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
27472         * nptl/structsem.sym: ... here.
27473         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
27474         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
27475         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
27476         * nptl/unregister-atfork.c: ... here.
27477         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
27478         * nptl/unwindbuf.sym: ... here.
27479         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
27480         * sysdeps/nptl/fork.c: ... here.
27481         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
27482         * sysdeps/nptl/fork.h: ... here.
27483         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
27484         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
27485         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
27486         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
27487         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
27488         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
27489         * sysdeps/unix/sysv/linux/getpid.c: ... here.
27490         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
27491         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
27492         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
27493         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
27494         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
27495         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
27496         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
27497         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
27498         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
27499         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
27500         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
27501         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
27502         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
27503         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
27504         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
27505         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
27506         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
27507         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
27508         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
27509         * sysdeps/unix/sysv/linux/raise.c: ... here.
27510         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
27511         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
27512         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
27513         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
27514         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
27515         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
27516         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
27517         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
27518         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
27519         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
27520         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
27521         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
27522         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
27523         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
27524         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
27526 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
27528         * sysdeps/generic/memcopy.h: Add comment for
27529         MEMCPY_OK_FOR_FWD_MEMMOVE.
27531 2014-07-04  Will Newton  <will.newton@linaro.org>
27533         * string/memchr.c: Merge from gnulib.
27534         [_LIBC]: Remove conditionals.
27535         (__ptr_t): Remove define.
27536         (LONG_MAX_32_BITS): Likewise.
27537         (LONG_MAX): Likewise.
27538         (MEMCHR): Use ANSI prototype and optimize algorithm.
27540         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
27542 2014-07-03  Roland McGrath  <roland@hack.frob.com>
27544         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
27545         (lll_futex_timed_wait_bitset): Fix syscall argument count.
27547         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
27548         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
27549         in a bare environment with no <stdlib.h> installed.
27550         * sysdeps/nptl/configure: Regenerated.
27552         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
27554         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
27555         AC_EGREP_CPP for kernel header checks, so they only succeed if
27556         including <linux/version.h> actually works right.
27557         * sysdeps/unix/sysv/linux/configure: Regenerated.
27559         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
27560         value so it's not diagnosed as unused.
27562         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
27563         thing) with "ifeq ($(subdir),rt)".
27565 2014-07-03  Richard Henderson  <rth@redhat.com>
27567         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
27568         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
27569         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
27571         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
27572         (math_force_eval): New.
27574         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
27575         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
27577         * sysdeps/alpha/fpu/s_round.c: Remove file.
27578         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
27580         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
27581         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
27582         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
27583         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
27584         (_dl_start, print_statistics): Likewise.
27585         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
27586         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
27588         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
27589         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
27590         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
27591         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
27592         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
27593         (HP_SMALL_TIMING_AVAIL): Define.
27594         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
27595         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
27596         (HP_SMALL_TIMING_AVAIL): Define.
27597         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
27598         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
27600         * sysdeps/aarch64/hp-timing.h: New file.
27602         * sysdeps/generic/hp-timing.h: Remove dead comment.
27603         * sysdeps/generic/hp-timing-common.h: New file.
27604         * sysdeps/alpha/hp-timing.h: Include it.
27605         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
27606         * sysdeps/i386/i686/hp-timing.h: Likewise.
27607         * sysdeps/ia64/hp-timing.h: Likewise.
27608         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
27609         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
27610         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
27611         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
27612         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
27613         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
27614         (hp_timing_t): New.
27616         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
27617         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
27618         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
27619         * elf/rtld.c (_dl_start_final): Likewise.
27620         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
27621         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
27622         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
27623         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
27624         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
27625         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
27626         (HP_TIMING_DIFF_INIT): Remove.
27627         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
27628         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
27629         (HP_TIMING_DIFF_INIT): Remove.
27630         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
27631         * sysdeps/i386/i686/hp-timing.c: Remove file.
27632         * sysdeps/x86_64/hp-timing.c: Remove file.
27633         * sysdeps/ia64/hp-timing.c: Remove file.
27634         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
27635         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
27636         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
27637         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
27639         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
27640         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
27641         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
27642         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
27643         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
27644         (HP_TIMING_ACCUM): Remove.
27645         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
27646         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
27647         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
27649         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
27650         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
27651         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
27652         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
27653         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
27654         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
27655         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
27656         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
27658         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
27660 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
27662         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
27664 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27666         Sync up with gettext.
27667         * intl/loadmsgcat.c: Define O_BINARY if not defined.
27668         [_MSC_VER]: Include malloc.h
27669         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
27670         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
27671         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
27672         TEMP_FAILURE_RETRY.  Cast return of alloca.
27673         [!_LIBC] Call gl_rwlock_init.
27674         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
27676 2014-07-02  Roland McGrath  <roland@hack.frob.com>
27678         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
27679         before checking its value.
27681 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27683         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
27685         * debug/memcpy_chk.c: Don't include pagecopy.h.
27686         * debug/mempcpy_chk.c: Likewise.
27687         * string/memcpy.c: Likewise.
27688         * string/memmove.c: Likewise.
27689         * sysdeps/powerpc/memmove.c: Likewise.
27690         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
27691         definition of PAGE_COPY_FWD_MAYBE here...
27692         * sysdeps/generic/pagecopy.h: ... from here.
27693         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
27695 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
27696             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27698         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
27699         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
27700         optimizations.
27701         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
27702         (__libc_ifunc_impl_list): Likewise.
27703         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
27704         multiarch strcat for PPC64.
27705         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
27706         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
27708 2014-07-02  Roland McGrath  <roland@hack.frob.com>
27710         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
27712 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27714         * intl/loadmsgcat.c: Remove declaration of
27715         get_sysdep_segment_value.
27716         (get_sysdep_segment_value): Use ISO C style.
27717         (_nl_load_domain): Use ISO C style.  Get rid of redundant
27718         semicolon.  Fix typo and formatting in comment.
27719         (_nl_unload_domain): Use ISO C style.
27721         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
27723 2014-07-02  Will Newton  <will.newton@linaro.org>
27725         * malloc/obstack.c: Merge from gnulib master.
27726         [HAVE_CONFIG_H]: Remove conditional code.
27727         [!_LIBC]: Include config.h.
27728         [!ELIDE_CODE]: Don't include inttypes.h, include
27729         stdint.h unconditionally.
27730         (print_and_abort): Mark as _Noreturn.
27731         (_obstack_allocated_p): Mark as __attribute_pure__.
27732         (obstack_free): Rename to __obstack_free.
27733         [!__attribute__]: Remove conditional code.
27734         * malloc/obstack.h: Merge from gnulib master.
27735         [__cplusplus]: Move conditional down.
27736         [!__attribute_pure__]: Define __attribute_pure__ here
27737         if it is not already defined.
27738         (_obstack_memory_used): Mark as __attribute_pure__.
27739         [!__obstack_free]: Define as obstack_free.
27740         [__GNUC__]: Remove check for ancient NeXT gcc.
27742 2014-07-02  Will Newton  <will.newton@linaro.org>
27743             Paul Eggert  <eggert@cs.ucla.edu>
27745         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
27747 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27749         * resolv/gethnamaddr.c: Add comment warning that the file is
27750         not maintained.
27752 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
27754         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
27755         entries.
27757         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
27758         entry for aio_cancel and aio_cancel64.
27759         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
27760         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
27761         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
27762         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
27763         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
27764         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
27765         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
27766         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
27767         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
27768         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
27769         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
27770         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
27771         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
27773 2014-07-01  Roland McGrath  <roland@hack.frob.com>
27775         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
27776         * nptl/pthread_mutex_lock.c: Likewise.
27777         * nptl/pthread_mutex_timedlock.c: Likewise.
27778         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
27780 2014-07-01  Richard henderson  <rth@redhat.com>
27782         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
27783         (__isnan, __isnanl): Remove.
27784         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
27786         * sysdeps/alpha/fpu/libm-test-ulps: Update.
27788 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
27790         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
27792 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
27794         * resolv/nss_dns/dns-host.c (getanswer_r)
27795         [MULTI_PTRS_ARE_ALIASES]: Remove code.
27797 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
27799         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27800         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
27801         undefine.
27802         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
27803         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
27805 2014-07-01  Roland McGrath <roland@hack.frob.com>
27807         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
27808         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
27810         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
27811         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
27813         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
27814         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
27815         ... here.
27816         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
27817         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
27819         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
27820         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
27821         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
27822         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
27824         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
27825         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
27826         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
27827         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
27828         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
27829         Moved ...
27830         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
27831         ... here.
27832         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
27833         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
27834         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
27835         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
27836         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
27837         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
27838         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
27839         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
27840         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
27841         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
27842         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
27843         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
27844         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
27845         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
27846         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
27847         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
27848         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
27849         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
27850         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
27851         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
27852         ... here.
27853         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
27854         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
27855         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
27856         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
27857         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
27858         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
27859         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
27860         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
27862 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
27864         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
27865         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
27866         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
27867         Add sysdep.
27869 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27871         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27873 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
27875         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
27876         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
27878         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
27880         * sysdeps/arm/libm-test-ulps: Regenerated.
27882 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
27883             Roland McGrath <roland@hack.frob.com>
27885         * test-skeleton.c (signal_handler): Kill the whole process group
27886         before killing the child individually.
27887         (main): Report any failure on `setpgid'.
27889 2014-06-30  Roland McGrath  <roland@hack.frob.com>
27891         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
27892         from _TLS_H to _ARM_NPTL_TLS_H.
27893         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
27894         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
27896 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
27898         [BZ #16539]
27899         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
27900         (__expm1l): Return argument unchanged when small but not
27901         subnormal.
27903         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
27904         include macro name.
27905         (_FP_UNPACK_RAW_1_P): Likewise.
27906         (_FP_PACK_RAW_1): Likewise.
27907         (_FP_PACK_RAW_1_P): Likewise.
27908         (_FP_MUL_MEAT_1_wide): Likewise.
27909         (_FP_MUL_MEAT_DW_1_hard): Likewise.
27910         (_FP_MUL_MEAT_1_hard): Likewise.
27911         (_FP_DIV_MEAT_1_imm): Likewise.
27912         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
27913         (_FP_DIV_MEAT_1_udiv): Likewise.
27914         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
27915         (_FP_UNPACK_RAW_2): Likewise.
27916         (_FP_UNPACK_RAW_2_P): Likewise.
27917         (_FP_PACK_RAW_2): Likewise.
27918         (_FP_PACK_RAW_2_P): Likewise.
27919         (_FP_MUL_MEAT_DW_2_wide): Likewise.
27920         (_FP_MUL_MEAT_2_wide): Likewise.
27921         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
27922         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
27923         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
27924         (_FP_MUL_MEAT_2_gmp): Likewise.
27925         (_FP_DIV_MEAT_2_udiv): Likewise.
27926         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
27927         (_FP_FRAC_SRL_4): Likewise.
27928         (_FP_FRAC_SRST_4): Likewise.
27929         (_FP_FRAC_SRS_4): Likewise.
27930         (_FP_UNPACK_RAW_4): Likewise.
27931         (_FP_UNPACK_RAW_4_P): Likewise.
27932         (_FP_PACK_RAW_4): Likewise.
27933         (_FP_PACK_RAW_4_P): Likewise.
27934         (_FP_MUL_MEAT_DW_4_wide): Likewise.
27935         (_FP_MUL_MEAT_4_wide): Likewise.
27936         (_FP_MUL_MEAT_4_gmp): Likewise.
27937         (umul_ppppmnnn): Likewise.
27938         (_FP_DIV_MEAT_4_udiv): Likewise.
27939         (__FP_FRAC_ADD_4): Likewise.
27940         (__FP_FRAC_SUB_3): Likewise.
27941         (__FP_FRAC_SUB_4): Likewise.
27942         (__FP_FRAC_DEC_3): Likewise.
27943         (__FP_FRAC_DEC_4): Likewise.
27944         (__FP_FRAC_ADDI_4): Likewise.
27945         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
27946         (_FP_FRAC_SRL_8): Likewise.
27947         (_FP_FRAC_SRS_8): Likewise.
27949         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
27950         include macro name.
27951         (FP_UNPACK_RAW_EP): Likewise.
27952         (FP_PACK_RAW_E): Likewise.
27953         (FP_PACK_RAW_EP): Likewise.
27954         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
27955         (_FP_ISSIGNAN): Likewise.
27956         (_FP_ADD_INTERNAL): Likewise.
27957         (_FP_FMA): Likewise.
27958         (_FP_CMP): Likewise.
27959         (_FP_SQRT): Likewise.
27960         (_FP_TO_INT): Likewise.
27961         (_FP_FROM_INT): Likewise.
27962         (FP_EXTEND): Likewise.
27963         (_FP_DIV_MEAT_N_loop): Likewise.
27965 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
27967         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
27968         throughout.
27970 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
27972         [BZ #17097]
27973         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
27974         result with correct sign in case of exponents that produce
27975         overflow except for X very close to 1.
27977 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
27979         mktime: merge #if/#ifdef usage from glibc
27980         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
27981         as that works with both Glibc's and Gnulib's style.
27982         See thread starting at Siddhesh Poyarekar's bug report at:
27983         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
27985 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27987         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
27988         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
27989         * sysdeps/tile/tilegx/memmove.c: Remove file.
27991 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
27993         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
27994         abi-name definition.
27995         * scripts/soversions.awk: Do not handle or generate ABI lines.
27996         * shlib-versions: Remove ABI entries.
27997         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
27998         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
28000 2014-06-27  Roland McGrath  <roland@hack.frob.com>
28002         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
28003         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
28004         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
28005         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
28006         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
28007         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
28008         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
28009         Moved ...
28010         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
28011         ... here.
28012         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
28013         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
28014         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
28015         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
28016         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
28017         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
28018         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
28019         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
28020         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
28021         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
28022         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
28023         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
28024         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
28025         Moved ...
28026         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
28027         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
28028         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
28029         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
28030         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
28031         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
28032         Moved ...
28033         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
28034         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
28035         Moved ...
28036         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
28037         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
28038         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
28039         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
28040         Moved ...
28041         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
28042         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
28043         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
28044         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
28045         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
28046         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
28047         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
28048         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
28049         Moved ...
28050         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
28051         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
28052         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
28053         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
28054         Moved ...
28055         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
28056         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
28057         Moved ...
28058         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
28059         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
28060         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
28061         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
28062         Moved ...
28063         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
28064         ... here.
28065         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
28066         Identical file removed.
28067         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
28068         Moved ...
28069         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
28070         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
28071         Identical file removed.
28072         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
28073         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
28074         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
28075         Moved ...
28076         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
28077         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
28078         Identical file removed.
28079         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
28080         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
28081         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
28082         Identical file removed.
28083         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
28084         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
28085         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
28086         Identical file removed.
28087         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
28088         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
28089         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
28090         Identical file removed.
28091         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
28092         Moved ...
28093         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
28094         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
28095         Identical file removed.
28096         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
28097         Moved ...
28098         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
28099         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
28100         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
28101         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
28102         Identical file removed.
28103         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
28104         Moved ...
28105         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
28106         ... here.
28107         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
28108         Identical file removed.
28109         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
28110         Moved ...
28111         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
28112         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
28113         Identical file removed.
28114         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
28115         Moved ...
28116         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
28117         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
28118         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
28119         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
28120         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
28121         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
28122         Moved ...
28123         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
28124         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
28125         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
28127         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
28128         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
28129         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
28130         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
28131         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
28133 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
28135         [BZ #17092]
28136         * nscd/nscd.c (monitor_child): Return exit status of child
28137         instead of return value from wait syscall.
28139 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
28141         * configure.ac (libc_commonpagesize): Remove variable.
28142         (libc_relro_required): Likewise.
28143         (libc_cv_z_relro): Remove configure test.
28144         * configure: Regenerated.
28145         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
28146         variable.
28147         (libc_relro_required): Likewise.
28148         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
28149         (libc_relro_required): Likewise.
28150         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
28151         (libc_relro_required): Likewise.
28152         * sysdeps/arm/preconfigure: Regenerated.
28153         * sysdeps/ia64/preconfigure: Remove file.
28154         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
28155         variable.
28156         (libc_relro_required): Likewise.
28158         [BZ #16561]
28159         [BZ #16562]
28160         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
28161         (__ieee754_yn): Set FE_TONEAREST mode internally and then
28162         recompute overflowing results in original rounding mode.
28163         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
28164         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
28165         recompute overflowing results in original rounding mode.
28166         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
28167         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
28168         recompute overflowing results in original rounding mode.
28169         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
28170         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
28171         recompute overflowing results in original rounding mode.
28172         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
28173         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
28174         recompute overflowing results in original rounding mode.
28175         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
28176         (libc_feholdsetround_ctx): New macro.
28177         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
28178         * sysdeps/i386/fpu/libm-test-ulps: Update.
28179         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
28181 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
28183         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
28184         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
28185         corresponding .cpsetup call.
28187 2014-06-26  Roland McGrath  <roland@hack.frob.com>
28189         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
28190         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
28191         * sysdeps/arm/Makefile [$(subdir) = csu]
28192         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
28193         (static-only-routines): Add aeabi_read_tp here.
28194         (shared-only-routines): Add libc-aeabi_read_tp here.
28195         (CFLAGS-libc-start.c): Add -fexceptions here.
28196         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
28197         (sysdep_routines, static-only-routines, shared-only-routines):
28198         Don't add to these here.
28199         (CFLAGS-libc-start.c): Likewise.
28201         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
28202         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
28203         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
28204         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
28205         * sysdeps/arm/Makefile [$(subdir) = rt]
28206         (librt-sysdep_routines, librt-shared-only-routines):
28207         Append rt-aeabi_unwind_cpp_pr1 here.
28208         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
28209         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
28210         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
28211         (libpthread-sysdep_routines, libpthread-shared-only-routines):
28212         Append nptl-aeabi_unwind_cpp_pr1 here.
28213         (tests): Filter out tst-cleanupx4 here.
28214         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
28215         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
28216         Don't do those here.
28218 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
28220         * scripts/list-sources.sh: Do not handle ports specially.
28222 2014-06-26  Roland McGrath  <roland@hack.frob.com>
28224         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
28225         * sysdeps/arm/feupdateenv.c: Likewise.
28227         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
28229 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
28231         * manual/texinfo.tex: Update to version 2014-05-05.10 with
28232         trailing whitespace removed.
28233         * scripts/config.guess: Update to version 2014-03-23.
28234         * scripts/config.sub: Update to version 2014-05-01
28235         * scripts/install-sh: Update to version 2013-12-25.23.
28236         * scripts/move-if-change: Update from gnulib.
28238 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28240         * debug/memmove_chk.c: Remove pagecopy.h include.
28242 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
28244         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
28245         identical to gnulib mktime.
28247 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
28249         * configure.ac: Do not test for machine being rs6000.  Do not test
28250         for powerpc*-*soft.
28251         * configure: Regenerated.
28253         [BZ #11505]
28254         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
28255         test.
28256         * configure: Regenerated.
28257         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
28258         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
28259         Remove configure test.
28260         * sysdeps/arm/configure: Regenerated.
28261         * sysdeps/nptl/configure.ac: Do not check
28262         libc_cv_asm_cfi_directives.
28263         * sysdeps/nptl/configure: Regenerated.
28264         * sysdeps/x86_64/nptl/configure.ac: Remove file.
28265         * sysdeps/x86_64/nptl/configure: Remove generated file.
28266         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
28267         unconditional.
28268         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
28270 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28272         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
28273         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
28274         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
28275         it is defined.
28277         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
28278         instead of whether it is defined.
28279         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
28280         * sysdeps/hppa/dl-machine.h: Likewise.
28281         * sysdeps/ia64/dl-machine.h: Likewise.
28282         * sysdeps/m68k/dl-machine.h: Likewise.
28283         * sysdeps/microblaze/dl-machine.h: Likewise.
28284         * sysdeps/mips/dl-machine.: Likewise.
28285         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
28286         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
28287         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
28288         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
28289         * sysdeps/sh/dl-machine.h: Likewise.
28290         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
28291         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
28292         * sysdeps/tile/dl-machine.h: Likewise.
28293         * sysdeps/x86_64/dl-machine.h: Likewise.
28295         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
28296         code.
28297         (verify_persistent_db): Likewise.
28299 2014-06-26  Roland McGrath  <roland@hack.frob.com>
28301         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
28302         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
28303         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
28304         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
28305         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
28306         Moved ...
28307         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
28308         ... here.
28309         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
28310         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
28311         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
28312         Identical file removed.
28313         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
28314         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
28315         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
28316         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
28317         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
28318         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
28319         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
28320         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
28321         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
28322         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
28323         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28324         Moved ...
28325         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
28326         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
28327         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
28328         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
28329         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
28330         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
28331         Moved ...
28332         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
28333         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
28334         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
28335         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
28336         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
28337         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
28338         Identical file removed.
28339         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
28340         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
28341         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
28342         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
28343         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
28344         Moved ...
28345         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
28346         ... here.
28347         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
28348         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
28349         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
28350         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
28351         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
28352         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
28353         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
28354         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
28355         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
28356         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
28357         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28358         Moved ...
28359         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
28360         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
28361         Moved ...
28362         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
28363         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
28364         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
28365         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
28366         Moved ...
28367         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
28368         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
28369         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
28371         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
28372         folded into ...
28373         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
28374         * sysdeps/unix/sysv/linux/s390/Versions
28375         (libpthread: GLIBC_2.19): New version set.
28376         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
28377         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
28378         (librt: GLIBC_2.3.3): New version set.
28379         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
28380         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
28381         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
28382         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
28383         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
28384         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
28385         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
28386         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
28387         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
28388         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
28389         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
28390         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
28391         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
28392         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
28393         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
28394         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
28395         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
28396         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
28397         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
28398         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
28399         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
28400         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
28401         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
28402         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
28403         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
28404         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
28405         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
28406         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
28407         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
28408         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
28409         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
28410         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
28411         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
28412         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
28413         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
28414         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
28415         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
28416         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
28417         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
28418         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
28419         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
28420         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
28421         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
28422         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
28423         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
28425         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
28426         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
28427         (__libc_vfork): Define the function under this name.
28428         [!NOT_IN_libc] (__vfork): Make this an alias.
28429         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
28430         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
28431         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
28432         (__libc_vfork): Define the function under this name.
28433         [!NOT_IN_libc] (__vfork): Make this an alias.
28434         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
28435         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
28436         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
28437         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
28438         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
28439         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
28441         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
28442         code that was previously under [RESET_PID].
28443         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
28444         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
28445         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
28447         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
28448         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
28449         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
28450         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
28451         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
28452         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
28453         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
28454         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
28455         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
28456         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
28457         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
28458         Moved ...
28459         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
28460         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
28461         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
28462         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
28463         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
28464         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
28465         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
28466         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
28467         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
28468         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
28469         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
28470         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
28471         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
28472         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
28473         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
28474         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
28475         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
28476         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
28477         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
28478         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
28479         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
28480         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
28481         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
28482         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
28483         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
28484         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
28485         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
28486         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
28487         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
28489 2014-06-25  Roland McGrath  <roland@hack.frob.com>
28491         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
28492         that was previously under [RESET_PID].
28493         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
28495 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
28497         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
28498         not undefine and redefine.
28499         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
28500         [O_CLOEXEC]: Make code unconditional.
28501         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
28502         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
28503         <kernel-features.h>.
28504         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
28505         conditional variable definition.
28506         (shm_open) [O_CLOEXEC]: Make code unconditional.
28507         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
28508         code.
28510         * configure.ac (USE_REGPARMS): Don't define here.
28511         * configure: Regenerated.
28512         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
28513         * sysdeps/i386/configure: Regenerated.
28515         * nptl/createthread.c: Don't include kernel-features.h.
28516         * nptl/pthread_cancel.c: Likewise.
28517         * nptl/pthread_condattr_setclock.c: Likewise.
28518         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
28519         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
28520         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
28521         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
28522         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
28523         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
28524         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
28525         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
28526         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
28527         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
28528         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
28529         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
28530         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
28531         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
28532         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
28533         * nscd/gai.c: Likewise.
28534         * nss/nss_db/db-open.c: Likewise.
28535         * sysdeps/generic/ldsodefs.h: Likewise.
28536         * sysdeps/sh/nptl/tls.h: Likewise.
28537         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
28538         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
28539         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
28540         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
28541         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
28542         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
28543         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
28544         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
28545         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
28546         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
28547         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
28548         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
28549         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
28550         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
28551         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
28552         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
28553         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
28554         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
28555         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
28556         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
28557         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
28558         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
28559         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
28560         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
28561         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
28562         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
28563         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
28564         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
28565         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
28566         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
28567         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
28568         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
28569         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
28570         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
28571         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
28572         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
28573         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
28574         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
28575         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
28576         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
28577         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
28578         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
28579         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
28580         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
28581         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
28582         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
28583         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
28584         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
28585         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
28586         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
28587         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
28588         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
28589         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
28590         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
28591         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
28592         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
28593         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
28594         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
28595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
28596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
28597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
28598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
28599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
28600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
28601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
28602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
28603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
28604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
28605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
28606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
28607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
28608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
28609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
28610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
28611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
28612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
28613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
28614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
28615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
28616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
28617         * sysdeps/unix/sysv/linux/pread.c: Likewise.
28618         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
28619         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
28620         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
28621         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
28622         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
28623         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
28624         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
28625         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
28626         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
28627         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
28628         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
28629         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
28630         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
28631         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
28632         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
28633         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
28634         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
28635         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
28636         * sysdeps/unix/sysv/linux/system.c: Likewise.
28637         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
28638         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
28639         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
28640         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
28641         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
28642         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
28643         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
28645         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
28646         * configure: Regenerated.
28647         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
28649         * configure.ac (base_machine): Do not set specially for particular
28650         machines here.
28651         * configure: Regenerated.
28652         * sysdeps/powerpc/preconfigure: Move machine and base_machine
28653         settings from configure.ac.
28654         * sysdeps/i386/preconfigure: New file.
28655         * sysdeps/s390/preconfigure: Likewise.
28656         * sysdeps/sh/preconfigure: Likewise.
28657         * sysdeps/sparc/preconfigure: Likewise.
28659 2014-06-25  Roland McGrath  <roland@hack.frob.com>
28661         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
28662         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
28663         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
28664         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
28665         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
28666         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
28667         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
28668         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
28669         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
28670         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
28671         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
28672         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
28673         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
28674         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
28675         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
28676         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
28677         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
28678         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
28679         * sysdeps/sparc/sparc64/Makefile: ... appended here.
28681         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
28682         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
28683         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
28684         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
28685         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
28686         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
28687         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
28688         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
28689         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
28690         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
28691         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
28692         * sysdeps/sparc/sparc32/sem_post.c: ... here.
28693         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
28694         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
28695         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
28696         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
28697         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
28698         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
28699         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
28700         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
28701         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
28702         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
28703         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
28704         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
28705         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
28706         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
28707         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
28708         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
28709         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
28710         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
28711         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
28712         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
28713         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
28714         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
28715         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
28716         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
28717         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
28718         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
28720         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
28721         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
28722         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
28723         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
28724         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
28725         Moved ...
28726         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
28727         ... here.
28728         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
28729         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
28730         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
28731         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
28732         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
28733         Moved ...
28734         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
28735         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
28736         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
28737         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
28738         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
28739         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
28740         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
28741         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
28742         Moved ...
28743         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
28744         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
28745         Moved ...
28746         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
28747         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
28748         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
28749         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
28750         Moved ...
28751         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
28752         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
28753         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
28754         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
28755         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
28756         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
28757         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
28758         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
28759         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
28760         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
28761         Moved ...
28762         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
28763         ... here.
28764         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
28765         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
28766         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
28767         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
28768         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
28769         Moved ...
28770         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
28771         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
28772         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
28773         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
28774         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
28775         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
28776         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
28777         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
28778         Moved ...
28779         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
28780         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
28781         Moved ...
28782         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
28783         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
28784         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
28785         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
28786         Moved ...
28787         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
28788         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
28789         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
28790         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
28791         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
28793 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
28795         * timezone/checktab.awk: Update from tzcode 2014e.
28796         * timezone/private.h: Likewise.
28797         * timezone/tzfile.h: Likewise.
28798         * timezone/zdump.c: Likewise.
28799         * timezone/zic.c: Likewise.
28801         * sysdeps/unix/sysv/linux/kernel-features.h
28802         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
28803         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
28804         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
28805         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
28806         Remove conditional code.
28808 2014-06-25  Will Newton  <will.newton@linaro.org>
28810         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
28811         (_dl_arm_cap_flags): Add HWCAP2 values.
28812         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
28813         (_DL_HWCAP_COUNT): Increase to 37.
28814         (_DL_HWCAP_LAST): New define.
28815         (_DL_HWCAP2_LAST): New define.
28816         (_dl_procinfo): Add support for printing
28817         AT_HWCAP2 entries.
28818         (_dl_string_hwcap): Use _dl_hwcap_string.
28820 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28822         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28824 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
28826         * README: Do not mention ports directory.
28828         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
28829         Remove macro.
28830         * sysdeps/unix/sysv/linux/futimes.c: Do not include
28831         <kernel-features.h>.
28832         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
28833         conditional variable definition.
28834         (__futimes): Update comment.
28835         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
28836         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
28838         [BZ #16560]
28839         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
28840         arguments close to 0.
28841         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
28842         Likewise.
28843         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
28844         Likewise.
28845         * math/auto-libm-test-in: Add more tests of exp10.
28846         * math/auto-libm-test-out: Regenerated.
28847         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28849         * sysdeps/unix/sysv/linux/kernel-features.h
28850         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
28851         * sysdeps/unix/sysv/linux/readv.c: Do not include
28852         <kernel-features.h>.
28853         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
28854         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
28855         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
28856         unconditional.
28857         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
28858         conditional code.
28859         * sysdeps/unix/sysv/linux/writev.c: Do not include
28860         <kernel-features.h>.
28861         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
28862         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
28863         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
28864         unconditional.
28865         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
28866         conditional code.
28868 2014-06-25  Will Newton  <will.newton@linaro.org>
28870         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
28871         comment changes throughout the file.  Remove checks
28872         for HAVE_*_H definitions that are not required.
28873         (__gen_tempname): Call abort if an unknown kind value is
28874         passed.
28876 2014-06-25  Andreas Schwab  <schwab@suse.de>
28878         [BZ #17086]
28879         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
28880         scalbln, scalblnf, scalblnl in libc.
28882 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
28884         [BZ #17086]
28885         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
28886         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
28887         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
28889 2014-06-24  Roland McGrath  <roland@hack.frob.com>
28891         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
28892         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
28893         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
28894         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
28895         Update #include.
28896         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
28897         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
28898         Update #include.
28899         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
28900         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
28901         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
28902         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
28903         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
28904         * sysdeps/x86/bits/pthreadtypes.h: ... here.
28905         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
28906         * sysdeps/x86/bits/semaphore.h: ... here.
28907         * sysdeps/x86/nptl/elide.h: Moved ...
28908         * sysdeps/x86/elide.h: ... here.
28909         * sysdeps/x86_64/nptl/Implies: File removed.
28910         * sysdeps/i386/nptl/Implies: File removed.
28912 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
28914         [BZ #16539]
28915         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
28916         return the argument for normal arguments with exponent below -64.
28917         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
28918         Likewise.
28919         * math/auto-libm-test-in: Add another test of expm1.
28920         * math/auto-libm-test-out: Regenerated.
28922         [BZ #16287]
28923         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
28924         calling __erfcl for arguments at least 16.
28925         * math/auto-libm-test-in: Add more tests of erf.
28926         * math/auto-libm-test-out: Regenerated.
28928         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
28929         individual architectures.
28930         * sysdeps/unix/sysv/linux/configure: Regenerated.
28931         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
28932         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
28933         * sysdeps/unix/sysv/linux/powerpc/configure.ac
28934         (ldd_rewrite_script): Define variable.
28935         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
28936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
28937         file.
28938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
28939         generated file.
28940         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
28941         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
28942         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
28943         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
28944         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
28945         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
28946         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
28947         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
28949 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
28951         [BZ #17084]
28952         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
28953         Rename member __data.d to __data.__elision_data.
28955 2014-06-24  Wilco  <wdijkstr@arm.com>
28957         * NEWS: Add 16918 to fixed bug list.
28959 2014-06-24  Wilco  <wdijkstr@arm.com>
28961         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
28963 2014-06-24  Wilco  <wdijkstr@arm.com>
28965         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
28966         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
28967         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
28968         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
28969         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
28970         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
28971         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
28972         Use _FPU_MASK_RM.
28974 2014-06-24  Wilco  <wdijkstr@arm.com>
28976         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
28978 2014-06-24  Wilco  <wdijkstr@arm.com>
28980         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
28981         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
28982         * sysdeps/arm/fesetround.c (fesetround): Remove space.
28983         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
28985 2014-06-24  Wilco  <wdijkstr@arm.com>
28987         [BZ #16918]
28988         * sysdeps/arm/feupdateenv.c (feupdateenv):
28989         Rewrite to reduce FPSCR accesses and fix return value.
28991 2014-06-24  Wilco  <wdijkstr@arm.com>
28993         * sysdeps/arm/fclrexcpt.c (feclearexcept):
28994         Optimize to avoid unnecessary FPSCR writes.
28995         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
28996         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
28997         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
28998         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
29000 2014-06-24  Wilco  <wdijkstr@arm.com>
29002         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
29003         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
29004         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
29005         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
29006         Call libc_fetestexcept_vfp.
29007         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
29008         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
29009         __SOFTFP__ ifdef so that they can be built for softfp.
29011 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
29013         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
29014         argument type signed char.
29016         * Makerules (check-abi): Dump diff of symlist if the test
29017         fails.
29019 2014-06-23  Roland McGrath  <roland@hack.frob.com>
29021         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
29022         using abort.
29024         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
29025         Remove unused variable ST.
29027 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
29029         [BZ #16354]
29030         [BZ #17061]
29031         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
29032         small arguments before calling __expm1.
29033         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
29034         small arguments before calling __expm1f.
29035         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
29036         small arguments before calling __expm1l.
29037         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
29038         Likewise.
29039         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
29040         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
29041         spurious underflow for some cosh tests.
29042         * math/auto-libm-test-out: Regenerated.
29043         * sysdeps/i386/fpu/libm-test-ulps: Update.
29045         [BZ #17050]
29046         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
29047         (__ieee754_y1): Set errno if return value overflows.
29048         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
29049         (__ieee754_y1f): Set errno if return value overflows.
29050         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
29051         (__ieee754_y1l): Set errno if return value overflows.
29052         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
29053         (__ieee754_y1l): Set errno if return value overflows.
29054         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
29055         * math/auto-libm-test-out: Regenerated.
29057         * math/gen-auto-libm-tests.c: Document use of
29058         ignore-zero-inf-sign.
29059         (input_flag_type): Add value flag_ignore_zero_inf_sign.
29060         (input_flags): Add ignore-zero-inf-sign.
29061         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
29062         * math/gen-libm-test.pl (generate_testfile): Handle
29063         ignore-zero-inf-sign.
29064         * math/auto-libm-test-in: Mark some cpow tests with
29065         ignore-zero-inf-sign and some with xfail-rounding.
29066         * math/auto-libm-test-out: Regenerated.
29067         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
29068         * sysdeps/i386/fpu/libm-test-ulps: Update.
29069         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29071         [BZ #16315]
29072         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
29073         overflowing or underflowing operations take place with sign of
29074         result.
29075         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
29076         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
29077         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
29078         (__ieee754_pow): Recompute overflowing and underflowing results in
29079         original rounding mode.
29080         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
29081         (__powl_helper): Allow negative argument X and scale negated value
29082         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
29083         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
29084         overflowing or underflowing operations take place with sign of
29085         result.
29086         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
29087         Include <math.h>.
29088         * math/auto-libm-test-in: Add more tests of pow.
29089         * math/auto-libm-test-out: Regenerated.
29090         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
29091         (pow_tonearest_test_data): Remove.
29092         (pow_test_tonearest): Likewise.
29093         (pow_towardzero_test_data): Likewise.
29094         (pow_test_towardzero): Likewise.
29095         (pow_downward_test_data): Likewise.
29096         (pow_test_downward): Likewise.
29097         (pow_upward_test_data): Likewise.
29098         (pow_test_upward): Likewise.
29099         (main): Don't call removed functions.
29100         * sysdeps/i386/fpu/libm-test-ulps: Update.
29101         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29103 2014-06-23  Roland McGrath  <roland@hack.frob.com>
29105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
29106         Moved ...
29107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
29108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29109         Moved ...
29110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
29111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
29112         Moved ...
29113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
29114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
29115         Moved ...
29116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
29117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
29118         File removed.
29119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
29120         File removed.
29121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
29122         File removed.
29123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
29124         File removed.
29125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
29126         File removed.
29127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
29128         File removed.
29129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
29130         File removed.
29131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
29132         File removed.
29133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
29134         File removed.
29135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
29136         File removed.
29137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
29138         File removed.
29139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
29140         File removed.
29141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
29142         Moved ...
29143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
29144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
29145         Moved ...
29146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
29147         ... here.
29148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
29149         Moved ...
29150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
29151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
29152         Moved ...
29153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
29154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
29155         Moved ...
29156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
29157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
29158         Moved ...
29159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
29160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
29161         Moved ...
29162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
29163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
29164         Moved ...
29165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
29166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
29167         Moved ...
29168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
29169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
29170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
29171         ... here.
29172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
29173         Moved ...
29174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
29175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
29176         Moved ...
29177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
29178         ... here.
29179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
29180         Moved ...
29181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
29182         ... here.
29183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
29184         Moved ...
29185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
29186         ... here.
29187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
29188         Moved ...
29189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
29190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
29191         Moved ...
29192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
29193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
29194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
29195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
29196         Moved ...
29197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
29198         ... here.
29199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
29200         Moved ...
29201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
29202         ... here.
29203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
29204         Moved ...
29205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
29206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
29207         Moved ...
29208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
29209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
29210         Moved ...
29211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
29212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29213         Moved ...
29214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
29215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
29216         Moved ...
29217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
29218         ... here.
29219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
29220         Moved ...
29221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
29222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
29223         Moved ...
29224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
29225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
29226         Moved ...
29227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
29228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
29229         Moved ...
29230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
29231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
29232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
29233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
29234         Moved ...
29235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
29236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
29237         Moved ...
29238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
29239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
29240         Moved ...
29241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
29242         ... here.
29243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
29244         Moved ...
29245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
29246         ... here.
29247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
29248         Moved ...
29249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
29250         ... here.
29251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
29252         Moved ...
29253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
29254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
29255         Moved ...
29256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
29257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
29258         Moved ...
29259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
29260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
29261         Moved ...
29262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
29263         ... here.
29264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
29265         Moved ...
29266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
29267         ... here.
29268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
29269         Moved ...
29270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
29271         ... here.
29272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
29273         Moved ...
29274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
29275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
29276         Moved ...
29277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
29279 2014-06-23  Will Newton  <will.newton@linaro.org>
29280             Wilco  <wdijkstr@arm.com>
29282         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
29283         implementation.  Include get-rounding-mode.h.
29284         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
29285         [!libc_feholdsetround_noex_ctx]: Define
29286         libc_feholdsetround_noex_ctx.
29287         [!libc_feholdsetround_noexf_ctx]: Define
29288         libc_feholdsetround_noexf_ctx.
29289         [!libc_feholdsetround_noexl_ctx]: Define
29290         libc_feholdsetround_noexl_ctx.
29291         (libc_feholdsetround_ctx): New function.
29292         (libc_feresetround_ctx): New function.
29293         (libc_feholdsetround_noex_ctx): New function.
29294         (libc_feresetround_noex_ctx): New function.
29296 2014-06-23  Roland McGrath  <roland@hack.frob.com>
29298         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
29299         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
29300         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
29301         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
29302         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
29303         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
29305         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
29306         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
29307         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
29308         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
29309         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
29310         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
29311         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
29312         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
29313         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
29314         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
29315         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
29316         Moved ...
29317         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
29318         ... here.
29319         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
29320         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
29321         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
29322         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
29323         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
29324         Moved ...
29325         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
29326         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
29327         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
29328         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
29329         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
29330         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
29331         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
29332         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
29333         Moved ...
29334         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
29335         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
29336         Moved ...
29337         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
29338         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
29339         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
29340         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
29341         Moved ...
29342         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
29343         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
29344         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
29345         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
29346         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
29347         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
29348         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
29349         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
29350         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
29351         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
29352         Moved ...
29353         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
29354         ... here.
29355         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
29356         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
29357         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
29358         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
29359         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
29360         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
29361         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
29362         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
29363         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
29364         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
29365         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
29366         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
29367         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
29368         Moved ...
29369         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
29370         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
29371         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
29372         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
29373         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
29374         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
29375         Moved ...
29376         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
29377         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
29378         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
29379         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
29380         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
29382         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
29383         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
29384         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
29385         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
29386         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
29387         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
29388         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
29389         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
29390         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
29391         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
29392         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
29393         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
29394         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
29395         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
29396         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
29397         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
29398         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
29399         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
29400         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
29401         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
29402         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
29403         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
29404         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
29405         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
29406         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
29407         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
29408         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
29409         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
29411 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
29413         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
29414         (FALLOC_FL_COLLAPSE_RANGE): New macro.
29415         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
29416         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
29417         (IPV6_PMTUDISC_INTERFACE): Likewise.
29418         (IPV6_PMTUDISC_OMIT): Likewise.
29420 2014-06-23  Andreas Schwab  <schwab@suse.de>
29422         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
29423         Remove unused errout label.
29425 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29427         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
29428         macro: hardware supports Vector Crypto instructions.
29430 2014-06-23  Will Newton  <will.newton@linaro.org>
29432         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
29433         rather than __builtin_expect.
29435         * elf/dl-lookup.c (undefined_msg): Remove variable.
29436         (_dl_lookup_symbol_x): Replace undefined_msg with string
29437         literal.
29439         * elf/dl-lookup.c (do_lookup_unique): New function.
29440         (do_lookup_x): Move STB_GNU_UNIQUE handling code
29441         to a separate function.
29443 2014-06-23  Andreas Schwab  <schwab@suse.de>
29445         [BZ #17079]
29446         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
29447         before reading the next line.
29449 2014-06-23  Will Newton  <will.newton@linaro.org>
29451         * test-skeleton.c (signal_handler): Use printf and %m
29452         rather than perror.  Use printf rather than fprintf to
29453         stderr.  Use puts rather than fputs to stderr.
29454         (main): Likewise.
29456 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
29458         * nscd/nscd.c (thread_info_t): Remove typedef.
29459         (thread_info): Remove variable.
29461 2014-06-21  Allan McRae  <allan@archlinux.org>
29463         * NEWS: Mention CVE-2014-4043.
29465 2014-06-20  Roland McGrath  <roland@hack.frob.com>
29467         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
29468         * nptl/smp.h: ... here.
29470         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
29472         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
29473         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
29474         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
29475         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
29477         * nptl/allocatestack.c: Include <stack-aliasing.h>.
29478         * nptl/stack-aliasing.h: New file.
29479         * sysdeps/i386/i686/stack-aliasing.h: New file.
29480         * sysdeps/i386/i686/nptl/Makefile: File removed.
29481         * sysdeps/x86_64/stack-aliasing.h: New file.
29482         * sysdeps/x86_64/nptl/Makefile
29483         (CFLAGS-pthread_create.c): Variable removed.
29485         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
29486         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
29487         old file.
29488         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
29489         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
29490         old file.
29492 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
29494         * sysdeps/unix/sysv/linux/arm/kernel-features.h
29495         (__ASSUME_SIGFRAME_V2): Remove macro.
29496         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
29497         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
29498         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
29499         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
29500         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
29501         Declare as function.  Remove conditional macro definitions.
29502         (__default_rt_sa_restorer): Likewise.
29503         (__default_sa_restorer_v1): Remove declaration.
29504         (__default_sa_restorer_v2): Likewise.
29505         (__default_rt_sa_restorer_v1): Likewise.
29506         (__default_rt_sa_restorer_v2): Likewise.
29507         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
29508         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
29509         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
29511 2014-06-20  Roland McGrath  <roland@hack.frob.com>
29513         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
29514         (libpthread-routines): Add sysdep.
29515         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
29516         * sysdeps/unix/sysv/linux/sparc/Versions
29517         (libpthread: GLIBC_2.3.3): New version set.
29518         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
29519         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
29520         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
29521         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
29522         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
29523         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
29524         Moved ...
29525         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
29526         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
29527         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
29528         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
29529         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
29530         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
29531         * sysdeps/sparc/nptl/sem_init.c: ... here.
29532         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
29533         * sysdeps/sparc/nptl/sem_post.c: ... here.
29534         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
29535         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
29536         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
29537         * sysdeps/sparc/nptl/sem_wait.c: ... here.
29538         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
29539         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
29540         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
29541         (libpthread-routines): Add cpu_relax.
29542         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
29543         File removed.
29544         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
29545         (librt: GLIBC_2.3.3): New version set.
29546         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
29547         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
29548         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
29549         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
29550         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
29551         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
29552         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
29553         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
29554         Moved ...
29555         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
29556         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
29557         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
29558         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
29559         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
29560         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
29561         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
29562         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
29563         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
29564         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
29565         Moved ...
29566         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
29567         Update #include.
29568         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
29569         Moved ...
29570         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
29571         Update #include.
29572         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
29573         Moved ...
29574         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
29575         Update #include.
29576         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
29577         Moved ...
29578         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
29579         Update #include.
29580         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
29581         Moved ...
29582         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
29583         Update #include.
29584         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
29585         Moved ...
29586         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
29587         Update #include.
29588         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
29589         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
29590         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
29591         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
29592         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
29593         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
29594         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
29595         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
29596         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
29597         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
29598         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
29599         Moved ...
29600         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
29601         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
29602         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
29603         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
29604         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
29606 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
29608         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
29609         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
29610         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
29611         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
29612         * nscd/nscd.c: Likewise.
29613         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
29614         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
29615         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
29616         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
29618         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
29619         <kernel-features.h>.
29620         (init_mq_netlink): Remove conditional have_sock_cloexec
29621         definitions.  Remove code conditional on have_sock_cloexec < 0.
29622         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
29623         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
29624         * sysdeps/unix/sysv/linux/opensock.c: Do not include
29625         <kernel-features.h>.
29626         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
29627         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
29629 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
29631         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29632         Add tests for memset_chk and memset.
29634         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
29635         with AVX2_Usable.
29637 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
29639         [BZ #16046]
29640         * elf/tst-dl-iter-static.c: New file.
29641         * elf/Makefile (tests-static): Add tst-dl-iter-static.
29643         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
29644         error.
29646 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
29648         * sysdeps/unix/sysv/linux/kernel-features.h
29649         (__ASSUME_F_GETOWN_EX): Remove macro.
29650         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
29651         <kernel-features.h>.
29652         (miss_F_GETOWN_EX): Remove variable or macro.
29653         (do_fcntl): Do not check miss_F_GETOWN_EX.
29654         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
29656         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
29657         Remove macro.
29658         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
29659         [!__ASSUME_AT_RANDOM]: Remove conditional code.
29660         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
29662         * sysdeps/unix/sysv/linux/kernel-features.h
29663         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
29664         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
29665         [ADJ_OFFSET_SS_READ]: Make code unconditional.
29666         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
29668 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
29670         [BZ #17075]
29671         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
29672         Fix calculation of the symbol's value.
29673         * sysdeps/arm/tst-armtlsdescloc.c: New file.
29674         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
29675         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
29676         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
29677         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
29678         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
29679         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
29680         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
29681         (modules-names): Add `tst-armtlsdescmod',
29682         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
29683         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
29684         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
29685         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
29686         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
29687         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
29688         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
29689         ($(objpfx)tst-armtlsdescloc): New dependency.
29690         ($(objpfx)tst-armtlsdescextnow): Likewise.
29691         ($(objpfx)tst-armtlsdescextlazy): Likewise.
29692         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
29693         TLS scheme support.
29694         * sysdeps/arm/configure: Regenerate.
29696 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
29698         * include/fcntl.h (__atfct_seterrno): Remove prototype.
29699         (__atfct_seterrno_2): Likewise.
29700         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
29701         <kernel-features.h>.
29702         (__ASSUME_ATFCTS): Do not undefine and redefine.
29703         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
29704         (__have_atfcts): Remove conditional definition.
29705         (__fxstatat([__NR_fstatat64]: Make code unconditional.
29706         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
29707         unreachable if [__ASSUME_ATFCTS].
29708         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
29709         not undefine and redefine.
29710         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
29711         <kernel-features.h>.
29712         (faccessat) [__NR_faccessat]: Make code unconditional.
29713         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
29714         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
29715         <kernel-features.h>.
29716         (fchmodat) [__NR_fchmodat]: Make code unconditional.
29717         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
29718         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
29719         <kernel-features.h>.
29720         (fchownat) [__NR_fchownat]: Make code unconditional.
29721         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
29722         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
29723         <kernel-features.h>.
29724         (futimesat) [__NR_futimesat]: Make code unconditional.
29725         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
29726         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
29727         <kernel-features.h>.
29728         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
29729         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
29730         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
29731         <kernel-features.h>.
29732         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
29733         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
29734         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
29735         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
29736         <kernel-features.h>.
29737         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
29738         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
29739         * sysdeps/unix/sysv/linux/linkat.c: Do not include
29740         <kernel-features.h>.
29741         (linkat) [__NR_linkat]: Make code unconditional.
29742         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
29743         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
29744         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
29745         <kernel-features.h>.
29746         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
29747         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
29748         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
29749         <kernel-features.h>.
29750         (mkdirat) [__NR_mkdirat]: Make code unconditional.
29751         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
29752         * sysdeps/unix/sysv/linux/openat.c: Do not include
29753         <kernel-features.h>.
29754         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
29755         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
29756         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
29757         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
29758         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
29759         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
29760         <kernel-features.h>.
29761         (readlinkat) [__NR_readlinkat]: Make code unconditional.
29762         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
29763         result of INLINE_SYSCALL directly, not via int variable.
29764         * sysdeps/unix/sysv/linux/renameat.c: Do not include
29765         <kernel-features.h>.
29766         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
29767         (renameat) [__NR_renameat]: Make code unconditional.
29768         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
29769         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
29770         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
29771         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
29772         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
29773         (__ASSUME_ATFCTS): Do not undefine and redefine.
29774         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
29775         <kernel-features.h>.
29776         (symlinkat) [__NR_symlinkat]: Make code unconditional.
29777         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
29778         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
29779         <kernel-features.h>.
29780         (unlinkat) [__NR_unlinkat]: Make code unconditional.
29781         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
29782         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
29783         (__ASSUME_ATFCTS): Do not undefine and redefine.
29784         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
29785         <kernel-features.h>.
29786         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
29787         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
29788         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
29789         <kernel-features.h>.
29790         (__xmknodat) [__NR_mknodat]: Make code unconditional.
29791         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
29793 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
29795         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
29797 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
29799         [BZ #17069]
29800         * posix/regcomp.c (parse_reg_exp): Deallocate partially
29801         constructed tree before returning error.
29802         * posix/bug-regexp36.c: Expand test case.
29804 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
29806         [BZ #6803]
29807         * math/libm-test.inc (scalbln_test_date):
29808         Add errno expectations.
29809         * math/w_scalblnf.c: New File.
29810         Add wrapper which checks for setting errno to ERANGE.
29811         Add weak_alias for corresponding scalbln function.
29812         * math/w_scalbln.c: Likewise.
29813         * math/w_scalblnl.c: Likewise.
29814         * math/Makefile (libm-calls): Add w_scalbln.
29815         * sysdeps/ieee754/flt-32/s_scalblnf.c:
29816         Remove weak_alias for corresponding scalbln function.
29817         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
29818         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
29819         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
29820         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29821         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
29822         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
29823         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
29824         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
29825         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
29826         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
29827         Remove long_double_symbol for scalblnl function in libm, libc.
29828         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
29829         Add wrapper which checks for setting errno to ERANGE.
29830         Add long_double_symbol for scalblnl function in libm, libc.
29831         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
29832         Remove long_double_symbol for scalblnl in libm.
29833         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
29834         Add wrapper which checks for setting errno to ERANGE.
29835         Add long_double_symbol for scalblnl function in libm.
29836         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
29837         Do not use wrapper because of own implementation.
29839 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
29841         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
29842         3 bytes for __pad1 for x32.
29843         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
29845 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
29846             H.J. Lu  <hongjiu.lu@intel.com>
29848         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
29849         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
29850         * sysdeps/x86_64/multiarch/memset.S: Likewise.
29851         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29852         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
29854 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
29856         [BZ #17069]
29857         * posix/regcomp.c (parse_expression): Deallocate partially
29858         constructed tree before returning error.
29859         * posix/Makefile.c (tests): Add bug-regex36.
29860         (generated): Add bug-regex36.mtrace.
29861         (tests-special): Add $(objpfx)bug-regex36-mem.out
29862         (bug-regex36-ENV): New variable.
29863         ($(objpfx)bug-regex36-mem.out): New rule.
29864         * posix/bug-regex36.c: New file.
29866 2014-06-19  Will Newton  <will.newton@linaro.org>
29868         * malloc/malloc.c (systrim): If extra is zero then return
29869         early.
29871 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
29873         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
29875 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
29877         * sysdeps/aarch64/strchr.S: New file.
29879 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
29881         [BZ #17022]
29882         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
29883         from arguments -2 or below.
29884         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
29885         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
29887 2014-06-18  Andreas Schwab  <schwab@suse.de>
29889         [BZ #17062]
29890         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
29891         of a bracket expr not to run off the end of the string.
29892         * posix/Makefile (tests): Add tst-fnmatch3.
29893         * posix/tst-fnmatch3.c: New file.
29895 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
29897         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
29898         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
29899         [$(cross-compiling) = no]: Likewise.
29900         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
29901         [$(cross-compiling) = no]: Likewise.
29903 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29905         [BZ #17031]
29906         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
29907         double, adjusted for any remainder from the high double.
29908         * math/libm-test.inc (nearbyint): Add tests.
29909         (rint): Likewise.
29911 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29913         * nptl/sysdeps/powerpc/Makefile: Moved ...
29914         * sysdeps/powerpc/nptl/Makefile: ... here.
29915         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
29916         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
29917         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
29918         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
29919         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
29920         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
29921         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
29922         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
29923         * nptl/sysdeps/powerpc/tls.h: Moved ...
29924         * sysdeps/powerpc/nptl/tls.h: ... here.
29926 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
29928         [BZ #16681]
29929         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
29930         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
29931         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
29932         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
29933         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
29934         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
29935         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
29936         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
29937         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
29939 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
29941         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
29943 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
29945         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
29946         defined operator.
29948         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
29949         $TIMEOUTFACTOR.
29951 2014-06-16  Florian Weimer  <fweimer@redhat.com>
29953         [BZ #17058]
29954         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
29955         non-executed part of the test.
29957 2014-06-16  Andreas Schwab  <schwab@suse.de>
29959         * string/bits/string2.h (strdup, strndup): Update feature guard.
29961 2014-06-14  David S. Miller  <davem@davemloft.net>
29963         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29965 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
29967         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
29968         that was previously under [RESET_PID].
29969         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
29971         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
29972         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
29973         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
29974         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
29975         (__libc_vfork): New strong alias.
29976         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
29978 2014-06-14 Andi Kleen  <ak@linux.intel.com>
29980         * sysdeps/generic/elide.h: New file.
29982 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
29984         * Makefile (installed-headers): Adjust path of pthread.h header.
29986 2014-06-13  Roland McGrath  <roland@hack.frob.com>
29988         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
29989         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
29990         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
29991         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
29993         * nptl/sysdeps/s390/Makefile: Moved ...
29994         * sysdeps/s390/nptl/Makefile: ... here.
29995         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
29996         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
29997         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
29998         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
29999         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
30000         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
30001         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
30002         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
30003         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
30004         * sysdeps/s390/nptl/pthreaddef.h: ... here.
30005         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
30006         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
30007         * nptl/sysdeps/s390/tls.h: Moved ...
30008         * sysdeps/s390/nptl/tls.h: ... here.
30010         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
30011         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
30013 2014-06-13  David S. Miller  <davem@davemloft.net>
30015         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
30016         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
30017         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
30018         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
30019         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
30020         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
30021         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
30022         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
30023         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
30024         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
30025         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
30026         Remove RESET_PID cpp guards.
30027         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
30028         Remove RESET_PID cpp guards.
30029         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
30031 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
30033         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
30034         __sp to uintptr_t.
30036 2014-06-13  Andi Kleen  <ak@linux.intel.com>
30038         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
30039         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
30040         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
30041         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
30042         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
30043         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
30044         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
30045         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
30046         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
30047         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
30048         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
30049         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
30050         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
30051         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
30052         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
30053         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
30054         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
30055         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
30056         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
30057         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
30059         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
30060         (pthread_rwlock_rdlock): Add elision.
30061         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
30062         (pthread_rwlock_wrlock): Add elision.
30063         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
30064         (pthread_rwlock_trywrlock): Add elision.
30065         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
30066         (pthread_rwlock_tryrdlock): Add elision.
30067         * nptl/pthread_rwlock_unlock.c: Include elide.h.
30068         (pthread_rwlock_tryrdlock): Add elision unlock.
30069         * nptl/sysdeps/pthread/pthread.h:
30070         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
30071         (PTHREAD_RWLOCK_INITIALIZER,
30072         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
30073         Handle new elision field.
30074         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
30075         * sysdeps/arm/nptl/bits/pthreadtypes.h
30076         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30077         * sysdeps/sh/nptl/bits/pthreadtypes.h
30078         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30079         * sysdeps/tile/nptl/bits/pthreadtypes.h
30080         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30081         * sysdeps/a/nptl/bits/pthreadtypes.h
30082         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30083         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
30084         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30085         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
30086         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30087         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
30088         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30089         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
30090         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30091         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
30092         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30093         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
30094         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30095         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
30096         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30097         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
30098         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30099         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
30100         (elision_init): Set try_xbegin to zero when no RTM.
30101         * sysdeps/x86/nptl/bits/pthreadtypes.h
30102         (pthread_rwlock_t): Change __pad1 to __rwelision.
30103         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30105 2014-06-13  Andi Kleen  <ak@linux.intel.com>
30107         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
30108         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
30109         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
30110         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
30112 2014-06-13  Meador Inge  <meadori@codesourcery.com>
30114         [BZ #16996]
30115         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
30116         that the cached result has been set before returning it.
30118 2014-06-12  Roland McGrath  <roland@hack.frob.com>
30120         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
30121         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
30122         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
30123         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
30124         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
30125         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
30127         * nptl/sysdeps/sparc/Makefile: Moved ...
30128         * sysdeps/sparc/nptl/Makefile: ... here.
30129         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
30130         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
30131         * nptl/sysdeps/sparc/tls.h: Moved ...
30132         * sysdeps/sparc/nptl/tls.h: ... here.
30133         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
30134         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
30135         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
30136         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
30137         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
30138         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
30139         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
30140         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
30141         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
30142         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
30143         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
30144         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
30145         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
30146         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
30147         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
30148         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
30149         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
30150         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
30151         Update #include.
30152         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
30153         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
30154         Update #include.
30155         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
30156         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
30157         Update #include.
30158         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
30159         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
30160         Update #include.
30162         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
30164         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
30165         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
30167         * sysdeps/pthread/posix-timer.h: Include <list.h>.
30168         (struct list_links): Type removed.
30169         (struct thread_node, struct timer_node): Replace struct list_links
30170         with struct list_head.
30171         (list_unlink_ip): Likewise.
30172         * sysdeps/pthread/timer_routines.c
30173         (timer_free_list, thread_free_list, thread_active_list): Likewise.
30174         (list_append, list_insbefore): Likewise.
30175         (list_init): Function removed.
30176         (thread_init, init_module): Use INIT_LIST_HEAD instead.
30177         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
30178         * sysdeps/pthread/Makefile: ... here, new file.
30180         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
30181         * sysdeps/nptl/Implies: ... here.
30182         * sysdeps/unix/sysv/linux/Implies: Add nptl.
30183         * nptl/sysdeps/pthread/list.h: Moved ...
30184         * include/list.h: ... here.
30185         * nptl/sysdeps/pthread/createthread.c: Moved ...
30186         * nptl/createthread.c: ... here.
30187         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
30188         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
30189         * nptl/pt-longjmp.c: ... here.
30190         * nptl/sysdeps/pthread/Makefile: Moved ...
30191         * sysdeps/nptl/Makefile: ... here.
30192         * nptl/sysdeps/pthread/Subdirs: Moved ...
30193         * sysdeps/nptl/Subdirs: ... here.
30194         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
30195         * sysdeps/nptl/aio_misc.h: ... here.
30196         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
30197         * sysdeps/nptl/bits/libc-lock.h: ... here.
30198         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
30199         * sysdeps/nptl/bits/libc-lockP.h: ... here.
30200         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
30201         * sysdeps/nptl/bits/stdio-lock.h: ... here.
30202         * nptl/sysdeps/pthread/configure: Moved ...
30203         * sysdeps/nptl/configure: ... here.
30204         * nptl/sysdeps/pthread/configure.ac: Moved ...
30205         * sysdeps/nptl/configure.ac: ... here.
30206         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
30207         * sysdeps/nptl/gai_misc.h: ... here.
30208         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
30209         * sysdeps/nptl/librt-cancellation.c: ... here.
30210         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
30211         * sysdeps/nptl/malloc-machine.h: ... here.
30212         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
30213         * sysdeps/nptl/pthread-functions.h: ... here.
30214         * nptl/sysdeps/pthread/pthread.h: Moved ...
30215         * sysdeps/nptl/pthread.h: ... here.
30216         * nptl/sysdeps/pthread/setxid.h: Moved ...
30217         * sysdeps/nptl/setxid.h: ... here.
30218         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
30219         * sysdeps/nptl/sigfillset.c: ... here.
30220         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
30221         * sysdeps/nptl/tcb-offsets.h: ... here.
30222         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
30223         * sysdeps/nptl/tst-mqueue8x.c: ... here.
30224         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
30225         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
30226         * nptl/sysdeps/pthread/allocalim.h: Moved ...
30227         * sysdeps/pthread/allocalim.h: ... here.
30228         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
30229         * sysdeps/pthread/bits/sigthread.h: ... here.
30230         * nptl/sysdeps/pthread/flockfile.c: Moved ...
30231         * sysdeps/pthread/flockfile.c: ... here.
30232         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
30233         * sysdeps/pthread/ftrylockfile.c: ... here.
30234         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
30235         * sysdeps/pthread/funlockfile.c: ... here.
30236         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
30237         * sysdeps/pthread/posix-timer.h: ... here.
30238         * nptl/sysdeps/pthread/timer_create.c: Moved ...
30239         * sysdeps/pthread/timer_create.c: ... here.
30240         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
30241         * sysdeps/pthread/timer_delete.c: ... here.
30242         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
30243         * sysdeps/pthread/timer_getoverr.c: ... here.
30244         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
30245         * sysdeps/pthread/timer_gettime.c: ... here.
30246         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
30247         * sysdeps/pthread/timer_routines.c: ... here.
30248         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
30249         * sysdeps/pthread/timer_settime.c: ... here.
30250         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
30251         * sysdeps/pthread/tst-timer.c: ... here.
30252         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
30253         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
30255         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
30256         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
30258         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
30259         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
30260         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
30261         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
30262         Update #include target.
30263         * nptl/sysdeps/i386/i686/Makefile: Moved ...
30264         * sysdeps/i386/i686/nptl/Makefile: ... here.
30265         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
30266         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
30267         Update #include target.
30268         * nptl/sysdeps/i386/i686/tls.h: Moved ...
30269         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
30270         * nptl/sysdeps/i386/Makefile: Moved ...
30271         * sysdeps/i386/nptl/Makefile: ... here.
30272         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
30273         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
30274         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
30275         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
30276         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
30277         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
30278         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
30279         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
30280         * sysdeps/i386/nptl/pthreaddef.h: ... here.
30281         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
30282         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
30283         * nptl/sysdeps/i386/tls.h: Moved ...
30284         * sysdeps/i386/nptl/tls.h: ... here.
30286         * sysdeps/sh/Makefile [$(subdir) = csu]
30287         (gen-as-const-headers): Add tcb-offsets.sym.
30288         * nptl/sysdeps/sh/Makefile: File removed.
30289         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
30290         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
30291         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
30292         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
30293         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
30294         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
30295         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
30296         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
30297         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
30298         * sysdeps/sh/nptl/pthreaddef.h: ... here.
30299         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
30300         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
30301         * nptl/sysdeps/sh/tls.h: Moved ...
30302         * sysdeps/sh/nptl/tls.h: ... here.
30303         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
30304         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
30305         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
30306         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
30307         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
30308         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
30309         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
30310         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
30311         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
30312         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
30313         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
30314         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
30315         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
30316         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
30317         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
30318         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
30319         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
30320         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
30321         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
30322         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
30323         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
30324         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
30325         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
30326         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
30327         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
30328         Moved ...
30329         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
30330         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
30331         Moved ...
30332         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
30333         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
30334         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
30335         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
30336         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
30337         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
30338         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
30339         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
30340         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
30341         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
30342         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
30343         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
30344         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
30345         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
30346         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
30347         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
30348         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
30349         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
30350         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
30352 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
30354         * posix/spawn_faction_addopen.c: Include string.h.
30356 2014-06-11  Roland McGrath  <roland@hack.frob.com>
30358         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
30359         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
30360         * nptl/sysdeps/x86_64/Makefile: Moved ...
30361         * sysdeps/x86_64/nptl/Makefile: ... here.
30362         * nptl/sysdeps/x86_64/configure: Moved ...
30363         * sysdeps/x86_64/nptl/configure: ... here.
30364         * nptl/sysdeps/x86_64/configure.ac: Moved ...
30365         * sysdeps/x86_64/nptl/configure.ac: ... here.
30366         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
30367         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
30368         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
30369         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
30370         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
30371         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
30372         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
30373         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
30374         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
30375         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
30376         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
30377         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
30378         * nptl/sysdeps/x86_64/tls.h: Moved ...
30379         * sysdeps/x86_64/nptl/tls.h: ... here.
30380         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
30381         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
30382         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
30383         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
30385         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
30387 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30389         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30391 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
30393         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
30394         type.
30395         [POSIX] (off_t): Likewise.
30396         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
30397         [POSIX] (S_ISBLK): Require macro.
30398         [POSIX] (S_ISCHR): Likewise.
30399         [POSIX] (S_ISDIR): Likewise.
30400         [POSIX] (S_ISFIFO): Likewise.
30401         [POSIX] (S_ISREG): Likewise.
30402         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
30403         optional-macro.
30404         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
30405         type.
30406         [POSIX] (time_t): Likewise.
30407         [POSIX] (timer_t): Likewise.
30409 2014-06-11  Florian Weimer  <fweimer@redhat.com>
30411         [BZ #17048]
30412         * posix/spawn_int.h (struct __spawn_action): Make the path string
30413         non-const to support deallocation.
30414         * posix/spawn_faction_addopen.c
30415         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
30416         * posix/spawn_faction_destroy.c
30417         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
30418         path in all spawn_do_open actions.
30419         * posix/tst-spawn.c (do_test): Exercise the copy operation in
30420         posix_spawn_file_actions_addopen.
30422 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
30424         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
30425         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
30426         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
30427         conditional code always true.
30428         (__libc_vfork): New alias.
30430 2014-06-11  Roland McGrath  <roland@hack.frob.com>
30432         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30433         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
30435         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
30437         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30438         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
30440         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
30441         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
30443         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30444         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
30446 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
30448         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
30449         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
30450         multiarch strcmp for PPC64.
30451         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
30452         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
30453         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
30454         multiarch optimizations.
30455         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
30456         (__libc_ifunc_impl_list): Likewise.
30458 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
30460         * benchtests/scripts/validate_benchout.py: New script.
30461         * benchtests/Makefile (bench-func): Call it.
30462         * benchtests/scripts/benchout.schema.json: New file.
30464 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
30466         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
30467         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
30468         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
30469         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
30470         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
30471         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
30472         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
30473         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
30474         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
30475         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
30476         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
30477         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
30478         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
30479         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
30480         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
30481         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
30482         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
30483         Moved ...
30484         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
30485         ... here.
30486         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
30487         Moved ...
30488         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
30489         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
30490         Moved ...
30491         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
30492         ... here.
30493         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
30494         Moved ...
30495         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
30496         ... here.
30497         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
30498         Moved ...
30499         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
30500         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
30501         Moved ...
30502         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
30503         ... here.
30504         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
30505         Moved ...
30506         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
30507         ... here.
30508         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
30509         Moved ...
30510         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
30511         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
30512         Moved ...
30513         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
30514         ... here.
30515         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
30516         Moved ...
30517         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
30518         ... here.
30519         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
30520         Moved ...
30521         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
30522         ... here.
30523         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
30524         Moved ...
30525         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
30526         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
30527         Moved ...
30528         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
30529         ... here.
30530         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
30531         Moved ...
30532         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
30533         ... here.
30534         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
30535         Moved ...
30536         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
30537         ... here.
30538         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
30539         Moved ...
30540         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
30541         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
30542         Moved ...
30543         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
30544         ... here.
30545         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
30546         Moved ...
30547         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
30548         ... here.
30549         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
30550         Moved ...
30551         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
30552         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
30553         Moved ...
30554         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
30555         ... here.
30556         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
30557         Moved ...
30558         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
30559         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
30560         Moved ...
30561         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
30562         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
30563         Moved ...
30564         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
30565         ... here.
30566         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
30567         Moved ...
30568         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
30569         ... here.
30570         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
30571         Moved ...
30572         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
30573         ... here.
30574         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
30575         Moved ...
30576         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
30577         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
30578         Moved ...
30579         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
30580         ... here.
30581         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
30582         Moved ...
30583         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
30584         ... here.
30585         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
30586         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
30587         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
30588         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
30589         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
30590         Moved ...
30591         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
30592         ... here.
30593         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
30594         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
30595         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
30596         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
30597         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
30598         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
30599         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
30600         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
30601         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
30602         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
30603         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
30604         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
30605         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
30606         Moved ...
30607         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
30608         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
30609         Moved ...
30610         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
30611         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
30612         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
30613         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
30614         Moved ...
30615         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
30616         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
30617         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
30618         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
30619         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
30620         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
30621         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
30623 2014-06-10  Wilco  <wdijkstr@arm.com>
30625         * math/test-fenv-return.c: New file.
30626         * math/Makefile: Add new test test-fenv-return.
30628 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
30630         [BZ #17042]
30631         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
30632         when x - 1 is zero.
30633         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
30634         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
30635         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
30636         0.0L for an argument of 1.0L.
30637         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
30638         Likewise.
30639         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
30640         value when x - 1 is zero.
30641         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
30642         * sysdeps/i386/fpu/libm-test-ulps: Update.
30643         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30645 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
30647         [BZ #15119]
30648         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
30650 2014-06-09  Roland McGrath  <roland@hack.frob.com>
30652         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
30653         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
30655 2014-06-09  Roland McGrath  <roland@hack.frob.com>
30657         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30658         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
30660         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30661         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
30663         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30664         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
30666         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30667         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
30669         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
30670         if not already defined.
30671         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
30672         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
30673         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
30674         (TLS_INIT_TP): Use it.
30675         (TLS_DEFINE_INIT_TP): New macro.
30676         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
30678 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
30680         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
30681         constant.
30682         [POSIX] (IXANY): Likewise.
30683         [POSIX] (OLCUC): Likewise.
30684         [POSIX || POSIX2008] (CBAUD): Do not allow.
30685         [POSIX || POSIX2008] (DEFECHO): Likewise.
30686         [POSIX || POSIX2008] (ECHOCTL): Likewise.
30687         [POSIX || POSIX2008] (ECHOKE): Likewise.
30688         [POSIX || POSIX2008] (ECHOPRT): Likewise.
30689         [POSIX || POSIX2008] (EXTA): Likewise.
30690         [POSIX || POSIX2008] (EXTB): Likewise.
30691         [POSIX || POSIX2008] (FLUSHO): Likewise.
30692         [POSIX || POSIX2008] (LOBLK): Likewise.
30693         [POSIX || POSIX2008] (PENDIN): Likewise.
30694         [POSIX || POSIX2008] (SWTCH): Likewise.
30695         [POSIX || POSIX2008] (VDISCARD): Likewise.
30696         [POSIX || POSIX2008] (VDSUSP): Likewise.
30697         [POSIX || POSIX2008] (VLNEXT): Likewise.
30698         [POSIX || POSIX2008] (VREPRINT): Likewise.
30699         [POSIX || POSIX2008] (VSTATUS): Likewise.
30700         [POSIX || POSIX2008] (VWERASE): Likewise.
30701         (B*): Change to B[0123456789]*.
30702         * conform/data/time.h-data [POSIX || UNIX98]
30703         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
30704         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
30705         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
30706         [POSIX] (tm_*): Do not allow.
30708 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
30710         * Makefile (install): Don't set LANGUAGE.
30711         * Makefile.in (install): Likewise.
30712         * assert/Makefile (test-assert-ENV): Remove variable.
30713         (test-assert-perr-ENV): Likewise.
30714         * elf/Makefile (neededtest4-ENV): Likewise.
30715         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
30716         [$(cross-compiling) = no]: Don't set LANGUAGE.
30717         * io/ftwtest-sh (LANG): Remove variable.
30718         * libio/Makefile (tst-widetext-ENV): Likewise.
30719         * manual/install.texi (Running make install): Don't refer to
30720         environment settings for make install.
30721         * INSTALL: Regenerated.
30722         * nptl/tst-tls6.sh: Don't set LANG.
30723         * posix/globtest.sh (LANG): Remove variable.
30724         * string/Makefile (tester-ENV): Likewise.
30725         (inl-tester-ENV): Likewise.
30726         (noinl-tester-ENV): Likewise.
30727         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
30728         [$(cross-compiling) = no]: Don't set LANGUAGE.
30729         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
30730         without explicit environment settings.
30732 2014-06-06  Roland McGrath  <roland@hack.frob.com>
30734         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
30735         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
30736         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
30737         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
30739 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
30741         * crypt/crypt-private.h [DOS]: Add some includes taken from the
30742         other files in the crypt directory.
30743         * crypt/crypt.c: Remove duplicate includes.
30744         * crypt/crypt-entry.c: Likewise.
30745         * crypt/crypt_util.c: Likewise.
30747 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
30749         * Makeconfig (run-program-env): New variable.
30750         (run-program-prefix-before-env): Likewise.
30751         (run-program-prefix-after-env): Likewise.
30752         (run-program-prefix): Define in terms of new variables.
30753         (built-program-cmd-before-env): New variable.
30754         (built-program-cmd-after-env): Likewise.
30755         (built-program-cmd): Define in terms of new variables.
30756         (test-program-prefix-before-env): New variable.
30757         (test-program-prefix-after-env): Likewise.
30758         (test-program-prefix): Define in terms of new variables.
30759         (test-program-cmd-before-env): New variable.
30760         (test-program-cmd-after-env): Likewise.
30761         (test-program-cmd): Define in terms of new variables.
30762         * Rules (make-test-out): Use $(run-program-env).
30763         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
30764         (help): Do not mention environment variables.  Mention
30765         --timeoutfactor option.
30766         (timeoutfactor): New variable.
30767         (blacklist_exports): Remove function.
30768         (exports): Remove variable.
30769         (command): Do not include ${exports}.
30770         * manual/install.texi (Configuring and compiling): Do not mention
30771         test wrappers preserving environment variables.  Mention that last
30772         assignment to a variable must take precedence.
30773         * INSTALL: Regenerated.
30774         * benchtests/Makefile (run-bench): Use $(run-program-env).
30775         * catgets/Makefile ($(objpfx)test1.cat): Use
30776         $(built-program-cmd-before-env), $(run-program-env) and
30777         $(built-program-cmd-after-env).
30778         ($(objpfx)test2.cat): Do not specify environment variables
30779         explicitly.
30780         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
30781         $(run-program-env) and $(built-program-cmd-after-env).
30782         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
30783         $(run-program-env) and $(test-program-cmd-after-env).
30784         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
30785         explicitly.
30786         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
30787         run_program_env and test_program_cmd_after_env arguments.
30788         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
30789         * elf/tst-pathopt.sh: Use run_program_env argument.
30790         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
30791         $(test-wrapper-env) and $(run-program-env).
30792         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
30793         run_program_env arguments.
30794         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
30795         * intl/Makefile ($(objpfx)tst-gettext.out): Use
30796         $(test-program-prefix-before-env), $(run-program-env) and
30797         $(test-program-prefix-after-env).
30798         ($(objpfx)tst-gettext2.out): Likewise.
30799         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
30800         run_program_env and test_program_prefix_after_env arguments.
30801         * intl/tst-gettext2.sh: Likewise.
30802         * intl/tst-gettext4.sh: Do not set environment variables
30803         explicitly.
30804         * intl/tst-gettext6.sh: Likewise.
30805         * intl/tst-translit.sh: Likewise.
30806         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
30807         $(test-program-prefix-before-env), $(run-program-env) and
30808         $(test-program-prefix-after-env).
30809         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
30810         run_program_env and test_program_prefix_after_env arguments.
30811         * math/Makefile (run-regen-ulps): Use $(run-program-env).
30812         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
30813         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
30814         explicitly with each use of ${test_wrapper_env}.
30815         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
30816         $(test-program-prefix-before-env), $(run-program-env) and
30817         $(test-program-prefix-after-env).
30818         * posix/tst-getconf.sh: Do not set environment variables
30819         explicitly.
30820         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
30821         run_program_env and test_program_prefix_after_env arguments.
30822         * stdio-common/tst-printf.sh: Do not set environment variables
30823         explicitly.
30824         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
30825         $(test-program-prefix-before-env), $(run-program-env) and
30826         $(test-program-prefix-after-env).
30827         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
30828         run_program_env and test_program_prefix_after_env arguments.
30829         Split $test calls into $test_pre and $test.
30830         * timezone/Makefile (build-testdata): Use
30831         $(built-program-cmd-before-env), $(run-program-env) and
30832         $(built-program-cmd-after-env).
30834 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30836         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
30837         strlen for non SHARED builds.
30839 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
30841         * nptl/allocatestack.c (check_list): Inlined function...
30842         (__reclaim_stacks): ... here.
30844 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
30846         [BZ #15698]
30847         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
30848         memory overrun.
30850 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
30852         * Rules (make-test-out): Include
30853         LOCPATH=$(common-objpfx)localedata in default environment.
30854         * debug/Makefile (tst-chk1-ENV): Remove variable.
30855         (tst-chk2-ENV): Likewise.
30856         (tst-chk3-ENV): Likewise.
30857         (tst-chk4-ENV): Likewise.
30858         (tst-chk5-ENV): Likewise.
30859         (tst-chk6-ENV): Likewise.
30860         (tst-lfschk1-ENV): Likewise.
30861         (tst-lfschk2-ENV): Likewise.
30862         (tst-lfschk3-ENV): Likewise.
30863         (tst-lfschk4-ENV): Likewise.
30864         (tst-lfschk5-ENV): Likewise.
30865         (tst-lfschk6-ENV): Likewise.
30866         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
30867         (tst-iconv7-ENV): Likewise.
30868         * intl/Makefile (LOCPATH-ENV): Likewise.
30869         (tst-codeset-ENV): Likewise.
30870         (tst-gettext3-ENV): Likewise.
30871         (tst-gettext5-ENV): Likewise.
30872         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
30873         (tst-fopenloc-ENV): Likewise.
30874         (tst-fgetws-ENV): Remove variable.
30875         (tst-ungetwc1-ENV): Likewise.
30876         (tst-ungetwc2-ENV): Likewise.
30877         (bug-ungetwc2-ENV): Likewise.
30878         (tst-swscanf-ENV): Likewise.
30879         (bug-ftell-ENV): Likewise.
30880         (tst-fgetwc-ENV): Likewise.
30881         (tst-fseek-ENV): Likewise.
30882         (tst-ftell-partial-wide-ENV): Likewise.
30883         (tst-ftell-active-handler-ENV): Likewise.
30884         (tst-ftell-append-ENV): Likewise.
30885         * posix/Makefile (tst-fnmatch-ENV): Likewise.
30886         (tst-regexloc-ENV): Likewise.
30887         (bug-regex1-ENV): Likewise.
30888         (tst-regex-ENV): Likewise.
30889         (tst-regex2-ENV): Likewise.
30890         (bug-regex5-ENV): Likewise.
30891         (bug-regex6-ENV): Likewise.
30892         (bug-regex17-ENV): Likewise.
30893         (bug-regex18-ENV): Likewise.
30894         (bug-regex19-ENV): Likewise.
30895         (bug-regex20-ENV): Likewise.
30896         (bug-regex22-ENV): Likewise.
30897         (bug-regex23-ENV): Likewise.
30898         (bug-regex25-ENV): Likewise.
30899         (bug-regex26-ENV): Likewise.
30900         (bug-regex30-ENV): Likewise.
30901         (bug-regex32-ENV): Likewise.
30902         (bug-regex33-ENV): Likewise.
30903         (bug-regex34-ENV): Likewise.
30904         (bug-regex35-ENV): Likewise.
30905         (tst-rxspencer-ENV): Likewise.
30906         (tst-rxspencer-no-utf8-ENV): Likewise.
30907         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
30908         (tst-sscanf-ENV): Likewise.
30909         (tst-swprintf-ENV): Likewise.
30910         (tst-swscanf-ENV): Likewise.
30911         (test-vfprintf-ENV): Likewise.
30912         (scanf13-ENV): Likewise.
30913         (bug14-ENV): Likewise.
30914         (tst-grouping-ENV): Likewise.
30915         * stdlib/Makefile (tst-strtod-ENV): Likewise.
30916         (tst-strtod3-ENV): Likewise.
30917         (tst-strtod4-ENV): Likewise.
30918         (tst-strtod5-ENV): Likewise.
30919         (testmb2-ENV): Likewise./
30920         * string/Makefile (tst-strxfrm-ENV): Likewise.
30921         (tst-strxfrm2-ENV): Likewise.
30922         (bug-strcoll1-ENV): Likewise.
30923         (test-strcasecmp-ENV): Likewise.
30924         (test-strncasecmp-ENV): Likewise.
30925         * time/Makefile (tst-strptime-ENV): Likewise.
30926         (tst-ftime_l-ENV): Likewise.
30927         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
30928         (tst-mbrtowc-ENV): Likewise.
30929         (tst-wcrtomb-ENV): Likewise.
30930         (tst-mbrtowc2-ENV): Likewise.
30931         (tst-c16c32-1-ENV): Likewise.
30932         (tst-mbsnrtowcs-ENV): Likewise.
30934 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
30936         * manual/resource.texi (How to get information about the memory
30937         subsystem?): Fix typo.
30938         Reported by Peon de la Parra Ivan <peon@keba.com>
30940 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
30942         [BZ #16882]
30943         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
30944         (pthread_spin_lock): Branch out of spin loop to proper location.
30945         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
30946         (pthread_spin_lock): Likewise.
30948         * nptl/tst-spin4.c: New test.
30949         * nptl/Makefile (tests): Add tst-spin4.
30951 2014-06-03  Andreas Schwab  <schwab@suse.de>
30953         [BZ #15946]
30954         * resolv/res_send.c (send_dg): Reload file descriptor after
30955         calling reopen.
30957 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
30959         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
30961 2014-06-03  Richard Henderson  <rth@redhat.com>
30963         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
30964         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
30965         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
30966         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
30967         in the SAVE_PID block.
30968         (__libc_vfork): New alias.
30969         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
30971         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
30972         child in registers, not on the stack.  Remove RESET_PID conditionals.
30973         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
30975 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
30977         * sysdeps/aarch64/libm-test-ulps: Regenerate.
30979 2014-06-03  Wilco  <wdijkstr@arm.com>
30981         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
30982         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
30983         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
30984         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
30985         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
30986         Likewise.
30988 2014-06-03  Wilco  <wdijkstr@arm.com>
30990         * sysdeps/aarch64/fpu/math_private.h
30991         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
30992         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
30993         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
30994         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
30995         Fix declarations.
30997 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30999         * crypt/crypt-private.h: Include ufc-crypt.h.
31000         (__b64_from_24bit): Declare extern.
31001         * crypt/crypt_util.c(__b64_from_24bit): New function.
31002         (b64t): New static const variable.
31003         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
31004         (b64t): Remove variable.
31005         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
31006         * crypt/sha256-crypt.c: Include crypt-private.h.
31007         (b64t): Remove variable.
31008         (__sha256_crypt_r): Remove b64_from_24bit and replace
31009         with __b64_from_24bit.
31010         * crypt/sha512-crypt.c: Likewise.
31012 2014-06-02  Roland McGrath  <roland@hack.frob.com>
31014         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
31015         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
31016         Label the code __libc_vfork rather than __vfork.
31017         [!NOT_IN_libc] (vfork): Define as weak alias.
31018         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
31019         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
31020         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
31022 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31024         * malloc/malloc.c (malloc_info): Fix format specifier for
31025         n_mmaps.
31027 2014-06-02  Wilco  <wdijkstr@arm.com>
31029         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
31030         FPCR write.
31032 2014-06-02  Wilco  <wdijkstr@arm.com>
31034         [BZ #17009]
31035         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
31036         Rewrite to reduce FPCR/FPSR accesses.
31038 2014-06-01  David S. Miller  <davem@davemloft.net>
31040         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31042 2014-05-31  David S. Miller  <davem@davemloft.net>
31044         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
31045         to occur in round to nearest mode when |x| >= 2.0
31047 2014-05-30  Richard Henderson  <rth@twiddle.net>
31049         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
31050         (PSEUDO_RET_NOERRNO): Remove.
31051         (ret): Don't redefine.
31052         (ret_NOERRNO): Define in terms of ret.
31053         (ret_ERRVAL): Likewise.
31055         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
31056         use of PSEUDO_RET; perform the error check directly.
31058 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
31060         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
31061         with __int128_t.
31063 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
31065         * malloc/malloc (malloc_info): Fix formatting.
31067 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
31068             Roland McGrath  <roland@hack.frob.com>
31070         * malloc/malloc (malloc_info): Also print mmapped statistics.
31072 2014-05-30  Roland McGrath  <roland@hack.frob.com>
31074         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
31075         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
31077 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
31079         * malloc/malloc.c (malloc_info): Inline mi_arena.
31081 2014-05-29  Richard Henderson  <rth@twiddle.net>
31083         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
31084         Remove comma before expanding ASM_ARGS_##nr.
31085         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
31086         Make _x0 a strict output; make _x8 a strict input; adjust expansion
31087         of ASM_ARGS_##nr.
31088         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
31089         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
31090         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
31091         (ASM_ARGS_1): Add leading comma.
31093         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
31094         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
31095         to __errno_location.
31096         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
31097         Remove the expected plt for __errno_location.
31099         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
31100         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
31101         call to __read_tp.
31103         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
31104         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
31105         it and break it down.
31106         (DOCARGS_0, DOCARGS_1): Do nothing.
31107         (DOCARGS_2): Update to store into the new stack frame.
31108         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
31109         (UNDOCARGS_1): Update to restore from the new stack frame.
31110         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
31111         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
31113         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
31114         (SINGLE_THREAD_P): New parameter for result regno.
31115         (PSEUDO): Update to match; use cbz instead of beq.
31117         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
31118         Use ENTRY to define the _nocancel entry point.  Share the syscall
31119         and syscall error check paths with the cancel path.
31120         (PSEUDO_END): New.
31122         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
31123         whitespace; tabs before and after asm mnemonics.
31125 2014-05-29  Eric Wong  <normalperson@yhbt.net>
31127         [BZ #15132]
31128         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31129         Call fstat64 or stat64 internally, depending on arguments passed.
31130         Replace stat buffer argument with file descriptor argument.
31131         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
31132         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
31133         Pass fd to __internal_statvfs instead of calling fstat64.
31134         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
31135         Pass fd to __internal_statvfs64 instead of calling fstat64.
31136         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
31137         Pass -1 to __internal_statvfs instead of calling stat64.
31138         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
31139         Pass -1 to __internal_statvfs64 instead of calling stat64.
31141 2014-05-28  Roland McGrath  <roland@hack.frob.com>
31143         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
31144         that was previously under [RESET_PID].
31145         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
31147         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
31148         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
31150 2014-05-27  Roland McGrath  <roland@hack.frob.com>
31152         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
31154         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
31155         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
31157 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
31159         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
31161 2014-05-27  Andreas Schwab  <schwab@suse.de>
31163         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
31164         TLS_INIT_TP macro.
31165         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
31166         * elf/rtld.c (init_tls, dl_main): Likewise.
31167         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
31168         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
31169         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
31170         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
31171         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
31172         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
31173         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
31174         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
31175         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
31176         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
31177         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
31178         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
31179         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
31180         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
31181         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
31182         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
31183         * sysdeps/generic/tls.h: Update description.
31185 2014-05-27  Will Newton  <will.newton@linaro.org>
31187         [BZ #16990]
31188         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
31189         and restore r2 rather than just restoring.
31191 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
31193         [BZ #16724]
31194         * libio/tst-ftell-append.c: New test case.
31195         * libio/Makefile (tests): Add test case.
31196         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
31197         append mode.
31198         * libio/wfileops.c (do_ftell_wide): Likewise.
31200 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31202         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31204         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
31205         ...
31206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
31207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
31208         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
31209         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
31210         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
31211         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
31212         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
31213         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
31214         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
31215         Moved ...
31216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
31217         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
31218         Moved ...
31219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
31220         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
31221         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
31222         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
31223         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
31224         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
31225         ...
31226         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
31227         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
31228         Moved ...
31229         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
31230         here.
31231         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
31232         ...
31233         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
31234         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
31235         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
31237         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
31238         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
31239         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
31240         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
31242         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
31243         merge into ...
31244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
31245         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
31246         ...
31247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
31248         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
31249         ...
31250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
31251         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
31252         Moved ...
31253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
31254         here.
31255         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
31256         Moved ...
31257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
31258         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
31259         Moved ...
31260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
31262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
31263         conditional [RESET_PID].
31264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
31265         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
31266         removed.
31267         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
31268         removed.
31270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
31271         <tcb-offsets.h>.
31272         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
31273         (__libc_vfork): New strong alias.
31274         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
31275         removed.
31276         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
31277         Removed.
31279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
31280         <tcb-offsets.h>.
31281         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
31282         (__libc_vfork): New strong alias.
31283         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
31284         removed.
31285         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
31286         removed.
31288 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
31290         * malloc/malloc.c (mi_arena): New function.
31291         (malloc_info): Remove nested function mi_arena. Call non-nosted
31292         function mi_arena.
31294 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31296         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
31297         by insrwi.
31298         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
31299         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
31300         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
31301         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
31302         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
31303         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
31304         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
31306 2014-05-26  Andreas Schwab  <schwab@suse.de>
31308         [BZ #16984]
31309         * locale/programs/repertoire.c (repertoire_read): Add slash
31310         between I18NPATH element and file name.
31311         * locale/programs/locfile.c (locfile_read): Likewise.
31313 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
31315         * nptl/pthread_mutexattr_settype.c
31316         (__pthread_mutexattr_settype):
31317         Disable lock elision for PTHREAD_MUTEX_NORMAL.
31319 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
31321         * nptl/tst-mutex5 (do_test):
31322         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
31324 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31326         * benchtests/README: Document 'init' directive.
31327         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
31328         BENCH_INIT.
31329         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
31330         (parse_file): Recognize 'init' directive.
31332 2014-05-26  Kyle McMartin  <kyle@redhat.com>
31334         [BZ #16796]
31335         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
31336         alignment of struct pthread.
31338 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31340         [BZ #16878]
31341         * nscd/netgroupcache.c (addgetnetgrentX): Look for
31342         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
31343         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
31344         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
31346 2014-05-25  Richard Henderson  <rth@twiddle.net>
31348         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
31349         (SINGLE_THREAD_P_PIC): Remove.
31350         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
31351         (SINGLE_THREAD_P_PIC): Remove.
31353         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
31354         branch to syscall error ...
31355         (PSEUDO): ... here.
31356         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
31357         from __local_syscall_error to .Lsyscall_error.
31358         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
31359         (SYSCALL_ERROR): Update label name.
31361         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
31362         Do not use DOARGS/UNDOARGS.
31363         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
31364         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
31365         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
31366         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
31367         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
31369         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
31370         block comment.
31372         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
31373         define if !NOT_IN_libc.
31374         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
31375         define with non-default symbol versions.
31377 2014-05-23  Richard Henderson  <rth@twiddle.net>
31379         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
31380         (vfork, __vfork): Define via compat_symbol.
31382         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
31383         [!HAVE_IFUNC] (vfork_compat): Remove.
31384         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
31386 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
31388         [BZ #16978]
31389         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
31390         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
31391         variable.
31393 2014-05-23  Richard Henderson  <rth@twiddle.net>
31395         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
31396         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
31397         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
31398         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
31400         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
31401         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
31402         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
31403         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
31404         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
31405         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
31406         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
31407         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
31408         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
31409         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
31410         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
31411         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
31412         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
31413         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
31414         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
31415         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
31416         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
31417         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
31418         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
31419         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
31420         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
31421         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
31422         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
31423         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
31424         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
31425         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
31426         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
31427         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
31428         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
31429         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
31430         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
31431         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
31432         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
31433         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
31434         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
31435         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
31436         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
31437         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
31438         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
31439         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
31440         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
31441         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
31442         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
31443         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
31444         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
31445         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
31446         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
31447         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
31448         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
31449         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
31450         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
31451         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
31452         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
31453         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
31454         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
31455         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
31457         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
31458         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
31459         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
31460         before exiting on error.
31461         (__libc_vfork): New strong alias.
31462         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
31463         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
31465         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
31466         that was previously under [RESET_PID].
31467         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
31469         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
31471 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
31473         [BZ #16977]
31474         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
31475         value when x - 1 is zero.
31476         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
31477         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
31478         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
31479         0.0L for an argument of 1.0L.
31480         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
31481         Likewise.
31482         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
31483         value when x - 1 is zero.
31484         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
31485         * sysdeps/i386/fpu/libm-test-ulps: Update.
31486         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31488 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
31490         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
31491         alphasort and versionsort.
31493 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31495         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
31496         macro.
31497         [copysignf]: Likewise.
31499 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
31501         * crypt/md5-crypt.c: Fix formatting.
31503 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
31505         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
31506         (b64_from_24bit): New function.
31508 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31510         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
31511         libc_hidden_builtin_def to ifunc.
31512         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
31513         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
31515 2014-05-21  Roland McGrath  <roland@hack.frob.com>
31517         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
31518         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
31520 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
31522         * nscd/Depend (linuxthreads): Remove.
31523         (nptl): Add.
31524         * resolv/Depend (linuxthreads): Remove.
31525         * rt/Depend (linuxthreads): Remove.
31527         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
31528         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
31529         $(common-objpfx)elf/.
31530         (link-libc-before-gnulib): Likewise.
31531         (elfobjdir): Remove variable.
31532         * Makefile (install): Use $(elf-objpfx) instead of
31533         $(common-objpfx)elf/.
31534         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
31535         $(elfobjdir)/.
31536         (link-libc-deps): Likewise.
31537         ($(common-objpfx)libc.so): Likewise.
31538         ($(common-objpfx)linkobj/libc.so): Likewise.
31539         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
31540         instead of $(common-objpfx)elf/.
31541         (symbolic-link-list): Likewise.
31542         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
31543         [$(cross-compiling) = no]: Likewise.
31544         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
31545         $(elfobjdir)/.
31546         (static-gnulib-arch): Likewise.
31547         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
31548         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
31549         $(common-objpfx)elf/.
31551 2014-05-21  Richard Henderson  <rth@redhat.com>
31553         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
31554         (SINGLE_THREAD_P): Use the correct width load.  Fold
31555         into the ldr offset.
31557         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
31558         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
31560 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
31562         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
31563         (libgcc_s_resume): Use __attribute_used__.
31564         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
31565         Likewise.
31567 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31569         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
31570         optimization when used with float constants.
31572         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31574 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
31576         [BZ #16915]
31577         * locale/nl_langinfo_l.c: Make direct reference to every
31578         _nl_current_CATEGORY symbol.
31579         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
31580         (tests-static): Add tst-langinfo-static.
31581         (tests-special): Add tst-langinfo-static.out.
31582         ($(objpfx)tst-langinfo.out): Redirect output.
31583         ($(objpfx)tst-langinfo-static.out): New.
31584         * localedata/tst-langinfo.sh: Send output to stdout.
31585         * localedata/tst-langinfo-static.c: New file.
31587         [BZ #16965]
31588         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
31589         when the shift amount is modulo the limb size.
31591 2014-05-20  Richard Henderson  <rth@redhat.com>
31593         [BZ #16967]
31594         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
31595         Change type of sa_flags from unsigned int to int.
31597         [BZ #16966]
31598         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
31600         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
31602 2014-05-20  Will Newton  <will.newton@linaro.org>
31604         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
31605         Test the return value of the system call in the nocancel case.
31607 2014-05-20  Will Newton  <will.newton@linaro.org>
31608             Yvan Roux  <yvan.roux@linaro.org>
31610         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
31611         #include of asm/ptrace.h.
31612         (PTRACE_GET_THREAD_AREA): Remove #undef.
31613         (PTRACE_GETHBPREGS): Likewise.
31614         (PTRACE_SETHBPREGS): Likewise.
31615         (struct user_regs_struct): New structure.
31616         (struct user_fpsimd_struct): New structure.
31617         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
31618         #include of asm/ptrace.h and second #include of sys/user.h.
31619         (PTRACE_GET_THREAD_AREA): Remove #undef.
31620         (PTRACE_GETHBPREGS): Likewise.
31621         (PTRACE_SETHBPREGS): Likewise.
31622         (ELF_NGREG): Use new struct user_regs_struct.
31623         (elf_fpregset_t): Use new struct user_fpsimd_struct.
31625 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31627         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
31628         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
31630 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
31632         [BZ #16958]
31633         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
31634         membar to avoid block loads/stores to overlap previous stores.
31636 2014-05-17  Richard Henderson  <rth@redhat.com>
31638         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
31639         Create the __##syscall_name##_nocancel entry point.
31640         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
31641         Remove; let the sysdep-cancel.h code create it.
31643 2014-05-17  David S. Miller  <davem@davemloft.net>
31645         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
31646         Protect with __USE_GNU.
31647         (TIOCSET_TEMPT): Likewise.
31648         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
31649         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
31650         these are already provided in bits/ioctl-types.h
31652 2014-05-16  Roland McGrath  <roland@hack.frob.com>
31654         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
31655         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
31657         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
31658         Use wait4 regardless of [__NR_waitpid].
31660 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
31662         PR libgcc/60166
31663         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
31664         (_FP_NANSIGN_Q): Set the quiet bit.
31666 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
31668         * benchtests/Makefile
31669         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
31670         not $(common-objpfx)math/libm.so.
31671         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
31672         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
31673         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
31674         $(common-objpfx)dlfcn/libdl.so.
31675         ($(objpfx)tst-audit8): Depend on $(libm), not
31676         $(common-objpfx)math/libm.so.
31677         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
31678         not $(common-objpfx)dlfcn/libdl.so.
31679         * math/Makefile
31680         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
31681         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
31682         [$(build-shared) = yes].
31683         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
31684         $(common-objpfx)nptl/libpthread.so.
31685         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
31686         $(common-objpfx)math/libm.so$(libm.so-version) or
31687         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
31688         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
31689         $(common-objpfx)dlfcn/libdl.so.
31690         * setjmp/Makefile (link-libm): Remove variable.
31691         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
31692         * stdio-common/Makefile (link-libm): Remove variable.
31693         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
31694         * stdlib/Makefile (link-libm): Remove variable.
31695         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
31696         ($(objpfx)tst-strtod-round): Likewise.
31697         ($(objpfx)tst-tininess): Likewise.
31698         ($(objpfx)tst-strtod-underflow): Likewise.
31699         ($(objpfx)tst-strtod6): Likewise.
31700         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
31701         $(libdl), not $(common-objpfx)nptl/libpthread.so and
31702         $(common-objpfx)dlfcn/libdl.so.
31704 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31706         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
31707         BSD terminal modes definitions.
31709 2014-05-16  Roland McGrath  <roland@hack.frob.com>
31711         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
31712         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
31714         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
31715         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
31716         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
31717         Don't do #include_next.
31718         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
31719         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
31720         Don't do #include_next.
31721         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
31722         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
31723         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
31724         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
31726 2014-05-16  Allan McRae  <allan@archlinux.org>
31728         * po/sv.po: Update Swedish translation from translation project.
31730         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
31731         in sed expression.
31733 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
31735         [BZ #16917]
31736         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
31737         errno if the TIOCGPTN ioctl fails with an error different than
31738         EINVAL.
31739         * login/tst-ptsname.c: New file.
31740         * login/Makefile (tests): Add tst-ptsname.
31742         [BZ #16943]
31743         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
31744         and prlimit64.
31746 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
31748         [BZ #16849]
31749         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
31750         herrno to return EAI_AGAIN.
31752 2014-05-14  Roland McGrath  <roland@hack.frob.com>
31754         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
31755         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
31756         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
31757         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
31758         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
31759         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
31760         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
31761         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
31762         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
31763         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
31764         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
31765         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
31766         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
31767         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
31768         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
31769         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
31770         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
31771         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
31772         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
31773         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
31774         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
31775         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
31776         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
31777         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
31778         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
31779         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
31780         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
31781         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
31782         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
31783         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
31784         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
31785         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
31786         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
31787         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
31788         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
31789         Moved ...
31790         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
31791         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
31792         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
31793         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
31794         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
31795         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
31796         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
31797         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
31798         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
31799         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
31800         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
31801         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
31802         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
31803         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
31804         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
31805         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
31806         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
31807         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
31808         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
31809         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
31810         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
31811         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
31812         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
31813         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
31814         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
31815         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
31816         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
31817         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
31818         Moved ...
31819         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
31820         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
31821         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
31822         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
31823         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
31824         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
31825         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
31826         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
31827         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
31828         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
31829         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
31830         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
31831         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
31832         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
31833         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
31834         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
31835         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
31836         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
31837         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
31838         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
31839         Moved ...
31840         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
31841         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
31842         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
31844         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
31845         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
31846         (libpthread-sysdep_routines): Add elision-related stuff here instead.
31847         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
31848         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
31849         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
31850         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
31851         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
31852         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
31853         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
31854         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
31855         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
31856         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
31857         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
31858         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
31859         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
31860         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
31861         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
31862         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
31863         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
31864         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
31865         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
31866         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
31867         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
31868         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
31869         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
31870         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
31871         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
31872         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
31873         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
31874         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
31876         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
31877         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
31879         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
31880         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
31881         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
31882         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
31883         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
31884         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
31885         Moved ...
31886         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
31887         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
31888         Moved ...
31889         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
31890         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
31891         Moved ...
31892         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
31893         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
31894         Moved ...
31895         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
31896         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
31897         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
31898         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
31899         Moved ...
31900         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
31901         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
31902         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
31903         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
31904         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
31905         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
31906         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
31907         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
31908         Moved ...
31909         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
31910         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
31911         Moved ...
31912         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
31913         ... here.
31914         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
31915         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
31916         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
31917         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
31918         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
31919         Moved ...
31920         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
31921         ... here.
31922         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
31923         Moved ...
31924         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
31925         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
31926         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
31927         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
31928         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
31929         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
31930         Moved ...
31931         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
31932         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
31933         Moved ...
31934         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
31935         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
31936         Moved ...
31937         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
31938         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
31939         Moved ...
31940         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
31941         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
31942         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
31943         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
31944         Moved ...
31945         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
31946         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
31947         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
31948         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
31949         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
31950         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
31951         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
31952         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
31953         Moved ...
31954         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
31955         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
31956         Moved ...
31957         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
31958         ... here.
31959         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
31960         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
31961         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
31962         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
31963         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
31964         Moved ...
31965         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
31966         ... here.
31967         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
31968         Moved ...
31969         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
31970         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
31971         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
31972         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
31973         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
31974         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
31975         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
31976         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
31977         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
31978         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
31979         Moved ...
31980         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
31981         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
31982         Moved ...
31983         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
31984         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
31985         Moved ...
31986         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
31987         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
31988         Moved ...
31989         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
31990         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
31991         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
31992         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
31993         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
31994         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
31995         Moved ...
31996         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
31997         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
31998         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
31999         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
32000         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
32001         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
32002         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
32003         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
32004         Moved ...
32005         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
32006         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
32007         Moved ...
32008         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
32009         ... here.
32010         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
32011         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
32012         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
32013         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
32014         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
32015         Moved ...
32016         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
32017         ... here.
32018         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
32019         Moved ...
32020         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
32021         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
32022         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
32023         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
32024         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
32025         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
32026         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
32027         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
32028         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
32029         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
32030         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
32032         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
32033         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
32035         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
32036         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
32038         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
32039         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
32040         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
32041         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
32042         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
32043         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
32044         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
32045         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
32046         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
32047         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
32048         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
32049         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
32050         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
32051         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
32052         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
32053         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
32054         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
32055         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
32056         Moved ...
32057         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
32058         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
32059         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
32060         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
32061         Moved ...
32062         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
32063         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
32064         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
32065         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
32066         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
32067         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
32068         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
32069         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
32070         Moved ...
32071         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
32072         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
32073         Moved ...
32074         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
32075         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
32076         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
32077         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
32078         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
32079         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
32080         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
32081         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
32082         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
32083         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
32084         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
32085         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
32086         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
32087         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
32088         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
32089         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
32090         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
32092         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
32093         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
32094         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
32095         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
32096         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
32098         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
32099         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
32100         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
32101         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
32102         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
32103         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
32104         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
32105         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
32106         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
32107         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
32109         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
32110         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
32112         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
32113         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
32114         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
32115         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
32116         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
32117         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
32118         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
32119         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
32120         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
32121         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
32122         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
32123         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
32124         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
32125         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
32126         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
32127         Update #include.
32128         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
32129         Likewise.
32130         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
32131         Likewise.
32132         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
32133         Likewise.
32134         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
32135         Likewise.
32136         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
32137         Likewise.
32138         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
32139         Likewise.
32140         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
32141         Likewise.
32142         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
32143         Likewise.
32144         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
32145         Likewise.
32146         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
32147         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
32148         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
32149         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
32150         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
32151         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
32152         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
32153         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
32154         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
32155         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
32156         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
32157         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
32158         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
32159         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
32160         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
32162         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
32163         that was previously under [RESET_PID].
32164         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
32165         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
32166         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
32168         * sysdeps/i386/nptl/Implies: New file.
32169         * sysdeps/x86_64/nptl/Implies: New file.
32170         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
32171         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
32172         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
32173         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
32175         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
32176         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
32177         (__libc_vfork): New strong alias.
32178         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
32179         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
32181         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
32182         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
32183         (__libc_vfork): New strong alias.
32184         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
32185         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
32187         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
32188         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
32189         (__libc_vfork): New strong alias.
32190         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
32191         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
32192         * nptl/pt-vfork.c: New file.
32193         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
32194         (libpthread: GLIBC_2.20): New version set (empty).
32196 2014-05-14  Will Newton  <will.newton@linaro.org>
32198         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
32199         rather than #if.
32201 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
32203         [BZ #16564]
32204         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
32205         arguments with exponent 65 or above.
32206         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
32207         arguments 0x1p113L or above.
32208         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
32209         to arguments 0x1p107L or above.
32210         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
32211         positive arguments with exponent 65 or above.
32212         * math/auto-libm-test-in: Add more tests of log1p.
32213         * math/auto-libm-test-out: Regenerated.
32215         [BZ #16928]
32216         * math/s_cacos.c (__cacos): Ensure zero real part of result from
32217         non-finite arguments is +0.
32218         * math/s_cacosf.c (__cacosf): Likewise.
32219         * math/s_cacosl.c (__cacosl): Likewise.
32220         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
32221         * sysdeps/i386/fpu/libm-test-ulps: Update.
32222         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32224         [BZ #16927]
32225         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
32226         value.
32227         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
32228         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
32229         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
32230         for explicit high bit of mantissa when testing for argument equal
32231         to 1.
32232         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
32233         * sysdeps/i386/fpu/libm-test-ulps: Update.
32234         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32236         [BZ #16516]
32237         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
32238         (__erf): Scale by 16 instead of 8 in potentially underflowing
32239         case.  Ensure exception if result actually underflows.
32240         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
32241         (__erff): Scale by 16 instead of 8 in potentially underflowing
32242         case.  Ensure exception if result actually underflows.
32243         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
32244         (efx8): Remove variable.
32245         (__erfl): Scale by 16 instead of 8 in potentially underflowing
32246         case.  Ensure exception if result actually underflows.
32247         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
32248         (efx8): Remove variable.
32249         (__erfl): Scale by 16 instead of 8 in potentially underflowing
32250         case.  Ensure exception if result actually underflows.
32251         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
32252         (efx8): Remove variable.
32253         (__erfl): Scale by 16 instead of 8 in potentially underflowing
32254         case.  Ensure exception if result actually underflows.
32255         * math/auto-libm-test-in: Add more tests of erf.
32256         * math/auto-libm-test-out: Regenerated.
32258 2014-05-14  Andreas Schwab  <schwab@suse.de>
32260         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
32261         Remove code conditionalized on USE___THREAD.
32263         * config.h.in (HAVE_PT_CHOWN): Define as 0.
32264         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
32265         not definedness.
32267 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
32269         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
32270         Define unconditionally.
32271         (__ASSUME_O_CLOEXEC): Likewise.
32272         (__ASSUME_SOCK_CLOEXEC): Likewise.
32273         (__ASSUME_IN_NONBLOCK): Likewise.
32274         (__ASSUME_PIPE2): Likewise.
32275         (__ASSUME_EVENTFD2): Likewise.
32276         (__ASSUME_SIGNALFD4): Likewise.
32277         (__ASSUME_DUP3): Likewise.
32278         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
32279         (__ASSUME_DUP3): Do not define.
32280         (__ASSUME_EVENTFD2): Likewise.
32281         (__ASSUME_IN_NONBLOCK): Likewise.
32282         (__ASSUME_O_CLOEXEC): Likewise.
32283         (__ASSUME_PIPE2): Likewise.
32284         (__ASSUME_SIGNALFD4): Likewise.
32285         (__ASSUME_SOCK_CLOEXEC): Likewise.
32286         (__ASSUME_UTIMES): Undefine.
32287         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
32288         (__ASSUME_UTIMES): Do not define.
32289         (__ASSUME_O_CLOEXEC): Likewise.
32290         (__ASSUME_SOCK_CLOEXEC): Likewise.
32291         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
32292         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
32293         0x020621].
32294         (__ASSUME_PIPE2): Likewise.
32295         (__ASSUME_EVENTFD2): Likewise.
32296         (__ASSUME_SIGNALFD4): Likewise.
32297         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
32298         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
32299         Do not define.
32300         (__ASSUME_EVENTFD2): Likewise.
32301         (__ASSUME_SIGNALFD4): Likewise.
32302         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
32303         (__ASSUME_32BITUIDS): Likewise.
32304         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
32305         (__ASSUME_IPC64): Likewise.
32306         (__ASSUME_ST_INO_64_BIT): Likewise.
32307         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
32308         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
32309         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
32310         (__ASSUME_UTIMES): Do not define.
32311         (__ASSUME_PSELECT): Likewise.
32312         (__ASSUME_PPOLL): Likewise.
32313         (__ASSUME_O_CLOEXEC): Likewise.
32314         (__ASSUME_SOCK_CLOEXEC): Likewise.
32315         (__ASSUME_IN_NONBLOCK): Likewise.
32316         (__ASSUME_PIPE2): Likewise.
32317         (__ASSUME_EVENTFD2): Likewise.
32318         (__ASSUME_SIGNALFD4): Likewise.
32319         (__ASSUME_DUP3): Likewise.
32320         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
32321         (__ASSUME_UTIMES): Likewise.
32322         (__ASSUME_O_CLOEXEC): Likewise.
32323         (__ASSUME_SOCK_CLOEXEC): Likewise.
32324         (__ASSUME_IN_NONBLOCK): Likewise.
32325         (__ASSUME_PIPE2): Likewise.
32326         (__ASSUME_EVENTFD2): Likewise.
32327         (__ASSUME_SIGNALFD4): Likewise.
32328         (__ASSUME_DUP3): Likewise.
32329         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32330         (__ASSUME_UTIMES): Likewise.
32331         (__ASSUME_O_CLOEXEC): Likewise.
32332         (__ASSUME_SOCK_CLOEXEC): Likewise.
32333         (__ASSUME_IN_NONBLOCK): Likewise.
32334         (__ASSUME_PIPE2): Likewise.
32335         (__ASSUME_EVENTFD2): Likewise.
32336         (__ASSUME_SIGNALFD4): Likewise.
32337         (__ASSUME_DUP3): Likewise.
32338         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
32339         Likewise.
32340         (__ASSUME_UTIMES): Likewise.
32341         (__ASSUME_EVENTFD2): Likewise.
32342         (__ASSUME_SIGNALFD4): Likewise.
32343         * sysdeps/unix/sysv/linux/tile/kernel-features.h
32344         (__ASSUME_O_CLOEXEC): Likewise.
32345         (__ASSUME_SOCK_CLOEXEC): Likewise.
32346         (__ASSUME_IN_NONBLOCK): Likewise.
32347         (__ASSUME_PIPE2): Likewise.
32348         (__ASSUME_EVENTFD2): Likewise.
32349         (__ASSUME_SIGNALFD4): Likewise.
32350         (__ASSUME_DUP3): Likewise.
32351         (__ASSUME_UTIMES): Undefine.
32353         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
32354         feclearexcept.  Remove symbol versioning code.
32355         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
32356         symbol versioning code.
32357         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
32358         symbol versioning code.
32359         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
32360         feupdateenv.  Remove symbol versioning code.
32361         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
32362         fegetexceptflag.  Remove symbol versioning code.
32363         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
32364         fesetexceptflag.  Remove symbol versioning code.
32365         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
32366         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
32367         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
32368         (__posix_fadvise64_l32): Remove prototype.
32369         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
32370         code.
32372 2014-05-13  Roland McGrath  <roland@hack.frob.com>
32374         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
32375         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
32376         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
32377         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
32379 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
32381         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
32382         current working directory
32384 2014-05-13  Roland McGrath  <roland@hack.frob.com>
32386         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
32387         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
32388         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
32389         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
32390         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
32391         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
32392         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
32393         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
32394         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
32395         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
32396         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
32397         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
32398         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
32399         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
32400         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
32401         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
32402         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
32403         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
32404         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
32405         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
32406         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
32407         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
32408         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
32409         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
32410         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
32411         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
32412         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
32413         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
32414         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
32415         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
32416         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
32417         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
32418         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
32419         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
32420         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
32421         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
32422         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
32423         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
32424         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
32425         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
32426         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
32427         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
32429         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
32430         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
32432         * sysdeps/unix/sysv/linux/arm/Makefile
32433         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
32434         Add rt-aeabi_unwind_cpp_pr1.
32435         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
32436         Add nptl-aeabi_unwind_cpp_pr1.
32437         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
32438         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
32439         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
32440         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
32441         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
32442         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
32444         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
32445         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
32446         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
32447         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
32449         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
32450         Deconditionalize the code that was previously under [RESET_PID].
32451         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
32453         * sysdeps/generic/exit-thread.h: New file.
32454         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
32455         * include/unistd.h (__exit_thread): Remove declaration.
32456         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
32457         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
32458         * csu/libc-start.c: Include <exit-thread.h>.
32459         (LIBC_START_MAIN): Pass no argument to __exit_thread.
32460         * nptl/pthread_create.c: Include <exit-thread.h>.
32461         (start_thread): Call __exit_thread in place of __exit_thread_inline.
32462         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
32463         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
32464         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
32465         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
32466         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
32467         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
32468         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
32469         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
32470         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
32471         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
32472         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
32473         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
32474         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
32475         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
32476         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
32477         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
32479 2014-05-13  Andreas Schwab  <schwab@suse.de>
32481         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
32483 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
32485         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
32486         (__ASSUME_UTIMES): Do not condition on kernel version.
32487         (__ASSUME_PSELECT): Define unconditionally.
32488         (__ASSUME_PPOLL): Likewise.
32489         (__ASSUME_ATFCTS): Likewise.
32490         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
32491         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
32492         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
32493         (__ASSUME_UTIMENSAT): Define unconditionally.
32494         (__ASSUME_PRIVATE_FUTEX): Likewise.
32495         (__ASSUME_FALLOCATE): Likewise.
32496         (__ASSUME_O_CLOEXEC): Likewise.
32497         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
32498         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
32499         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
32500         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
32501         (__ASSUME_IN_NONBLOCK): Likewise.
32502         (__ASSUME_PIPE2): Likewise.
32503         (__ASSUME_EVENTFD2): Likewise.
32504         (__ASSUME_SIGNALFD4): Likewise.
32505         (__ASSUME_DUP3): Likewise.
32506         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
32507         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
32508         (__ASSUME_AT_RANDOM): Likewise.
32509         (__ASSUME_PREADV): Likewise.
32510         (__ASSUME_PWRITEV): Likewise.
32511         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
32512         (__ASSUME_F_GETOWN_EX): Define unconditionally.
32513         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
32514         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
32515         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
32516         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
32517         (__ASSUME_O_CLOEXEC): Define unconditionally.
32518         (__ASSUME_PSELECT): Do not undefine conditionally.
32519         (__ASSUME_PPOLL): Likewise.
32520         (__ASSUME_ATFCTS): Likewise.
32521         (__ASSUME_SET_ROBUST_LIST): Likewise.
32522         (__ASSUME_UTIMENSAT): Likewise.
32523         (__ASSUME_FDATASYNC): Define unconditionally.
32524         * sysdeps/unix/sysv/linux/arm/kernel-features.h
32525         (__ASSUME_SIGFRAME_V2): Likewise.
32526         )__ASSUME_EVENTFD2): Likewise.
32527         (__ASSUME_SIGNALFD4): Likewise.
32528         (__ASSUME_PSELECT): Do not undefine conditionally.
32529         (__ASSUME_PPOLL): Likewise.
32530         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
32531         (__ASSUME_PSELECT): Define unconditionally.
32532         (__ASSUME_PPOLL): Likewise.
32533         (__ASSUME_O_CLOEXEC): Likewise.
32534         (__ASSUME_SOCK_CLOEXEC): Likewise.
32535         (__ASSUME_IN_NONBLOCK): Likewise.
32536         (__ASSUME_PIPE2): Likewise.
32537         (__ASSUME_EVENTFD2): Likewise.
32538         (__ASSUME_SIGNALFD4): Likewise.
32539         (__ASSUME_DUP3): Likewise.
32540         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
32541         (__ASSUME_O_CLOEXEC): Likewise.
32542         (__ASSUME_SOCK_CLOEXEC): Likewise.
32543         (__ASSUME_IN_NONBLOCK): Likewise.
32544         (__ASSUME_PIPE2): Likewise.
32545         (__ASSUME_EVENTFD2): Likewise.
32546         (__ASSUME_SIGNALFD4): Likewise.
32547         (__ASSUME_DUP3): Likewise.
32548         * sysdeps/unix/sysv/linux/mips/kernel-features.h
32549         (__ASSUME_EVENTFD2): Likewise.
32550         (__ASSUME_SIGNALFD4): Likewise.
32551         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
32553 2014-05-12  Andreas Schwab  <schwab@suse.de>
32555         [BZ #16932]
32556         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
32557         (_nss_nis_gethostbyname4_r): Return error if item length is larger
32558         than maximum RPC packet size.
32559         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
32560         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
32561         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
32562         (_nss_nis_getservbyport_r): Likewise.
32564 2014-05-12  Will Newton  <will.newton@linaro.org>
32566         * malloc/Makefile (tests): Add tst-mallopt.
32567         * malloc/tst-mallopt.c: New file.
32569 2014-05-09  Roland McGrath  <roland@hack.frob.com>
32571         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
32572         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
32574 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32576         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
32577         (tst-tlsmod6.so): Likewise.
32579 2014-05-09  Roland McGrath  <roland@hack.frob.com>
32581         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
32583 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
32585         [BZ #16064]
32586         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
32587         and <dl-procinfo.h>.
32588         (__fegetenv): Save SSE state in envp->__eip if supported.
32589         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
32590         envp->__eip if supported.
32591         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
32592         and <dl-procinfo.h>.
32593         (__fesetenv): Always set __eip, __cs_selector, __opcode,
32594         __data_offset and __data_selector in environment to 0.  Set SSE
32595         state if supported.
32596         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
32597         test-fenv-sse.
32598         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
32599         -mfpmath=sse.
32600         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
32602 2014-05-09  Will Newton  <will.newton@linaro.org>
32604         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
32605         and libc_relro_required for ARM.
32606         * sysdeps/arm/preconfigure: Regenerate.
32608 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
32609             Stefan Liebler  <stli@linux.vnet.ibm.com>
32611         * config.make.in (enable-lock-elision): New Makefile variable.
32612         * configure.ac: Likewise.
32613         * configure: Regenerate.
32614         * sysdeps/s390/configure.ac:
32615         Add check for gcc transactions support.
32616         * sysdeps/s390/configure: Regenerate.
32617         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
32618         Build elision files if enabled.
32619         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
32620         Add lock elision support for s390.
32621         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
32622         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
32623         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
32624         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
32625         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
32626         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
32627         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
32628         Likewise.
32629         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
32630         Likewise.
32631         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
32632         Likewise.
32633         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
32634         Likewise.
32635         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
32636         (__lll_timedlock_elision, __lll_lock_elision)
32637         (__lll_unlock_elision, __lll_trylock_elision)
32638         (lll_timedlock_elision, lll_lock_elision)
32639         (lll_unlock_elision, lll_trylock_elision): Add.
32640         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
32641         (pthread_mutex_t): Add lock elision support for s390.
32643 2014-05-14  Wilco  <wdijkstr@arm.com>
32645         * sysdeps/arm/fclrexcpt.c: Cleanup.
32646         * sysdeps/arm/fedisblxcpt.c: Cleanup.
32647         * sysdeps/arm/feenablxcpt.c: Cleanup.
32648         * sysdeps/arm/fegetenv.c: Cleanup.
32649         * sysdeps/arm/fegetexcept.c: Cleanup.
32650         * sysdeps/arm/fegetround.c: Cleanup.
32651         * sysdeps/arm/feholdexcpt.c: Cleanup.
32652         * sysdeps/arm/fesetenv.c: Cleanup.
32653         * sysdeps/arm/fesetround.c: Cleanup.
32654         * sysdeps/arm/feupdateenv.c: Cleanup.
32655         * sysdeps/arm/fgetexcptflg.c: Cleanup.
32656         * sysdeps/arm/fraiseexcpt.c: Cleanup.
32657         * sysdeps/arm/fsetexcptflg.c: Cleanup.
32658         * sysdeps/arm/ftestexcept.c: Cleanup.
32659         * sysdeps/arm/get-rounding-mode.h: Cleanup.
32660         * sysdeps/arm/setfpucw.c: Cleanup.
32662 2014-05-09  Will Newton  <will.newton@linaro.org>
32664         * sysdeps/arm/armv7/strcmp.S: New file.
32665         * NEWS: Mention addition of ARMv7 optimized strcmp.
32667 2014-05-08  Roland McGrath  <roland@hack.frob.com>
32669         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
32670         look for %.ac rather than %.in.
32672         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
32673         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
32674         * sysdeps/mach/hurd/configure: Regenerated.
32675         * sysdeps/unix/sysv/linux/configure: Regenerated.
32677         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
32679 2014-05-07  Steve Ellcey  <sellcey@mips.com>
32681         [BZ# 16922]
32682         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
32683         (LONG_SUB): Ditto.
32684         (PTR_SUB): Ditto.
32686 2014-05-07  Andreas Schwab  <schwab@suse.de>
32688         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
32689         when skipping over non-matching result from nscd.
32691 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
32693         [BZ #16876]
32694         * nptl/sockperf.c (client): Check socket return value.
32696         [BZ #16877]
32697         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
32698         nscd security class.
32700 2014-05-06  Roland McGrath  <roland@hack.frob.com>
32702         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
32703         * sysdeps/arm/unwind.h: ... here.
32705 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
32707         [BZ# 16916]
32708         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
32709         Define.
32711 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
32713         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
32714         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
32715         multiarch strncpy for PPC64.
32716         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
32717         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
32718         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
32719         multiarch optimizations.
32720         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
32721         (__libc_ifunc_impl_list): Likewise.
32722         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
32723         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
32724         multiarch stpncpy for PPC64.
32725         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
32726         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
32728 2014-05-06  Andreas Schwab  <schwab@suse.de>
32730         [BZ #16912]
32731         * gmon/mcount.c (_MCOUNT_DECL): Use
32732         atomic_compare_and_exchange_bool_acq instead of
32733         catomic_compare_and_exchange_bool_acq.
32735 2014-05-05  Roland McGrath  <roland@hack.frob.com>
32737         * elf/Makefile (others, install-bin): Remove pldd.
32738         (pldd-modules): Variable removed.
32739         ($(objpfx)pldd): Target removed.
32740         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
32741         (others, install-bin): Append pldd here.
32742         ($(objpfx)pldd): New target.
32744         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
32745         to 0, so the first #if test emitted later doesn't see it undefined.
32746         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
32747         * sysdeps/gnu/errlist.c: Regenerated.
32749 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32751         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
32752         [libc_hidden_builtin_def]: Define to empty value.
32753         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
32754         [libc_hidden_builtin_def]: Likewise.
32755         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
32756         [libc_hidden_builtin_def]: Likewise.
32757         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
32758         [libc_hidden_builtin_def]: Likewise.
32759         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
32760         __redirect_memcpy and define ifunc as default hidden symbol.
32761         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
32762         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
32764 2014-05-04  Adam Conrad  <adconrad@0c3.net>
32766         * locale/iso-4217.def: Reintroduce XDR currency.
32768 2014-05-04  Allan McRae  <allan@archlinux.org>
32770         * po/eo.po: Update Esperanto translation from translation project.
32772 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
32774         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
32775         and FEATURE_INDEX_MAX to 1.
32776         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
32778 2014-05-01  Steve Ellcey  <sellcey@mips.com>
32780         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
32781         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
32782         * iconvdata/big5.c (ONE_DIRECTION): Define.
32783         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
32784         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
32785         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
32786         * iconvdata/cp932.c (ONE_DIRECTION): Define.
32787         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
32788         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
32789         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
32790         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
32791         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
32792         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
32793         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
32794         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
32795         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
32796         * iconvdata/gbk.c (ONE_DIRECTION): Define.
32797         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
32798         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
32799         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
32800         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
32801         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
32802         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
32803         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
32804         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
32805         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
32806         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
32807         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
32808         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
32809         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
32810         * iconvdata/iso646.c (ONE_DIRECTION): Define.
32811         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
32812         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
32813         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
32814         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
32815         * iconvdata/johab.c (ONE_DIRECTION): Define.
32816         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
32817         * iconvdata/sjis.c (ONE_DIRECTION): Define.
32818         * iconvdata/t.61.c (ONE_DIRECTION): Define.
32819         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
32820         * iconvdata/tscii.c (ONE_DIRECTION): Define.
32821         * iconvdata/uhc.c (ONE_DIRECTION): Define.
32822         * iconvdata/unicode.c (ONE_DIRECTION): Define.
32823         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
32824         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
32825         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
32827 2014-05-01  Roland McGrath  <roland@hack.frob.com>
32829         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
32830         (_IO_JUMPS_OFFSET): Define to 0.
32832         * nptl/sysdeps/pthread/bits/libc-lock.h
32833         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
32834         (__libc_lock_define_initialized_recursive): Always define using
32835         initializer.  Modern compilers treat uninitialized (implicit zero) and
32836         explicit zero initializers the same (i.e. put the datum in bss).
32838 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
32840         * nscd/nscd-client.h: Include <string.h>.
32842 2014-05-01  David S. Miller  <davem@davemloft.net>
32844         [BZ #16885]
32845         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
32846         multiple zero bytes exist at the end of a string.
32847         Reported by Aurelien Jarno <aurelien@aurel32.net>
32849         * string/test-strcmp.c (check): Add explicit test for situations where
32850         there are multiple zero bytes after the first.
32852 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
32854         [BZ #16890]
32855         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
32856         when compiling wprintf.
32857         * stdio-common/tstdiomisc.c (t3): New function.
32858         (main): Call it.
32860 2014-05-01  Steve Ellcey  <sellcey@mips.com>
32862         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
32863         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
32864         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
32865         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
32867 2014-05-01  Steve Ellcey  <sellcey@mips.com>
32869         * stdlib/longlong.h: Updated from GCC.
32871 2014-05-01  Will Newton  <will.newton@linaro.org>
32872             Bernard Ogden  <bernie.ogden@linaro.org>
32874         * NEWS: Update fixed bug list.
32876         [BZ #15119]
32877         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
32879 2014-04-30  David S. Miller  <davem@davemloft.net>
32881         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
32882         (libc_feholdexcept_setround_sparc_ctx): New function.
32883         (libc_fesetenv_sparc_ctx): Likewise.
32884         (libc_feupdateenv_sparc_ctx): Likewise.
32885         (libc_feholdsetround_sparc_ctx): Likewise.
32886         (libc_feholdexcept_setround_ctx): Define.
32887         (libc_feholdexcept_setroundf_ctx): Likewise.
32888         (libc_feholdexcept_setroundl_ctx): Likewise.
32889         (libc_fesetenv_ctx): Likewise.
32890         (libc_fesetenvf_ctx): Likewise.
32891         (libc_fesetenvl_ctx): Likewise.
32892         (libc_feupdateenv_ctx): Likewise.
32893         (libc_feupdateenvf_ctx): Likewise.
32894         (libc_feupdateenvl_ctx): Likewise.
32895         (libc_feresetround_ctx): Likewise.
32896         (libc_feresetroundf_ctx): Likewise.
32897         (libc_feresetroundl_ctx): Likewise.
32898         (libc_feholdsetround_ctx): Likewise.
32899         (libc_feholdsetroundf_ctx): Likewise.
32900         (libc_feholdsetroundl_ctx): Likewise.
32902         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
32903         with __USE_GNU instead of XOPEN cpp guards.
32905         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
32906         0.
32908         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
32909         with XOPEN cpp guards.
32911 2014-04-30  Julian Brown  <julian@codesourcery.com>
32913         [BZ #16888]
32914         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
32915         handling.
32917 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
32919         [BZ #9894]
32920         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
32921         Change to 2.6.32.
32922         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
32923         * sysdeps/unix/sysv/linux/configure: Regenerated.
32924         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
32925         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
32926         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
32927         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
32928         * README: Update reference to required Linux kernel version.
32929         * manual/install.texi (Linux): Update reference to required Linux
32930         kernel headers version.
32931         * INSTALL: Regenerated.
32933         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
32934         header inclusion.
32935         [POSIX] (limits.h): Likewise.
32936         [POSIX] (math.h): Likewise.
32937         [POSIX] (sys/wait.h): Likewise.
32938         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
32939         function.
32940         [POSIX] (stddef.h): Do not allow header inclusion.
32942 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32944         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
32946 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
32948         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
32949         Return immediately after lll_futex_wake.
32951 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
32953         [BZ #16791]
32954         * nscd/nscd-client.h (datahead_init_common): Initialize entire
32955         structure.
32956         (datahead_init_pos): Call datahead_init_common early.
32957         (datahead_init_neg): Likewise.
32959         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
32960         datahead_init_neg): New functions.
32961         * nscd/aicache.c (addhstaiX): Use them.
32962         * nscd/grpcache.c (cache_addgr): Likewise.
32963         * nscd/hstcache.c (cache_addhst): Likewise.
32964         * nscd/initgrcache.c (addinitgroupsX): Likewise.
32965         * nscd/netgroupcache.c (do_notfound): Likewise.
32966         (addgetnetgrentX): Likewise.
32967         (addinnetgrX): Likewise.
32968         * nscd/pwdcache.c (cache_addpw): Likewise.
32969         * nscd/servicescache.c (cache_addserv): Likewise.
32971 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
32972             Atsushi Onoe  <atsushi@onoe.org>
32974         [BZ #14308]
32975         [BZ #12994]
32976         [BZ #13651]
32977         * resolv/res_query.c (__libc_res_nsearch): Return if at least
32978         one response is valid.
32979         * resolv/res_send.c (send_dg): Check for validity of other
32980         response if the current response is a referral.
32982 2014-04-29  Steve Ellcey  <sellcey@mips.com>
32984         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
32986 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
32988         [BZ #16823]
32989         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
32990         Always divide by positive zero when computing -Inf result.
32991         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
32992         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
32994 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32996         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
32997         FPSCR if value do not change.
32998         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
32999         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
33000         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
33001         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
33002         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
33003         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
33004         function.
33006 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
33008         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
33009         * sysdeps/unix/sysv/linux/hppa: Move directory from
33010         ports/systeps/unix/sysv/linux/hppa.
33011         * README: Update listing for hppa-*-linux-gnu.
33013 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
33015         [BZ #16754]
33016         * manual/stdio.texi (Hook functions): Fix types of stream hook
33017         functions.
33018         [BZ #16854]
33019         * socket/sys/socket.h: Fix typo in comment.
33021 2014-04-28  Wilco  <wdijkstr@arm.com>
33023         * sysdeps/arm/fenv_private.h: New file.
33024         * sysdeps/arm/math_private.h: New file.
33025         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
33027 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
33029         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
33030         with __int128_t.
33031         (La_x86_64_retval): Likewise.
33033 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
33035         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
33036         fpsr if value didn't change.
33037         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
33038         to fpcr if value didn't change.
33039         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
33040         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
33041         fpsr or fpcr if value didn't change.
33042         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
33043         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
33044         fpcr if value didn't change.
33045         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
33046         to fpsr if value didn't change.
33048 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
33050         * nptl/tst-sem3.c: Use test-skeleton.c
33051         (main): Rename to do_test.  Use return instead of
33052         exit.
33053         * nptl/tst-sem4.c: Use test-skeleton.c
33054         (main): Rename to do_test.
33056 2014-04-22  David S. Miller  <davem@davemloft.net>
33058         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
33059         (struct sigaction): New struct member __glibc_reserved0, change
33060         type of sa_flags to int.
33062 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
33064         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
33065         (COUNT_LEADING_ZEROS_0): Define for AArch64.
33067 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
33069         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
33070         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
33072 2014-04-22  Will Newton  <will.newton@linaro.org>
33073             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
33075         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
33076         (__longjmp): Add longjmp and longjmp_target SystemTap
33077         probes.
33078         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
33079         (__sigsetjmp): Add setjmp SystemTap probe.
33081 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
33083         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
33084         match manual order.
33086 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33088         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
33090         * sysdeps/powerpc/fpu/fenv_private.h
33091         (libc_feholdexcept_setroundl_ctx): Define to
33092         libc_feholdexcept_setround_ppc_ctx.
33093         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
33094         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
33095         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
33096         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
33098 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
33100         * sysdeps/aarch64/math-tests.h: New file.
33102 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
33104         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
33105         New.
33106         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33107         Check and set bit_AVX2_Usable.
33108         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
33109         macro.
33110         (bit_AVX2): Likewise.
33111         (index_AVX2_Usable): Likewise.
33112         (CPUID_AVX2): Likewise.
33113         (HAS_AVX2): Likewise.
33115 2014-04-17  Will Newton  <will.newton@linaro.org>
33117         * manual/setjmp.texi (System V contexts): Add note that
33118         calling setcontext on a context created by a call to a
33119         signal handler is undefined.  Update text to note that
33120         setcontext from a signal handler is possible but not
33121         recommended.
33123         [BZ #16629]
33124         * stdlib/tst-setcontext.c: Include signal.h.
33125         (main): Check that the signal stack before and
33126         after swapcontext is the same.
33128         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
33129         Re-implement to restore registers in user code and avoid
33130         rt_sigreturn system call.
33132 2014-04-17  Wilco  <wdijkstr@arm.com>
33134         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
33135         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
33136         * math/test-fenv.c: Skip exception trap tests on targets which only
33137         support non-stop mode.
33139 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
33140             Wilco Dijkstra  <wilco.dijkstra@arm.com>
33142         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
33143         (libc_feholdsetround_aarch64_ctx)
33144         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
33145         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
33146         (libc_feresetround_ctx, libc_feresetroundf_ctx)
33147         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
33148         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
33149         (libc_feresetround_noexl_ctx): Define.
33151 2014-04-16  Richard Henderson  <rth@redhat.com>
33153         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
33155         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
33156         unwind tables.
33158         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
33159         const from the non-libc, non-ldso copy.
33161         * sysdeps/alpha/libm-test-ulps: Regenerate.
33163 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
33164             Wilco Dijkstra  <wilco.dijkstra@arm.com>
33166         * sysdeps/aarch64/fpu/math_private.h: New file.
33168 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
33170         * sysdeps/aarch64/libm-test-ulps: Regenerate.
33172 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
33174         [BZ #16275]
33175         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
33176         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
33177         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
33178         Intel MPX bound registers before _dl_profile_fixup.
33179         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
33180         registers after _dl_profile_fixup.  Save and restore bound
33181         registers bnd0/bnd1 when calling _dl_call_pltexit.
33182         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
33183         (LR_BND_OFFSET): Likewise.
33184         (LRV_BND0_OFFSET): Likewise.
33185         (LRV_BND1_OFFSET): Likewise.
33187 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33189         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
33190         to...
33191         * sysdeps/mach/hurd/i386/tls.h: ... here.
33192         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
33193         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
33194         fields.
33196 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33198         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
33200 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
33202         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
33204 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
33206         [BZ #14770]
33207         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
33208         * sysdeps/s390/configure: Regenerate.
33210         [BZ #16824]
33211         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
33212         Set round-to-nearest internally to reduce error accumulation.
33214 2014-04-16  Alan Modra  <amodra@gmail.com>
33216         [BZ #16740]
33217         [BZ #16619]
33218         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
33219         * math/libm-test.inc (frexp_test_data): Add tests.
33220         * NEWS: Update fixed bug list.
33222 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
33224         * benchtests/Makefile: Depend on libraries in build directory.
33225         (bench-math): Separate out math tests.
33226         (bench-pthread): Separate out pthread tests.
33227         (bench): Include math and pthread tests.
33229 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
33231         [BZ #16831]
33232         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
33233         _dl_debug_initialize.
33235         * configure.ac: Remove SELinux header check.
33236         * configure: Regenerate.
33237         * nscd/selinux.c (perms): Array of const char* to permission names.
33238         (nscd_request_avc_has_perm): Call security_deny_unknown to find
33239         default policy. Call string_to_security_class and string_to_av_perm to
33240         translate strings. Enforce default policy and call avs_has_perm with
33241         results of translated strings.
33243 2014-04-13  David S. Miller  <davem@davemloft.net>
33245         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33247 2014-04-12  Allan McRae  <allan@archlinux.org>
33249         [BZ #16838]
33250         * manual/string.texi (Collation Functions): Fix qsort argument
33251         order in example.
33252         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
33254 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
33256         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
33257         Make the test a no-op if there are no exceptions defined.
33259 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
33261         * elf/Makefile (tests): make tst-dlopen-aout conditional on
33262         enable-hardcoded-path-in-tests
33264 2014-04-11  Will Newton  <will.newton@linaro.org>
33266         * benchtests/Makefile (extra-objs): Add json-lib.o.
33267         (bench-func): Tidy up JSON output.
33268         * benchtests/bench-skeleton.c: Include json-lib.h.
33269         (main): Use JSON library functions to do output of
33270         benchmark results.
33271         * benchtests/bench-timing-type.c (main): Output the
33272         timing type simply, leaving formatting to the user.
33273         * benchtests/json-lib.c: New file.
33274         * benchtests/json-lib.h: Likewise.
33276 2014-04-11  Torvald Riegel  <triegel@redhat.com>
33278         [BZ #15215]
33279         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
33280         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
33281         memory barriers.  Add comments.
33282         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
33283         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
33284         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
33285         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
33286         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
33287         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
33289 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
33291         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
33292         * sysdeps/s390/s390-64/configure.ac: ... this ...
33293         * sysdeps/s390/configure.ac: ... to here.
33294         * sysdeps/s390/s390-32/configure: Delete file.
33295         * sysdeps/s390/s390-64/configure: Delete file.
33296         * sysdeps/s390/configure: Regenerate.
33298 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
33300         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
33302 2014-04-11  Will Newton  <will.newton@linaro.org>
33304         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
33305         to zero if it is not defined elsewhere.  (mtrim): Test
33306         the value of MALLOC_DEBUG with #if rather than #ifdef.
33308 2014-04-10 Torvald Riegel  <triegel@redhat.com>
33310         * benchtests/pthread_once-inputs: New file.
33311         * benchtests/pthread_once-source.c: New file.
33312         * benchtests/README: Update documentation.
33314 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
33315             H.J. Lu  <hongjiu.lu@intel.com>
33317         [BZ #16275]
33318         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
33319         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
33320         * sysdeps/x86_64/configure: Regenerated.
33321         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
33322         macro.
33323         (REGISTER_SAVE_RAX): Likewise.
33324         (REGISTER_SAVE_RCX): Likewise.
33325         (REGISTER_SAVE_RDX): Likewise.
33326         (REGISTER_SAVE_RSI): Likewise.
33327         (REGISTER_SAVE_RDI): Likewise.
33328         (REGISTER_SAVE_R8): Likewise.
33329         (REGISTER_SAVE_R9): Likewise.
33330         (REGISTER_SAVE_BND0): Likewise.
33331         (REGISTER_SAVE_BND1): Likewise.
33332         (REGISTER_SAVE_BND2): Likewise.
33333         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
33334         bound registers when calling _dl_fixup.
33336 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33338         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
33339         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
33340         of its definition.
33341         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
33342         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
33343         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
33344         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
33345         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
33346         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
33347         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
33349 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
33351         [BZ #15514]
33352         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
33353         pathconf(_PC_NAME_MAX).
33355 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33357         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
33358         Remove macro usage.
33359         (__PTHREAD_SPINS): Move definition to ...
33360         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
33361         (__PTHREAD_SPINS): ... here.
33362         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
33363         (__PTHREAD_SPIN): Likewise.
33364         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
33365         (__PTHREAD_SPIN): Likewise.
33366         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
33367         (__PTHREAD_SPIN): Likewise.
33368         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
33369         (__PTHREAD_SPIN): Likewise.
33370         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
33371         (__PTHREAD_SPIN): Likewise.
33372         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
33373         (__PTHREAD_SPIN): Likewise.
33374         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
33375         (__PTHREAD_SPIN): Likewise.
33376         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
33377         (__PTHREAD_SPIN): Likewise.
33378         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
33379         (__PTHREAD_SPIN): Likewise.
33380         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
33381         (__PTHREAD_SPIN): Likewise.
33382         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
33383         (__PTHREAD_SPIN): Likewise.
33384         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
33385         (__PTHREAD_SPIN): Likewise.
33387         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
33388         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
33389         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
33390         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
33391         imply folder.
33392         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
33393         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
33394         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
33395         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
33396         correct imply path.
33397         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
33398         strlen symbol for non multi-arch builds.
33399         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
33400         missing hidden_def and weak_alias.
33402 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
33404         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
33406 2014-04-07  Will Newton  <will.newton@linaro.org>
33408         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
33409         and contents.  [!_LIBC] Remove #ifndef and contents.
33410         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
33411         * string/memccpy.c (__memccpy): Use ANSI prototype.
33412         * string/memfrob.c (memfrob): Likewise.
33413         * string/strcoll.c (STRCOLL): Likewise.
33414         * string/strlen.c (strlen): Likewise.
33415         * string/strtok.c (STRTOK): Likewise.
33416         * string/strcat.c: Remove unused #include of memcopy.h.
33417         (strcat): Use ANSI prototype.
33418         * string/strchr.c: Remove unused #include of memcopy.h.
33419         (strchr): Use ANSI prototype.
33420         * string/strcmp.c: Remove unused #include of memcopy.h.
33421         (strcmp): Use ANSI prototype.
33422         * string/strcpy.c: Remove unused #include of memcopy.h.
33423         (strcpy): Use ANSI prototype.
33425 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33427         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
33428         * config.make.in (config-extra-cppflags): Set it from
33429         libc_extra_cppflags.
33430         * configure.ac (libc_extra_cflags): Make it accumulate over
33431         configure fragments.
33432         (libc_extra_cppflags): New flag.
33433         * configure. Regenerate.
33434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
33435         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
33436         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
33437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
33439         [BZ #16815]
33440         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
33441         result for FE_DOWNWARD rounding mode.
33442         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
33443         Likewise.
33444         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33446 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
33448         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
33449         in function argument name.
33451 2014-04-03  David Svoboda  <svoboda@cert.org>
33453         [BZ #5666]
33454         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
33455         explicitly.
33457 2014-04-03  Roland McGrath  <roland@hack.frob.com>
33459         * elf/dl-unmap-segments.h: New file.
33460         * sysdeps/generic/ldsodefs.h
33461         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
33462         * elf/dl-close.c: Include <dl-unmap-segments.h>.
33463         * elf/dl-fptr.c: Likewise.
33464         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
33465         * sysdeps/aarch64/tlsdesc.c: Likewise.
33466         * sysdeps/arm/tlsdesc.c: Likewise.
33467         * sysdeps/i386/tlsdesc.c: Likewise.
33468         * sysdeps/tile/dl-runtime.c: Likewise.
33469         * sysdeps/x86_64/tlsdesc.c: Likewise.
33470         * elf/dl-load.h: New file.
33471         * elf/dl-load.c: Include it.
33472         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
33473         Macros moved to dl-load.h.
33474         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
33475         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
33476         Use _dl_unmap_segments in place of __munmap.
33477         Break out segment-mapping loop into ...
33478         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
33480 2014-04-03  Will Newton  <will.newton@linaro.org>
33482         * elf/dl-lookup.c (do_lookup_x): Remove comment
33483         referring to nested function and move variable
33484         declarations down to before first use.
33486 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
33488         [BZ #16799]
33489         [BZ #16800]
33490         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
33491         with 0 numerator.
33492         * math/s_catanf.c (__catanf): Likewise.
33493         * math/s_catanh.c (__catanh): Likewise.
33494         * math/s_catanhf.c (__catanhf): Likewise.
33495         * math/s_catanhl.c (__catanhl): Likewise.
33496         * math/s_catanl.c (__catanl): Likewise.
33497         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
33498         by positive zero when computing -Inf result.
33499         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
33500         (catanh_test): Likewise.
33501         * sysdeps/i386/fpu/libm-test-ulps: Update.
33502         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33504         [BZ #16789]
33505         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
33506         instead of using underflowing value in computing result.
33507         * math/s_clog10.c (__clog10): Likewise.
33508         * math/s_clog10f.c (__clog10f): Likewise.
33509         * math/s_clog10l.c (__clog10l): Likewise.
33510         * math/s_clogf.c (__clogf): Likewise.
33511         * math/s_clogl.c (__clogl): Likewise.
33512         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
33513         (clog10_test): Likewise.
33514         * sysdeps/i386/fpu/libm-test-ulps: Update.
33515         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33517 2014-04-02  Alan Modra  <amodra@gmail.com>
33519         [BZ #16739]
33520         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
33521         output when value is near a power of two.  Use int64_t for lx and
33522         remove casts.  Use decimal rather than hex exponent constants.
33523         Don't use long double multiplication when double will suffice.
33524         * math/libm-test.inc (nextafter_test_data): Add tests.
33525         * NEWS: Add 16739 and 16786 to bug list.
33527         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
33529         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
33531 2014-04-01  Will Newton  <will.newton@linaro.org>
33533         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
33534         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
33536 2014-04-01  Florian Weimer  <fweimer@redhat.com>
33538         [BZ #13347]
33539         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
33540         * nptl/tst-setuid2.c: New file.
33541         * nptl/Makefile (xtests): Add tst-setuid2.
33543 2014-04-01  Alan Modra  <amodra@gmail.com>
33545         [BZ #16786]
33546         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
33548 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
33550         [BZ #6803]
33551         [BZ #6804]
33552         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
33553         set errno as appropriate.
33554         * math/w_scalbf.c (__scalbf): Likewise.
33555         * math/w_scalbl.c (__scalbl): Likewise.
33556         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
33557         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
33558         * math/libm-test.inc (scalb_test_data): Add errno expectations.
33559         Add more NaN tests.
33561         [BZ #16349]
33562         * math/w_atan2.c: Include <errno.h>.
33563         (__atan2): Set errno for result underflowing to zero.
33564         * math/w_atan2f.c: Include <errno.h>.
33565         (__atan2f): Set errno for result underflowing to zero.
33566         * math/w_atan2l.c: Include <errno.h>.
33567         (__atan2l): Set errno for result underflowing to zero.
33568         * math/auto-libm-test-in: Don't allow missing errno for some atan2
33569         tests.
33570         * math/auto-libm-test-out: Regenerated.
33572 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33574         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
33575         Encode instruction correctly in little endian.
33576         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
33577         Likewise.
33578         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
33579         Likewise.
33580         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
33581         Likewise.
33582         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
33583         Likewise.
33585 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
33587         [BZ #9894]
33588         * sysdeps/unix/sysv/linux/kernel-features.h
33589         [__sparc__ && !__arch64__ && !__sparc_v9__]
33590         (__ASSUME_SET_ROBUST_LIST): Do not define.
33591         [__sparc__ && !__arch64__ && !__sparc_v9__]
33592         (__ASSUME_FUTEX_LOCK_PI): Likewise.
33593         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
33594         Likewise.
33595         * sysdeps/unix/sysv/linux/arm/kernel-features.h
33596         (__ASSUME_FUTEX_LOCK_PI): Undefine.
33597         (__ASSUME_REQUEUE_PI): Likewise.
33598         (__ASSUME_SET_ROBUST_LIST): Likewise.
33599         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
33600         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
33601         Undefine.
33602         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33603         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
33604         Likewise.
33605         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
33606         Likewise.
33607         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
33608         Likewise.
33609         * sysdeps/unix/sysv/linux/mips/kernel-features.h
33610         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
33611         Undefine.
33612         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
33613         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
33614         Likewise.
33616         [BZ #16648]
33617         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33618         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
33619         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
33621 2014-03-31  Will Newton  <will.newton@linaro.org>
33623         * benchtests/Makefile (bench): Add ffs and ffsll to list
33624         of tests.
33625         * benchtests/ffs-inputs: New file.
33626         * benchtests/ffsll-inputs: Likewise.
33628 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
33630         [BZ #16770]
33631         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
33632         too large before casting to int.
33633         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
33634         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
33635         * math/libm-test.inc (scalb_test_data): Add more tests.
33637 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
33639         * benchtests/Makefile (DETAILED_OPT): New make option.
33640         (bench-func): Run benchmark program with -d if DETAILED_OPT is
33641         set.
33642         * benchtests/bench-skeleton.c: Include stdbool.h.
33643         (main): Store and print timings per input.
33644         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
33645         member to each argument value.
33646         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
33647         (_print_arg_data): Initialize per-input timing to 0.
33649         * benchtests/Makefile (timing-type): New binary.
33650         (bench-clean): Also remove bench-timing-type.
33651         (bench): New target for timing-type.
33652         (bench-func): Print output in JSON format.
33653         * benchtests/bench-skeleton.c (main): Print output in JSON
33654         format.
33655         * benchtests/bench-timing-type.c: New file.
33656         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
33657         (TIMING_PRINT_STATS): Remove.
33658         * benchtests/scripts/bench.py (_print_arg_data): Store variant
33659         name separately.
33661         * benchtests/bench-modf.c: Remove.
33662         * benchtests/modf-inputs: New inputs file.
33664 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
33666         [BZ #16362]
33667         * math/s_clog10.c (M_PI_LOG10E): New macro.
33668         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
33669         imaginary parts are 0.
33670         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
33671         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
33672         imaginary parts are 0.
33673         * math/s_clog10l.c (M_PI_LOG10El): New macro.
33674         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
33675         imaginary parts are 0.
33676         * math/libm-test.inc (clog10_test_data): Update expected results
33677         for when real and imaginary parts are 0.
33679 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
33681         * elf/dl-load.c: Finish conversion of __builtin_expect into
33682         __glibc_{un}likely.
33684 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
33686         [BZ #16348]
33687         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
33688         1+x for argument with exponent below -67.
33689         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
33690         Likewise.
33691         * math/auto-libm-test-in: Add more tests of exp.
33692         * math/auto-libm-test-out: Regenerated.
33694 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
33696         [BZ #16759]
33697         * inet/getnetgrent_r.c (get_nonempty_val): New function.
33698         (nscd_getnetgrent): Use it.
33700         [BZ #16760]
33701         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
33702         of stpcpy.
33704 2014-03-27  Andi Kleen  <ak@linux.intel.com>
33706         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
33707         (lll_robust_lock, lll_cond_lock, lll_timedlock)
33708         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
33709         (lll_robust_unlock): Remove out of line section. Use cfi
33710         intrinsics.
33711         (LLL_STUB_UNWIND_INFO*): Remove.
33712         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
33713         (lll_robust_lock, lll_cond_lock, lll_timedlock)
33714         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
33715         (lll_robust_unlock): Remove out of line section. Use cfi
33716         intrinsics.
33717         (LLL_STUB_UNWIND_INFO*): Remove.
33719 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
33721         [BZ #16758]
33722         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
33723         blank values.
33725 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
33727         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
33729 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
33731         [BZ #16198]
33732         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
33733         fnstenv.
33734         * math/test-fenv-preserve.c: New file.
33735         * math/Makefile (tests): Add test-fenv-preserve.
33737 2014-03-26  Will Newton <will.newton@linaro.org>
33739         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
33741 2014-03-25  Roland McGrath  <roland@hack.frob.com>
33743         * scripts/versionlist.awk: Partition the version sets and emit all
33744         GLIBC_* (sorted) before all others (sorted).
33746 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
33748         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
33749         GLIBC_2.2.5 version.
33751 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33753         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
33754         calls.
33756         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
33757         previous change.
33759         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33761 2014-03-25  Andreas Schwab  <schwab@suse.de>
33763         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
33764         label to be used after in6ailist is initialized.
33766 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33768         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
33769         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
33771 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
33773         [BZ #16357]
33774         [BZ #16599]
33775         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
33776         min_plus_half.
33777         (fp_formats): Update initializers.
33778         (init_fp_formats): Initialize new field.
33779         (output_for_one_input_case): Allow underflow for results up to
33780         min_plus_half.
33781         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
33782         * math/auto-libm-test-in: Don't mark some underflows from asin and
33783         atanh as spurious.
33784         * math/auto-libm-test-out: Regenerated.
33785         * sysdeps/i386/fpu/libm-test-ulps: Update.
33786         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33788 2014-03-25  Andreas Schwab  <schwab@suse.de>
33790         * libio/Makefile (tst-ftell-partial-wide-ENV)
33791         (tst-ftell-active-handler-ENV): Define.
33793 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
33795         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
33797 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
33799         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
33801 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
33803         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
33804         * sysdeps/x86_64/fpu/multiarch/e_exp.c
33805         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
33807 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
33809         [BZ #16634]
33810         * elf/dl-load.c (open_verify): Add mode parameter.
33811         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
33812         (open_path): Change from boolean 'secure' to complete flag 'mode'
33813         (_dl_map_object): Adjust.
33814         * elf/Makefile (tests): Add tst-dlopen-aout.
33815         * elf/tst-dlopen-aout.c: New test.
33817 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
33819         [BZ #16714]
33820         * sysdeps/unix/sysv/linux/s390/bits/stat.h
33821         (struct stat): Rename member pad0 to __glibc_reserved0.
33823         [BZ #16712]
33824         * sysdeps/s390/s390-32/bits/wordsize.h
33825         (__WORDSIZE32_SIZE_ULONG): New define.
33826         * sysdeps/s390/s390-64/bits/wordsize.h
33827         (__WORDSIZE32_SIZE_ULONG): Likewise.
33828         * sysdeps/generic/stdint.h (SIZE_MAX):
33829         Define as UL if __WORDSIZE32_SIZE_ULONG.
33831         [BZ #16713]
33832         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
33833         (__glibc_reserved0): New variable.
33834         (sa_flags): Change type to int.
33836         * posix/Makefile (before-compile): Use += before-compile instead
33837         of a :=.
33839         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
33840         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
33842 2014-03-20  Andreas Schwab  <schwab@suse.de>
33844         [BZ #16743]
33845         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
33846         non-matching result from nscd.
33848 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
33850         * scripts/bench.py: Moved to ...
33851         * benchtests/scripts/bench.py: ... here.
33852         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
33854 2014-03-24  Andreas Schwab  <schwab@suse.de>
33856         [BZ #16002]
33857         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
33858         alloca_account and account alloca use for struct in6ailist.
33860 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
33862         [BZ #16284]
33863         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
33864         rounding mode to recompute results that overflow to infinity or
33865         underflow to zero.
33866         * math/auto-libm-test-in: Don't mark tests as expected to fail for
33867         bug 16284.
33868         * math/auto-libm-test-out: Regenerated.
33869         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
33870         (ccosh_test): Likewise.
33871         (csin_test_data): Use plus_oflow.
33872         (csin_test): Use ALL_RM_TEST.
33873         (csinh_test_data): Use plus_oflow.
33874         (csinh_test): Use ALL_RM_TEST.
33875         * sysdeps/i386/fpu/libm-test-ulps: Update.
33876         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33878 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
33880         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
33881         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
33882         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
33884         [BZ #16731]
33885         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
33886         when x - 1 is zero.
33887         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
33888         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
33889         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
33890         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
33891         argument is 1.
33892         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
33893         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
33894         zero.
33895         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
33896         * sysdeps/i386/fpu/libm-test-ulps: Update.
33897         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33899 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33901         * scripts/bench.pl: Remove file.
33902         * scripts/bench.py: New benchmark script.
33903         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
33904         * benchtests/README: Mention python dependency.
33905         * scripts/pylintrc: New file.
33906         * scripts/pylint: New file.
33908         * bits/mathdef.h: Use #ifdef instead of #if.
33909         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
33910         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
33911         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
33912         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
33913         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
33914         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
33916 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33917             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
33919         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
33920         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
33921         and strpbrk-ppc64 objects.
33922         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33923         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
33924         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
33925         multiarch strpbrk for POWER7.
33926         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
33927         multiarch strpbrk for PPC64.
33928         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
33929         ifunc selector.
33930         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
33931         strpbrk for POWER7.
33933 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
33935         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
33936         (atan_test): Likewise.
33937         (atanh_test_data): Use NO_TEST_INLINE for two tests.
33938         (atanh_test): Use ALL_RM_TEST.
33939         (atan2_test_data): Likewise.
33940         (cabs_test): Likewise.
33941         (cacosh_test): Likewise.
33942         (carg_test): Likewise.
33943         (casin_test): Likewise.
33944         (casinh_test): Likewise.
33945         (cbrt_test): Likewise.
33946         (csqrt_test): Likewise.
33947         (erf_test): Likewise.
33948         (erfc_test): Likewise.
33949         (pow10_test): Likewise.
33950         (exp2_test): Likewise.
33951         (hypot_test): Likewise.
33952         (j0_test): Likewise.
33953         (j1_test): Likewise.
33954         (lgamma_test): Likewise.
33955         (gamma_test): Likewise.
33956         (sincos_test): Likewise.
33957         (tanh_test): Likewise.
33958         (y0_test): Likewise.
33959         (y1_test): Likewise.
33960         * sysdeps/i386/fpu/libm-test-ulps: Update.
33961         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33963 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33965         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
33966         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
33967         and strcspn-ppc64 objects.
33968         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33969         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
33970         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
33971         multiarch strcspn for POWER7.
33972         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
33973         multiarch strcspn for PPC64.
33974         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
33975         ifunc selector.
33976         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
33977         strcspn for POWER7.
33979 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
33981         * math/gen-libm-test.pl (generate_testfile): Expect only function
33982         name as argument to AUTO_TESTS_* and pass results for all rounding
33983         modes to parse_args.
33984         (parse_auto_input): Separate inputs of automatic tests from
33985         outputs before storing in %auto_tests.
33986         * math/libm-test.inc (acos_test_data): Update call to
33987         AUTO_TESTS_f_f.
33988         (acos_test): Use ALL_RM_TEST.
33989         (acos_tonearest_test_data): Remove.
33990         (acos_test_tonearest): Likewise.
33991         (acos_towardzero_test_data): Likewise.
33992         (acos_test_towardzero): Likewise.
33993         (acos_downward_test_data): Likewise.
33994         (acos_test_downward): Likewise.
33995         (acos_upward_test_data): Likewise.
33996         (acos_test_upward): Likewise.
33997         (acosh_test_data): Update call to AUTO_TESTS_f_f.
33998         (asin_test_data): Likewise.
33999         (asin_test): Use ALL_RM_TEST.
34000         (asin_tonearest_test_data): Remove.
34001         (asin_test_tonearest): Likewise.
34002         (asin_towardzero_test_data): Likewise.
34003         (asin_test_towardzero): Likewise.
34004         (asin_downward_test_data): Likewise.
34005         (asin_test_downward): Likewise.
34006         (asin_upward_test_data): Likewise.
34007         (asin_test_upward): Likewise.
34008         (asinh_test_data): Update call to AUTO_TESTS_f_f.
34009         (atan_test_data): Likewise.
34010         (atanh_test_data): Likewise.
34011         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
34012         (cabs_test_data): Update call to AUTO_TESTS_c_f.
34013         (carg_test_data): Likewise.
34014         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
34015         (ccos_test_data): Update call to AUTO_TESTS_c_c.
34016         (ccosh_test_data): Likewise.
34017         (cexp_test_data): Likewise.
34018         (clog_test_data): Likewise.
34019         (clog10_test_data): Likewise.
34020         (cos_test_data): Update call to AUTO_TESTS_f_f.
34021         (cos_test): Use ALL_RM_TEST.
34022         (cos_tonearest_test_data): Remove.
34023         (cos_test_tonearest): Likewise.
34024         (cos_towardzero_test_data): Likewise.
34025         (cos_test_towardzero): Likewise.
34026         (cos_downward_test_data): Likewise.
34027         (cos_test_downward): Likewise.
34028         (cos_upward_test_data): Likewise.
34029         (cos_test_upward): Likewise.
34030         (cosh_test_data): Update call to AUTO_TESTS_f_f.
34031         (cosh_test): Use ALL_RM_TEST.
34032         (cosh_tonearest_test_data): Remove.
34033         (cosh_test_tonearest): Likewise.
34034         (cosh_towardzero_test_data): Likewise.
34035         (cosh_test_towardzero): Likewise.
34036         (cosh_downward_test_data): Likewise.
34037         (cosh_test_downward): Likewise.
34038         (cosh_upward_test_data): Likewise.
34039         (cosh_test_upward): Likewise.
34040         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
34041         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
34042         (ctan_test_data): Likewise.
34043         (ctan_test): Use ALL_RM_TEST.
34044         (ctan_tonearest_test_data): Remove.
34045         (ctan_test_tonearest): Likewise.
34046         (ctan_towardzero_test_data): Likewise.
34047         (ctan_test_towardzero): Likewise.
34048         (ctan_downward_test_data): Likewise.
34049         (ctan_test_downward): Likewise.
34050         (ctan_upward_test_data): Likewise.
34051         (ctan_test_upward): Likewise.
34052         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
34053         (ctanh_test): Use ALL_RM_TEST.
34054         (ctanh_tonearest_test_data): Remove.
34055         (ctanh_test_tonearest): Likewise.
34056         (ctanh_towardzero_test_data): Likewise.
34057         (ctanh_test_towardzero): Likewise.
34058         (ctanh_downward_test_data): Likewise.
34059         (ctanh_test_downward): Likewise.
34060         (ctanh_upward_test_data): Likewise.
34061         (ctanh_test_upward): Likewise.
34062         (erf_test_data): Update call to AUTO_TESTS_f_f.
34063         (erfc_test_data): Likewise.
34064         (exp_test_data): Likewise.
34065         (exp_test): Use ALL_RM_TEST.
34066         (exp_tonearest_test_data): Remove.
34067         (exp_test_tonearest): Likewise.
34068         (exp_towardzero_test_data): Likewise.
34069         (exp_test_towardzero): Likewise.
34070         (exp_downward_test_data): Likewise.
34071         (exp_test_downward): Likewise.
34072         (exp_upward_test_data): Likewise.
34073         (exp_test_upward): Likewise.
34074         (exp10_test_data): Update call to AUTO_TESTS_f_f.
34075         (exp10_test): Use ALL_RM_TEST.
34076         (exp10_tonearest_test_data): Remove.
34077         (exp10_test_tonearest): Likewise.
34078         (exp10_towardzero_test_data): Likewise.
34079         (exp10_test_towardzero): Likewise.
34080         (exp10_downward_test_data): Likewise.
34081         (exp10_test_downward): Likewise.
34082         (exp10_upward_test_data): Likewise.
34083         (exp10_test_upward): Likewise.
34084         (exp2_test_data): Update call to AUTO_TESTS_f_f.
34085         (expm1_test_data): Likewise.
34086         (expm1_test): Use ALL_RM_TEST.
34087         (expm1_tonearest_test_data): Remove.
34088         (expm1_test_tonearest): Likewise.
34089         (expm1_towardzero_test_data): Likewise.
34090         (expm1_test_towardzero): Likewise.
34091         (expm1_downward_test_data): Likewise.
34092         (expm1_test_downward): Likewise.
34093         (expm1_upward_test_data): Likewise.
34094         (expm1_test_upward): Likewise.
34095         (fma_test_data): Update call to AUTO_TESTS_fff_f.
34096         (fma_test): Use ALL_RM_TEST.
34097         (fma_towardzero_test_data): Remove.
34098         (fma_test_towardzero): Likewise.
34099         (fma_downward_test_data): Likewise.
34100         (fma_test_downward): Likewise.
34101         (fma_upward_test_data): Likewise.
34102         (fma_test_upward): Likewise.
34103         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
34104         (j0_test_data): Update call to AUTO_TESTS_f_f.
34105         (j1_test_data): Likewise.
34106         (jn_test_data): Update call to AUTO_TESTS_if_f.
34107         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
34108         (log_test_data): Update call to AUTO_TESTS_f_f.
34109         (log10_test_data): Likewise.
34110         (log1p_test_data): Likewise.
34111         (log2_test_data): Likewise.
34112         (pow_test_data): Update call to AUTO_TESTS_ff_f.
34113         (pow_tonearest_test_data): Likewise.
34114         (sin_test_data): Update call to AUTO_TESTS_f_f.
34115         (sin_test): Use ALL_RM_TEST.
34116         (sin_tonearest_test_data): Remove.
34117         (sin_test_tonearest): Likewise.
34118         (sin_towardzero_test_data): Likewise.
34119         (sin_test_towardzero): Likewise.
34120         (sin_downward_test_data): Likewise.
34121         (sin_test_downward): Likewise.
34122         (sin_upward_test_data): Likewise.
34123         (sin_test_upward): Likewise.
34124         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
34125         (sinh_test_data): Update call to AUTO_TESTS_f_f.
34126         (sinh_test): Use ALL_RM_TEST.
34127         (sinh_tonearest_test_data): Remove.
34128         (sinh_test_tonearest): Likewise.
34129         (sinh_towardzero_test_data): Likewise.
34130         (sinh_test_towardzero): Likewise.
34131         (sinh_downward_test_data): Likewise.
34132         (sinh_test_downward): Likewise.
34133         (sinh_upward_test_data): Likewise.
34134         (sinh_test_upward): Likewise.
34135         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
34136         (sqrt_test): Use ALL_RM_TEST.
34137         (sqrt_tonearest_test_data): Remove.
34138         (sqrt_test_tonearest): Likewise.
34139         (sqrt_towardzero_test_data): Likewise.
34140         (sqrt_test_towardzero): Likewise.
34141         (sqrt_downward_test_data): Likewise.
34142         (sqrt_test_downward): Likewise.
34143         (sqrt_upward_test_data): Likewise.
34144         (sqrt_test_upward): Likewise.
34145         (tan_test_data): Update call to AUTO_TESTS_f_f.
34146         (tan_test): Use ALL_RM_TEST.
34147         (tan_tonearest_test_data): Remove.
34148         (tan_test_tonearest): Likewise.
34149         (tan_towardzero_test_data): Likewise.
34150         (tan_test_towardzero): Likewise.
34151         (tan_downward_test_data): Likewise.
34152         (tan_test_downward): Likewise.
34153         (tan_upward_test_data): Likewise.
34154         (tan_test_upward): Likewise.
34155         (tanh_test_data): Update call to AUTO_TESTS_f_f.
34156         (tgamma_test_data): Likewise.
34157         (y0_test_data): Likewise.
34158         (y1_test_data): Likewise.
34159         (yn_test_data): Update call to AUTO_TESTS_if_f.
34160         (main): Do not call removed functions.
34162 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
34164         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
34165         (ldexp_test_data): Remove.
34166         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
34167         scalbn_test_data.
34168         (scalb_test): Use ALL_RM_TEST.
34170 2014-03-19  Andreas Schwab  <schwab@suse.de>
34172         * nscd/nscd.service: Also invalidate netgroup cache on reload.
34174 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
34176         [BZ #16649]
34177         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
34178         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
34179         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
34180         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34181         (__ASSUME_PREADV): Undefine.
34182         (__ASSUME_PWRITEV): Likewise.
34184 2014-03-18  Roland McGrath  <roland@hack.frob.com>
34186         * bits/mman-linux.h: Add comment about non-Linux use.
34187         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
34188         bits/mman-linux.h resting place.
34190         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
34191         * bits/mman-linux.h: ... here.
34193 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34195         * conform/conformtest.pl: Add standard definition when calling C
34196         preprocessor on data files.
34197         (checknamespace): Remove unused variable.
34199 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
34201         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
34202         minus_oflow, plus_uflow and minus_uflow in expected results.
34203         * math/libm-test.inc (scalbn_test_data): Add more tests of
34204         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
34205         minus_uflow.
34206         (scalbn_test): Use ALL_RM_TEST.
34207         (scalbln_test_data): Add more tests of negative arguments.  Use
34208         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
34209         (scalbln_test): Use ALL_RM_TEST.
34211 2014-03-18  Roland McGrath  <roland@hack.frob.com>
34213         * scripts/abilist.awk: Ignore symbols marked with .hidden.
34215 2014-03-18  Will Newton  <will.newton@linaro.org>
34217         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
34218         inaccurate comment.
34220 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
34222         * Makerules [!subdir] (check-abi): Exit with error status if a
34223         test failed.
34225 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
34227         * math/libm-test.inc (nearbyint_test_data): Include all tests used
34228         for rint.  Include results for all rounding modes.
34229         (nearbyint_test): Use ALL_RM_TEST.
34230         (rint_test_data): Include all tests used for nearbyint.
34232 2014-03-17  Will Newton  <will.newton@linaro.org>
34234         * nptl/sysdeps/pthread/pthread.h: Revert previous
34235         change.
34237         * sysdeps/generic/ldsodefs.h: Revert previous
34238         change.
34240         * libio/genops.c: Revert previous change.
34241         * libio/libioP.h: Likewise.
34242         * stdio-common/vfprintf.c: Likewise.
34244         * sysdeps/generic/math_private.h: Revert previous
34245         change.
34247         * sysdeps/generic/math_private.h: Check whether
34248         HAVE_RM_CTX is defined with #ifdef rather
34249         than #if.
34251         * argp/argp-fmtstream.h: Check whether
34252         __STRICT_ANSI__ is defined with #ifdef rather
34253         than #if.
34254         * argp/argp.h: Likewise.
34256         * libio/genops.c: Check whether
34257         _IO_JUMPS_OFFSET is defined with #ifdef rather
34258         than #if.
34259         * libio/libioP.h: Likewise.
34260         * stdio-common/vfprintf.c: Likewise.
34262         * sysdeps/generic/ldsodefs.h: Check whether
34263         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
34264         than #if.
34266         * nptl/sysdeps/pthread/pthread.h: Check
34267         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
34268         its value.
34270 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
34272         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
34273         setting O_APPEND.
34274         * libio/tst-ftell-active-handler.c (do_append_test): Add a
34275         test case.
34277         [BZ #16680]
34278         * libio/fileops.c (_IO_file_open): Seek to end of file but
34279         don't cache the offset.
34280         (get_file_offset): Remove function.
34281         (do_ftell): Use cached offset when available.
34282         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
34283         don't cache the offset.
34284         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
34285         case.
34286         (do_one_test): Call it.
34287         (do_ftell_test): Fix up expected old offset for a+ mode.
34288         * libio/wfileops.c (do_ftell_wide): Used cached offset when
34289         available.
34291         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
34292         up test status with function return status.
34293         (do_write_test): Likewise.
34294         (do_append_test): Likewise.
34296         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
34297         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
34298         Remove.
34300 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
34302         * math/gen-libm-test.pl (parse_args): Handle results specified for
34303         each rounding mode separately.
34304         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
34305         tests and results from lrint_tonearest_test_data,
34306         lrint_towardzero_test_data, lrint_downward_test_data and
34307         lrint_upward_test_data.
34308         (lrint_test): Use ALL_RM_TEST.
34309         (lrint_tonearest_test_data): Remove.
34310         (lrint_test_tonearest): Likewise.
34311         (lrint_towardzero_test_data): Likewise.
34312         (lrint_test_towardzero): Likewise.
34313         (lrint_downward_test_data): Likewise.
34314         (lrint_test_downward): Likewise.
34315         (lrint_upward_test_data): Likewise.
34316         (lrint_test_upward): Likewise.
34317         (llrint_test_data): Merge in per-rounding-mode tests and results
34318         from llrint_tonearest_test_data, llrint_towardzero_test_data,
34319         llrint_downward_test_data and llrint_upward_test_data.
34320         (llrint_test): Use ALL_RM_TEST.
34321         (llrint_tonearest_test_data): Remove.
34322         (llrint_test_tonearest): Likewise.
34323         (llrint_towardzero_test_data): Likewise.
34324         (llrint_test_towardzero): Likewise.
34325         (llrint_downward_test_data): Likewise.
34326         (llrint_test_downward): Likewise.
34327         (llrint_upward_test_data): Likewise.
34328         (llrint_test_upward): Likewise.
34329         (rint_test_data): Merge in per-rounding-mode tests and results
34330         from rint_tonearest_test_data, rint_towardzero_test_data,
34331         rint_downward_test_data and rint_upward_test_data.  Add
34332         per-rounding-mode results for tests not in those arrays.
34333         (rint_test): Use ALL_RM_TEST.
34334         (rint_tonearest_test_data): Remove.
34335         (rint_test_tonearest): Likewise.
34336         (rint_towardzero_test_data): Likewise.
34337         (rint_test_towardzero): Likewise.
34338         (rint_downward_test_data): Likewise.
34339         (rint_test_downward): Likewise.
34340         (rint_upward_test_data): Likewise.
34341         (rint_test_upward): Likewise.
34342         (main): Don't call removed functions.
34344 2014-03-14  Roland McGrath  <roland@hack.frob.com>
34346         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
34347         "Compiled on ..." crapola.  It is anti-useful.
34349 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
34351         * scripts/evaluate-test.sh: Handle fourth argument to determine
34352         whether test run should stop on failure.
34353         * Makeconfig (stop-on-test-failure): New variable.
34354         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
34355         $(stop-on-test-failure).
34356         * Makefile (tests): Give a summary of results from testing and
34357         exit with failure status if they include an ERROR or FAIL.
34358         (xtests): Likewise.
34359         * manual/install.texi (Configuring and compiling): Mention
34360         stop-on-test-failure=y.
34361         * INSTALL: Regenerated.
34363 2014-03-14  Roland McGrath  <roland@hack.frob.com>
34365         * scripts/versionlist.awk: New file.
34366         * Makerules [$(build-shared) = yes]
34367         (postclean-generated): Add Versions.def, not Versions.def.v and
34368         Versions.def.v.i.
34369         ($(common-objpfx)Versions.def.v.i): Target removed.
34370         ($(common-objpfx)Versions.def): New target.
34371         ($(common-objpfx)Versions.all): Depend on that rather that
34372         $(common-objpfx)Versions.def.v.
34373         * Versions.def: File removed.
34375         * Makeconfig (+gccwarn): Add -Wundef.
34376         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
34377         a dl-sysdep.h breaking its contract.
34378         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
34379         * include/stackinfo.h: New file.
34380         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
34381         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
34382         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
34383         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
34384         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
34385         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
34386         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
34387         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
34388         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
34389         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
34390         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
34391         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
34392         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
34393         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
34394         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
34396 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34398         [BZ #16707]
34399         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
34400         implementation.
34401         * math/libm-test.inc (round_test_data): Add more tests.
34403         [BZ #16706]
34404         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
34405         implementation.
34406         * math/libm-test.inc (nearbyint_test_data): Add more tests.
34408         [BZ #16701]
34409         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
34410         implementation.
34411         * math/libm-test.inc (ceil_test_data): Add more tests.
34413         * math/libm-test.inc (trunc_test_data): Add more tests related to
34414         BZ#16414.
34416 2014-03-14  Roland McGrath  <roland@hack.frob.com>
34418         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
34419         with #if rather than #ifdef.
34420         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
34422 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
34424         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
34425         first.  Disable AVX-512 GCC support if assembler doesn't support
34426         it.
34427         * sysdeps/x86_64/configure: Regenerated.
34429 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
34431         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
34432         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
34433         (__old_pthread_attr_setstack): Likewise.
34434         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
34435         [!_STACK_GROWS_DOWN]: Likewise.
34437 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
34439         * config.make.in (have-bash2): Delete.
34440         * configure.ac (libc_cv_have_bash2): Delete.
34441         * configure: Regenerate.
34442         * elf/Makefile (common-ldd-rewrite): Rename to ...
34443         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
34444         (sh-ldd-rewrite): Delete.
34445         (bash-ldd-rewrite): Delete.
34446         (have-bash2): Delete checks.
34447         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
34448         ldd-rewrite.
34450         * config.make.in (have-ksh): Delete.
34451         (KSH): Delete.
34452         * configure.ac (libc_cv_have_ksh): Delete.
34453         * configure: Regenerate.
34455         * elf/Makefile: Delete $(have-ksh) check.
34456         ($(objpfx)sotruss): Change KSH to BASH.
34457         * elf/sotruss.ksh: Rename to ...
34458         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
34459         function style to match POSIX.  Drop ksh vim mode setting.
34461         * manual/time.texi (Specifying the Time Zone with TZ): Change
34462         Tuesday to Thursday.
34464         * debug/tst-longjmp_chk2.c: Update header comment.
34465         (stackoverflow_handler): Add comment.  Call assert on pass value.
34467 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
34469         [BZ #16194]
34470         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
34471         (HAVE_AVX512_ASM_SUPPORT): Likewise.
34472         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
34473         (La_x86_64_vector): Add zmm.
34474         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
34475         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
34476         ($(objpfx)tst-audit10): New target.
34477         ($(objpfx)tst-audit10.out): Likewise.
34478         (tst-audit10-ENV): New.
34479         (AVX512-CFLAGS): Likewise.
34480         (CFLAGS-tst-audit10.c): Likewise.
34481         (CFLAGS-tst-auditmod10a.c): Likewise.
34482         (CFLAGS-tst-auditmod10b.c): Likewise.
34483         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
34484         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
34485         * sysdeps/x86_64/configure: Regenerated.
34486         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
34487         AVX-512 zmm register support.
34488         (_dl_x86_64_save_sse): Likewise.
34489         (_dl_x86_64_restore_sse): Likewise.
34490         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
34491         size vector registers.
34492         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
34493         (ZMM_SIZE): Likewise.
34494         * sysdeps/x86_64/tst-audit10.c: New file.
34495         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
34496         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
34498 2014-03-13  Roland McGrath  <roland@hack.frob.com>
34500         * configure.ac (HAVE_EHDR_START): New check.
34501         * configure: Regenerated.
34502         * config.h.in (HAVE_EHDR_START): New #undef.
34503         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
34504         assuming the lowest-addressed segment maps the start of the file.
34506 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
34508         * INSTALL: Regenerated.
34510 2014-03-13  Will Newton  <will.newton@linaro.org>
34512         * manual/setjmp.texi (System V contexts): Improve
34513         clarity and grammar of documentation.
34515 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
34517         [BZ #16381]
34518         * elf/Makefile (tests): Add tst-pie2.
34519         (tests-pie): Add tst-pie2.
34520         * elf/tst-pie2.c: New file.
34521         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
34522         for ET_EXEC.
34523         * elf/rtld.c (map_doit): Load executable as lt_executable.
34524         (dl_main): Likewise.
34526 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
34528         [BZ #16642]
34529         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34530         (__ASSUME_PSELECT): Undefine.
34532 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34534         [BZ #16689]
34535         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
34536         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
34537         static build.
34538         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
34539         selector for static builds.
34541 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
34543         [BZ #16695]
34544         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
34545         key in the buffer.
34547 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34549         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
34550         IFUNC selector for static builds.
34552 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
34554         * sysdeps/mips/math_private.h [__mips_hard_float]
34555         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
34556         libc_feresetround_mips_ctx.
34557         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
34558         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
34559         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
34561         [BZ #16677]
34562         * math/s_nextafter.c (__nextafter): Do not return value from
34563         overflowing computation.
34564         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
34565         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
34566         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
34567         Likewise.
34568         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
34569         Likewise.
34570         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
34571         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
34573 2014-03-11  Roland McGrath  <roland@hack.frob.com>
34575         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
34576         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
34577         Move sfi_sp use from the load-multiple (that no longer sets sp) to
34578         the new mov targetting sp.
34580 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34582         [BZ #16683]
34583         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
34584         Define it for static builds as well.
34585         (NO_BZERO_IMPL): Likewise.
34587 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
34589         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
34590         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
34591         multiarch strspn for PPC64.
34592         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
34593         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
34594         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
34595         (__libc_ifunc_impl_list): Likewise.
34596         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
34597         multiarch optimizations
34598         * string/strspn.c (strspn): Using macro to redefine symbol name.
34600 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
34601             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34603         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
34604         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
34605         multiarch strncat for PPC64.
34606         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
34607         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
34608         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
34609         (__libc_ifunc_impl_list): Likewise.
34610         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
34611         multiarch optimizations
34613 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34615         [BZ #16639]
34616         * nscd/nscd.service: Make service type forking.
34618 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34620         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
34621         sign in non default rounding modes.
34622         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
34624 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
34626         * math/libm-test.inc (ALL_RM_TEST): New macro.
34627         (ceil_test): Use ALL_RM_TEST.
34628         (cimag_test): Likewise.
34629         (conj_test): Likewise.
34630         (copysign_test): Likewise.
34631         (cproj_test): Likewise.
34632         (creal_test): Likewise.
34633         (fabs_test): Likewise.
34634         (floor_test): Likewise.
34635         (fmax_test): Likewise.
34636         (fmin_test): Likewise.
34637         (fmod_test): Likewise.
34638         (fpclassify_test): Likewise.
34639         (frexp_test): Likewise.
34640         (ilogb_test): Likewise.
34641         (isfinite_test): Likewise.
34642         (finite_test): Likewise.
34643         (isgreater_test): Likewise.
34644         (isgreaterequal_test): Likewise.
34645         (isinf_test): Likewise.
34646         (isless_test): Likewise.
34647         (islessequal_test): Likewise.
34648         (islessgreater_test): Likewise.
34649         (isnan_test): Likewise.
34650         (isnormal_test): Likewise.
34651         (issignaling_test): Likewise.
34652         (isunordered_test): Likewise.
34653         (logb_test): Likewise.
34654         (logb_downward_test_data): Remove.
34655         (logb_test_downward): Likewise.
34656         (lround_test): Use ALL_RM_TEST.
34657         (llround_test): Likewise.
34658         (modf_test): Likewise.
34659         (nexttoward_test): Likewise.
34660         (remainder_test): Likewise.
34661         (drem_test): Likewise.
34662         (remainder_tonearest_test_data): Likewise.
34663         (remainder_test_tonearest): Likewise.
34664         (drem_test_tonearest): Likewise.
34665         (remainder_towardzero_test_data): Likewise.
34666         (remainder_test_towardzero): Likewise.
34667         (drem_test_towardzero): Likewise.
34668         (remainder_downward_test_data): Likewise.
34669         (remainder_test_downward): Likewise.
34670         (drem_test_downward): Likewise.
34671         (remainder_upward_test_data): Likewise.
34672         (remainder_test_upward): Likewise.
34673         (drem_test_upward): Likewise.
34674         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
34675         (round_test): Use ALL_RM_TEST.
34676         (signbit_test): Likewise.
34677         (trunc_test): Likewise.
34678         (significand_test): Likewise.
34679         (main): Don't call removed functions.
34681 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
34683         [BZ #16674]
34684         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
34685         || __USE_XOPEN2K8].
34686         (ILL_ILLOPN): Likewise.
34687         (ILL_ILLADR): Likewise.
34688         (ILL_ILLTRP): Likewise.
34689         (ILL_PRVOPC): Likewise.
34690         (ILL_PRVREG): Likewise.
34691         (ILL_COPROC): Likewise.
34692         (ILL_BADSTK): Likewise.
34693         (FPE_INTDIV): Likewise.
34694         (FPE_INTOVF): Likewise.
34695         (FPE_FLTDIV): Likewise.
34696         (FPE_FLTOVF): Likewise.
34697         (FPE_FLTUND): Likewise.
34698         (FPE_FLTRES): Likewise.
34699         (FPE_FLTINV): Likewise.
34700         (FPE_FLTSUB): Likewise.
34701         (SEGV_MAPERR): Likewise.
34702         (SEGV_ACCERR): Likewise.
34703         (BUS_ADRALN): Likewise.
34704         (BUS_ADRERR): Likewise.
34705         (BUS_OBJERR): Likewise.
34706         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34707         (TRAP_TRACE): Likewise.
34708         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34709         __USE_XOPEN2K8].
34710         (CLD_KILLED): Likewise.
34711         (CLD_DUMPED): Likewise.
34712         (CLD_TRAPPED): Likewise.
34713         (CLD_STOPPED): Likewise.
34714         (CLD_CONTINUED): Likewise.
34715         (POLL_IN): Likewise.
34716         (POLL_OUT): Likewise.
34717         (POLL_MSG): Likewise.
34718         (POLL_ERR): Likewise.
34719         (POLL_PRI): Likewise.
34720         (POLL_HUP): Likewise.
34721         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
34722         Likewise.
34723         (ILL_ILLOPN): Likewise.
34724         (ILL_ILLADR): Likewise.
34725         (ILL_ILLTRP): Likewise.
34726         (ILL_PRVOPC): Likewise.
34727         (ILL_PRVREG): Likewise.
34728         (ILL_COPROC): Likewise.
34729         (ILL_BADSTK): Likewise.
34730         (FPE_INTDIV): Likewise.
34731         (FPE_INTOVF): Likewise.
34732         (FPE_FLTDIV): Likewise.
34733         (FPE_FLTOVF): Likewise.
34734         (FPE_FLTUND): Likewise.
34735         (FPE_FLTRES): Likewise.
34736         (FPE_FLTINV): Likewise.
34737         (FPE_FLTSUB): Likewise.
34738         (SEGV_MAPERR): Likewise.
34739         (SEGV_ACCERR): Likewise.
34740         (BUS_ADRALN): Likewise.
34741         (BUS_ADRERR): Likewise.
34742         (BUS_OBJERR): Likewise.
34743         (BUS_MCEERR_AR): Likewise.
34744         (BUS_MCEERR_AO): Likewise.
34745         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34746         (TRAP_TRACE): Likewise.
34747         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34748         __USE_XOPEN2K8].
34749         (CLD_KILLED): Likewise.
34750         (CLD_DUMPED): Likewise.
34751         (CLD_TRAPPED): Likewise.
34752         (CLD_STOPPED): Likewise.
34753         (CLD_CONTINUED): Likewise.
34754         (POLL_IN): Likewise.
34755         (POLL_OUT): Likewise.
34756         (POLL_MSG): Likewise.
34757         (POLL_ERR): Likewise.
34758         (POLL_PRI): Likewise.
34759         (POLL_HUP): Likewise.
34760         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
34761         (ILL_ILLOPN): Likewise.
34762         (ILL_ILLADR): Likewise.
34763         (ILL_ILLTRP): Likewise.
34764         (ILL_PRVOPC): Likewise.
34765         (ILL_PRVREG): Likewise.
34766         (ILL_COPROC): Likewise.
34767         (ILL_BADSTK): Likewise.
34768         (FPE_INTDIV): Likewise.
34769         (FPE_INTOVF): Likewise.
34770         (FPE_FLTDIV): Likewise.
34771         (FPE_FLTOVF): Likewise.
34772         (FPE_FLTUND): Likewise.
34773         (FPE_FLTRES): Likewise.
34774         (FPE_FLTINV): Likewise.
34775         (FPE_FLTSUB): Likewise.
34776         (SEGV_MAPERR): Likewise.
34777         (SEGV_ACCERR): Likewise.
34778         (BUS_ADRALN): Likewise.
34779         (BUS_ADRERR): Likewise.
34780         (BUS_OBJERR): Likewise.
34781         (BUS_MCEERR_AR): Likewise.
34782         (BUS_MCEERR_AO): Likewise.
34783         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34784         (TRAP_TRACE): Likewise.
34785         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34786         __USE_XOPEN2K8].
34787         (CLD_KILLED): Likewise.
34788         (CLD_DUMPED): Likewise.
34789         (CLD_TRAPPED): Likewise.
34790         (CLD_STOPPED): Likewise.
34791         (CLD_CONTINUED): Likewise.
34792         (POLL_IN): Likewise.
34793         (POLL_OUT): Likewise.
34794         (POLL_MSG): Likewise.
34795         (POLL_ERR): Likewise.
34796         (POLL_PRI): Likewise.
34797         (POLL_HUP): Likewise.
34798         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
34799         Likewise.
34800         (ILL_ILLOPN): Likewise.
34801         (ILL_ILLADR): Likewise.
34802         (ILL_ILLTRP): Likewise.
34803         (ILL_PRVOPC): Likewise.
34804         (ILL_PRVREG): Likewise.
34805         (ILL_COPROC): Likewise.
34806         (ILL_BADSTK): Likewise.
34807         (ILL_BADIADDR): Likewise.
34808         (ILL_BREAK): Likewise.
34809         (FPE_INTDIV): Likewise.
34810         (FPE_INTOVF): Likewise.
34811         (FPE_FLTDIV): Likewise.
34812         (FPE_FLTOVF): Likewise.
34813         (FPE_FLTUND): Likewise.
34814         (FPE_FLTRES): Likewise.
34815         (FPE_FLTINV): Likewise.
34816         (FPE_FLTSUB): Likewise.
34817         (FPE_DECOVF): Likewise.
34818         (FPE_DECDIV): Likewise.
34819         (FPE_DECERR): Likewise.
34820         (FPE_INVASC): Likewise.
34821         (FPE_INVDEC): Likewise.
34822         (SEGV_MAPERR): Likewise.
34823         (SEGV_ACCERR): Likewise.
34824         (SEGV_PSTKOVF): Likewise.
34825         (BUS_ADRALN): Likewise.
34826         (BUS_ADRERR): Likewise.
34827         (BUS_OBJERR): Likewise.
34828         (BUS_MCEERR_AR): Likewise.
34829         (BUS_MCEERR_AO): Likewise.
34830         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34831         (TRAP_TRACE): Likewise.
34832         (TRAP_BRANCH): Likewise.
34833         (TRAP_HWBKPT): Likewise.
34834         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34835         __USE_XOPEN2K8].
34836         (CLD_KILLED): Likewise.
34837         (CLD_DUMPED): Likewise.
34838         (CLD_TRAPPED): Likewise.
34839         (CLD_STOPPED): Likewise.
34840         (CLD_CONTINUED): Likewise.
34841         (POLL_IN): Likewise.
34842         (POLL_OUT): Likewise.
34843         (POLL_MSG): Likewise.
34844         (POLL_ERR): Likewise.
34845         (POLL_PRI): Likewise.
34846         (POLL_HUP): Likewise.
34847         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
34848         (ILL_ILLOPN): Likewise.
34849         (ILL_ILLADR): Likewise.
34850         (ILL_ILLTRP): Likewise.
34851         (ILL_PRVOPC): Likewise.
34852         (ILL_PRVREG): Likewise.
34853         (ILL_COPROC): Likewise.
34854         (ILL_BADSTK): Likewise.
34855         (FPE_INTDIV): Likewise.
34856         (FPE_INTOVF): Likewise.
34857         (FPE_FLTDIV): Likewise.
34858         (FPE_FLTOVF): Likewise.
34859         (FPE_FLTUND): Likewise.
34860         (FPE_FLTRES): Likewise.
34861         (FPE_FLTINV): Likewise.
34862         (FPE_FLTSUB): Likewise.
34863         (SEGV_MAPERR): Likewise.
34864         (SEGV_ACCERR): Likewise.
34865         (BUS_ADRALN): Likewise.
34866         (BUS_ADRERR): Likewise.
34867         (BUS_OBJERR): Likewise.
34868         (BUS_MCEERR_AR): Likewise.
34869         (BUS_MCEERR_AO): Likewise.
34870         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34871         (TRAP_TRACE): Likewise.
34872         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34873         __USE_XOPEN2K8].
34874         (CLD_KILLED): Likewise.
34875         (CLD_DUMPED): Likewise.
34876         (CLD_TRAPPED): Likewise.
34877         (CLD_STOPPED): Likewise.
34878         (CLD_CONTINUED): Likewise.
34879         (POLL_IN): Likewise.
34880         (POLL_OUT): Likewise.
34881         (POLL_MSG): Likewise.
34882         (POLL_ERR): Likewise.
34883         (POLL_PRI): Likewise.
34884         (POLL_HUP): Likewise.
34885         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
34886         (ILL_ILLOPN): Likewise.
34887         (ILL_ILLADR): Likewise.
34888         (ILL_ILLTRP): Likewise.
34889         (ILL_PRVOPC): Likewise.
34890         (ILL_PRVREG): Likewise.
34891         (ILL_COPROC): Likewise.
34892         (ILL_BADSTK): Likewise.
34893         (FPE_INTDIV): Likewise.
34894         (FPE_INTOVF): Likewise.
34895         (FPE_FLTDIV): Likewise.
34896         (FPE_FLTOVF): Likewise.
34897         (FPE_FLTUND): Likewise.
34898         (FPE_FLTRES): Likewise.
34899         (FPE_FLTINV): Likewise.
34900         (FPE_FLTSUB): Likewise.
34901         (SEGV_MAPERR): Likewise.
34902         (SEGV_ACCERR): Likewise.
34903         (BUS_ADRALN): Likewise.
34904         (BUS_ADRERR): Likewise.
34905         (BUS_OBJERR): Likewise.
34906         (BUS_MCEERR_AR): Likewise.
34907         (BUS_MCEERR_AO): Likewise.
34908         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34909         (TRAP_TRACE): Likewise.
34910         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34911         __USE_XOPEN2K8].
34912         (CLD_KILLED): Likewise.
34913         (CLD_DUMPED): Likewise.
34914         (CLD_TRAPPED): Likewise.
34915         (CLD_STOPPED): Likewise.
34916         (CLD_CONTINUED): Likewise.
34917         (POLL_IN): Likewise.
34918         (POLL_OUT): Likewise.
34919         (POLL_MSG): Likewise.
34920         (POLL_ERR): Likewise.
34921         (POLL_PRI): Likewise.
34922         (POLL_HUP): Likewise.
34923         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
34924         (ILL_ILLOPN): Likewise.
34925         (ILL_ILLADR): Likewise.
34926         (ILL_ILLTRP): Likewise.
34927         (ILL_PRVOPC): Likewise.
34928         (ILL_PRVREG): Likewise.
34929         (ILL_COPROC): Likewise.
34930         (ILL_BADSTK): Likewise.
34931         (FPE_INTDIV): Likewise.
34932         (FPE_INTOVF): Likewise.
34933         (FPE_FLTDIV): Likewise.
34934         (FPE_FLTOVF): Likewise.
34935         (FPE_FLTUND): Likewise.
34936         (FPE_FLTRES): Likewise.
34937         (FPE_FLTINV): Likewise.
34938         (FPE_FLTSUB): Likewise.
34939         (SEGV_MAPERR): Likewise.
34940         (SEGV_ACCERR): Likewise.
34941         (BUS_ADRALN): Likewise.
34942         (BUS_ADRERR): Likewise.
34943         (BUS_OBJERR): Likewise.
34944         (BUS_MCEERR_AR): Likewise.
34945         (BUS_MCEERR_AO): Likewise.
34946         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34947         (TRAP_TRACE): Likewise.
34948         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34949         __USE_XOPEN2K8].
34950         (CLD_KILLED): Likewise.
34951         (CLD_DUMPED): Likewise.
34952         (CLD_TRAPPED): Likewise.
34953         (CLD_STOPPED): Likewise.
34954         (CLD_CONTINUED): Likewise.
34955         (POLL_IN): Likewise.
34956         (POLL_OUT): Likewise.
34957         (POLL_MSG): Likewise.
34958         (POLL_ERR): Likewise.
34959         (POLL_PRI): Likewise.
34960         (POLL_HUP): Likewise.
34961         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
34962         (ILL_ILLOPN): Likewise.
34963         (ILL_ILLADR): Likewise.
34964         (ILL_ILLTRP): Likewise.
34965         (ILL_PRVOPC): Likewise.
34966         (ILL_PRVREG): Likewise.
34967         (ILL_COPROC): Likewise.
34968         (ILL_BADSTK): Likewise.
34969         (ILL_DBLFLT): Likewise.
34970         (ILL_HARDWALL): Likewise.
34971         (FPE_INTDIV): Likewise.
34972         (FPE_INTOVF): Likewise.
34973         (FPE_FLTDIV): Likewise.
34974         (FPE_FLTOVF): Likewise.
34975         (FPE_FLTUND): Likewise.
34976         (FPE_FLTRES): Likewise.
34977         (FPE_FLTINV): Likewise.
34978         (FPE_FLTSUB): Likewise.
34979         (SEGV_MAPERR): Likewise.
34980         (SEGV_ACCERR): Likewise.
34981         (BUS_ADRALN): Likewise.
34982         (BUS_ADRERR): Likewise.
34983         (BUS_OBJERR): Likewise.
34984         (BUS_MCEERR_AR): Likewise.
34985         (BUS_MCEERR_AO): Likewise.
34986         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34987         (TRAP_TRACE): Likewise.
34988         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34989         __USE_XOPEN2K8].
34990         (CLD_KILLED): Likewise.
34991         (CLD_DUMPED): Likewise.
34992         (CLD_TRAPPED): Likewise.
34993         (CLD_STOPPED): Likewise.
34994         (CLD_CONTINUED): Likewise.
34995         (POLL_IN): Likewise.
34996         (POLL_OUT): Likewise.
34997         (POLL_MSG): Likewise.
34998         (POLL_ERR): Likewise.
34999         (POLL_PRI): Likewise.
35000         (POLL_HUP): Likewise.
35001         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
35002         (ILL_ILLOPN): Likewise.
35003         (ILL_ILLADR): Likewise.
35004         (ILL_ILLTRP): Likewise.
35005         (ILL_PRVOPC): Likewise.
35006         (ILL_PRVREG): Likewise.
35007         (ILL_COPROC): Likewise.
35008         (ILL_BADSTK): Likewise.
35009         (FPE_INTDIV): Likewise.
35010         (FPE_INTOVF): Likewise.
35011         (FPE_FLTDIV): Likewise.
35012         (FPE_FLTOVF): Likewise.
35013         (FPE_FLTUND): Likewise.
35014         (FPE_FLTRES): Likewise.
35015         (FPE_FLTINV): Likewise.
35016         (FPE_FLTSUB): Likewise.
35017         (SEGV_MAPERR): Likewise.
35018         (SEGV_ACCERR): Likewise.
35019         (BUS_ADRALN): Likewise.
35020         (BUS_ADRERR): Likewise.
35021         (BUS_OBJERR): Likewise.
35022         (BUS_MCEERR_AR): Likewise.
35023         (BUS_MCEERR_AO): Likewise.
35024         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35025         (TRAP_TRACE): Likewise.
35026         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35027         __USE_XOPEN2K8].
35028         (CLD_KILLED): Likewise.
35029         (CLD_DUMPED): Likewise.
35030         (CLD_TRAPPED): Likewise.
35031         (CLD_STOPPED): Likewise.
35032         (CLD_CONTINUED): Likewise.
35033         (POLL_IN): Likewise.
35034         (POLL_OUT): Likewise.
35035         (POLL_MSG): Likewise.
35036         (POLL_ERR): Likewise.
35037         (POLL_PRI): Likewise.
35038         (POLL_HUP): Likewise.
35039         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
35040         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
35042         [BZ #16670]
35043         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
35044         before #include of <time.h>.
35045         [!__USE_XOPEN2K] (__need_timespec): Likewise.
35046         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
35047         (test-xfail-UNIX98/sched.h/conform): Likewise.
35049 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
35051         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
35052         error absence of trapping exception support.
35053         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
35055 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
35057         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
35058         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
35059         * timezone/Makefile (testdata): Move definition above include of
35060         Rules.
35061         (test-zones): New variable.
35062         (tests-special): Add zone files.
35063         (build-testdata): Use $(evaluate-test).
35065         * elf/Makefile (tests-special): Rename tests to end with .out.
35066         ($(objpfx)noload-mem): Likewise.
35067         ($(objpfx)tst-leaks1-mem): Likewise.
35068         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
35069         * iconv/Makefile (xtests-special): Change test-iconvconfig to
35070         $(objpfx)test-iconvconfig.out.
35071         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
35072         set -e inside subshell and redirect output to file.
35073         * iconvdata/Makefile (generated): Rename tests to end with .out.
35074         Correct type.
35075         (tests-special): Rename tests to end with .out.
35076         ($(objpfx)mtrace-tst-loading): Likewise.
35077         * intl/Makefile (generated): Likewise.
35078         (tests-special): Likewise.
35079         ($(objpfx)mtrace-tst-gettext): Likewise.
35080         * misc/Makefile (generated): Likewise.
35081         (tests-special): Likewise.
35082         ($(objpfx)tst-error1-mem): Likewise.
35083         * nptl/Makefile (tests-special): Likewise.
35084         ($(objpfx)tst-stack3-mem): Likewise.
35085         (generated): Likewise.
35086         * posix/Makefile (generated): Likewise.
35087         (tests-special): Likewise.
35088         (xtests-special): Likewise.
35089         ($(objpfx)tst-fnmatch-mem): Likewise.
35090         ($(objpfx)bug-regex2-mem): Likewise.
35091         ($(objpfx)bug-regex14-mem): Likewise.
35092         ($(objpfx)bug-regex21-mem): Likewise.
35093         ($(objpfx)bug-regex31-mem): Likewise.
35094         ($(objpfx)tst-vfork3-mem): Likewise.
35095         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
35096         ($(objpfx)tst-pcre-mem): Likewise.
35097         ($(objpfx)tst-boost-mem): Likewise.
35098         ($(objpfx)bug-ga2-mem): Likewise.
35099         ($(objpfx)bug-glob2-mem): Likewise.
35100         * resolv/Makefile (generate): Likewise.
35101         (tests-special): Likewise.
35102         (xtests-special): Likewise.
35103         (generated): Likewise.
35104         ($(objpfx)mtrace-tst-leaks): Likewise.
35105         ($(objpfx)mtrace-tst-leaks2): Likewise.
35107         * scripts/merge-test-results.sh: New file.
35108         * Makefile (tests-special-notdir): New variable.
35109         (tests): Run merge-test-results.sh.
35110         (xtests): Likewise.
35111         * Rules (tests-special-notdir): New variable.
35112         (xtests-special-notdir): Likewise.
35113         (tests): Run merge-test-results.sh
35114         (xtests): Likewise.
35116         * Makeconfig (test-xfail-name): New variable.
35117         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
35118         compute variable name for expected failures.
35119         * conform/Makefile (conformtest-headers-data): New variable.
35120         (conformtest-standards): Likewise.
35121         (conformtest-headers-ISO): Likewise.
35122         (conformtest-headers-ISO99): Likewise.
35123         (conformtest-headers-ISO11): Likewise.
35124         (conformtest-headers-POSIX): Likewise.
35125         (conformtest-headers-XPG3): Likewise.
35126         (conformtest-headers-XPG4): Likewise.
35127         (conformtest-headers-UNIX98): Likewise.
35128         (conformtest-headers-XOPEN2K): Likewise.
35129         (conformtest-headers-POSIX2008): Likewise.
35130         (conformtest-headers-XOPEN2K8): Likewise.
35131         (conformtest-header-list-base): Likewise.
35132         (conformtest-header-list-tests): Likewise.
35133         (conformtest-header-base): Likewise.
35134         (conformtest-header-tests): Likewise.
35135         (tests-special): Add $(conformtest-header-list-tests).  If
35136         [$(fast-check) && !$(cross-compiling)], add
35137         $(conformtest-header-tests) instead of
35138         $(objpfx)run-conformtest.out.
35139         (generated): Add $(conformtest-header-list-base).  If
35140         [$(fast-check) && !$(cross-compiling)], add
35141         $(conformtest-header-base).  Remove previous setting.
35142         ($(conformtest-header-list-tests)): New target.
35143         (test-xfail-run-conformtest): Remove variable.
35144         ($(objpfx)run-conformtest.out): Remove target.
35145         (test-xfail-ISO11/complex.h/conform): New variable.
35146         (test-xfail-ISO11/stdalign.h/conform): Likewise.
35147         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
35148         (test-xfail-XPG3/varargs.h/conform): Likewise.
35149         (test-xfail-XPG4/varargs.h/conform): Likewise.
35150         (test-xfail-UNIX98/varargs.h/conform): Likewise.
35151         (test-xfail-XPG4/ndbm.h/conform): Likewise.
35152         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
35153         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
35154         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
35155         (test-xfail-XPG3/fcntl.h/conform): Likewise.
35156         (test-xfail-XPG3/ftw.h/conform): Likewise.
35157         (test-xfail-XPG3/grp.h/conform): Likewise.
35158         (test-xfail-XPG3/langinfo.h/conform): Likewise.
35159         (test-xfail-XPG3/limits.h/conform): Likewise.
35160         (test-xfail-XPG3/pwd.h/conform): Likewise.
35161         (test-xfail-XPG3/search.h/conform): Likewise.
35162         (test-xfail-XPG3/signal.h/conform): Likewise.
35163         (test-xfail-XPG3/stdio.h/conform): Likewise.
35164         (test-xfail-XPG3/stdlib.h/conform): Likewise.
35165         (test-xfail-XPG3/string.h/conform): Likewise.
35166         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
35167         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
35168         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
35169         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
35170         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
35171         (test-xfail-XPG3/sys/types.h/conform): Likewise.
35172         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
35173         (test-xfail-XPG3/termios.h/conform): Likewise.
35174         (test-xfail-XPG3/time.h/conform): Likewise.
35175         (test-xfail-XPG3/unistd.h/conform): Likewise.
35176         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
35177         (test-xfail-XPG4/fcntl.h/conform): Likewise.
35178         (test-xfail-XPG4/langinfo.h/conform): Likewise.
35179         (test-xfail-XPG4/netdb.h/conform): Likewise.
35180         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
35181         (test-xfail-XPG4/signal.h/conform): Likewise.
35182         (test-xfail-XPG4/stdio.h/conform): Likewise.
35183         (test-xfail-XPG4/stdlib.h/conform): Likewise.
35184         (test-xfail-XPG4/stropts.h/conform): Likewise.
35185         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
35186         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
35187         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
35188         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
35189         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
35190         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
35191         (test-xfail-XPG4/sys/time.h/conform): Likewise.
35192         (test-xfail-XPG4/sys/types.h/conform): Likewise.
35193         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
35194         (test-xfail-XPG4/termios.h/conform): Likewise.
35195         (test-xfail-XPG4/ucontext.h/conform): Likewise.
35196         (test-xfail-XPG4/unistd.h/conform): Likewise.
35197         (test-xfail-XPG4/utmpx.h/conform): Likewise.
35198         (test-xfail-POSIX/sched.h/conform): Likewise.
35199         (test-xfail-POSIX/signal.h/conform): Likewise.
35200         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
35201         (test-xfail-POSIX/tar.h/conform): Likewise.
35202         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
35203         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
35204         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
35205         (test-xfail-UNIX98/netdb.h/conform): Likewise.
35206         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
35207         (test-xfail-UNIX98/sched.h/conform): Likewise.
35208         (test-xfail-UNIX98/signal.h/conform): Likewise.
35209         (test-xfail-UNIX98/stdio.h/conform): Likewise.
35210         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
35211         (test-xfail-UNIX98/stropts.h/conform): Likewise.
35212         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
35213         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
35214         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
35215         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
35216         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
35217         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
35218         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
35219         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
35220         (test-xfail-UNIX98/unistd.h/conform): Likewise.
35221         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
35222         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
35223         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
35224         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
35225         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
35226         (test-xfail-XOPEN2K/math.h/conform): Likewise.
35227         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
35228         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
35229         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
35230         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
35231         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
35232         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
35233         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
35234         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
35235         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
35236         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
35237         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
35238         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
35239         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
35240         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
35241         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
35242         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
35243         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
35244         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
35245         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
35246         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
35247         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
35248         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
35249         (test-xfail-POSIX2008/signal.h/conform): Likewise.
35250         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
35251         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
35252         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
35253         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
35254         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
35255         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
35256         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
35257         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
35258         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
35259         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
35260         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
35261         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
35262         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
35263         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
35264         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
35265         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
35266         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
35267         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
35268         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
35269         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
35270         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
35271         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
35272         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
35273         (conformtest-cc-flags): Likewise.
35274         ($(conformtest-header-tests): New target.
35275         * conform/check-header-lists.sh: New file.
35276         * conform/run-conformtest.sh: Remove.
35278         * conform/conformtest.pl: Allow ' and \ in values given for
35279         constants.
35280         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
35281         inclusion.
35282         [POSIX] (sys/types.h): Likewise.
35283         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
35284         inclusion.
35285         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
35286         inclusion.
35287         * conform/data/signal.h-data (SIGIO): Remove expectation.
35288         [XPG3] (SIGBUS): Do not expect.
35289         [POSIX || XPG3] (SIGPOLL): Likewise.
35290         [POSIX || XPG3] (SIGPROF): Likewise.
35291         [POSIX || XPG3] (SIGSYS): Likewise.
35292         [XPG3] (SIGTRAP): Likewise.
35293         [POSIX || XPG3] (SIGURG): Likewise.
35294         [POSIX || XPG3] (SIGVTALRM): Likewise.
35295         [POSIX || XPG3] (SIGXCPU): Likewise.
35296         [POSIX || XPG3] (SIGXFSZ): Likewise.
35297         [POSIX] (SA_SIGINFO): Expect.
35298         [XPG3] (siginfo_t): Do not expect type or contents.
35299         [POSIX] (si_pid): Do not expect element.
35300         [POSIX] (si_uid): Likewise.
35301         [POSIX] (si_addr): Likewise.
35302         [POSIX] (si_status): Likewise.
35303         [POSIX] (si_band): Likewise.
35304         [XPG4] (si_value): Likewise.
35305         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
35306         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
35307         [POSIX || XPG3] (ILL_ILLADR): Likewise.
35308         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
35309         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
35310         [POSIX || XPG3] (ILL_PRVREG): Likewise.
35311         [POSIX || XPG3] (ILL_COPROC): Likewise.
35312         [POSIX || XPG3] (ILL_BADSTK): Likewise.
35313         [POSIX || XPG3] (FPE_INTDIV): Likewise.
35314         [POSIX || XPG3] (FPE_INTOVF): Likewise.
35315         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
35316         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
35317         [POSIX || XPG3] (FPE_FLTUND): Likewise.
35318         [POSIX || XPG3] (FPE_FLTRES): Likewise.
35319         [POSIX || XPG3] (FPE_FLTINV): Likewise.
35320         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
35321         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
35322         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
35323         [POSIX || XPG3] (BUS_ADRALN): Likewise.
35324         [POSIX || XPG3] (BUS_ADRERR): Likewise.
35325         [POSIX || XPG3] (BUS_OBJERR): Likewise.
35326         [POSIX || XPG3] (CLD_EXITED): Likewise.
35327         [POSIX || XPG3] (CLD_KILLED): Likewise.
35328         [POSIX || XPG3] (CLD_DUMPED): Likewise.
35329         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
35330         [POSIX || XPG3] (CLD_STOPPED): Likewise.
35331         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
35332         [POSIX || XPG3] (POLL_IN): Likewise.
35333         [POSIX || XPG3] (POLL_OUT): Likewise.
35334         [POSIX || XPG3] (POLL_MSG): Likewise.
35335         [POSIX || XPG3] (POLL_ERR): Likewise.
35336         [POSIX || XPG3] (POLL_PRI): Likewise.
35337         [POSIX || XPG3] (POLL_HUP): Likewise.
35338         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
35339         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
35340         (SIG*): Do not allow.
35341         [XPG3] (si_*): Likewise.
35342         [XPG3] (SI_*): Likewise.
35343         [XPG3 || XPG4] (sigev_*): Likewise.
35344         [XPG3 || XPG4] (SIGEV_*): Likewise.
35345         [XPG3 || XPG4] (sival_*): Likewise.
35346         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
35347         [POSIX || XPG3] (BUS_*): Likewise.
35348         [POSIX || XPG3] (CLD_*): Likewise.
35349         [POSIX || XPG3] (FPE_*): Likewise.
35350         [POSIX || XPG3] (ILL_*): Likewise.
35351         [POSIX || XPG3] (POLL_*): Likewise.
35352         [POSIX || XPG3] (SEGV_*): Likewise.
35353         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
35354         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
35355         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
35356         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
35357         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
35358         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
35359         Specify type and value.
35360         (TVERSLEN): Likewise.
35361         (REGTYPE): Likewise.
35362         (AREGTYPE): Likewise.
35363         (LNKTYPE): Likewise.
35364         (SYMTYPE): Likewise.
35365         (CHRTYPE): Likewise.
35366         (BLKTYPE): Likewise.
35367         (DIRTYPE): Likewise.
35368         (FIFOTYPE): Likewise.
35369         (CONTTYPE): Likewise.
35370         (TSUID): Likewise.
35371         (TSGID): Likewise.
35372         (TSVTX): Likewise.
35373         (TUREAD): Likewise.
35374         (TUWRITE): Likewise.
35375         (TUEXEC): Likewise.
35376         (TGREAD): Likewise.
35377         (TGWRITE): Likewise.
35378         (TGEXEC): Likewise.
35379         (TOREAD): Likewise.
35380         (TOWRITE): Likewise.
35381         (TOEXEC): Likewise.
35382         [POSIX] (TSVTX): Expect constant.
35384 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
35386         * Makefile (tests): Change dependencies to ....
35387         (tests-special): ... additions to this variable.
35388         (tests): Depend on $(tests-special).
35389         * Makerules (check-abi-list): New variable.
35390         (check-abi): Depend on $(check-abi-list).
35391         [$(subdir) = elf] (tests-special): Add
35392         $(objpfx)check-abi-libc.out.
35393         [$(build-shared) = yes && subdir] (tests-special): Add
35394         $(check-abi-list).
35395         [$(build-shared) = yes && subdir] (tests): Do not depend on
35396         check-abi.
35397         * Rules (tests): Depend on $(tests-special).
35398         (xtests): Depend on $(xtests-special).
35399         * catgets/Makefile (tests): Change dependencies to ....
35400         (tests-special): ... additions to this variable.
35401         * conform/Makefile (tests): Change dependencies to ....
35402         (tests-special): ... additions to this variable.
35403         * elf/Makefile (tests): Change dependencies to ....
35404         (tests-special): ... additions to this variable.
35405         * grp/Makefile (tests): Change dependencies to ....
35406         (tests-special): ... additions to this variable.
35407         * iconv/Makefile (xtests): Change dependencies to ....
35408         (xtests-special): ... additions to this variable.
35409         * iconvdata/Makefile (tests): Change dependencies to ....
35410         (tests-special): ... additions to this variable.
35411         * intl/Makefile (tests): Change dependencies to ....
35412         (tests-special): ... additions to this variable.  Also add
35413         $(objpfx)tst-gettext.out.
35414         * io/Makefile (tests): Change dependencies to ....
35415         (tests-special): ... additions to this variable.
35416         * libio/Makefile (tests): Change dependencies to ....
35417         (tests-special): ... additions to this variable.
35418         * malloc/Makefile (tests): Change dependencies to ....
35419         (tests-special): ... additions to this variable.
35420         * misc/Makefile (tests): Change dependencies to ....
35421         (tests-special): ... additions to this variable.
35422         * nptl/Makefile (tests): Change dependencies to ....
35423         (tests-special): ... additions to this variable.
35424         * nptl_db/Makefile (tests): Change dependencies to ....
35425         (tests-special): ... additions to this variable.
35426         * posix/Makefile (tests): Change dependencies to ....
35427         (tests-special): ... additions to this variable.
35428         (xtests): Change dependencies to ....
35429         (xtests-special): ... additions to this variable.
35430         * resolv/Makefile (tests): Change dependencies to ....
35431         (tests-special): ... additions to this variable.
35432         (xtests): Change dependencies to ....
35433         (xtests-special): ... additions to this variable.
35434         * stdio-common/Makefile (tests): Change dependencies to ....
35435         (tests-special): ... additions to this variable.
35436         (do-tst-unbputc): Remove target.
35437         (do-tst-printf): Likewise.
35438         * stdlib/Makefile (tests): Change dependencies to ....
35439         (tests-special): ... additions to this variable.
35440         * string/Makefile (tests): Change dependencies to ....
35441         (tests-special): ... additions to this variable.
35442         * sysdeps/x86/Makefile (tests): Change dependencies to ....
35443         (tests-special): ... additions to this variable.
35445         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
35446         whole file.
35447         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
35448         whole file.
35449         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
35450         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
35452         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
35453         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
35454         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
35455         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
35456         * conform/data/libgen.h-data [XPG3]: Likewise.
35457         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
35458         * conform/data/ndbm.h-data [XPG3]: Likewise.
35459         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
35460         * conform/data/netdb.h-data [XPG3]: Likewise.
35461         * conform/data/netinet/in.h-data [XPG3]: Likewise.
35462         * conform/data/poll.h-data [XPG3]: Likewise.
35463         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
35464         * conform/data/strings.h-data [XPG3]: Likewise.
35465         * conform/data/stropts.h-data [XPG3]: Likewise.
35466         * conform/data/sys/mman.h-data [XPG3]: Likewise.
35467         * conform/data/sys/resource.h-data [XPG3]: Likewise.
35468         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
35469         Likewise.
35470         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
35471         * conform/data/sys/time.h-data [XPG3]: Likewise.
35472         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
35473         * conform/data/sys/uio.h-data [XPG3]: Likewise.
35474         * conform/data/sys/un.h-data [XPG3]: Likewise.
35475         * conform/data/syslog.h-data [XPG3]: Likewise.
35476         * conform/data/ucontext.h-data [XPG3]: Likewise.
35477         * conform/data/utmpx.h-data [XPG3]: Likewise.
35478         * conform/data/varargs.h-data [UNIX98]: Enable file.
35480         * manual/Makefile (INSTALL_INFO): Remove variable setting.
35482         * math/libm-test.inc (struct test_f_f_data): Move expected results
35483         into structure for each rounding mode.
35484         (struct test_ff_f_data): Likewise.
35485         (struct test_ff_f_data_nexttoward): Likewise.
35486         (struct test_fi_f_data): Likewise.
35487         (struct test_fl_f_data): Likewise.
35488         (struct test_if_f_data): Likewise.
35489         (struct test_fff_f_data): Likewise.
35490         (struct test_c_f_data): Likewise.
35491         (struct test_f_f1_data): Likewise.
35492         (struct test_fF_f1_data): Likewise.
35493         (struct test_ffI_f1_data): Likewise.
35494         (struct test_c_c_data): Likewise.
35495         (struct test_cc_c_data): Likewise.
35496         (struct test_f_i_data): Likewise.
35497         (struct test_ff_i_data): Likewise.
35498         (struct test_f_l_data): Likewise.
35499         (struct test_f_L_data): Likewise.
35500         (struct test_fFF_11_data): Likewise.
35501         (RM_): New macro.
35502         (RM_FE_DOWNWARD): Likewise.
35503         (RM_FE_TONEAREST): Likewise.
35504         (RM_FE_TOWARDZERO): Likewise.
35505         (RM_FE_UPWARD): Likewise.
35506         (RUN_TEST_LOOP_f_f): Update references to expected results.
35507         (RUN_TEST_LOOP_2_f): Likewise.
35508         (RUN_TEST_LOOP_fff_f): Likewise.
35509         (RUN_TEST_LOOP_c_f): Likewise.
35510         (RUN_TEST_LOOP_f_f1): Likewise.
35511         (RUN_TEST_LOOP_fF_f1): Likewise.
35512         (RUN_TEST_LOOP_fI_f1): Likewise.
35513         (RUN_TEST_LOOP_ffI_f1): Likewise.
35514         (RUN_TEST_LOOP_c_c): Likewise.
35515         (RUN_TEST_LOOP_cc_c): Likewise.
35516         (RUN_TEST_LOOP_f_i): Likewise.
35517         (RUN_TEST_LOOP_f_i_tg): Likewise.
35518         (RUN_TEST_LOOP_ff_i_tg): Likewise.
35519         (RUN_TEST_LOOP_f_b): Likewise.
35520         (RUN_TEST_LOOP_f_b_tg): Likewise.
35521         (RUN_TEST_LOOP_f_l): Likewise.
35522         (RUN_TEST_LOOP_f_L): Likewise.
35523         (RUN_TEST_LOOP_fFF_11): Likewise.
35524         * math/gen-libm-test.pl (parse_args): Output four copies of
35525         expected results for each test.
35527         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
35528         (__ASSUME_UTIMES): Remove.
35529         * sysdeps/unix/sysv/linux/tile/kernel-features.h
35530         (__ASSUME_UTIMES): Likewise.
35532         * math/gen-auto-libm-tests.c: Update comment on output format.
35533         (output_for_one_input_case): Generate before-rounding and
35534         after-rounding information as conditions on output flags not
35535         floating-point format.
35536         * math/auto-libm-test-out: Regenerated.
35537         * math/gen-libm-test.pl (cond_value): New function.
35538         (or_cond_value): Use cond_value.
35539         (generate_testfile): Handle conditional exceptions.
35541 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
35543         * math/libm-test.inc (max_valid_error): New variable.
35544         (init_max_error): Take new argument specifying whether function
35545         results are exactly determined.  Set max_valid_error and bound
35546         other variables for errors based on this argument.
35547         (set_max_error): Do not record results above max_valid_error.
35548         (check_float_internal): Only accept errors of up to 0.5ulps if
35549         also at most max_valid_error.
35550         (START): Take new argument EXACT and pass it to init_max_error.
35551         (acos_test): Update call to START.
35552         (acos_test_tonearest): Likewise.
35553         (acos_test_towardzero): Likewise.
35554         (acos_test_downward): Likewise.
35555         (acos_test_upward): Likewise.
35556         (acosh_test): Likewise.
35557         (asin_test): Likewise.
35558         (asin_test_tonearest): Likewise.
35559         (asin_test_towardzero): Likewise.
35560         (asin_test_downward): Likewise.
35561         (asin_test_upward): Likewise.
35562         (asinh_test): Likewise.
35563         (atan_test): Likewise.
35564         (atanh_test): Likewise.
35565         (atan2_test): Likewise.
35566         (cabs_test): Likewise.
35567         (cacos_test): Likewise.
35568         (cacosh_test): Likewise.
35569         (carg_test): Likewise.
35570         (casin_test): Likewise.
35571         (casinh_test): Likewise.
35572         (catan_test): Likewise.
35573         (catanh_test): Likewise.
35574         (cbrt_test): Likewise.
35575         (ccos_test): Likewise.
35576         (ccosh_test): Likewise.
35577         (ceil_test): Likewise.
35578         (cexp_test): Likewise.
35579         (cimag_test): Likewise.
35580         (clog_test): Likewise.
35581         (clog10_test): Likewise.
35582         (conj_test): Likewise.
35583         (copysign_test): Likewise.
35584         (cos_test): Likewise.
35585         (cos_test_tonearest): Likewise.
35586         (cos_test_towardzero): Likewise.
35587         (cos_test_downward): Likewise.
35588         (cos_test_upward): Likewise.
35589         (cosh_test): Likewise.
35590         (cosh_test_tonearest): Likewise.
35591         (cosh_test_towardzero): Likewise.
35592         (cosh_test_downward): Likewise.
35593         (cosh_test_upward): Likewise.
35594         (cpow_test): Likewise.
35595         (cproj_test): Likewise.
35596         (creal_test): Likewise.
35597         (csin_test): Likewise.
35598         (csinh_test): Likewise.
35599         (csqrt_test): Likewise.
35600         (ctan_test): Likewise.
35601         (ctan_test_tonearest): Likewise.
35602         (ctan_test_towardzero): Likewise.
35603         (ctan_test_downward): Likewise.
35604         (ctan_test_upward): Likewise.
35605         (ctanh_test): Likewise.
35606         (ctanh_test_tonearest): Likewise.
35607         (ctanh_test_towardzero): Likewise.
35608         (ctanh_test_downward): Likewise.
35609         (ctanh_test_upward): Likewise.
35610         (erf_test): Likewise.
35611         (erfc_test): Likewise.
35612         (exp_test): Likewise.
35613         (exp_test_tonearest): Likewise.
35614         (exp_test_towardzero): Likewise.
35615         (exp_test_downward): Likewise.
35616         (exp_test_upward): Likewise.
35617         (exp10_test): Likewise.
35618         (exp10_test_tonearest): Likewise.
35619         (exp10_test_towardzero): Likewise.
35620         (exp10_test_downward): Likewise.
35621         (exp10_test_upward): Likewise.
35622         (pow10_test): Likewise.
35623         (exp2_test): Likewise.
35624         (expm1_test): Likewise.
35625         (expm1_test_tonearest): Likewise.
35626         (expm1_test_towardzero): Likewise.
35627         (expm1_test_downward): Likewise.
35628         (expm1_test_upward): Likewise.
35629         (fabs_test): Likewise.
35630         (fdim_test): Likewise.
35631         (floor_test): Likewise.
35632         (fma_test): Likewise.
35633         (fma_test_towardzero): Likewise.
35634         (fma_test_downward): Likewise.
35635         (fma_test_upward): Likewise.
35636         (fmax_test): Likewise.
35637         (fmin_test): Likewise.
35638         (fmod_test): Likewise.
35639         (fpclassify_test): Likewise.
35640         (frexp_test): Likewise.
35641         (hypot_test): Likewise.
35642         (ilogb_test): Likewise.
35643         (isfinite_test): Likewise.
35644         (finite_test): Likewise.
35645         (isgreater_test): Likewise.
35646         (isgreaterequal_test): Likewise.
35647         (isinf_test): Likewise.
35648         (isless_test): Likewise.
35649         (islessequal_test): Likewise.
35650         (islessgreater_test): Likewise.
35651         (isnan_test): Likewise.
35652         (isnormal_test): Likewise.
35653         (issignaling_test): Likewise.
35654         (isunordered_test): Likewise.
35655         (j0_test): Likewise.
35656         (j1_test): Likewise.
35657         (jn_test): Likewise.
35658         (ldexp_test): Likewise.
35659         (lgamma_test): Likewise.
35660         (gamma_test): Likewise.
35661         (lrint_test): Likewise.
35662         (lrint_test_tonearest): Likewise.
35663         (lrint_test_towardzero): Likewise.
35664         (lrint_test_downward): Likewise.
35665         (lrint_test_upward): Likewise.
35666         (llrint_test): Likewise.
35667         (llrint_test_tonearest): Likewise.
35668         (llrint_test_towardzero): Likewise.
35669         (llrint_test_downward): Likewise.
35670         (llrint_test_upward): Likewise.
35671         (log_test): Likewise.
35672         (log10_test): Likewise.
35673         (log1p_test): Likewise.
35674         (log2_test): Likewise.
35675         (logb_test): Likewise.
35676         (logb_test_downward): Likewise.
35677         (lround_test): Likewise.
35678         (llround_test): Likewise.
35679         (modf_test): Likewise.
35680         (nearbyint_test): Likewise.
35681         (nextafter_test): Likewise.
35682         (nexttoward_test): Likewise.
35683         (pow_test): Likewise.
35684         (pow_test_tonearest): Likewise.
35685         (pow_test_towardzero): Likewise.
35686         (pow_test_downward): Likewise.
35687         (pow_test_upward): Likewise.
35688         (remainder_test): Likewise.
35689         (drem_test): Likewise.
35690         (remainder_test_tonearest): Likewise.
35691         (drem_test_tonearest): Likewise.
35692         (remainder_test_towardzero): Likewise.
35693         (drem_test_towardzero): Likewise.
35694         (remainder_test_downward): Likewise.
35695         (drem_test_downward): Likewise.
35696         (remainder_test_upward): Likewise.
35697         (drem_test_upward): Likewise.
35698         (remquo_test): Likewise.
35699         (rint_test): Likewise.
35700         (rint_test_tonearest): Likewise.
35701         (rint_test_towardzero): Likewise.
35702         (rint_test_downward): Likewise.
35703         (rint_test_upward): Likewise.
35704         (round_test): Likewise.
35705         (scalb_test): Likewise.
35706         (scalbn_test): Likewise.
35707         (scalbln_test): Likewise.
35708         (signbit_test): Likewise.
35709         (sin_test): Likewise.
35710         (sin_test_tonearest): Likewise.
35711         (sin_test_towardzero): Likewise.
35712         (sin_test_downward): Likewise.
35713         (sin_test_upward): Likewise.
35714         (sincos_test): Likewise.
35715         (sinh_test): Likewise.
35716         (sinh_test_tonearest): Likewise.
35717         (sinh_test_towardzero): Likewise.
35718         (sinh_test_downward): Likewise.
35719         (sinh_test_upward): Likewise.
35720         (sqrt_test): Likewise.
35721         (sqrt_test_tonearest): Likewise.
35722         (sqrt_test_towardzero): Likewise.
35723         (sqrt_test_downward): Likewise.
35724         (sqrt_test_upward): Likewise.
35725         (tan_test): Likewise.
35726         (tan_test_tonearest): Likewise.
35727         (tan_test_towardzero): Likewise.
35728         (tan_test_downward): Likewise.
35729         (tan_test_upward): Likewise.
35730         (tanh_test): Likewise.
35731         (tgamma_test): Likewise.
35732         (trunc_test): Likewise.
35733         (y0_test): Likewise.
35734         (y1_test): Likewise.
35735         (yn_test): Likewise.
35736         (significand_test): Likewise.
35738         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
35739         individual tests in comment.
35740         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
35741         (prev_max_error): New variable.
35742         (prev_real_max_error): Likewise.
35743         (prev_imag_max_error): Likewise.
35744         (compare_ulp_data): Don't refer to test names in comment.
35745         (find_test_ulps): Remove function.
35746         (find_function_ulps): Likewise.
35747         (find_complex_function_ulps): Likewise.
35748         (init_max_error): Take function name as argument.  Look up ulps
35749         for that function.
35750         (print_ulps): Remove function.
35751         (print_max_error): Use prev_max_error instead of calling
35752         find_function_ulps.
35753         (print_complex_max_error): Use prev_real_max_error and
35754         prev_imag_max_error instead of calling find_complex_function_ulps.
35755         (check_float_internal): Take max_ulp parameter instead of calling
35756         find_test_ulps.  Don't call print_ulps.
35757         (check_float): Update call to check_float_internal.
35758         (check_complex): Update calls to check_float_internal.
35759         (START): Pass argument to init_max_error.
35760         * math/gen-libm-test.pl (%results): Don't include "kind"
35761         information.
35762         (parse_ulps): Don't handle ulps of individual tests.
35763         (print_ulps_file): Likewise.
35764         (output_ulps): Likewise.
35765         * math/README.libm-test: Update.
35766         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
35767         individual tests.
35768         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
35769         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
35770         * sysdeps/arm/libm-test-ulps: Likewise.
35771         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
35772         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
35773         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
35774         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
35775         * sysdeps/microblaze/libm-test-ulps: Likewise.
35776         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
35777         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
35778         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35779         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
35780         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
35781         * sysdeps/sh/libm-test-ulps: Likewise.
35782         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
35783         * sysdeps/tile/libm-test-ulps: Likewise.
35784         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35786 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
35788         * math/libm-test.inc (print_complex_max_error): Check separately
35789         whether real and imaginary errors are within allowed range and
35790         pass 0 to print_complex_function_ulps instead of value within
35791         allowed range.
35793 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
35795         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
35796         formatting.
35797         (get_handles_fopen): Likewise.
35798         (do_write_test): Likewise.
35800         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
35802         * libio/fileops.c (do_ftell): Use cached offset when
35803         available.
35804         * libio/iofwide.c (do_ftell_wide): Likewise.
35805         * libio/iofdopen.c (_IO_new_fdopen): Don't use
35806         _IO_file_attach.
35807         * libio/wfileops.c (_IO_fwide): Don't cache offset.
35809         [BZ #16532]
35810         * libio/libioP.h (get_file_offset): New function.
35811         * libio/fileops.c (get_file_offset): Likewise.
35812         (do_ftell): Likewise.
35813         (_IO_new_file_seekoff): Split out ftell logic.
35814         * libio/wfileops.c (do_ftell_wide): Likewise.
35815         (_IO_wfile_seekoff): Split out ftell logic.
35816         * libio/tst-ftell-active-handler.c: New test case.
35817         * libio/Makefile (tests): Add it.
35819 2014-03-03  Roland McGrath  <roland@hack.frob.com>
35821         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
35822         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
35824 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
35826         [BZ #16639]
35827         * nscd/connections.c (nscd_init): Call do_exit.
35828         (start_threads): Call do_exit and notify_parent.
35829         (begin_drop_privileges): Call do_exit.
35830         (finish_drop_privileges): Likewise.
35831         * nscd/selinux.c (preserve_capabilities): Likewise.
35832         (install_real_capabilities): Likewise.
35833         (nscd_selinux_enabled): Likewise.
35834         (avc_create_thread): Likewise.
35835         (avc_alloc_lock): Likewise.
35836         (nscd_avc_init): Likewise.
35837         * nscd/nscd.c (parent_fd): New static variable.
35838         (main): Create a pipe between parent and child processes.
35839         Skip closing parent_fd.
35840         (monitor_child): New function.
35841         (do_exit): Likewise.
35842         (notify_parent): Likewise.
35843         * nscd/nscd.h (notify_parent): Likewise.
35844         (do_exit): Likewise.
35846 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
35848         * malloc/malloc.c (__libc_calloc): Revert last change.
35850 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35852         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35854 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
35856         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
35857         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
35858         implementation.
35859         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
35860         (__libc_ifunc_impl_list): Likewise.
35861         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
35862         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
35863         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
35864         * string/strrchr.c: Define STRRCHR.
35866 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
35868         * benchtest/bench-strtok.c (simple_strtok): Delete.
35869         (strtok_string): Use as benchmark.
35870         * string/strtok (STRTOK): New macro.
35872 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
35874         * manual/threads.texi: Add header and standard comments to all
35875         functions.
35877         * elf/dl-lookup.c (check_match): New function.
35878         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
35879         (do_lookup_x): Remove nested function check_match. Use non-nested
35880         function check_match.
35882 2014-02-28  Roland McGrath  <roland@hack.frob.com>
35884         * csu/Makefile (generated, before-compile): Use += rather than =.
35885         * catgets/Makefile (generated, generated-dirs): Likewise.
35886         * debug/Makefile (generated): Likewise.
35887         * dlfcn/Makefile (generated): Likewise.
35888         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
35889         * iconvdata/Makefile (before-compile, generated): Likewise.
35890         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
35891         * libio/Makefile (generated): Likewise.
35892         * malloc/Makefile (generated): Likewise.
35893         * manual/Makefile (generated, generated-dirs): Likewise.
35894         * misc/Makefile (generated): Likewise.
35895         * posix/Makefile (generated): Likewise.
35896         * resolv/Makefile (generated): Likewise.
35897         * sunrpc/Makefile (generated, generated-dirs): Likewise.
35898         * timezone/Makefile (generated, generated-dirs): Likewise.
35900         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
35902 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35904         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
35905         power8 implementation.
35906         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
35907         file: POWER8 llround ifunc implementation.
35908         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
35909         (__lllround): Add POWER8 implementation.
35910         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
35911         POWER8 llround implementation.
35913         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
35914         power8 implementation.
35915         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
35916         file: POWER8 llrint ifunc implementation.
35917         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
35918         Add POWER8 implementation.
35919         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
35920         POWER8 llrint implementation.
35922         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
35923         power8 implementation.
35924         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
35925         file: POWER8 finite ifunc implementation.
35926         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
35927         Add POWER8 implementation.
35928         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
35929         Likewise.
35930         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
35931         POWER8 finite implementation.
35932         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
35934         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
35935         power8 implementation.
35936         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
35937         file: POWER8 isinf ifunc implementation.
35938         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
35939         POWER8 implementation.
35940         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
35941         Likewise.
35942         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
35943         isinf implementation.
35944         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
35946         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
35947         (INIT_ARCH): Add hwcap2 initialization.
35948         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
35949         power8 implementation.
35950         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
35951         file: POWER8 isnan ifunc implementation.
35952         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
35953         POWER8 implementation.
35954         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
35955         Likewise.
35956         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
35957         isnan implementation.
35958         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
35960 2014-02-27  Joey Ye  <joey.ye@arm.com>
35962         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
35963         (_FP_NANFRAC_Q): Set to zero.
35965 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
35967         [BZ #16623]
35968         * math/auto-libm-test-in: New test inputs.
35969         * math/auto-libm-test-out: Regenerate.
35970         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
35971         and DA.
35972         (__cos): Likewise.
35973         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
35975 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
35977         * scripts/evaluate-test.sh: Take new argument indicating whether
35978         failure is expected.
35979         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
35980         indicating whether failure is expected.
35981         * conform/Makefile (test-xfail-run-conformtest): New variable.
35982         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
35983         level.
35984         * posix/Makefile (test-xfail-annexc): New variable.
35985         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
35987 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
35989         * argp/Makefile: Include Makeconfig immediately after defining
35990         subdir.
35991         * assert/Makefile: Likewise.
35992         * benchtests/Makefile: Likewise.
35993         * catgets/Makefile: Likewise.
35994         * conform/Makefile: Likewise.
35995         * crypt/Makefile: Likewise.
35996         * csu/Makefile: Likewise.
35997         (all): Remove target.
35998         * ctype/Makefile: Include Makeconfig immediately after defining
35999         subdir.
36000         * debug/Makefile: Likewise.
36001         * dirent/Makefile: Likewise.
36002         * dlfcn/Makefile: Likewise.
36003         * gmon/Makefile: Likewise.
36004         * gnulib/Makefile: Likewise.
36005         * grp/Makefile: Likewise.
36006         * gshadow/Makefile: Likewise.
36007         * hesiod/Makefile: Likewise.
36008         * hurd/Makefile: Likewise.
36009         (all): Remove target.
36010         * iconvdata/Makefile: Include Makeconfig immediately after
36011         defining subdir.
36012         * inet/Makefile: Likewise.
36013         * intl/Makefile: Likewise.
36014         * io/Makefile: Likewise.
36015         * libio/Makefile: Likewise.
36016         (all): Remove target.
36017         * locale/Makefile: Include Makeconfig immediately after defining
36018         subdir.
36019         * login/Makefile: Likewise.
36020         * mach/Makefile: Likewise.
36021         (all): Remove target.
36022         * malloc/Makefile: Include Makeconfig immediately after defining
36023         subdir.
36024         (all): Remove target.
36025         * manual/Makefile: Include Makeconfig immediately after defining
36026         subdir.
36027         * math/Makefile: Likewise.
36028         * misc/Makefile: Likewise.
36029         * nis/Makefile: Likewise.
36030         * nss/Makefile: Likewise.
36031         * po/Makefile: Likewise.
36032         (all): Remove target.
36033         * posix/Makefile: Include Makeconfig immediately after defining
36034         subdir.
36035         * pwd/Makefile: Likewise.
36036         * resolv/Makefile: Likewise.
36037         * resource/Makefile: Likewise.
36038         * rt/Makefile: Likewise.
36039         * setjmp/Makefile: Likewise.
36040         * shadow/Makefile: Likewise.
36041         * signal/Makefile: Likewise.
36042         * socket/Makefile: Likewise.
36043         * soft-fp/Makefile: Likewise.
36044         * stdio-common/Makefile: Likewise.
36045         * stdlib/Makefile: Likewise.
36046         * streams/Makefile: Likewise.
36047         * string/Makefile: Likewise.
36048         * sunrpc/Makefile: Likewise.
36049         (all): Remove target.
36050         * sysvipc/Makefile: Include Makeconfig immediately after defining
36051         subdir.
36052         * termios/Makefile: Likewise.
36053         * time/Makefile: Likewise.
36054         * timezone/Makefile: Likewise.
36055         (all): Remove target.
36056         * wcsmbs/Makefile: Include Makeconfig immediately after defining
36057         subdir.
36058         * wctype/Makefile: Likewise.
36060 2014-02-26  Steve Ellcey  <sellcey@mips.com>
36062         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
36063         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
36064         (libc_feholdexcept_setround_mips): Ditto.
36065         (libc_feholdsetround): New.
36066         (libc_feholdsetroundf): New.
36067         (libc_feholdsetroundl): New.
36068         (libc_feupdateenv_test_mips): New.
36069         (libc_feupdateenv_test): New.
36070         (libc_feupdateenv_testf): New.
36071         (libc_feupdateenv_testl): New.
36072         (libc_feresetround): New.
36073         (libc_feresetroundf): New.
36074         (libc_feresetroundl): New.
36075         (libc_fetestexcept_mips): New.
36076         (libc_fetestexcept): New.
36077         (libc_fetestexceptf): New.
36078         (libc_fetestexceptl): New.
36079         (HAVE_RM_CTX): New.
36080         (libc_feholdexcept_setround_mips_ctx): New.
36081         (libc_feholdexcept_setround_ctx): New.
36082         (libc_feholdexcept_setroundf_ctx): New.
36083         (libc_feholdexcept_setroundl_ctx): New.
36084         (libc_fesetenv_mips_ctx): New.
36085         (libc_fesetenv_ctx): New.
36086         (libc_fesetenv_ctxf): New.
36087         (libc_fesetenv_ctxl): New.
36088         (libc_feupdateenv_mips_ctx): New.
36089         (libc_feupdateenv_ctx): New.
36090         (libc_feupdateenvf_ctx): New.
36091         (libc_feupdateenvl_ctx): New.
36092         (libc_feholdsetround_mips_ctx): New.
36093         (libc_feholdsetround_ctx): New.
36094         (libc_feholdsetroundf_ctx): New.
36095         (libc_feholdsetroundl_ctx): New.
36096         (libc_feresetround_mips_ctx): New.
36097         (libc_feresetround_ctx): New.
36098         (libc_feresetroundf_ctx): New.
36099         (libc_feresetroundl_ctx): New.
36101 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
36103         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
36105         * manual/ipc.texi: New file.
36106         * manual/Makefile (chapters): Add ipc.
36107         * manual/job.texi: Add "Inter-Process Communication" to next.
36108         * manual/process.texi: Add "Inter-Process Communication" to prev.
36110 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36112         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36114 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
36116         * malloc/malloc.c (__libc_calloc): Simplify implementation.
36118         * manual/arith.texi: Fix spaces after sentences.
36119         * manual/charset.texi: Likewise.
36120         * manual/errno.texi: Likewise.
36121         * manual/install.texi: Likewise.
36122         * manual/llio.texi: Likewise.
36123         * manual/locale.texi: Likewise.
36124         * manual/maint.texi: Likewise.
36125         * manual/math.texi: Likewise.
36126         * manual/memory.texi: Likewise.
36127         * manual/message.texi: Likewise.
36128         * manual/probes.texi: Likewise.
36129         * manual/resource.texi: Likewise.
36130         * manual/signal.texi: Likewise.
36131         * manual/socket.texi: Likewise.
36132         * manual/stdio.texi: Likewise.
36133         * manual/string.texi: Likewise.
36134         * manual/time.texi: Likewise.
36135         * manual/users.texi: Likewise.
36137 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
36139         [BZ #16632]
36140         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
36141         _DEFAULT_SOURCE is defined.
36143 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
36144             Carlos O'Donell  <carlos@redhat.com>
36146         [BZ #16613]
36147         * elf/dl-tls.c (_dl_count_modids): New function.
36148         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
36149         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
36150         audit library and increment generation counter.
36151         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
36152         * elf/tst-audit9.c: New file.
36153         * elf/tst-auditmod9a.c: New file.
36154         * elf/tst-auditmod9b.c: New file.
36155         * elf/Makefile: Add rules to build and run tst-audit9.
36157 2014-02-25  Florian Weimer  <fweimer@redhat.com>
36159         [BZ #15347]
36160         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
36162 2014-02-25  Will Newton  <will.newton@linaro.org>
36164         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
36165         (__longjmp): Restore sp and lr before restoring callee
36166         saved registers.  Add longjmp and longjmp_target
36167         SystemTap probe point.
36168         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
36169         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
36170         Define to zero to match jmpbuf layout.
36171         * sysdeps/arm/setjmp.S: Include stap-probe.h.
36172         (__sigsetjmp): Save sp and lr before saving callee
36173         saved registers.  Add setjmp SystemTap probe point.
36175 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
36177         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
36179 2014-02-24  Andreas Schwab  <schwab@suse.de>
36181         [BZ #15804]
36182         * elf/pldd.c (wait_for_ptrace_stop): New function.
36183         (main): Call it after attaching.
36185 2014-02-22  Roland McGrath  <roland@hack.frob.com>
36187         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
36188         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
36189         Versions files is now verboten.
36190         * hurd/Versions (libc: GLIBC_2.0):
36191         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
36192         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
36193         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
36194         * mach/Versions: Likewise.
36196         * csu/Versions: Remove unused %include.
36197         * resolv/Versions: Likewise.
36199 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
36201         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
36202         ($(objpfx)check-local-headers.out): Likewise.
36203         ($(objpfx)begin-end-check.out): Likewise.
36204         * Makerules (check-abi-%.out): Likewise.
36205         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
36206         ($(objpfx)test2.cat): Likewise.
36207         ($(objpfx)de/libc.cat): Likewise.
36208         ($(objpfx)test-gencat.out): Likewise.
36209         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
36210         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
36211         ($(objpfx)noload-mem): Likewise.
36212         ($(objpfx)tst-pathopt.out): Likewise.
36213         ($(objpfx)tst-rtld-load-self.out): Likewise.
36214         ($(objpfx)tst-array1-cmp.out): Likewise.
36215         ($(objpfx)tst-array1-static-cmp.out): Likewise.
36216         ($(objpfx)tst-array2-cmp.out): Likewise.
36217         ($(objpfx)tst-array3-cmp.out): Likewise.
36218         ($(objpfx)tst-array4-cmp.out): Likewise.
36219         ($(objpfx)tst-array5-cmp.out): Likewise.
36220         ($(objpfx)tst-array5-static-cmp.out): Likewise.
36221         ($(objpfx)check-textrel.out): Likewise.
36222         ($(objpfx)check-execstack.out): Likewise.
36223         ($(objpfx)check-localplt.out): Likewise.
36224         ($(objpfx)order2-cmp.out): Likewise.
36225         ($(objpfx)tst-leaks1-mem): Likewise.
36226         ($(objpfx)tst-leaks1-static-mem): Likewise.
36227         ($(objpfx)tst-initorder-cmp.out): Likewise.
36228         ($(objpfx)tst-initorder2-cmp.out): Likewise.
36229         ($(objpfx)tst-unused-dep.out): Likewise.
36230         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
36231         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
36232         * iconv/Makefile (test-iconvconfig): Likewise.
36233         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
36234         ($(objpfx)iconv-test.out): Likewise.
36235         ($(objpfx)tst-tables.out): Likewise.
36236         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
36237         ($(objpfx)tst-gettext.out): Likewise.
36238         ($(objpfx)tst-translit.out): Likewise.
36239         ($(objpfx)tst-gettext2.out): Likewise.
36240         ($(objpfx)tst-gettext4.out): Likewise.
36241         ($(objpfx)tst-gettext6.out): Likewise.
36242         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
36243         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
36244         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
36245         ($(objpfx)tst-fopenloc-mem.out): Likewise.
36246         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
36247         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
36248         * posix/Makefile ($(objpfx)globtest.out): Likewise.
36249         ($(objpfx)wordexp-tst.out): Likewise.
36250         ($(objpfx)annexc.out): Likewise.
36251         ($(objpfx)tst-fnmatch-mem): Likewise.
36252         ($(objpfx)bug-regex2-mem): Likewise.
36253         ($(objpfx)bug-regex14-mem): Likewise.
36254         ($(objpfx)bug-regex21-mem): Likewise.
36255         ($(objpfx)bug-regex31-mem): Likewise.
36256         ($(objpfx)tst-vfork3-mem): Likewise.
36257         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
36258         ($(objpfx)tst-pcre-mem): Likewise.
36259         ($(objpfx)tst-boost-mem): Likewise.
36260         ($(objpfx)tst-getconf.out): Likewise.
36261         ($(objpfx)bug-ga2-mem): Likewise.
36262         ($(objpfx)bug-glob2-mem): Likewise.
36263         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
36264         ($(objpfx)mtrace-tst-leaks2): Likewise.
36265         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
36266         ($(objpfx)tst-printf.out): Likewise.
36267         ($(objpfx)tst-setvbuf1.out): Likewise.
36268         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
36269         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
36270         ($(objpfx)tst-fmtmsg.out): Likewise.
36271         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
36272         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
36274         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
36275         * bits/sigaction.h [__USE_MISC]: Likewise.
36276         * bits/waitstatus.h: Update #endif comments.
36277         * ctype/ctype.h: Likewise.
36278         * dirent/dirent.h: Likewise.
36279         [__USE_MISC]: Remove redundant conditionals.
36280         * grp/grp.h: Update #endif comments.
36281         [__USE_GNU]: Remove redundant conditionals.
36282         [__USE_MISC]: Likewise.
36283         * inet/netinet/in.h [__USE_GNU]: Likewise.
36284         * io/sys/stat.h [__USE_MISC]: Likewise.
36285         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
36286         * libio/bits/stdio.h: Update #endif comments.
36287         [__USE_MISC]: Remove redundant conditionals.
36288         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
36289         * libio/stdio.h: Update #endif comments.
36290         [__USE_MISC]: Remove redundant conditionals.
36291         * math/bits/math-finite.h [__USE_MISC]: Likewise.
36292         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
36293         * math/math.h: Update #else and #endif comments.
36294         [__USE_MISC]: Remove redundant conditionals.
36295         * misc/sys/uio.h: Update #endif comments.
36296         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
36297         * posix/glob.h [__USE_MISC]: Likewise.
36298         * posix/sys/types.h: Update #endif comments.
36299         [__USE_MISC]: Remove redundant conditionals.
36300         * posix/sys/wait.h: Update #endif comments.
36301         [__USE_MISC]: Remove redundant conditionals.
36302         * posix/unistd.h: Update #endif comments.
36303         [__USE_MISC]: Remove redundant conditionals.
36304         * pwd/pwd.h [__USE_GNU]: Likewise.
36305         [__USE_MISC]: Likewise.
36306         * resolv/netdb.h [__USE_GNU]: Likewise.
36307         * signal/signal.h: Update #endif comments.
36308         [__USE_MISC]: Remove redundant conditionals.
36309         * stdlib/stdlib.h: Update #else and #endif comments.
36310         [__USE_MISC]: Remove redundant conditionals.
36311         [__USE_GNU]: Likewise.
36312         * string/bits/string2.h [__USE_MISC]: Likewise.
36313         * string/string.h: Update #endif comments.
36314         [__USE_MISC]: Remove redundant conditionals.
36315         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
36316         Likewise.
36317         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
36318         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
36319         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
36320         Likewise.
36321         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
36322         Likewise.
36323         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
36324         comments.
36325         [__USE_MISC]: Remove redundant conditionals.
36326         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
36327         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
36328         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
36329         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
36330         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
36331         Likewise.
36332         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
36333         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
36334         Likewise.
36335         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
36336         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
36337         Likewise.
36338         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
36339         Likewise.
36340         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
36341         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
36342         Likewise.
36343         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
36344         Likewise.
36345         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
36346         * sysdeps/x86/bits/string.h: Update #endif comments.
36347         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
36348         conditionals.
36349         * time/sys/time.h: Update #endif comments.
36350         * time/time.h: Likewise.
36351         [__USE_MISC]: Remove redundant conditionals.
36353 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
36355         [BZ #16600]
36356         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
36358 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
36360         * Versions.def (librt): Add GLIBC_2.17.
36362 2014-02-21  Adam Conrad  <adconrad@0c3.net>
36364         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
36365         synonym for _SYS_AUXV_H to allow direct inclusion.
36366         * sysdeps/sparc/bits/hwcap.h: Likewise.
36367         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
36368         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
36369         * sysdeps/sparc/sysdep.h: Likewise.
36371 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36373         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
36375 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
36377         * benchtests/bench-strrchr.c: Print length instead of position.
36379 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
36381         [BZ #16611]
36382         * sysdeps/unix/sysv/linux/kernel-features.h
36383         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
36384         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
36385         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
36386         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
36387         Likewise.
36388         [__i386__ || __powerpc__ || __sh__ || __sparc__]
36389         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36390         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
36391         (__ASSUME_SENDMMSG): Define instead of using previous
36392         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
36393         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
36394         (__ASSUME_SENDMMSG_SYSCALL): Define.
36395         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
36396         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
36397         Likewise.
36398         * sysdeps/unix/sysv/linux/arm/kernel-features.h
36399         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
36400         Likewise.
36401         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
36402         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
36403         Likewise.
36404         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
36405         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
36406         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
36407         [__ASSUME_SENDMMSG]: Change conditionals to
36408         [__ASSUME_SENDMMSG_SOCKETCALL].
36409         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36410         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
36411         Define.
36412         * sysdeps/unix/sysv/linux/mips/kernel-features.h
36413         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
36414         Likewise.
36415         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
36416         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
36417         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
36418         [!__ASSUME_SENDMMSG]: Change conditional to
36419         [!__ASSUME_SENDMMSG_SOCKETCALL].
36420         * sysdeps/unix/sysv/linux/tile/kernel-features.h
36421         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
36422         Define.
36424         [BZ #16610]
36425         * sysdeps/unix/sysv/linux/kernel-features.h
36426         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
36427         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
36428         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
36429         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
36430         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
36431         [__i386__ || __sparc__]
36432         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36433         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
36434         (__ASSUME_RECVMMSG): Define instead of using previous
36435         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
36436         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
36437         (__ASSUME_RECVMMSG_SYSCALL): Define.
36438         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
36439         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
36440         Likewise.
36441         * sysdeps/unix/sysv/linux/arm/kernel-features.h
36442         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
36443         Likewise.
36444         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
36445         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
36446         Likewise.
36447         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
36448         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
36449         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
36450         [__ASSUME_RECVMMSG]: Change condition to
36451         [__ASSUME_RECVMMSG_SOCKETCALL].
36452         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36453         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
36454         Define.
36455         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36456         * sysdeps/unix/sysv/linux/mips/kernel-features.h
36457         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
36458         Likewise.
36459         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
36460         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
36461         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
36462         [!__ASSUME_RECVMMSG]: Change condition to
36463         [!__ASSUME_RECVMMSG_SOCKETCALL].
36464         * sysdeps/unix/sysv/linux/tile/kernel-features.h
36465         (__ASSUME_RECVMMSG_SYSCALL): Define.
36467         [BZ #16609]
36468         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
36469         __powerpc__ || __s390__ || __sh__ || __sparc__]
36470         (__ASSUME_SOCKETCALL): Define.
36471         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
36472         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
36473         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
36474         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
36475         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
36476         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
36477         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
36478         (__ASSUME_ACCEPT4): Define instead of using previous
36479         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
36480         __powerpc__ || __sparc__ || __s390__)] condition.
36481         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
36482         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
36483         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
36484         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
36485         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
36486         [!__ASSUME_ACCEPT4]: Change condition to
36487         [!__ASSUME_ACCEPT4_SOCKETCALL].
36488         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
36489         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
36490         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
36491         * sysdeps/unix/sysv/linux/arm/kernel-features.h
36492         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
36493         __ASSUME_ACCEPT4_SYSCALL.
36494         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
36495         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
36496         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
36497         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
36498         __ASSUME_ACCEPT4_SYSCALL.
36499         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
36500         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
36501         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
36502         [__ASSUME_ACCEPT4]: Change condition to
36503         [__ASSUME_ACCEPT4_SOCKETCALL].
36504         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
36505         (__ASSUME_SOCKETCALL): Define.
36506         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
36507         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36508         (__ASSUME_SOCKETCALL): Define.
36509         (__ASSUME_ACCEPT4): Remove.
36510         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
36511         Define.
36512         * sysdeps/unix/sysv/linux/mips/kernel-features.h
36513         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
36514         Likewise.
36515         * sysdeps/unix/sysv/linux/tile/kernel-features.h
36516         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
36518         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
36519         macro.
36520         (HWCAP_ARM_LPAE): Likewise.
36521         (HWCAP_ARM_EVTSTRM): Likewise.
36522         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
36523         Add vpfd32, lpae and evtstrm.
36524         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
36525         Increase to 22.
36527 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
36529         * math/auto-libm-test-in: Add tests of clog10.
36530         * math/auto-libm-test-out: Regenerated.
36531         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
36532         * sysdeps/i386/fpu/libm-test-ulps: Update.
36533         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36535 2014-02-18  Andreas Schwab  <schwab@suse.de>
36537         [BZ #16574]
36538         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
36539         Store non-zero if the second buffer was newly allocated.
36540         (send_dg): Likewise.
36541         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
36542         to send_vc and send_dg.
36543         (res_nsend): Pass NULL for ansp2_malloced.
36544         * resolv/res_query.c (__libc_res_nquery): Add parameter
36545         answerp2_malloced and pass it down to __libc_res_nsend.
36546         (res_nquery): Pass additional NULL to __libc_res_nquery.
36547         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
36548         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
36549         second answer buffer if answerp2_malloced was set.
36550         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
36551         (__libc_res_nquerydomain): Add parameter
36552         answerp2_malloced and pass it down to __libc_res_nquery.
36553         (res_nquerydomain): Pass additional NULL to
36554         __libc_res_nquerydomain.
36555         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
36556         additional NULL to __libc_res_nsend and __libc_res_nquery.
36557         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
36558         additional NULL to __libc_res_nsearch.
36559         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
36560         parameter of __libc_res_nsearch to check for separately allocated
36561         second buffer.
36562         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
36563         __libc_res_nquery.
36564         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
36565         additional NULL to __libc_res_nquery.
36566         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
36567         __libc_res_nsearch.
36568         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
36569         * include/resolv.h: Update prototypes of __libc_res_nquery,
36570         __libc_res_nsearch, __libc_res_nsend.
36572 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
36574         * math/auto-libm-test-in: Add tests of fma.
36575         * math/auto-libm-test-out: Regenerated.
36576         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
36577         (fma_towardzero_test_data): Likewise.
36578         (fma_downward_test_data): Likewise.
36579         (fma_upward_test_data): Likewise.
36580         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
36581         mpc_mode.
36582         (rounding_modes): Add values for new field.
36583         (func_calc_method): Add value mpfr_fff_f.
36584         (func_calc_desc): Add mpfr_fff_f union field.
36585         (test_function): Add field exact_args.
36586         (FUNC): Add macro argument EXACT_ARGS.
36587         (FUNC_mpfr_f_f): Update call to FUNC.
36588         (FUNC_mpfr_f_f): Likewise.
36589         (FUNC_mpfr_ff_f): Likewise.
36590         (FUNC_mpfr_if_f): Likewise.
36591         (FUNC_mpc_c_f): Likewise.
36592         (FUNC_mpc_c_c): Likewise.
36593         (test_functions): Add fma.  Update calls to FUNC.
36594         (handle_input_arg): Add argument exact_args.
36595         (add_test): Update call to handle_input_arg.
36596         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
36597         (output_for_one_input_case): Update call to calc_generic_results.
36598         Recalculate exact zero results in each rounding mode.
36600         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
36601         non-negative before setting low bit.
36602         * math/auto-libm-test-in: Mark one asin test possibly having
36603         spurious underflow.
36604         * math/auto-libm-test-out: Regenerated.
36605         * sysdeps/i386/fpu/libm-test-ulps: Update.
36606         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36608 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
36610         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
36611         * sysdeps/unix/sysv/linux/microblaze: Move directory from
36612         ports/sysdeps/unix/sysv/linux/microblaze.
36613         * README: Add missing listing for microblaze*-*-linux-gnu.
36615 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
36617         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
36618         duplicate code
36620 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
36622         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
36623         * sysdeps/unix/sysv/linux/ia64: Move directory from
36624         ports/sysdeps/unix/sysv/linux/ia64.
36625         * README: Update listing for ia64-*-linux-gnu.
36627 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
36628             Joseph Myers  <joseph@codesourcery.com>
36630         * Makeconfig (test-name): New variable.
36631         (evaluate-test): Likewise.
36632         * Makerules (do-test-clean): Remove .test-result files.
36633         (common-mostlyclean): Likewise.
36634         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
36635         * scripts/evaluate-test.sh: New file.
36637 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
36639         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
36640         separate $(objpfx)tst-fopenloc-cmp.out and
36641         $(objpfx)tst-fopenloc-mem.out targets.
36642         (tests): Update dependencies.
36643         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
36644         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
36645         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
36646         (tst-rxspencer-no-utf8-ARGS): New variable.
36647         (tst-rxspencer-no-utf8-ENV): Likewise.
36648         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
36649         instead of $(objpfx)tst-rxspencer-mem.
36650         ($(objpfx)tst-rxspencer-mem): Change target to
36651         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
36652         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
36653         * posix/tst-rxspencer-no-utf8.c: New file.
36655         * elf/Makefile ($(objpfx)order.out): Remove rule.
36656         [$(run-built-tests) = yes] (tests): Depend on
36657         $(objpfx)order-cmp.out.
36658         ($(objpfx)order-cmp.out): New rule.
36659         [$(run-built-tests) = yes] (tests): Depend on
36660         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
36661         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
36662         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
36663         $(objpfx)tst-array5-static-cmp.out.
36664         ($(objpfx)tst-array1.out): Remove rule.
36665         ($(objpfx)tst-array1-cmp.out): New rule.
36666         ($(objpfx)tst-array1-static.out): Remove rule.
36667         ($(objpfx)tst-array1-static-cmp.out): New rule.
36668         ($(objpfx)tst-array2.out): Remove rule.
36669         ($(objpfx)tst-array2-cmp.out): New rule.
36670         ($(objpfx)tst-array3.out): Remove rule.
36671         ($(objpfx)tst-array3-cmp.out): New rule.
36672         ($(objpfx)tst-array4.out): Remove rule.
36673         ($(objpfx)tst-array4-cmp.out): New rule.
36674         ($(objpfx)tst-array5.out): Remove rule.
36675         ($(objpfx)tst-array5-cmp.out): New rule.
36676         ($(objpfx)tst-array5-static.out): Remove rule.
36677         ($(objpfx)tst-array5-static-cmp.out): New rule.
36678         [$(run-built-tests) = yes] (tests): Depend on
36679         $(objpfx)order2-cmp.out.
36680         ($(objpfx)order2.out): Remove rule.
36681         ($(objpfx)order2-cmp.out): New rule.
36682         ($(objpfx)tst-initorder.out): Remove rule.
36683         [$(run-built-tests) = yes] (tests): Depend on
36684         $(objpfx)tst-initorder-cmp.out.
36685         ($(objpfx)tst-initorder-cmp.out): New rule.
36686         ($(objpfx)tst-initorder2.out): Remove rule.
36687         [$(run-built-tests) = yes] (tests): Depend on
36688         $(objpfx)tst-initorder2-cmp.out.
36689         ($(objpfx)tst-initorder2-cmp.out): New rule.
36690         [$(run-built-tests) = yes] (tests): Depend on
36691         $(objpfx)tst-unused-dep-cmp.out.
36692         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
36693         ($(objpfx)tst-unused-dep-cmp.out): New rule.
36694         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
36695         on $(objpfx)tst-setvbuf1-cmp.out.
36696         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
36697         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
36698         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
36699         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
36700         ($(objpfx)tst-svc.out): Remove rule.
36701         ($(objpfx)tst-svc-cmp.out): New rule.
36703 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
36705         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
36706         * ctype/ctype.h [__USE_MISC]: Likewise.
36707         * dirent/dirent.h [__USE_MISC]: Likewise.
36708         * grp/grp.h [__USE_MISC]: Likewise.
36709         * io/fcntl.h [__USE_MISC]: Likewise.
36710         * io/sys/stat.h [__USE_MISC]: Likewise.
36711         * libio/stdio.h [__USE_MISC]: Likewise.
36712         * posix/unistd.h [__USE_MISC]: Likewise.
36713         * pwd/pwd.h [__USE_MISC]: Likewise.
36714         * stdlib.h [__USE_MISC]: Likewise.
36715         * string/bits/string2.h [__USE_MISC]: Likewise.
36716         * string/string.h [__USE_MISC]: Likewise.
36717         * time/time.h [__USE_MISC]: Likewise.
36719 2014-02-13  Andreas Schwab  <schwab@suse.de>
36721         [BZ #16574]
36722         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
36723         second answer buffer if it was separately allocated.
36725 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
36727         * sysdeps/mips/math-tests.h: Include <features.h>.
36728         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
36729         (ROUNDING_TESTS_long_double): Do not define.
36730         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
36731         (EXCEPTION_TESTS_long_double): Likewise.
36732         * sysdeps/mips/mips64/libm-test-ulps: Update.
36734         * include/features.h (__USE_BSD): Remove macro definitions.
36735         (__USE_SVID): Likewise.
36736         (_BSD_SOURCE): Likewise.
36737         (_SVID_SOURCE): Likewise.
36738         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
36739         from definition of _DEFAULT_SOURCE.
36740         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
36741         [_DEFAULT_SOURCE].
36742         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
36743         * bits/mman.h [__USE_BSD]: Likewise.
36744         * bits/termios.h [__USE_BSD]: Likewise.
36745         * bits/waitstatus.h [__USE_BSD]: Likewise.
36746         * ctype/ctype.h [__USE_SVID]: Likewise.
36747         * dirent/dirent.h [__USE_BSD]: Likewise.
36748         * grp/grp.h [__USE_SVID]: Likewise.
36749         [__USE_BSD]: Likewise.
36750         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
36751         * io/fcntl.h [__USE_BSD]: Likewise.
36752         * io/ftw.h [__USE_BSD]: Likewise.
36753         * io/sys/stat.h [__USE_BSD]: Likewise.
36754         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
36755         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
36756         * libio/stdio.h [__USE_SVID]: Likewise.
36757         [__USE_BSD]: Likewise.
36758         * math/math.h [__USE_SVID]: Likewise.
36759         [__USE_BSD]: Likewise.
36760         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
36761         * misc/bits/syslog.h [__USE_BSD]: Likewise.
36762         * misc/search.h [__USE_SVID]: Likewise.
36763         * misc/sys/mman.h [__USE_BSD]: Likewise.
36764         * misc/sys/syslog.h [__USE_BSD]: Likewise.
36765         * misc/sys/uio.h [__USE_BSD]: Likewise.
36766         * posix/bits/unistd.h [__USE_BSD]: Likewise.
36767         * posix/glob.h [__USE_BSD]: Likewise.
36768         * posix/regex.h [__USE_BSD]: Likewise.
36769         * posix/sys/types.h [__USE_BSD]: Likewise.
36770         [__USE_SVID]: Likewise.
36771         * posix/sys/utsname.h [__USE_SVID]: Likewise.
36772         * posix/sys/wait.h [__USE_BSD]: Likewise.
36773         [__USE_SVID]: Likewise.
36774         * posix/unistd.h [__USE_BSD]: Likewise.
36775         [__USE_SVID]: Likewise.
36776         * pwd/pwd.h [__USE_SVID]: Likewise.
36777         * resolv/netdb.h [__USE_BSD]: Likewise.
36778         * setjmp/setjmp.h [__USE_BSD]: Likewise.
36779         * signal/signal.h [__USE_BSD]: Likewise.
36780         [__USE_SVID]: Likewise.
36781         * socket/sys/socket.h [__USE_BSD]: Likewise.
36782         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
36783         * stdlib/stdlib.h [__USE_BSD]: Likewise.
36784         [__USE_SVID]: Likewise.
36785         * string/bits/string2.h [__USE_BSD]: Likewise.
36786         [__USE_SVID]: Likewise.
36787         * string/bits/string3.h [__USE_BSD]: Likewise.
36788         * string/endian.h [__USE_BSD]: Likewise.
36789         * string/string.h [__USE_SVID]: Likewise.
36790         [__USE_BSD]: Likewise.
36791         * string/strings.h [__USE_BSD]: Likewise.
36792         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
36793         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
36794         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
36795         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
36796         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
36797         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
36798         Likewise.
36799         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
36800         Likewise.
36801         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
36802         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
36803         Likewise.
36804         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
36805         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
36806         Likewise.
36807         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
36808         Likewise.
36809         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
36810         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
36811         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
36812         Likewise.
36813         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
36814         Likewise.
36815         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
36816         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
36817         * termios/termios.h [__USE_BSD]: Likewise.
36818         * time/sys/time.h [__USE_BSD]: Likewise.
36819         * time/time.h [__USE_BSD]: Likewise.
36820         [__USE_SVID]: Likewise.
36822         * Makefile (subdir_targets): Remove subdir_lint.out.
36824         * stdio-common/Makefile (do-tst-unbputc): Remove target.
36825         (do-tst-printf): Likewise.
36826         (tests): Depend directly on $(objpfx)tst-unbputc.out and
36827         $(objpfx)tst-printf.out.
36829         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
36831         * Makerules (check-abi-%): Change target to
36832         $(objpfx)check-abi-%.out.
36833         (check-abi target): Update dependencies.
36834         (check-abi-pattern variable): Redirect output of diff to $@.
36835         (check-abi variable): Likewise.
36836         * elf/Makefile (check-abi): Update dependencies.
36838         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
36839         unused.
36840         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
36841         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
36842         subnormal range.
36843         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
36844         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
36845         value has largest subnormal exponent.
36846         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
36847         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
36848         * sysdeps/aarch64/soft-fp/sfp-machine.h
36849         (_FP_TININESS_AFTER_ROUNDING): New macro.
36850         * sysdeps/alpha/soft-fp/sfp-machine.h
36851         (_FP_TININESS_AFTER_ROUNDING): Likewise.
36852         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
36853         Likewise.
36854         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
36855         (_FP_TININESS_AFTER_ROUNDING): Likewise.
36856         * sysdeps/mips/soft-fp/sfp-machine.h
36857         (_FP_TININESS_AFTER_ROUNDING): Likewise.
36858         * sysdeps/powerpc/soft-fp/sfp-machine.h
36859         (_FP_TININESS_AFTER_ROUNDING): Likewise.
36860         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
36861         Likewise.
36862         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
36863         (_FP_TININESS_AFTER_ROUNDING): Likewise.
36864         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
36865         (_FP_TININESS_AFTER_ROUNDING): Likewise.
36866         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
36867         Likewise.
36869 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
36871         [BZ #16545]
36872         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
36873         model 1.
36875 2014-02-12  Richard Henderson  <rth@redhat.com>
36877         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
36878         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
36879         * sysdeps/unix/sysv/linux/alpha: Move directory from
36880         ports/sysdeps/unix/sysv/linux/alpha.
36881         * README: Update listing for alpha-*-linux-gnu.
36883 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
36885         * include/features.h: Update comment documenting feature test
36886         macros.
36887         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
36888         _DEFAULT_SOURCE.
36889         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
36890         (_SVID_SOURCE): Likewise.
36891         (_DEFAULT_SOURCE): Update description of default features.
36892         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
36893         with _GNU_SOURCE.
36894         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
36895         (S_ISVTX): Likewise.
36896         * manual/math.texi (Mathematical Constants): Likewise.
36897         * manual/signal.texi (Interrupted Primitives): Likewise.
36898         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
36899         * math/test-matherr.c (_SVID_SOURCE): Do not define.
36900         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
36901         Don't refer to _SVID_SOURCE in warning text.
36903         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36905         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
36906         already defined.
36907         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
36908         * sysdeps/mips/dl-lookup.c: Remove.
36909         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
36911 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
36913         [BZ #16447]
36914         * math/auto-libm-test-in: Add testcase for expl.
36915         * math/auto-libm-test-out: Regenerate.
36916         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
36917         calculation of unsafe.
36918         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
36920 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
36922         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
36923         * sysdeps/unix/sysv/linux/aarch64: Move directory from
36924         ports/sysdeps/unix/sysv/linux/aarch64.
36925         * README: Update listing for aarch64*-*-linux-gnu.
36927 2014-02-11  Will Newton  <will.newton@linaro.org>
36929         * manual/probes.texi (Mathematical Function Probes): Use
36930         "triggered" instead of "hit".
36932         * manual/probes.texi (Internal Probes): Add documentation
36933         of setjmp, longjmp and longjmp_target probes.
36935         * include/stap-probe.h: Add comment about probe argument
36936         format.
36938         * malloc/mtrace.c (attribute_hidden): Remove unused macro
36939         definition.  (tr_where, tr_freehook, tr_mallochook,
36940         tr_reallochook, tr_memalignhook): Use ANSI protoype.
36942 2014-02-11  David S. Miller  <davem@davemloft.net>
36944         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
36945         processing int_tests.
36947 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
36949         * sysdeps/mips: Move directory from ports/sysdeps/mips.
36950         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
36951         * sysdeps/unix/sysv/linux/mips: Move directory from
36952         ports/sysdeps/unix/sysv/linux/mips.
36953         * README: Update listing for mips-*-linux-gnu and
36954         mips64-*-linux-gnu.
36956 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
36958         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
36959         * sysdeps/unix/sysv/linux/m68k: Move directory from
36960         ports/sysdeps/unix/sysv/linux/m68k.
36961         * README: Update listing for m68k-*-linux-gnu.
36963 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
36965         * sysdeps/tile: Move directory from ports/sysdeps/tile.
36966         * sysdeps/unix/sysv/linux/generic: Move directory from
36967         ports/sysdeps/unix/sysv/linux/generic.
36968         * sysdeps/unix/sysv/linux/tile: Move directory from
36969         ports/sysdeps/unix/sysv/linux/tile.
36970         * README: Update listing for tile*-*-linux-gnu.
36972 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
36974         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
36975         __builtin_expect.
36976         * benchtests/bench-memmem.c (simple_memmem): Likewise.
36977         * catgets/open_catalog.c (__open_catalog): Likewise.
36978         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
36979         * debug/confstr_chk.c: Likewise.
36980         * debug/fread_chk.c (__fread_chk): Likewise.
36981         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
36982         * debug/getgroups_chk.c: Likewise.
36983         * debug/mbsnrtowcs_chk.c: Likewise.
36984         * debug/mbsrtowcs_chk.c: Likewise.
36985         * debug/mbstowcs_chk.c: Likewise.
36986         * debug/memcpy_chk.c: Likewise.
36987         * debug/memmove_chk.c: Likewise.
36988         * debug/mempcpy_chk.c: Likewise.
36989         * debug/memset_chk.c: Likewise.
36990         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
36991         * debug/strcat_chk.c (__strcat_chk): Likewise.
36992         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
36993         * debug/strncat_chk.c (__strncat_chk): Likewise.
36994         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
36995         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
36996         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
36997         * debug/wcpncpy_chk.c: Likewise.
36998         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
36999         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
37000         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
37001         * debug/wcsncpy_chk.c: Likewise.
37002         * debug/wcsnrtombs_chk.c: Likewise.
37003         * debug/wcsrtombs_chk.c: Likewise.
37004         * debug/wcstombs_chk.c: Likewise.
37005         * debug/wmemcpy_chk.c: Likewise.
37006         * debug/wmemmove_chk.c: Likewise.
37007         * debug/wmempcpy_chk.c: Likewise.
37008         * debug/wmemset_chk.c: Likewise.
37009         * dirent/scandirat.c (SCANDIRAT): Likewise.
37010         * dlfcn/dladdr1.c (dladdr1): Likewise.
37011         * dlfcn/dladdr.c (dladdr): Likewise.
37012         * dlfcn/dlclose.c (dlclose_doit): Likewise.
37013         * dlfcn/dlerror.c (__dlerror): Likewise.
37014         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
37015         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
37016         * dlfcn/dlopen.c (dlopen_doit): Likewise.
37017         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
37018         * dlfcn/dlsym.c (dlsym_doit): Likewise.
37019         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
37020         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
37021         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
37022         Likewise.
37023         * elf/dl-conflict.c: Likewise.
37024         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
37025         * elf/dl-dst.h: Likewise.
37026         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
37027         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
37028         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
37029         * elf/dl-init.c (call_init, _dl_init): Likewise.
37030         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
37031         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
37032         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
37033         Likewise.
37034         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
37035         Likewise.
37036         * elf/dl-minimal.c (__libc_memalign): Likewise.
37037         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
37038         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
37039         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
37040         * elf/dl-sym.c (do_sym): Likewise.
37041         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
37042         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
37043         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
37044         * elf/dl-writev.h (_dl_writev): Likewise.
37045         * elf/ldconfig.c (search_dir): Likewise.
37046         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
37047         (dl_main): Likewise.
37048         * elf/setup-vdso.h (setup_vdso): Likewise.
37049         * grp/compat-initgroups.c (compat_call): Likewise.
37050         * grp/fgetgrent.c (fgetgrent): Likewise.
37051         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
37052         * grp/putgrent.c (putgrent): Likewise.
37053         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
37054         Likewise.
37055         * hurd/hurdinit.c: Likewise.
37056         * iconvdata/8bit-gap.c (struct): Likewise.
37057         * iconvdata/ansi_x3.110.c : Likewise.
37058         * iconvdata/big5.c : Likewise.
37059         * iconvdata/big5hkscs.c : Likewise.
37060         * iconvdata/cp1255.c: Likewise.
37061         * iconvdata/cp1258.c : Likewise.
37062         * iconvdata/cp932.c : Likewise.
37063         * iconvdata/euc-cn.c: Likewise.
37064         * iconvdata/euc-jisx0213.c : Likewise.
37065         * iconvdata/euc-jp.c: Likewise.
37066         * iconvdata/euc-jp-ms.c : Likewise.
37067         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
37068         * iconvdata/gb18030.c : Likewise.
37069         * iconvdata/gbbig5.c (const): Likewise.
37070         * iconvdata/gbgbk.c: Likewise.
37071         * iconvdata/gbk.c : Likewise.
37072         * iconvdata/ibm1364.c : Likewise.
37073         * iconvdata/ibm930.c : Likewise.
37074         * iconvdata/ibm932.c: Likewise.
37075         * iconvdata/ibm933.c : Likewise.
37076         * iconvdata/ibm935.c : Likewise.
37077         * iconvdata/ibm937.c : Likewise.
37078         * iconvdata/ibm939.c : Likewise.
37079         * iconvdata/ibm943.c: Likewise.
37080         * iconvdata/iso_11548-1.c: Likewise.
37081         * iconvdata/iso-2022-cn.c : Likewise.
37082         * iconvdata/iso-2022-cn-ext.c : Likewise.
37083         * iconvdata/iso-2022-jp-3.c: Likewise.
37084         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
37085         * iconvdata/iso-2022-kr.c : Likewise.
37086         * iconvdata/iso646.c (gconv_end): Likewise.
37087         * iconvdata/iso_6937-2.c : Likewise.
37088         * iconvdata/iso_6937.c : Likewise.
37089         * iconvdata/iso8859-1.c: Likewise.
37090         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
37091         * iconvdata/shift_jisx0213.c : Likewise.
37092         * iconvdata/sjis.c : Likewise.
37093         * iconvdata/t.61.c : Likewise.
37094         * iconvdata/tcvn5712-1.c : Likewise.
37095         * iconvdata/tscii.c: Likewise.
37096         * iconvdata/uhc.c : Likewise.
37097         * iconvdata/unicode.c (gconv_end): Likewise.
37098         * iconvdata/utf-16.c (gconv_end): Likewise.
37099         * iconvdata/utf-32.c (gconv_end): Likewise.
37100         * iconvdata/utf-7.c (base64): Likewise.
37101         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
37102         * iconv/gconv_close.c (__gconv_close): Likewise.
37103         * iconv/gconv_open.c (__gconv_open): Likewise.
37104         * iconv/gconv_simple.c (internal_ucs4_loop_single)
37105         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
37106         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
37107         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
37108         (ucs4le_internal_loop_single): Likewise.
37109         * iconv/iconv.c (iconv): Likewise.
37110         * iconv/iconv_close.c: Likewise.
37111         * iconv/loop.c (SINGLE): Likewise.
37112         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
37113         * include/atomic.h: Likewise.
37114         * inet/inet6_option.c (option_alloc): Likewise.
37115         * intl/bindtextdom.c (set_binding_values): Likewise.
37116         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
37117         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
37118         * intl/localealias.c (read_alias_file): Likewise.
37119         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
37120         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
37121         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
37122         * libio/fmemopen.c (fmemopen): Likewise.
37123         * libio/iofgets.c (_IO_fgets): Likewise.
37124         * libio/iofgets_u.c (fgets_unlocked): Likewise.
37125         * libio/iofgetws.c (fgetws): Likewise.
37126         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
37127         * libio/iogetdelim.c (_IO_getdelim): Likewise.
37128         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
37129         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
37130         * locale/findlocale.c (_nl_find_locale): Likewise.
37131         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
37132         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
37133         Likewise.
37134         * locale/setlocale.c (setlocale): Likewise.
37135         * login/programs/pt_chown.c (main): Likewise.
37136         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
37137         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
37138         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
37139         (mmap, mmap64, mremap, munmap): Likewise.
37140         * math/e_exp2l.c: Likewise.
37141         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
37142         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
37143         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
37144         * math/s_catan.c (__catan): Likewise.
37145         * math/s_catanf.c (__catanf): Likewise.
37146         * math/s_catanh.c (__catanh): Likewise.
37147         * math/s_catanhf.c (__catanhf): Likewise.
37148         * math/s_catanhl.c (__catanhl): Likewise.
37149         * math/s_catanl.c (__catanl): Likewise.
37150         * math/s_ccosh.c (__ccosh): Likewise.
37151         * math/s_ccoshf.c (__ccoshf): Likewise.
37152         * math/s_ccoshl.c (__ccoshl): Likewise.
37153         * math/s_cexp.c (__cexp): Likewise.
37154         * math/s_cexpf.c (__cexpf): Likewise.
37155         * math/s_cexpl.c (__cexpl): Likewise.
37156         * math/s_clog10.c (__clog10): Likewise.
37157         * math/s_clog10f.c (__clog10f): Likewise.
37158         * math/s_clog10l.c (__clog10l): Likewise.
37159         * math/s_clog.c (__clog): Likewise.
37160         * math/s_clogf.c (__clogf): Likewise.
37161         * math/s_clogl.c (__clogl): Likewise.
37162         * math/s_csin.c (__csin): Likewise.
37163         * math/s_csinf.c (__csinf): Likewise.
37164         * math/s_csinh.c (__csinh): Likewise.
37165         * math/s_csinhf.c (__csinhf): Likewise.
37166         * math/s_csinhl.c (__csinhl): Likewise.
37167         * math/s_csinl.c (__csinl): Likewise.
37168         * math/s_csqrt.c (__csqrt): Likewise.
37169         * math/s_csqrtf.c (__csqrtf): Likewise.
37170         * math/s_csqrtl.c (__csqrtl): Likewise.
37171         * math/s_ctan.c (__ctan): Likewise.
37172         * math/s_ctanf.c (__ctanf): Likewise.
37173         * math/s_ctanh.c (__ctanh): Likewise.
37174         * math/s_ctanhf.c (__ctanhf): Likewise.
37175         * math/s_ctanhl.c (__ctanhl): Likewise.
37176         * math/s_ctanl.c (__ctanl): Likewise.
37177         * math/w_pow.c: Likewise.
37178         * math/w_powf.c: Likewise.
37179         * math/w_powl.c: Likewise.
37180         * math/w_scalb.c (sysv_scalb): Likewise.
37181         * math/w_scalbf.c (sysv_scalbf): Likewise.
37182         * math/w_scalbl.c (sysv_scalbl): Likewise.
37183         * misc/error.c (error_tail): Likewise.
37184         * misc/pselect.c (__pselect): Likewise.
37185         * nis/nis_callback.c (__nis_create_callback): Likewise.
37186         * nis/nis_call.c (__nisfind_server): Likewise.
37187         * nis/nis_creategroup.c (nis_creategroup): Likewise.
37188         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
37189         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
37190         * nis/nis_getservlist.c (nis_getservlist): Likewise.
37191         * nis/nis_lookup.c (nis_lookup): Likewise.
37192         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
37193         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
37194         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
37195         * nis/nis_xdr.c (xdr_endpoint): Likewise.
37196         * nis/nss_compat/compat-grp.c (getgrent_next_file)
37197         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
37198         * nis/nss_compat/compat-initgroups.c (add_group)
37199         (internal_getgrent_r): Likewise.
37200         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
37201         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
37202         * nis/nss_compat/compat-spwd.c (getspent_next_file)
37203         (internal_getspnam_r): Likewise.
37204         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
37205         (_nss_nis_getaliasbyname_r): Likewise.
37206         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
37207         (_nss_nis_getntohost_r): Likewise.
37208         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
37209         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
37210         (_nss_nis_getgrgid_r): Likewise.
37211         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
37212         (internal_nis_gethostent_r, internal_gethostbyname2_r)
37213         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
37214         (_nss_nis_gethostbyname4_r): Likewise.
37215         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
37216         (initgroups_netid): Likewise.
37217         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
37218         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
37219         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
37220         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
37221         (_nss_nis_getprotobynumber_r): Likewise.
37222         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
37223         (_nss_nis_getsecretkey): Likewise.
37224         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
37225         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
37226         (_nss_nis_getpwuid_r): Likewise.
37227         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
37228         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
37229         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
37230         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
37231         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
37232         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
37233         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
37234         Likewise.
37235         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
37236         (_nss_nisplus_getntohost_r): Likewise.
37237         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
37238         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
37239         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
37240         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
37241         Likewise.
37242         * nis/nss_nisplus/nisplus-initgroups.c
37243         (_nss_nisplus_initgroups_dyn): Likewise.
37244         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
37245         (_nss_nisplus_getnetbyaddr_r): Likewise.
37246         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
37247         (_nss_nisplus_getprotobynumber_r): Likewise.
37248         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
37249         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
37250         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
37251         Likewise.
37252         * nis/nss_nisplus/nisplus-service.c
37253         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
37254         (_nss_nisplus_getservbyport_r): Likewise.
37255         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
37256         (_nss_nisplus_getspnam_r): Likewise.
37257         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
37258         Likewise.
37259         * nscd/aicache.c (addhstaiX): Likewise.
37260         * nscd/cache.c (cache_search, prune_cache): Likewise.
37261         * nscd/connections.c (register_traced_file, send_ro_fd)
37262         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
37263         (main_loop_epoll): Likewise.
37264         * nscd/grpcache.c (addgrbyX): Likewise.
37265         * nscd/hstcache.c (addhstbyX): Likewise.
37266         * nscd/initgrcache.c (addinitgroupsX): Likewise.
37267         * nscd/mem.c (gc, mempool_alloc): Likewise.
37268         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
37269         (addinnetgrX): Likewise.
37270         * nscd/nscd-client.h (__nscd_acquire_maplock)
37271         (__nscd_drop_map_ref): Likewise.
37272         * nscd/nscd_getai.c (__nscd_getai): Likewise.
37273         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
37274         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
37275         Likewise.
37276         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
37277         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
37278         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
37279         (__nscd_get_map_ref): Likewise.
37280         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
37281         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
37282         Likewise.
37283         * nscd/pwdcache.c (addpwbyX): Likewise.
37284         * nscd/selinux.c (preserve_capabilities): Likewise.
37285         * nscd/servicescache.c (addservbyX): Likewise.
37286         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
37287         * posix/fnmatch.c (fnmatch): Likewise.
37288         * posix/getopt.c (_getopt_internal_r): Likewise.
37289         * posix/glob.c (glob, glob_in_dir): Likewise.
37290         * posix/wordexp.c (exec_comm_child): Likewise.
37291         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
37292         (getanswer_r, gaih_getanswer_slice): Likewise.
37293         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
37294         * resolv/res_init.c: Likewise.
37295         * resolv/res_mkquery.c (res_nmkquery): Likewise.
37296         * resolv/res_query.c (__libc_res_nquery): Likewise.
37297         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
37298         Likewise.
37299         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
37300         * stdio-common/perror.c (perror): Likewise.
37301         * stdio-common/printf_fp.c (___printf_fp): Likewise.
37302         * stdio-common/tmpnam.c (tmpnam): Likewise.
37303         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
37304         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
37305         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
37306         Likewise.
37307         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
37308         * stdlib/putenv.c (putenv): Likewise.
37309         * stdlib/setenv.c (__add_to_environ): Likewise.
37310         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
37311         * stdlib/strtol_l.c (INTERNAL): Likewise.
37312         * string/memmem.c (memmem): Likewise.
37313         * string/strerror.c (strerror): Likewise.
37314         * string/strnlen.c (__strnlen): Likewise.
37315         * string/test-memmem.c (simple_memmem): Likewise.
37316         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
37317         * sunrpc/pm_getport.c (__get_socket): Likewise.
37318         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
37319         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
37320         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
37321         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
37322         Likewise.
37323         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
37324         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
37325         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
37326         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
37327         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
37328         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
37329         Likewise.
37330         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
37331         Likewise.
37332         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
37333         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
37334         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
37335         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
37336         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
37337         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
37338         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
37339         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
37340         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
37341         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
37342         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
37343         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
37344         Likewise.
37345         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
37346         Likewise.
37347         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
37348         Likewise.
37349         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
37350         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
37351         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
37352         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
37353         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
37354         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
37355         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
37356         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
37357         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
37358         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
37359         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
37360         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
37361         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
37362         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
37363         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37364         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
37365         Likewise.
37366         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
37367         Likewise.
37368         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
37369         Likewise.
37370         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
37371         Likewise.
37372         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
37373         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37374         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
37375         Likewise.
37376         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
37377         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
37378         * sysdeps/posix/opendir.c (__opendirat): Likewise.
37379         * sysdeps/posix/sleep.c: Likewise.
37380         * sysdeps/posix/tempname.c: Likewise.
37381         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
37382         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
37383         Likewise.
37384         * sysdeps/powerpc/powerpc32/dl-machine.h
37385         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
37386         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
37387         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
37388         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
37389         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
37390         Likewise.
37391         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
37392         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
37393         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
37394         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
37395         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
37396         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
37397         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
37398         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
37399         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
37400         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
37401         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
37402         (elf_machine_lazy_rel): Likewise.
37403         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
37404         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
37405         (elf_machine_lazy_rel): Likewise.
37406         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
37407         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
37408         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
37409         * sysdeps/unix/grantpt.c (grantpt): Likewise.
37410         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
37411         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
37412         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
37413         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37414         Likewise.
37415         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
37416         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
37417         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
37418         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
37419         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
37420         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
37421         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
37422         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
37423         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
37424         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
37425         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
37426         Likewise.
37427         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
37428         (__posix_fallocate64_l64): Likewise.
37429         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
37430         (posix_fallocate): Likewise.
37431         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
37432         Likewise.
37433         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
37434         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
37435         (getifaddrs_internal): Likewise.
37436         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
37437         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
37438         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
37439         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
37440         * sysdeps/unix/sysv/linux/posix_fallocate64.c
37441         (__posix_fallocate64_l64): Likewise.
37442         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
37443         Likewise.
37444         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
37445         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
37446         (__get_clockfreq): Likewise.
37447         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
37448         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
37449         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
37450         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
37451         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
37452         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
37453         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
37454         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
37455         Likewise.
37456         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
37457         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
37458         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
37459         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
37460         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
37461         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
37462         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
37463         Likewise.
37464         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
37465         (posix_fallocate): Likewise.
37466         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
37467         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
37468         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
37469         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
37470         (elf_machine_rela, elf_machine_rela_relative)
37471         (elf_machine_lazy_rel): Likewise.
37472         * time/asctime.c (asctime_internal): Likewise.
37473         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
37474         * time/tzset.c (__tzset_parse_tz): Likewise.
37475         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
37476         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
37477         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
37478         * wcsmbs/wcsmbsload.h: Likewise.
37480         [BZ #15894]
37481         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
37483         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
37484         (arena_get2): Remove THREAD_STATS conditionals.
37485         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
37486         (__malloc_stats, int): Likewise.
37488 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
37490         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
37491         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
37493         * manual/setjmp.texi: Fix typos/grammar errors.
37495         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
37496         Only return early when n is <= 0.  Delete unused return statement.
37498         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
37499         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
37500         * debug/tst-longjmp_chk3.c: New file.
37502         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
37503         (test_main): Replace code with set_fortify_handler call.
37504         * debug/test-strcpy_chk.c: Likewise.
37505         * debug/tst-chk1.c: Likewise.
37506         * debug/tst-longjmp_chk.c: Likewise.
37507         * test-skeleton.c: Include fcntl.h & paths.h
37508         (set_fortify_handler): Define.
37510         * debug/tst-longjmp_chk.c: Add header comment and include
37511         ../test-skeleton.c.
37512         (do_test): Mark static.
37513         (TEST_FUNCTION): Define.
37515         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
37516         (IP_PMTUDISC_INTERFACE): Likewise.
37517         (IP_MULTICAST_IF): Likewise.
37518         (IP_MULTICAST_TTL): Likewise.
37519         (IP_MULTICAST_LOOP): Likewise.
37520         (IP_ADD_MEMBERSHIP): Likewise.
37521         (IP_DROP_MEMBERSHIP): Likewise.
37522         (IP_UNBLOCK_SOURCE): Likewise.
37523         (IP_BLOCK_SOURCE): Likewise.
37524         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
37525         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
37526         (IP_MSFILTER): Likewise.
37527         (MCAST_JOIN_GROUP): Likewise.
37528         (MCAST_BLOCK_SOURCE): Likewise.
37529         (MCAST_UNBLOCK_SOURCE): Likewise.
37530         (MCAST_LEAVE_GROUP): Likewise.
37531         (MCAST_JOIN_SOURCE_GROUP): Likewise.
37532         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
37533         (MCAST_MSFILTER): Likewise.
37534         (IP_MULTICAST_ALL): Likewise.
37535         (IP_UNICAST_IF): Likewise.
37537         * timezone/Makefile: Delete $(have-ksh) check.
37538         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
37539         * timezone/tzselect.ksh: Add +x mode bits.
37541         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
37542         (ANON_INODE_FS_MAGIC): Likewise.
37543         (BDEVFS_MAGIC): Likewise.
37544         (BINFMTFS_MAGIC): Likewise.
37545         (BTRFS_TEST_MAGIC): Likewise.
37546         (CRAMFS_MAGIC_WEND): Likewise.
37547         (DEBUGFS_MAGIC): Likewise.
37548         (ECRYPTFS_SUPER_MAGIC): Likewise.
37549         (EXT3_SUPER_MAGIC): Likewise.
37550         (EXT4_SUPER_MAGIC): Likewise.
37551         (FUTEXFS_SUPER_MAGIC): Likewise.
37552         (HOSTFS_SUPER_MAGIC): Likewise.
37553         (HUGETLBFS_MAGIC): Likewise.
37554         (MINIX3_SUPER_MAGIC): Likewise.
37555         (MTD_INODE_FS_MAGIC): Likewise.
37556         (NILFS_SUPER_MAGIC): Likewise.
37557         (OPENPROM_SUPER_MAGIC): Likewise.
37558         (PIPEFS_MAGIC): Likewise.
37559         (PSTOREFS_MAGIC): Likewise.
37560         (QNX6_SUPER_MAGIC): Likewise.
37561         (RAMFS_MAGIC): Likewise.
37562         (REISERFS_SUPER_MAGIC_STRING): Likewise.
37563         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
37564         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
37565         (SECURITYFS_MAGIC): Likewise.
37566         (SELINUX_MAGIC): Likewise.
37567         (SMACK_MAGIC): Likewise.
37568         (SOCKFS_MAGIC): Likewise.
37569         (SQUASHFS_MAGIC): Likewise.
37570         (STACK_END_MAGIC): Likewise.
37571         (TMPFS_MAGIC): Likewise.
37572         (USBDEVICE_SUPER_MAGIC): Likewise.
37573         (V9FS_MAGIC): Likewise.
37574         (XENFS_SUPER_MAGIC): Likewise.
37575         (CRAMFS_MAGIC): Fix typo in comment.
37576         (EXT2_SUPER_MAGIC): Update comment.
37577         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
37579 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
37581         * sysdeps/arm: Move directory from ports/sysdeps/arm.
37582         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
37583         * sysdeps/unix/sysv/linux/arm: Move directory from
37584         ports/sysdeps/unix/sysv/linux/arm.
37585         * README: Update listing for arm-*-linux-gnueabi.
37587         * README: Remove mention of am33.
37589 2014-02-07  Roland McGrath  <roland@hack.frob.com>
37591         * bits/sigset.h (__sigemptyset): Use a statement expression rather
37592         than the comma operator, to avoid "rhs of comma has no effect"
37593         compiler warnings.
37594         (__sigfillset, __sigandset, __sigorset): Likewise.
37595         * include/signal.h (__sigemptyset): Likewise.
37596         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
37598 2014-02-07  Allan McRae  <allan@archlinux.org>
37600         * version.h (RELEASE): Set to "development".
37601         (VERSION): Set to "2.19.90"
37602         * NEWS: Add 2.20 section.
37604 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
37606         [BZ #16529]
37607         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
37609 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
37611         * manual/contrib.texi: Update entry for Carlos O'Donell,
37612         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
37614 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
37616         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
37618         * sysdeps/unix/sysv/linux/kernel-features.h
37619         [__LINUX_KERNEL_VERSION >= 0x020621]
37620         (__ASSUME_PROC_PID_TASK_COMM): Define.
37622 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
37624         [BZ #16398]
37625         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
37626         conversion when destination buffer does not have enough space.
37627         * libio/tst-ftell-partial-wide.c: New test case.
37628         * libio/Makefile (tests): Add tst-ftell-partial-wide.
37630         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
37631         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
37632         Leonard and Allan McRae.
37634 2014-02-04  David S. Miller  <davem@davemloft.net>
37636         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
37637         32-bit.
37639 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
37642         New file
37643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
37644         New file
37645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
37646         New file.
37647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
37648         New file.
37649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
37650         New file.
37651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
37652         New file.
37653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
37654         New file.
37655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
37656         New file.
37657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
37658         New file.
37659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
37660         New file.
37661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
37662         New file.
37663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
37664         New file.
37665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
37666         New file.
37668 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37670         * nptl/shlib-versions: Change powerpc*le start to 2.17.
37671         * shlib-versions: Likewise.
37673 2014-02-04  Roland McGrath  <roland@hack.frob.com>
37674             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37676         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
37677         (abilist-pattern): New variable, set to %-le.abilist.
37679         * Makerules (abilist-pattern): New variable.
37680         (vpath): Use $(abilist-pattern) in place of %.abilist.
37681         (check-abi-% pattern rule): Likewise.
37682         (check-abi, update-abi): Likewise.
37684 2014-02-04  Eric Wong  <normalperson@yhbt.net>
37686         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37688 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
37690         * manual/startup.texi: Add next, previous, and top entries for
37691         the `Program Arguments' and `Environment Variables' nodes.
37693 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
37695         * manual/macros.texi: Add comments before MTASC-safety macros.
37697         * manual/users.texi: Document MTASC-safety properties.
37699         * manual/threads.texi (pthread_key_create, pthread_key_delete)
37700         (pthread_getspecific, pthread_setspecific): Format with
37701         @deftypefun, and add @safety note.
37702         * manual/signal.texi: Move comments that analyze the above
37703         functions to their home place.
37705 2014-02-03  Allan McRae  <allan@archlinux.org>
37707         * po/sl.po: Update Slovenian translation from translation project.
37709 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
37711         * manual/time.texi (timegm): Add missing blank after @c.
37712         Reported by Joseph Myers <joseph@codesourcery.com>.
37714 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
37716         * manual/check-safety.sh: New.
37717         * manual/Makefile ($(objpfx)stamp-summary): Run it.
37719         * manual/terminal.texi: Document MTASC-safety properties.
37721         * manual/filesys.texi: Document MTASC-safety properties.
37723         * manual/errno.texi: Document MTASC-safety properties.
37725         * manual/intro.texi: Document safety identifiers and
37726         conditionals.
37728         * manual/string.texi (wcstok): Fix prototype.
37729         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
37731         * manual/time.texi: Document MTASC-safety properties.
37733         * manual/string.texi: Document MTASC-safety properties.
37735         * manual/threads.texi: Document MTASC-safety properties.
37737         * manual/stdio.texi: Document MTASC-safety properties.
37739         * manual/syslog.texi: Document MTASC-safety properties.
37741         * manual/sysinfo.texi: Document MTASC-safety properties.
37743         * manual/startup.texi: Document MTASC-safety properties.
37745         * manual/socket.texi: Document MTASC-safety properties.
37747         * manual/signal.texi: Document MTASC-safety properties.
37749 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
37751         * manual/setjmp.texi: Document MTASC-safety properties.
37753         * manual/search.texi: Document MTASC-safety properties.
37755         * manual/resource.texi: Document MTASC-safety properties.
37757         * manual/process.texi: Document MTASC-safety properties.
37759         * manual/platform.texi: Document MTASC-safety properties.
37761         * manual/pipe.texi: Document MTASC-safety properties.
37763         * manual/pattern.texi: Document MTASC-safety properties.
37765         * manual/message.texi: Document MTASC-safety properties.
37767         [BZ #12751]
37768         * manual/memory.texi: Document MTASC-safety properties.
37770         * manual/math.texi: Document MTASC-safety properties.
37772         * manual/locale.texi: Document MTASC-safety properties.
37774         * manual/llio.texi: Document MTASC-safety properties.
37776         * manual/libdl.texi: New.
37778         * manual/lang.texi: Document MTASC-safety properties.
37780         * manual/job.texi: Document MTASC-safety properties.
37782         * manual/getopt.texi: Document MTASC-safety properties.
37784         * manual/ctype.texi: Document MTASC-safety properties.
37786 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
37788         [BZ #16046]
37789         * csu/libc-tls.c (static_map): Remove variable.
37790         (__libc_setup_tls): Use main executable's link map for TLS data.
37791         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
37792         casing for LM_ID_BASE and GL(dl_nns).
37793         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
37794         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
37795         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
37796         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
37797         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
37798         member.
37799         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
37800         l_phnum members.
37802 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
37804         * manual/debug.texi: Document MTASC-safety properties.
37806 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
37808         [BZ #16510]
37809         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
37810         of __x86_64__ when disabling x87 inline functions.
37812 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
37814         * manual/charset.texi: Document MTASC-safety properties.
37816         * manual/crypt.texi: Document MTASC-safety properties.
37818         * manual/conf.texi: Document MTASC-safety properties.
37820         * manual/arith.texi: Document MTASC-safety properties.
37822         * manual/argp.texi: Document MTASC-safety properties.
37824         * manual/macros.texi: Introduce macros to document multi
37825         thread, asynchronous signal and asynchronous cancellation
37826         safety properties.
37827         * manual/intro.texi: Introduce the properties themselves.
37829 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37831         * sysdeps/sh/sh4/Makefile: New file.
37833 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
37835         * math/gen-libm-test.pl ($srcdir): New variable.
37836         ($auto_input): Use it.
37838 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37840         [BZ #16506]
37841         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
37842         access beyond array bounds when parsing netgroups file.
37844         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
37845         the old buffer before realloc.
37847 2014-01-27  Allan McRae  <allan@archlinux.org>
37849         * po/fr.po: Update French translation from translation project.
37851 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37853         * sysdeps/sh/libm-test-ulps: Regenerate.
37855 2014-01-24  David S. Miller  <davem@davemloft.net>
37857         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
37859 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37861         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
37862         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
37864 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
37866         [BZ #16474]
37867         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
37868         string pointers after reallocation.
37870 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37872         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
37873         __SH4A__ instead of __SH_FPU_ANY__.
37875 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37877         * sysdeps/sh/fpu_control.h: New file.
37878         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
37879         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
37880         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
37881         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
37882         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
37883         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
37884         * sysdeps/sh/sys/ucontext.h: Remove.
37885         * sysdeps/sh/sys: Remove directory.
37887 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37889         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
37890         s390/sys/ucontext.h.
37891         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
37892         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
37894 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
37896         [BZ #15605]
37897         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
37899 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37901         [BZ#16431]
37902         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
37903         Adjust the vDSO correctly for internal calls.
37904         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
37906 2014-01-20  Allan McRae  <allan@archlinux.org>
37908         * po/ca.po: Update Catalan translation from translation project.
37910 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
37912         * sysdeps/s390/sotruss-lib.c: New file.
37914 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37916         [BZ#16430]
37917         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
37918         (__GI___gettimeofday): Alias for a different internal symbol to avoid
37919         local calls issues by not having a PLT stub required for IFUNC calls.
37920         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
37922 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
37924         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
37925         * math/test-fpucw-static.c: Likewise.
37927 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
37929         [BZ #16453]
37930         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
37932 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37934         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
37935         implementation for powerpc.
37937 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
37939         [BZ #14782]
37940         * sysdeps/posix/system.c (__libc_system): Do not enable
37941         asynchronous cancellation.
37943 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37945         [BZ #16427]
37946         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
37947         handling only for numbers special also in the IEEE case.
37949 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37951         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
37953 2014-01-11  Allan McRae  <allan@archlinux.org>
37955         * po/bg.po: Update Bulgarian translation from translation project.
37957         * po/de.po: Update German translation from translation project.
37959 2014-01-10  Roland McGrath  <roland@hack.frob.com>
37961         * sysdeps/generic/gcc-compat.h: New file.
37963 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
37965         * benchtests/asin-inputs: Correct slow inputs.
37966         * benchtests/acos-inputs: Likewise.
37968 2014-01-10  Allan McRae  <allan@archlinux.org>
37970         * po:sv.po: Update Swedish translation from translation project.
37972         * po/vi.po: Update Vietnamese translation from translation project.
37974         * po/eo.po: Update Esperanto translation from translation project.
37976         * po/cs.po: Update Czech translation from translation project.
37978         * po/nl.po: Update Dutch translation from translation project.
37980         * po/pl.po: Update Polish translation from translation project.
37982         * po/ru.po: Update Russian translation from translation project.
37984         * po/uk.po: Update Ukrainian translation from translation project.
37986 2014-01-08  Brooks Moses  <bmoses@google.com>
37988         * elf/dl-load.c: Fix comment typo.
37990 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
37992         * po/header.pot: Rename to...
37993         * po/pot.header: ... this.
37994         * po/Makefile: Use pot.header.
37996 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
37997             Maxim Kuvyrkov  <maxim@kugelworks.com>
37999         [BZ #16394]
38000         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
38001         SRC and DEST against LEN.
38003 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38005         [BZ #16414]
38006         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
38007         implementation.
38008         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
38010 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38012         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38014 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
38016         [BZ #16408]
38017         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
38018         for large positive arguments.
38020 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
38022         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
38024         * math/auto-libm-test-in: Mark various tests with
38025         xfail-rounding:ldbl-128ibm.
38026         * math/auto-libm-test-out: Regenerated.
38028         [BZ #16407]
38029         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
38030         Increase overflow threshold.
38032 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
38034         [BZ #14286]
38035         * stdio-common/vfprintf.c: Check for integer overflow.
38037 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38039         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
38040         the first argument and return value of __tls_get_addr_internal.
38042 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38044         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
38045         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
38047 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38049         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
38050         * sysdeps/s390/rtld-global-offsets.sym: New file.
38051         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
38052         GLIBC_2.19 symbol.
38053         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
38054         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
38055         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
38056         ... this.
38057         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
38058         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
38059         ... this.
38060         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
38061         Regenerate.
38062         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
38063         Regenerate.
38064         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
38065         halfs of GPRs for high_gprs contexts.
38066         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
38067         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
38068         field.
38069         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
38070         uc_flags field.
38071         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
38072         64 bit versions:
38073         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
38074         for high GPRs (uc_high_gprs) and for future extensions
38075         (__reserved).
38076         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
38077         for future extensions (__reserved).
38078         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
38079         64 bit versions:
38080         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
38081         SC_HIGHGPRS offset definition.
38082         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
38083         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
38085         * Versions.def: Add GLIBC_2.19 for libpthread.
38086         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
38087         siglongjmp for libpthread with GLIBC_2.19 symver.
38088         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
38089         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
38090         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
38091         * sysdeps/s390/__longjmp.c: New file.
38092         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
38093         * sysdeps/s390/longjmp.c: New file.
38094         * sysdeps/s390/setjmp.S: New file.
38095         * sysdeps/s390/sigjmp.S: New file.
38096         * sysdeps/s390/v1-longjmp.c: New file.
38097         * sysdeps/s390/v1-setjmp.h: New file.
38098         * sysdeps/s390/v1-sigjmp.c: New file.
38099         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
38100         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
38101         GLIBC_2.19 version.
38102         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
38103         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
38104         versioned symbols for ____longjmp_chk.
38105         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
38106         Likewise.
38107         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
38108         Regenerate.
38109         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38110         Regenerate.
38111         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
38112         Regenerate.
38113         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38114         Regenerate.
38115         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
38116         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
38117         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
38118         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
38119         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
38120         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
38121         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
38122         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
38123         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
38124         * sysdeps/s390/rtld-__longjmp.c: New file.
38125         * sysdeps/s390/rtld-setjmp.S: New file.
38127 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
38129         [BZ #16400]
38130         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
38131         Return -__logl (x) for small positive arguments without evaluating
38132         a polynomial.
38134 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
38136         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
38137         Rename to ...
38138         (__ptrace_peeksiginfo_args): ... this.
38139         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
38140         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
38141         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
38143 2014-01-06  Allan McRae  <allan@archlinux.org>
38145         * inet/netinet/in.h: Fix typo in comment.
38147 2014-01-05  Andreas Jaeger  <aj@suse.de>
38149         * sysdeps/i386/fpu/libm-test-ulps: Update.
38151 2014-01-05  Allan McRae  <allan@archlinux.org>
38153         * po/libc.pot: Regenerated.
38155         * malloc/memusagestat.c: Fix gettext call formatting.
38157 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
38159         * nscd/nscd.c: Improve usage() output.
38161 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
38163         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
38164         * sysdeps/unix/sysv/linux/configure: Regenerated.
38165         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
38166         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
38168 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
38170         [BZ #16390]
38171         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
38172         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
38174 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38176         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
38177         extra tokens at end of #undef directive.
38178         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
38179         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
38180         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
38182 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
38184         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
38186         * math/auto-libm-test-in: Mark various tests with
38187         xfail-rounding:ldbl-128ibm.
38188         * math/auto-libm-test-out: Regenerated.
38190 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
38192         [BZ #16386]
38193         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
38194         numbers with subnormal high part when calculating exponent.
38196         [BZ #16385]
38197         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
38198         fabs.
38200         [BZ #16384]
38201         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
38202         M_LN2l.
38203         (__ieee754_acoshl): Use __log1pl not __log1p.
38205 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
38207         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
38208         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
38209         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
38210         (grow_heap, heap_trim, _int_new_arena, get_free_list)
38211         (reused_arena, arena_get2): Convert to GNU style.
38212         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
38213         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
38214         (memalign_check, __malloc_set_state): Likewise.
38215         * malloc/mallocbug.c (main): Likewise.
38216         * malloc/malloc.c (__malloc_assert, malloc_init_state)
38217         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
38218         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
38219         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
38220         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
38221         (__posix_memalign, malloc_info): Likewise.
38222         * malloc/malloc.h: Likewise.
38223         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
38224         (mallochook, memalignhook, reallochook, mabort): Likewise.
38225         * malloc/mcheck.h: Likewise.
38226         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
38227         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
38228         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
38229         * malloc/morecore.c (__default_morecore): Likewise.
38230         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
38231         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
38232         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
38233         (print_and_abort): Likewise.
38234         * malloc/obstack.h: Likewise.
38235         * malloc/set-freeres.c (__libc_freeres): Likewise.
38236         * malloc/tst-mallocstate.c (main): Likewise.
38237         * malloc/tst-mtrace.c (main): Likewise.
38238         * malloc/tst-realloc.c (do_test): Likewise.
38240 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
38242         [BZ #16366]
38243         * nscd/netgroupcache.c (do_notfound): New function.
38244         (addgetnetgrentX): Use it.
38246         [BZ # 16365]
38247         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
38248         NSS_STATUS_NOTFOUND.
38250 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
38252         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
38253         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38255 2014-01-01  Allan McRae  <allan@archlinux.org>
38257         * scripts/update-copyrights: Update configure input file suffix.
38259         * NEWS: Update copyright year.
38260         * catgets/gencat.c: Likewise.
38261         * csu/version.c: Likewise.
38262         * debug/catchsegv.sh: Likewise.
38263         * debug/pcprofiledump.c: Likewise.
38264         * debug/xtrace.sh: Likewise.
38265         * elf/ldconfig.c: Likewise.
38266         * elf/ldd.bash.in: Likewise.
38267         * elf/pldd.c: Likewise.
38268         * elf/sotruss.ksh: Likewise.
38269         * elf/sprof.c: Likewise.
38270         * iconv/iconv_prog.c: Likewise.
38271         * iconv/iconvconfig.c: Likewise.
38272         * locale/programs/locale.c: Likewise.
38273         * locale/programs/localedef.c: Likewise.
38274         * login/programs/pt_chown.c: Likewise.
38275         * malloc/memusage.sh: Likewise.
38276         * malloc/memusagestat.c: Likewise.
38277         * malloc/mtrace.pl: Likewise.
38278         * manual/libc.texinfo: Likewise.
38279         * nscd/nscd.c: Likewise.
38280         * nss/getent.c: Likewise.
38281         * nss/makedb.c: Likewise.
38282         * posix/getconf.c: Likewise.
38283         * scripts/test-installation.pl: Likewise.
38285         * All files with FSF copyright notices: Update copyright dates
38286         using scripts/update-copyrights.
38287         * intl/plural.c: Regenerated.
38288         * locale/programs/charmap-kw.h: Likewise.
38289         * locale/programs/locfile-kw.h: Likewise.
38291 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
38293         * sysdeps/unix/sysv/linux/configure: Regenerated.
38294         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
38295         the linux/fanotify.h header.
38296         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
38297         HAVE_LINUX_FANOTIFY_H is defined.
38299 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
38301         * benchtests/cos-inputs: New inputs.
38302         * benchtests/sin-inputs: Likewise.
38304         * benchtests/atan-inputs: New inputs. Fix name of multiple
38305         precision fallback inputs.
38307         * benchtests/atanh-inputs: New inputs.
38308         * benchtests/tanh-inputs: Likewise.
38310         * benchtests/acosh-inputs: New inputs.
38311         * benchtests/asinh-inputs: Likewise.
38313         * benchtests/cosh-inputs: New inputs.
38314         * benchtests/sinh-inputs: Likewise.
38316         * benchtests/acos-inputs: Add more inputs.
38317         * benchtests/asin-inputs: Likewise.
38319 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
38321         [BZ #16375]
38322         * manual/arith.texi: Fix spelling.
38323         * manual/charset.texi: Likewise.
38324         * manual/errno.texi: Likewise.
38325         * manual/filesys.texi: Likewise.
38326         * manual/lang.texi: Likewise.
38327         * manual/llio.texi: Likewise.
38328         * manual/locale.texi: Likewise.
38329         * manual/message.texi: Likewise.
38330         * manual/resource.texi: Likewise.
38331         * manual/search.texi: Likewise.
38332         * manual/setjmp.texi: Likewise.
38333         * manual/stdio.texi: Likewise.
38334         * manual/string.texi: Likewise.
38335         * manual/sysinfo.texi: Likewise.
38336         * manual/time.texi: Likewise.
38338 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
38340         * po/sl.po: New file.
38342 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
38344         * .gitignore: Add core/.gdbinit/.gdb_history.
38346 2013-12-27  Allan McRae  <allan@archlinux.org>
38348         [BZ #16369]
38349         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
38350         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
38352 2013-12-24  Brooks Moses  <bmoses@google.com>
38354         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
38355         all compilers that claim C++98 compliance, not just GCC.
38356         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
38357         Likewise.
38359 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
38361         * NEWS: Restore accidentally deleted bug-fix entries.
38363 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
38364             Ondřej Bílka  <neleai@seznam.cz>
38366         [BZ #15073]
38367         * malloc/malloc.c (_int_free): Perform sanity check only if we
38368         have_lock.
38370 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
38372         [BZ #12986]
38373         * manual/stdio.texi (String Input Conversions): Clarify that character
38374         classes are not supported.
38376 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38378         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38380 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
38382         [BZ #16337]
38383         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
38384         Calculate results for small negative arguments directly rather
38385         than using reflection formula with special underflow handling.
38387         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
38388         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
38389         sysdeps/unix/bsd/bsd4.4/syscalls.list.
38390         (fchflags): Likewise.
38391         (revoke): Likewise.
38392         (setlogin): Likewise.
38393         (sigaltstack): Likewise.
38394         (wait4): Likewise.
38395         (sigblock): Remove.
38396         (sigsetmask): Likewise.
38397         (wait3): Likewise.
38398         (waitpid): Likewise.
38399         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
38400         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
38401         file.
38402         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
38403         * sysdeps/unix/bsd/Makefile: ... here.
38404         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
38405         * sysdeps/unix/bsd/Versions: ... here.
38406         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
38407         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
38408         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
38409         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
38410         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
38411         * sysdeps/unix/bsd/sigblock.c: ... here.
38412         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
38413         * sysdeps/unix/bsd/sigsetmask.c: ... here.
38414         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
38415         * sysdeps/unix/bsd/sigvec.c: ... here.
38416         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
38417         * sysdeps/unix/bsd/tcdrain.c: ... here.
38418         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
38419         * sysdeps/unix/bsd/tcgetattr.c: ... here.
38420         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
38421         * sysdeps/unix/bsd/tcsetattr.c: ... here.
38422         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
38423         * sysdeps/unix/bsd/wait.c: ... here.
38424         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
38425         * sysdeps/unix/bsd/wait3.c: ... here.
38426         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
38427         * sysdeps/unix/bsd/waitpid.c: ... here.
38429 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
38431         [BZ #16356]
38432         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
38433         round-to-nearest for [!USE_AS_EXPM1L].
38434         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
38435         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
38436         more tests of exp and exp10.  Expect some exp10 tests to miss
38437         exceptions or fail in directed rounding modes.
38438         * math/auto-libm-test-out: Regenerated.
38439         * math/libm-test.inc (exp10_tonearest_test_data): New array.
38440         (exp10_test_tonearest): New function.
38441         (exp10_towardzero_test_data): New array.
38442         (exp10_test_towardzero): New function.
38443         (exp10_downward_test_data): New array.
38444         (exp10_test_downward): New function.
38445         (exp10_upward_test_data): New array.
38446         (exp10_test_upward): New function.
38447         (main): Call the new functions.
38448         * sysdeps/i386/fpu/libm-test-ulps: Update.
38449         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38451 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
38453         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
38454         asinh, atan, atan2, atanh, cbrt, cos and cosh.
38455         * math/auto-libm-test-out: Regenerated.
38456         * math/libm-test.inc (acosh_test_data): Add more tests.
38457         (atanh_test_data): Likewise.
38458         (ceil_test_data): Likewise.
38459         (copysign_test_data): Likewise.
38460         * sysdeps/i386/fpu/libm-test-ulps: Update.
38461         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38463         * timezone/checktab.awk: Update from tzcode 2013i.
38464         * timezone/private.h: Likewise.
38465         * timezone/scheck.c: Likewise.
38466         * timezone/tzfile.h: Likewise.
38467         * timezone/tzselect.ksh: Likewise.
38468         * timezone/zdump.c: Likewise.
38469         * timezone/zic.c: Likewise.
38471         * math/auto-libm-test-in: Add tests of cpow.
38472         * math/auto-libm-test-out: Regenerated.
38473         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
38474         * math/gen-auto-libm-tests.c (func_calc_method): Add value
38475         mpc_cc_c.
38476         (func_calc_desc): Add mpc_cc_c union field.
38477         (test_functions): Add cpow.
38478         (special_fill_2pi): New function.
38479         (special_real_inputs): Add 2pi.
38480         (calc_generic_results): Handle mpc_cc_c.
38481         * sysdeps/i386/fpu/libm-test-ulps: Update.
38482         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38484         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
38485         csqrt, ctan and ctanh.
38486         * math/auto-libm-test-out: Regenerated.
38487         * math/libm-test.inc (TEST_COND_x86_64): New macro.
38488         (TEST_COND_x86): Likewise.
38489         (ccos_test_data): Use AUTO_TESTS_c_c.
38490         (ccosh_test_data): Likewise.
38491         (cexp_test_data): Likewise.
38492         (clog_test_data): Likewise.
38493         (csqrt_test_data): Likewise.
38494         (ctan_test_data): Likewise.
38495         (ctan_tonearest_test_data): Likewise.
38496         (ctan_towardzero_test_data): Likewise.
38497         (ctan_downward_test_data): Likewise.
38498         (ctan_upward_test_data): Likewise.
38499         (ctanh_test_data): Likewise.
38500         (ctanh_tonearest_test_data): Likewise.
38501         (ctanh_towardzero_test_data): Likewise.
38502         (ctanh_downward_test_data): Likewise.
38503         (ctanh_upward_test_data): Likewise.
38504         * math/gen-auto-libm-tests.c (func_calc_method): Add value
38505         mpc_c_c.
38506         (func_calc_desc): Add mpc_c_c union field.
38507         (FUNC_mpc_c_c): New macro.
38508         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
38509         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
38510         ctanh.
38511         (special_fill_min_subnorm_p120): New function.
38512         (special_real_inputs): Add min_subnorm_p120.
38513         (calc_generic_results): Handle mpc_c_c.
38514         * sysdeps/i386/fpu/libm-test-ulps: Update.
38515         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38517 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
38519         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
38520         (do_sin_slow): New functions.
38521         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
38522         (cslow2, csloww1, csloww2): Use the new functions.
38524         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
38525         Use M to change sign of result instead of X.  Assume X is
38526         positive.
38527         (csloww1): Likewise.
38528         (__sin): Adjust.
38529         (__cos): Adjust.
38531         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
38532         arguments A and DA.
38533         (__sin): Adjust.
38534         (__cos): Likewise.
38536         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
38537         (__cos): Likewise.
38538         (sloww1): Don't adjust sign of DX.
38539         (csloww1): Likewise.
38540         (sloww2): Use X directly and don't adjust sign of DX.
38541         (csloww2): Likewise.
38543 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
38545         * math/auto-libm-test-in: Add tests of cabs and carg.
38546         * math/auto-libm-test-out: Regenerated.
38547         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
38548         (carg_test_data): Likewise.
38549         * math/gen-auto-libm-tests.c (func_calc_method): Add value
38550         mpc_c_f.
38551         (func_calc_desc): Add mpc_c_f union field.
38552         (test_functions): Add cabs and carg.
38553         (calc_generic_results): Handle mpc_c_f.
38555         * sysdeps/powerpc/powerpc32/libgcc-compat.S
38556         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
38557         as a macro and a compat symbol.
38558         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
38559         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
38560         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
38561         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
38562         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
38563         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
38564         not use .hidden.
38565         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
38566         Likewise.
38567         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
38568         Likewise.
38569         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
38570         Likewise.
38571         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
38572         Likewise.
38573         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
38574         Likewise.
38575         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
38576         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
38577         from GLIBC_2.3.2.
38579 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38581         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38583 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
38585         * manual/texinfo.tex: Update to version 2013-11-26.10 with
38586         trailing whitespace removed.
38587         * scripts/config.guess: Update to version 2013-11-29.
38588         * scripts/config.sub: Update to version 2013-10-01.
38590         * math/auto-libm-test-in: Add tests of sincos.
38591         * math/auto-libm-test-out: Regenerated.
38592         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
38593         * math/gen-auto-libm-tests.c (func_calc_method): Add value
38594         mpfr_f_11.
38595         (func_calc_desc): Add mpfr_f_11 union field.
38596         (test_functions): Add sincos.
38597         (calc_generic_results): Handle mpfr_f_11.
38598         * sysdeps/i386/fpu/libm-test-ulps: Update.
38599         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38601 2013-12-19  Andreas Schwab  <schwab@suse.de>
38603         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
38604         CALL_MCOUNT.
38605         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
38606         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
38607         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
38609 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
38611         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
38612         * sysdeps/i386/fpu/libm-test-ulps: Update.
38613         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38615         [BZ #16293]
38616         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
38617         round-to-nearest mode when using frndint.
38618         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
38619         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
38620         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
38621         Likewise.
38622         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
38623         sinh test to fail.
38624         * math/auto-libm-test-out: Regenerated.
38625         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
38626         (TEST_COND_x86): Likewise.
38627         (expm1_tonearest_test_data): New array.
38628         (expm1_test_tonearest): New function.
38629         (expm1_towardzero_test_data): New array.
38630         (expm1_test_towardzero): New function.
38631         (expm1_downward_test_data): New array.
38632         (expm1_test_downward): New function.
38633         (expm1_upward_test_data): New array.
38634         (expm1_test_upward): New function.
38635         (main): Run the new test functions.
38636         * sysdeps/i386/fpu/libm-test-ulps: Update.
38637         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38639         * include/features.h: Update comment documenting feature test
38640         macros.  Mention _DEFAULT_SOURCE in comment.
38641         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
38642         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
38643         _BSD_SOURCE and _SVID_SOURCE.
38644         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
38645         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
38646         !_SVID_SOURCE]: Likewise.
38647         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
38648         (__USE_POSIX_IMPLICITLY): Define.
38649         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
38650         (_POSIX_SOURCE): Undefine and redefine.
38651         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
38652         (_POSIX_C_SOURCE): Likewise.
38653         * manual/creature.texi (_DEFAULT_SOURCE): Document.
38654         (Feature Test Macros): Update documentation of default features.
38656 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
38658         * benchtests/Makefile: Add bench-strtok.
38659         * benchtests/bench-strtok.c: New file: strtok benchtest.
38661 2013-12-19  Allan McRae  <allan@archlinux.org>
38663         * manual/install.texi: Suppress menu for plain text output.
38664         * INSTALL: Regenerated.
38666 2013-12-18  Brooks Moses  <bmoses@google.com>
38668         [BZ #15846]
38669         * misc/getauxval.c: Include errno.h.
38670         (__getauxval): Set errno to ENOENT if the requested type is not
38671         found.
38672         * misc/sys/auxv.h (getauxval): Document that it may set errno;
38673         don't declare with __attribute_const__.
38674         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
38675         * manual/startup.texi: Document that getauxval sets errno.
38677 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
38679         * math/auto-libm-test-in: Add tests of jn and yn.
38680         * math/auto-libm-test-out: Regenerated.
38681         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
38682         (yn_test_data): Likewise.
38683         * math/gen-auto-libm-tests.c (func_calc_method): Add value
38684         mpfr_if_f.
38685         (func_calc_desc): Add mpfr_if_f union field.
38686         (FUNC_mpfr_if_f): New macro.
38687         (test_functions): Add jn and yn.
38688         (calc_generic_results): Assert type of second input for
38689         mpfr_ff_f.  Handle mpfr_if_f.
38690         (output_for_one_input_case): Disable all checking for arguments
38691         fitting floating-point types in case of an integer argument.
38692         * sysdeps/i386/fpu/libm-test-ulps: Update.
38693         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38695         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
38696         Don't expect fegetround reference in libm.so.
38698 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
38700         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
38701         $(config-cflags-nofma).
38703 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
38705         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
38706         * math/auto-libm-test-out: Regenerated.
38708         [BZ #16338]
38709         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
38710         to determine exponent and adjust argument to have exponent of -1.
38711         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
38712         log2.
38713         * math/auto-libm-test-out: Regenerated.
38714         * sysdeps/i386/fpu/libm-test-ulps: Update.
38715         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38717 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
38719         * manual/probes.texi: Remove cases when per-thread arenas are
38720         disabled.
38722 2013-12-18  Andreas Schwab  <schwab@suse.de>
38724         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
38725         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
38726         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
38727         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
38728         * sysdeps/i386/i686/multiarch/Makefile: Update.
38729         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
38731 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
38733         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
38734         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
38736 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
38738         [BZ #15968]
38739         Support TZ transition times < 00:00:00.
38740         This is needed for version-3 tz-format files; it supports time
38741         stamps past 2037 for America/Godthab (the only entry in the tz
38742         database for which this change is relevant).
38743         * manual/time.texi (TZ Variable): Document transition times
38744         from -167:59:59 through -00:00:01.
38745         * time/tzset.c (tz_rule): Time of day is now signed.
38746         (__tzset_parse_tz): Parse negative time of day.
38748         Document TZ transition times >= 25:00:00.
38749         * manual/time.texi (TZ Variable): Document transition times from
38750         25:00:00 through 167:59:59.  These are already supported, and this
38751         support will help with version-3 tz-format files.
38753         * manual/time.texi (TZ Variable): Modernize North America example
38754         to reflect current (i.e., 2007-and-later) daylight saving rules.
38756         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
38758 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
38760         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
38761         * sysdeps/unix/bsd/bits/stat.h: Likewise.
38762         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
38763         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
38764         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
38765         * sysdeps/unix/bsd/bsdstat.h: Likewise.
38766         * sysdeps/unix/bsd/clock.c: Likewise.
38767         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
38768         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
38769         * sysdeps/unix/bsd/init-posix.c: Likewise.
38770         * sysdeps/unix/bsd/poll.c: Likewise.
38771         * sysdeps/unix/bsd/ptsname.c: Likewise.
38772         * sysdeps/unix/bsd/seekdir.c: Likewise.
38773         * sysdeps/unix/bsd/setegid.c: Likewise.
38774         * sysdeps/unix/bsd/seteuid.c: Likewise.
38775         * sysdeps/unix/bsd/setgid.c: Likewise.
38776         * sysdeps/unix/bsd/setrgid.c: Likewise.
38777         * sysdeps/unix/bsd/setruid.c: Likewise.
38778         * sysdeps/unix/bsd/setsid.c: Likewise.
38779         * sysdeps/unix/bsd/setuid.c: Likewise.
38780         * sysdeps/unix/bsd/sigaction.c: Likewise.
38781         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
38782         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
38783         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
38784         * sysdeps/unix/bsd/telldir.c: Likewise.
38785         * sysdeps/unix/bsd/times.c: Likewise.
38786         * sysdeps/unix/bsd/usleep.c: Likewise.
38788         * misc/Makefile (install-lib): Remove libbsd-compat.a.
38789         ($(objpfx)libbsd-compat.a): Remove rule.
38791         * include/features.h (__FAVOR_BSD): Do not define.
38792         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
38793         features conflicting with POSIX.
38794         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
38795         (_BSD_SOURCE): Remove description of not being a subset of other
38796         feature test macros.
38797         * manual/job.texi (getpgrp): Do not document BSD version.
38798         (getpgid): Do not document by reference to BSD getpgrp.
38799         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
38800         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
38801         * signal/signal.h [__FAVOR_BSD]: Likewise.
38802         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
38803         instead of making contents conditional on [__FAVOR_BSD].
38804         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
38806 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38808         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38810 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
38812         [BZ #16314]
38813         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
38814         values below 2**-450, not 2**-500.
38815         * math/auto-libm-test-in: Don't allow spurious underflow from
38816         hypot.
38817         * math/auto-libm-test-out: Regenerated.
38819         [BZ #16316]
38820         [BZ #16330]
38821         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
38822         values of ha and hb and sort them after adjusting subnormal
38823         arguments.
38824         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
38825         Likewise.
38826         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
38827         values of ea and eb and sort them after adjusting subnormal
38828         arguments.
38829         * math/auto-libm-test-in: Do not expect some hypot tests of
38830         subnormals to fail.  Add more hypot tests.
38831         * math/auto-libm-test-out: Regenerated.
38833 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38835         [BZ #13304]
38836         * sysdeps/sh/s_fma.c: New file.
38837         * sysdeps/sh/s_fmaf.c: New file.
38838         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
38839         version.
38840         * sysdeps/sh/Implies: Add sh/soft-fp.
38842 2013-12-16  Roland McGrath  <roland@hack.frob.com>
38844         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
38845         level of indirection to members `objname', `errstring', `malloced'.
38846         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
38847         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
38848         it as the __longjmp argument (just pass 1 instead).
38849         (_dl_catch_error): Initialize C with argument pointers and address of
38850         volatile local ERRCODE rather than copying values out of C at return.
38852 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
38854         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
38855         * math/auto-libm-test-out: Regenerated.
38856         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
38857         (hypot_test_data): Likewise.
38858         (pow_test_data): Likewise.
38859         (pow_tonearest_test_data): Likewise.
38860         * math/gen-auto-libm-tests.c (func_calc_method): Add value
38861         mpfr_ff_f.
38862         (func_calc_desc): Add mpfr_ff_f union field.
38863         (FUNC_mpfr_ff_f): New macro.
38864         (test_functions): Add atan2, hypot and pow.
38865         (special_fill_min): New function.
38866         (special_fill_minus_min): Likewise.
38867         (special_fill_min_subnorm): Likewise.
38868         (special_fill_minus_min_subnorm): Likewise.
38869         (special_real_inputs): Add min, -min, min_subnorm and
38870         -min_subnorm.
38871         (calc_generic_results): Handle mpfr_ff_f.
38872         * sysdeps/i386/fpu/libm-test-ulps: Update.
38873         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38875 2013-12-16  Will Newton  <will.newton@linaro.org>
38877         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
38878         (Aligned Memory Blocks): Add documentation for aligned_alloc
38879         and suggest it as an alternative to posix_memalign.
38880         (Hooks for Malloc): Document __memalign_hook is also called
38881         for aligned_alloc.  (Summary of Malloc): Add summary for
38882         aligned alloc.  Document __memalign_hook is also called
38883         for aligned_alloc.
38885 2013-12-16  Will Newton  <will.newton@linaro.org>
38887         * manual/memory.texi (Malloc Examples): Clarify default
38888         alignment documentation.  Suggest posix_memalign rather
38889         than memalign or valloc.
38890         (Aligned Memory Blocks): Remove suggestion to use memalign
38891         or valloc.  Remove obsolete comment about BSD.
38892         Document memalign errno values and mark the function obsolete.
38893         Document posix_memalign returned error codes.  Mark valloc
38894         as obsolete.  (Hooks for Malloc): __memalign_hook is also
38895         called for posix_memalign and valloc.
38896         (Summary of Malloc): Add posix_memalign to function summary.
38897         __memalign_hook is also called for posix_memalign and valloc.
38899 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
38901         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
38902         TAYLOR_SIN.
38903         (__sin): Adjust.
38904         (__cos): Likewise.
38905         (sloww): Use mynumber union.  Expand ternary operator into
38906         if-else statements.
38907         (cslow): use mynumber union.
38909 2013-12-16  Allan McRae  <allan@archlinux.org>
38911         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
38912         * configure: Regenerated.
38914         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
38916         [BZ #14120]
38917         * configure.ac: Added --enable-maintainer-mode. Check for
38918         autoconf when enabled.
38919         * configure: Regenerated.
38921         * nscd/nscd.service: New file.
38922         * nscd/nscd.tmpfiles: New file.
38924 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
38926         [BZ #12100]
38927         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
38928         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
38929         * sysdeps/x86_64/multiarch/strstr.c: ... here.
38930         (strstr): Add __strstr_sse2_unaligned ifunc.
38931         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
38932         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
38933         (strcasestr): Remove __strcasestr_sse42 ifunc.
38934         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
38935         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
38936         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
38938 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38940         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
38941         * sysdeps/sh/bits/fenv.h: ... here.
38942         * sysdeps/sh/sh4/fpu/bits: Remove directory.
38944 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38946         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
38948         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
38949         hypotf multiarch implementations.
38950         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
38951         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
38952         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
38953         multiarch hypot for PPC64.
38954         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
38955         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
38956         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
38957         multiarch hypotf for PPC64.
38959         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
38960         modff multiarch implementations.
38961         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
38962         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
38963         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
38964         multiarch modf for PPC64.
38965         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
38966         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
38967         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
38968         multiarch modff for PPC64.
38970         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
38971         and logl multiarch implementations.
38972         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
38973         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
38974         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
38975         multiarch logb for PPC64.
38976         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
38977         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
38978         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
38979         multiarch logb for PPC64.
38980         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
38981         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
38982         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
38983         multiarch logb for PPC64.
38985         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
38986         isinff multiarch implementation.
38987         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
38988         file.
38989         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
38990         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
38991         multiarch isinf for PPC64.
38992         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
38993         file.
38994         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
38995         multiarch isinff for PPC64.
38997         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
38998         finitef multiarch implementation.
38999         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
39000         file.
39001         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
39002         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
39003         multiarch finite for PPC64.
39004         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
39005         file.
39006         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
39007         multiarch finitef for PPC64.
39009         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
39010         lrint multiarch implementation.
39011         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
39012         file.
39013         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
39014         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
39015         multiarch llrint for PPC64.
39016         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
39017         multiarch lrint for PPC64.
39019         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
39020         copysignf multiarch implementation.
39021         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
39022         file.
39023         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
39024         file.
39025         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
39026         multiarch copysign for PPC64.
39027         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
39028         multiarch copysignf for PPC64.
39030         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
39031         multiarch implementation.
39032         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
39033         file.
39034         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
39035         file.
39036         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
39037         file.
39038         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
39039         file.
39040         multiarch llround for PPC64.
39041         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
39042         multiarch trunc for PPC64.
39043         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
39044         multiarch truncf for PPC64.
39046         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
39047         multiarch implementation.
39048         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
39049         file.
39050         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
39051         file.
39052         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
39053         file.
39054         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
39055         file.
39056         multiarch llround for PPC64.
39057         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
39058         multiarch round for PPC64.
39059         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
39060         multiarch roundf for PPC64.
39062         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
39063         multiarch implementation.
39064         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
39065         file.
39066         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
39067         file.
39068         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
39069         file.
39070         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
39071         file.
39072         multiarch llround for PPC64.
39073         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
39074         multiarch floor for PPC64.
39075         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
39076         multiarch floorf for PPC64.
39078         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
39079         multiarch implementation.
39080         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
39081         file.
39082         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
39083         file.
39084         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
39085         file.
39086         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
39087         file.
39088         multiarch llround for PPC64.
39089         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
39090         multiarch ceil for PPC64.
39091         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
39092         multiarch ceilf for PPC64.
39094         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
39095         multiarch implementation.
39096         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
39097         file.
39098         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
39099         file.
39100         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
39101         file.
39102         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
39103         multiarch llround for PPC64.
39104         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
39105         multiarch lround for PPC64.
39107         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
39108         multiarch implementation.
39109         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
39110         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
39111         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
39112         file.
39113         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
39114         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
39115         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
39116         multiarch isnan for PPC64.
39117         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
39118         multiarch isnanf for PPC64.
39120         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
39121         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
39122         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
39123         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
39124         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
39125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
39127         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
39128         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39129         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39130         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39132         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
39133         multiarch implementations.
39134         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39135         (__libc_ifunc_impl_list): Likewise.
39136         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
39137         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
39138         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
39139         multiarch stpcpy for PPC64.
39141         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
39142         multiarch implementations.
39143         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39144         (__libc_ifunc_impl_list): Likewise.
39145         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
39146         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
39147         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
39148         multiarch strcpy for PPC64.
39150         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
39151         redefine function name.
39152         (_wordcopy_fwd_dest_aligned): Likewise.
39153         (_wordcopy_bwd_aligned): Likewise.
39154         (_wordcopy_bwd_dest_aligned): Likewise.
39155         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
39156         multiarch implementations.
39157         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39158         (__libc_ifunc_impl_list): Likewise.
39159         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
39160         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
39161         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
39162         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
39163         multiarch wcscpy for PPC64.
39165         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
39166         multiarch implementations.
39167         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39168         (__libc_ifunc_impl_list): Likewise.
39169         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
39170         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
39171         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
39172         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
39173         multiarch wcscpy for PPC64.
39175         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
39176         multiarch implementations.
39177         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39178         (__libc_ifunc_impl_list): Likewise.
39179         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
39180         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
39181         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
39182         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
39183         multiarch wcsrchr for PPC64.
39185         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
39186         multiarch implementations.
39187         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39188         (__libc_ifunc_impl_list): Likewise.
39189         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
39190         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
39191         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
39192         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
39193         multiarch wcschr for PPC64.
39195         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
39196         multiarch implementations.
39197         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39198         (__libc_ifunc_impl_list): Likewise.
39199         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
39200         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
39201         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
39202         multiarch strchrnul for PPC64.
39204         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
39205         implementations.
39206         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39207         (__libc_ifunc_impl_list): Likewise.
39208         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
39209         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
39210         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
39211         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
39212         strchr for PPC64.
39214         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
39215         implementations.
39216         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39217         (__libc_ifunc_impl_list): Likewise.
39218         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
39219         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
39220         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
39221         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
39222         strncmp for PPC64.
39224         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
39225         multiarch implementations.
39226         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39227         (__libc_ifunc_impl_list): Likewise.
39228         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
39229         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
39230         strncasecmp for PPC64.
39231         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
39232         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
39233         multiarch strncasecmp_l for PPC64.
39235         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
39236         multiarch implementations.
39237         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
39238         (__libc_ifunc_impl_list): Likewise.
39239         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
39240         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
39241         multiarch strcasecmp for PPC64.
39242         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
39243         file.
39244         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
39245         multiarch strcasecmp_l for PPC64.
39247         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
39248         implementations.
39249         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39250         (__libc_ifunc_impl_list): Likewise.
39251         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
39252         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
39253         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
39254         strnlen for PPC64.
39256         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
39257         implementations.
39258         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39259         (__libc_ifunc_impl_list): Likewise.
39260         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
39261         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
39262         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
39263         strlen for PPC64.
39265         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
39266         implementations.
39267         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39268         (__libc_ifunc_impl_list): Likewise.
39269         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
39270         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
39271         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
39272         rawmemrchr for PPC64.
39274         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
39275         implementation.
39276         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39277         (__libc_ifunc_impl_list): Likewise.
39278         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
39279         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
39280         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
39281         memrchr for PPC64.
39283         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
39284         implementation.
39285         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39286         (__libc_ifunc_impl_list): Likewise.
39287         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
39288         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
39289         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
39290         memchr for PPC64.
39292         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
39293         implementation.
39294         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39295         (__libc_ifunc_impl_list): Likewise.
39296         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
39297         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
39298         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
39299         mempcpy for PPC64.
39301         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
39302         avoid cretion of __bzero symbol.
39303         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
39304         Likewise.
39305         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
39306         Likewise.
39307         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
39308         Likewise.
39309         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
39310         multiarch implementations.
39311         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39312         (__libc_ifunc_impl_list): Likewise.
39313         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
39314         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
39315         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
39316         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
39317         bzero for PPC32.
39318         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
39319         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
39320         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
39321         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
39322         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
39323         memset for PPC64.
39324         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
39326         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
39327         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
39328         implementations.
39329         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39330         (__libc_ifunc_impl_list): Likewise.
39331         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
39332         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
39333         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
39334         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
39335         memcmp for PPC64.
39337         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
39338         multiarch for POWER/PPC64.
39339         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
39340         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
39341         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
39342         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
39343         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
39344         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
39345         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
39346         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
39347         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
39348         memcpy for PPC64.
39350         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
39351         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
39352         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
39353         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
39354         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
39355         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
39356         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
39357         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
39358         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
39359         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
39360         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
39361         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
39362         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
39363         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
39364         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
39365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
39366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
39367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
39368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
39369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
39370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
39371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
39373 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39375         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
39377 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
39379         * benchtests/Makefile (bench): Add exp2 and log2.
39380         (LDLIBS-bench-exp2): Add -lm.
39381         (LDLIBS-bench-log2): Likewise.
39382         * benchtests/exp2-inputs: New inputs file.
39383         * benchtests/log2-inputs: New inputs file.
39384         * benchtests/log-inputs: Add new inputs.
39385         * benchtests/tan-inputs: Likewise.
39387 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
39389         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
39390         definition...
39391         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
39392         (csloww2): ... from here.
39394         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
39395         instead of structures.
39396         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
39397         (POLYNOMIAL): Likewise.
39398         (TAYLOR_SLOW): Likewise.
39399         (__sin): Likewise.
39400         (__cos): Likewise.
39401         (slow1): Likewise.
39402         (slow2): Likewise.
39403         (sloww): Likewise.
39404         (sloww1); Likewise.
39405         (sloww2): Likewise.
39406         (bsloww1): Likewise.
39407         (bsloww2): Likewise.
39408         (cslow2): Likewise.
39409         (csloww): Likewise.
39410         (csloww1): Likewise.
39411         (csloww2): Likewise.
39413 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
39415         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
39416         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
39417         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
39418         * malloc/hooks.c (realloc_check): Likewise.
39420         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
39421         * malloc/arena.c: Remove PER_THREAD conditional.
39422         [!PER_THREAD]: Remove code.
39423         (ptmalloc_unlock_all2): Likewise.
39424         (ptmalloc_init): Likewise.
39425         (_int_new_arena): Likewise.
39426         (arena_get2): Likewise.
39427         * malloc/hooks.c (__malloc_get_state): Likewise.
39428         (__malloc_set_state): Likewise.
39429         * malloc/malloc.c: Likewise.
39430         (struct malloc_state): Likewise.
39431         (struct malloc_par): Likewise.
39432         (__libc_realloc): Likewise.
39433         (__libc_mallopt): Likewise.
39435 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39437         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
39439 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
39441         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
39442         macro to a function.  Check for zero perturb_byte.
39443         (_int_malloc, _int_free): Remove zero perturb_byte checks.
39445         * malloc/malloc.c: (force_reg): Remove.
39446         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
39447         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
39448         force_reg by atomic_forced_read.
39449         * malloc/arena.c (ptmalloc_init): Likewise.
39450         * malloc/hooks.c (top_check): Likewise.
39452 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39454         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39456 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
39458         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39460 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
39462         * math/auto-libm-test-in: Add tests of lgamma.
39463         * math/auto-libm-test-out: Regenerated.
39464         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
39465         (M_LOG_2_SQRT_PIl): Likewise.
39466         (lgamma_test_data): Use AUTO_TESTS_f_f1.
39467         * math/gen-auto-libm-tests.c (func_calc_method): Add value
39468         mpfr_f_f1.
39469         (func_calc_desc): Add mpfr_f_f1 union field.
39470         (ARGS1): New macro.
39471         (ARGS2): Likewise.
39472         (ARGS3): Likewise.
39473         (ARGS4): Likewise.
39474         (RET1): Likewise.
39475         (RET2): Likewise.
39476         (CALC): Likewise.
39477         (FUNC): Likewise.
39478         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
39479         (test_functions): Add lgamma.
39480         (calc_generic_results): Handle mpfr_f_f1.
39481         * sysdeps/i386/fpu/libm-test-ulps: Update.
39482         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39484 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39486         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
39487         __mpn_add_n for PowerPC64/POWER7.
39488         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
39489         __mpn_sub_n for PowerPC64/POWER7.
39491         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
39492         __mpn_addmul_1 for PowerPC64.
39493         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
39494         __mpn_submul_1 for PowerPC64.
39495         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
39496         for PowerPC64.
39497         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
39498         for PowerPC64.
39500 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
39502         [BZ #15089]
39503         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
39505 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39507         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
39509         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
39510         add multiarch folders.
39511         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
39512         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
39513         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
39514         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
39515         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
39516         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
39517         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
39518         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
39519         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
39520         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
39521         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
39522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
39523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
39524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
39525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
39526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
39527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
39529         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
39530         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
39531         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
39532         New file.
39533         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
39534         New file.
39535         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
39536         multiarch __ieee754_hypot for PowerPC32.
39537         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
39538         New file.
39539         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
39540         New file.
39541         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
39542         multiarch __ieee754_hypotf for PowerPC32.
39544         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
39545         long_double_symbol only if __logbl is defined.
39546         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
39547         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
39548         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
39549         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
39550         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
39551         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
39552         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
39553         path for implementation.
39554         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
39555         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
39556         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
39557         logb, and logbl multiarch implementations for PowerPC32.
39558         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
39559         file.
39560         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
39561         file.
39562         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
39563         multiarch logb for PowerPC32.
39564         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
39565         file.
39566         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
39567         file.
39568         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
39569         multiarch logbf for PowerPC32.
39570         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
39571         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
39572         file.
39573         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
39574         multiarch logbl implementation for PowerPC32.
39576         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
39577         and modff multiarch implementations.
39578         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
39579         New file.
39580         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
39581         New file.
39582         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
39583         multiarch modf for PowerPC32.
39584         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
39585         New file.
39586         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
39587         New file.
39588         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
39589         multiarch modff for PowerPC32.
39591         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
39592         and lrintf multiarch implementations.
39593         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
39594         New file.
39595         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
39596         New file.
39597         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
39598         multiarch lrint for PowerPC32.
39599         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
39600         file: multiarch lrintf for PowerPC32.
39602         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
39603         and lroundf multiarch implementations.
39604         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
39605         New file.
39606         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
39607         New file.
39608         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
39609         New file.
39610         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
39611         multiarch lround for PowerPC32.
39612         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
39613         file: multiarch lroundf for PowerPC32.
39615         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
39616         copysign and copysignf multiarch implementations.
39617         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
39618         New file.
39619         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
39620         New file.
39621         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
39622         file: multiarch copysign for PowerPC32.
39623         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
39624         file: multiarch copysignf for PowerPC32.
39626         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
39627         and truncf multiarch implementations.
39628         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
39629         New file.
39630         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
39631         file.
39632         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
39633         multiarch trunc for PowerPC32.
39634         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
39635         New file.
39636         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
39637         New file.
39638         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
39639         multiarch truncf for PowerPC32.
39641         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
39642         and roundf multiarch implementations.
39643         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
39644         New file.
39645         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
39646         file.
39647         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
39648         multiarch round for PowerPC32.
39649         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
39650         New file.
39651         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
39652         New file.
39653         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
39654         multiarch roundf for PowerPC32.
39656         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
39657         and floorf multiarch implementations.
39658         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
39659         New file.
39660         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
39661         file.
39662         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
39663         multiarch floor for PowerPC32.
39664         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
39665         New file.
39666         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
39667         New file.
39668         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
39669         multiarch floorf for PowerPC32.
39671         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
39672         and ceilf multiarch implementations.
39673         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
39674         New file.
39675         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
39676         file.
39677         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
39678         multiarch ceil for PowerPC32.
39679         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
39680         New file.
39681         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
39682         file.
39683         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
39684         multiarch ceilf for PowerPC32.
39686         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
39687         is defined.
39688         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
39689         FINITEF is defined.
39690         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
39691         and finitef multiarch implementations.
39692         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
39693         New file.
39694         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
39695         file.
39696         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
39697         multiarch finite for PowerPC32.
39698         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
39699         New file.
39700         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
39701         file: multiarch finitef for PowerPC32.
39703         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
39704         and isinff multiarch implementations.
39705         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
39706         file.
39707         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
39708         file.
39709         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
39710         multiarch isinf for PowerPC32.
39711         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
39712         New file.
39713         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
39714         multiarch isinff for PowerPC32.
39716         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
39717         alias when __isnan is defined.
39718         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
39719         and isnanf multiarch implementations.
39720         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
39721         file.
39722         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
39723         file.
39724         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
39725         file.
39726         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
39727         file.
39728         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
39729         multiarch isnan for PowerPC32.
39730         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
39731         New file.
39732         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
39733         New file.
39734         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
39735         multiarch isnanf for PowerPC32.
39737         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
39738         and sqrtf multiarch implementations.
39739         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
39740         file.
39741         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
39742         file.
39743         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
39744         multiarch sqrt for PowerPC32.
39745         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
39746         file.
39747         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
39748         file.
39749         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
39750         multiarch sqrtf for PowerPC32.
39752         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
39753         and llroundf multiarch implementations.
39754         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
39755         New file.
39756         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
39757         New file.
39758         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
39759         New file.
39760         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
39761         file: multiarch llround for PowerPC32.
39762         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
39763         file: multiarch llroundf for PowerPC32.
39765         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
39766         multiarch PowerPC32 fpu implementations.
39767         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
39768         New file.
39769         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
39770         New file.
39771         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
39772         multiarch llrint for PowerPC32.
39773         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
39774         New file.
39775         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
39776         New file.
39777         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
39778         file.
39780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
39782         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
39783         file.
39784         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
39785         file.
39786         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
39787         file.
39788         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
39789         multiarch wordcopy for PPC32.
39790         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
39791         wordcopy objects.
39792         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39793         (__libc_ifunc_impl_list): Likewise.
39794         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
39795         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
39796         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
39797         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
39798         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
39799         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
39801         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
39802         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
39803         file.
39804         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
39805         file.
39806         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
39807         file.
39808         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
39809         multiarch wcscpy for PPC32.
39810         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
39811         multiarch objects.
39812         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39813         (__libc_ifunc_impl_list): Likewise.
39814         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
39815         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
39816         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
39817         sysdeps/powerpc/power6/wcscpy.c.
39819         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
39820         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
39821         file.
39822         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
39823         file.
39824         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
39825         file.
39826         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
39827         multiarch wcsrchr for PPC32.
39828         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
39829         multiarch objects.
39830         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39831         (__libc_ifunc_impl_list): Likewise.
39832         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
39833         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
39834         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
39835         sysdeps/powerpc/power6/wcsrchr.c.
39837         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
39838         file.
39839         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
39840         file.
39841         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
39842         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
39843         multiarch wcschr for PPc32.
39844         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
39845         multiarch objects.
39846         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39847         (__libc_ifunc_impl_list): Likewise.
39848         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
39849         * sysdeps/powerpc/power6/wcschr.c: ... to here.
39850         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
39851         sysdeps/powerpc/power6/wcschr.c.
39853         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
39854         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
39855         file.
39856         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
39857         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
39858         file: multiarch strchr for PPC32.
39859         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
39860         multiarch objects.
39861         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39862         (__libc_ifunc_impl_list): Likewise.
39864         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
39865         name.
39866         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
39867         file.
39868         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
39869         file.
39870         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
39871         multiarch strchrnul for PPC32.
39872         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
39873         multiarch objects.
39874         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39875         (__libc_ifunc_impl_list): Likewise.
39877         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
39878         file.
39879         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
39880         multiarch strncasecmp for PPC32.
39881         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
39882         file.
39883         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
39884         multiarch strncasecmp_l for PPC32.
39885         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
39886         strncasecmp multiarch objects.
39887         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39888         (__libc_ifunc_impl_list): Likewise.
39890         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
39891         file.
39892         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
39893         multiarch strncasecmp for PPC32.
39894         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
39895         New file.
39896         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
39897         multiarch strcasecmp_l for PPC32.
39898         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
39899         multiarch objects.
39900         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39901         (__libc_ifunc_impl_list): Likewise.
39903         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
39904         file.
39905         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
39906         file.
39907         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
39908         multiarch strncmp for PPC32.
39909         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
39910         multiarch objects.
39911         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39912         (__libc_ifunc_impl_list): Likewise.
39914         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
39915         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
39916         file.
39917         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
39918         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
39919         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
39920         multiarch objects.
39921         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39922         (__libc_ifunc_impl_list): Likewise.
39924         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
39925         file.
39926         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
39927         file.
39928         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
39929         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
39930         multiarch objects.
39931         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39932         (__libc_ifunc_impl_list): Likewise.
39934         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
39935         file.
39936         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
39937         file.
39938         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
39939         multiarch rawmemchr for PPC32.
39940         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
39941         multiarch objects.
39942         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39943         (__libc_ifunc_impl_list): Likewise.
39945         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
39946         file.
39947         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
39948         file.
39949         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
39950         file: memrchr multiarch for PPC32.
39951         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
39952         multiarch objects.
39953         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39954         (__libc_ifunc_impl_list): Likewise.
39956         * string/memchr.c (__memchr): Using macro to redefine symbol name.
39957         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
39958         file.
39959         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
39960         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
39961         multiarch memchr for PPC32.
39962         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
39963         multiarch objects.
39964         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
39965         (__libc_ifunc_impl_list): Likewise.
39967         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
39968         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
39969         file.
39970         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
39971         file.
39972         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
39973         file: multiarch mempcpy for PPC32.
39974         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
39975         multiarch objects.
39976         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
39977         (__libc_ifunc_impl_list): Likewise.
39979         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
39980         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
39981         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
39982         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
39983         multiarch bzero for PPC32.
39984         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
39985         file.
39986         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
39987         file.
39988         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
39989         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
39990         file: multiarch memset for PPC32.
39991         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
39992         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
39993         memset multiarch objects.
39994         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
39995         (__libc_ifunc_impl_list): Likewise.
39997         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
39998         file.
39999         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
40000         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
40001         memcmp for PPC32.
40002         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
40003         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
40004         multiarch objects.
40005         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
40006         (__libc_ifunc_impl_list): Likewise.
40008         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
40009         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
40010         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
40011         file.
40012         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
40013         file.
40014         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
40015         file.
40016         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
40017         multiarch memcpy for PPC32.
40018         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
40019         multiarch objects.
40020         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
40021         (__libc_ifunc_impl_list): Likewise.
40023         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
40024         support multiarch for POWER/PPC32.
40025         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
40026         Likewise.
40027         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
40028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
40029         Implies file to make multiarch folder appers before the fpu and
40030         default folder for power4 configuration.
40032 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
40034         * scripts/bench.pl: Append volatile keyword to type.
40036 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40038         * sysdeps/sh/sotruss-lib.c: New file.
40039         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
40041 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40043         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40045 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
40047         [BZ #6810]
40048         * math/w_tgamma.c: Include <errno.h>.
40049         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
40050         * math/w_tgammaf.c: Include <errno.h>.
40051         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
40052         * math/w_tgammal.c: Include <errno.h>.
40053         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
40054         * math/auto-libm-test-in: Do not allow missing errno on tgamma
40055         underflow.  Add more tgamma tests.
40056         * math/auto-libm-test-out: Regenerated.
40057         * sysdeps/i386/fpu/libm-test-ulps: Update.
40058         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40060         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
40061         sin, sinh, tan, tanh, tgamma, y0 and y1.
40062         * math/auto-libm-test-out: Regenerated.
40063         * math/libm-test.inc (TEST_COND_x86_64): New macro.
40064         (TEST_COND_x86): Likewise.
40065         (M_E2l): Remove macro.
40066         (M_E3l): Likewise.
40067         (M_2_SQRT_PIl): Likewise.
40068         (M_SQRT_PIl): Likewise.
40069         (M_1_DIV_El): Likewise.
40070         (log_test_data): Use AUTO_TESTS_f_f.
40071         (log10_test_data): Likewise.
40072         (log1p_test_data): Likewise.
40073         (log2_test_data): Likewise.
40074         (sin_test_data): Likewise.
40075         (sin_tonearest_test_data): Likewise.
40076         (sin_towardzero_test_data): Likewise.
40077         (sin_downward_test_data): Likewise.
40078         (sin_upward_test_data): Likewise.
40079         (sinh_test_data): Likewise.
40080         (sinh_tonearest_test_data): Likewise.
40081         (sinh_towardzero_test_data): Likewise.
40082         (sinh_downward_test_data): Likewise.
40083         (sinh_upward_test_data): Likewise.
40084         (tan_test_data): Likewise.
40085         (tan_tonearest_test_data): Likewise.
40086         (tan_towardzero_test_data): Likewise.
40087         (tan_downward_test_data): Likewise.
40088         (tan_upward_test_data): Likewise.
40089         (tanh_test_data): Likewise.
40090         (tgamma_test_data): Likewise.
40091         (y0_test_data): Likewise.
40092         (y1_test_data): Likewise.
40093         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
40094         (special_real_inputs): Add pi/4.
40095         * sysdeps/i386/fpu/libm-test-ulps: Update.
40096         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40098 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40100         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
40101         "longjmp_target" static probes.
40102         (__longjmp): Rename to __longjmp_symbol.
40103         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
40104         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
40105         on which longjmp to generate.
40106         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
40107         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
40108         probe.
40109         (__sigsetjmp): Rename to __sigsetjmp_symbol.
40110         (__sigjmp_save): Rename to __sigjmp_save_symbol.
40111         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
40112         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
40113         and __sigjmp_save_symbol based on which sigsetjmp to generated.
40114         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
40115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
40116         __longjmp_symbol based on which __longjmp to generate.
40117         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
40118         probe.
40119         (setjmp): Rename to setjmp_symbol.
40120         (__sigsetjmp): Rename to __sigsetjmp_symbol.
40121         (_setjmp): Rename to _setjmp_symbol.
40122         (__sigsetjmp): Rename to __sigsetjmp_symbol.
40123         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
40124         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
40125         which setjmp to generate.
40126         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
40127         "longjmp_target" static probes.
40129 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
40131         * benchtests/README: Add note about output arguments.
40132         * benchtests/bench-sincos.c: Remove file.
40133         * benchtests/sincos-inputs: New file.
40134         * scripts/bench.pl: Identify output arguments and define
40135         static variables for them.
40137         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
40139         [BZ #15941]
40140         * Makefile (INSTALL): Add install-plain.texi as the primary
40141         dependency.
40142         * manual/install-plain.texi: New file.
40143         * manual/install.texi: Include node directive only for
40144         non-plaintext output.
40146 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
40148         * stdlib/longlong.h: Update from GCC.
40150         [BZ #6807]
40151         [BZ #15901]
40152         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
40153         * math/w_j0f.c (y0f): Likewise.
40154         * math/w_j0l.c (__y0l): Likewise.
40155         * math/w_j1.c (y1): Likewise.
40156         * math/w_j1f.c (y1f): Likewise.
40157         * math/w_j1l.c (__y1l): Likewise.
40158         * math/w_jn.c (yn): Likewise.
40159         * math/w_jnf.c (ynf): Likewise.
40160         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
40161         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
40162         value for Bessel function domain errors outside _SVID_ mode.
40163         Adjust sign of return value for yn (negative integer, 0).
40164         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
40165         by zero in return for negative x and set sign appropriately for
40166         negative n.
40167         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
40168         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
40169         * math/libm-test.inc (y0_test_data): Add more tests and adjust
40170         expectations in error cases.
40171         (y1_test_data): Likewise.
40172         (yn_test_data): Likewise.
40173         * sysdeps/i386/fpu/libm-test-ulps: Update.
40174         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40176 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
40178         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
40179         "64" to "64-v1".  Add "64-v2".
40180         (abi-64-options): Rename to ...
40181         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
40182         (abi-64-condition): Rename to ...
40183         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
40184         (abi-64-ld-soname): Rename to ...
40185         (abi-64-v1-ld-soname): ... this.
40186         (abi-64-v2-options): Define.
40187         (abi-64-v2-condition): Likewise.
40188         (abi-64-v2-ld-soname): Likewise.
40189         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
40190         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
40191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
40192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
40193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
40195 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
40196             Alan Modra  <amodra@gmail.com>
40198         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
40199         New versions for use with the ELFv2 ABI.
40200         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
40201         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
40202         declaration.
40203         (struct La_ppc64v2_retval): Likewise.
40204         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
40205         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
40206         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
40207         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
40208         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
40209         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
40210         Do not save or restore CR.
40211         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
40212         (_dl_profile_resolve): Do no save or restore CR.  Support extended
40213         return values for ELFv2 ABI.  Fix location of FPR return registers.
40214         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
40215         updated values for _CALL_ELF == 2.
40216         (La_regs, La_retval, int_retval): Likewise.
40218 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
40220         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
40221         (FRAME_MIN_SIZE_PARM): Likewise.
40222         (FRAME_BACKCHAIN): Likewise.
40223         (FRAME_CR_SAVE): Likewise.
40224         (FRAME_LR_SAVE): Likewise.
40225         (FRAME_TOC_SAVE): Likewise.
40226         (FRAME_PARM_SAVE): Likewise.
40227         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
40228         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
40229         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
40230         (call_mcount_parm_offset): New macro.
40231         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
40232         (PROF): Use symbolic stack frame offsets.
40233         (TAIL_CALL_SYSCALL_ERROR): Likewise.
40234         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
40235         Redefine in terms of FRAME_MIN_SIZE.
40236         (_dl_runtime_resolve): Use symbolic stack frame offsets.
40237         (_dl_profile_resolve): Likewise.  Update comment.
40238         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
40239         symbols stack frame offsets.
40240         (__sigsetjmp): Likewise.
40241         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
40242         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
40243         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
40244         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
40246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
40247         (FRAME_BACKCHAIN): Remove.
40248         (FRAME_CR_SAVE): Likewise.
40249         (FRAME_LR_SAVE): Likewise.
40250         (FRAME_COMPILER_DW): Likewise.
40251         (FRAME_LINKER_DW): Likewise.
40252         (FRAME_TOC_SAVE): Likewise.
40253         (FRAME_PARM_SAVE): Likewise.
40254         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
40255         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
40256         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
40257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
40258         (CHECK_SP): Use symbolic stack frame offsets.
40259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
40260         zone" instead of caller's parameter save area for temp storage.
40261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
40262         Likewise.  Also, use symbolic stack frame offsets.
40263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
40264         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
40265         our own stack frame instead of the caller's.
40266         (__socket): Use symbolic stack frame offsets.
40268 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
40269             Alan Modra  <amodra@gmail.com>
40271         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
40272         Define.
40273         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
40274         (PPC64_LOCAL_ENTRY_OFFSET): Define.
40275         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
40276         New function.
40277         (elf_machine_fixup_plt): Call it.
40278         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
40279         reloc arguments.
40280         (elf_machine_rela): Update call to elf_machine_plt_conflict.
40281         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
40282         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
40283         r2 before calling target.
40285 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
40286             Alan Modra  <amodra@gmail.com>
40288         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
40289         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
40290         versions of macros to support ELFv2 ABI.
40291         (LOCALENTRY): New macro.
40292         (ENTRY, EALIGN): Use it.
40293         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
40294         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
40295         fall through into ENTRY entry point.
40296         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
40297         Only define if _CALL_ELF != 2.
40299         (elf_machine_matches_host): Verify ABI version matches.
40300         (RTLD_START): Use LOCALENTRY.
40301         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
40302         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
40303         (PLT_ENTRY_WORDS): New macro.
40304         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
40305         (elf_machine_runtime_setup): Support ELFv2 ABI.
40306         (elf_machine_fixup_plt): Likewise.
40307         (elf_machine_plt_conflict): Likewise.
40308         (resolve_ifunc): Likewise.
40309         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
40310         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
40311         Likewise.
40312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
40313         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
40314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
40315         (makecontext): Support ELFv2 ABI.
40316         * elf/elf.h (EF_PPC64_ABI): Define.
40318 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
40320         * sysdeps/powerpc/powerpc64/sysdep.h
40321         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
40322         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
40323         (ENTRY) [ASSEMBLER]: ... but instead here ...
40324         (EALIGN) [ASSEMBLER]: ... and here.
40325         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
40326         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
40327         (ENTRY_2) [!ASSEMBLER]: Use it.
40328         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
40329         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
40330         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
40331         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
40332         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
40333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
40334         Use PPC64_LOAD_FUNCPTR.
40336         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
40338 2013-12-04  Alan Modra  <amodra@gmail.com>
40340         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
40341         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
40342         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
40343         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
40345         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
40346         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
40347         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
40348         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
40349         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
40350         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
40352 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
40354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
40355         (__makecontext): Fix incorrect CFI when backtracing out of
40356         context created via makecontext.
40357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
40358         (__setcontext): Fix incorrect CFI during switch to new context.
40359         (__novec_setcontext): Likewise.
40361 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
40363         [BZ #4772]
40364         * time/strptime_l.c (__strptime_internal): Allow modifiers
40365         in strptime.
40366         * time/tst-strptime.c (day_tests): Add testcase.
40368 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40370         * scripts/bench.pl: Skip over blank lines.
40372 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
40374         [BZ #926]
40375         * manual/time.texi (Calendar Time): Clarify what timezone functions
40376         use.
40378 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40380         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40382 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
40384         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
40385         implementation.
40386         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
40387         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
40388         * debug/memset_chk.c (__memset_chk): Likewise.
40389         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
40390         * debug/strncpy_chk.c: Likewise.
40392 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
40394         [BZ #15268]
40395         [BZ #15425]
40396         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
40397         (__ieee754_exp): For possibly underflowing results, check size of
40398         result and force underflow exception if required.
40399         * math/auto-libm-test-in: Add more tests of exp.
40400         * math/auto-libm-test-out: Regenerated.
40401         * sysdeps/i386/fpu/libm-test-ulps: Update.
40402         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40404         [BZ #16283]
40405         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
40406         * math/w_exp2f.c (__exp2f): Likewise.
40407         * math/w_exp2l.c (__exp2l): Likewise.
40408         * math/auto-libm-test-in: Do not allow missing errno on exp2
40409         underflow.
40410         * math/auto-libm-test-out: Regenerated.
40412 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
40414         [BZ #16274]
40415         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
40416         handle filename validation.
40417         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
40418         (do_open): Delete.
40420 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
40422         [BZ #6786]
40423         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
40424         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
40425         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
40426         <float.h>.
40427         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
40428         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
40429         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
40430         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
40431         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
40432         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
40433         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
40434         * math/auto-libm-test-in: Don't allow missing errno from erfc.
40435         Add more erfc tests.
40436         * math/auto-libm-test-out: Regenerated.
40437         * sysdeps/i386/fpu/libm-test-ulps: Update.
40438         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40440         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
40441         exp2, expm1, j0 and j1.
40442         * math/auto-libm-test-out: Regenerated.
40443         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
40444         (erfc_test_data): Likewise.
40445         (exp_test_data): Likewise.
40446         (exp_tonearest_test_data): Likewise.
40447         (exp_towardzero_test_data): Likewise.
40448         (exp_downward_test_data): Likewise.
40449         (exp_upward_test_data): Likewise.
40450         (exp10_test_data): Likewise.
40451         (exp2_test_data): Likewise.
40452         (expm1_test_data): Likewise.
40453         (j0_test_data): Likewise.
40454         (j1_test_data): Likewise.
40455         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
40456         (input_flag_type): Add flag_xfail_rounding.
40457         (input_flags): Add xfail-rounding.
40458         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
40459         (output_for_one_input_case): Handle flag_xfail_rounding.
40460         * sysdeps/i386/fpu/libm-test-ulps: Update.
40461         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40463 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
40465         [BZ #16289]
40466         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
40467         division by 0.
40469 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
40471         [BZ #16195]
40472         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
40473         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
40474         (STAP_PROBE0): New macro.
40475         (STAP_PROBE1): Likewise.
40476         (STAP_PROBE2): Likewise.
40477         (STAP_PROBE3): Likewise.
40478         (STAP_PROBE4): Likewise.
40480 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
40482         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
40484 2013-12-02  Steve Ellcey  <sellcey@mips.com>
40486         * benchtests/Makefile (bench): Add sqrt.
40487         (LDLIBS-bench-sqrt): New.
40488         * benchtests/sqrt-input: New.
40490 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
40492         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
40493         (GAIH_EAI): Likewise.
40494         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
40495         (gaih_inet): Likewise.
40496         (getaddrinfo): Don't use GAIH_EAI.
40498         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
40499         (struct gaih): Remove definition.
40501 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40503         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
40504         Use HERRNOP directly.
40506 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40508         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40510 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
40512         * math/gen-auto-libm-tests.c (test_functions): Add more
40513         single-argument functions.
40514         (special_fill_pi_2): New function.
40515         (special_fill_minus_pi_2): Likewise.
40516         (special_fill_pi_6): Likewise.
40517         (special_fill_minus_pi_6): Likewise.
40518         (special_fill_pi_3): Likewise.
40519         (special_fill_2pi_3): Likewise.
40520         (special_fill_e): Likewise.
40521         (special_fill_1_e): Likewise.
40522         (special_fill_e_minus_1): Likewise.
40523         (special_real_inputs): Add more special inputs.
40524         (output_for_one_input_case): Do not require ERANGE on underflow to
40525         zero if round-to-nearest result does not underflow to zero, unless
40526         exact results required.
40527         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
40528         atan, atanh, cbrt, cos and cosh.
40529         * math/auto-libm-test-out: Regenerated.
40530         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
40531         (acos_tonearest_test_data): Likewise.
40532         (acos_towardzero_test_data): Likewise.
40533         (acos_downward_test_data): Likewise.
40534         (acos_upward_test_data): Likewise.
40535         (acosh_test_data): Likewise.
40536         (asin_test_data): Likewise.
40537         (asin_tonearest_test_data): Likewise.
40538         (asin_towardzero_test_data): Likewise.
40539         (asin_upward_test_data): Likewise.
40540         (asinh_test_data): Likewise.
40541         (atan_test_data): Likewise.
40542         (atanh_test_data): Likewise.
40543         (cbrt_test_data): Likewise.
40544         (cos_test_data): Likewise.
40545         (cos_tonearest_test_data): Likewise.
40546         (cos_towardzero_test_data): Likewise.
40547         (cos_downward_test_data): Likewise.
40548         (cos_upward_test_data): Likewise.
40549         (cosh_test_data): Likewise.
40550         (cosh_tonearest_test_data): Likewise.
40551         (cosh_towardzero_test_data): Likewise.
40552         (cosh_downward_test_data): Likewise.
40553         (cosh_upward_test_data): Likewise.
40554         * sysdeps/i386/fpu/libm-test-ulps: Update.
40555         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40557 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
40559         [BZ #6787]
40560         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
40561         * math/w_exp10f.c (__exp10f): Likewise.
40562         * math/w_exp10l.c (__exp10l): Likewise.
40563         * math/libm-test.inc (exp10_test_data): Add more tests and expect
40564         errno settings in existing tests.
40566         [BZ #14032]
40567         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
40568         precision control set to double precision.
40569         * sysdeps/i386/fpu/w_sqrt.c: New file.
40570         * math/auto-libm-test-in: Add more tests.
40571         * math/auto-libm-test-out: Update.
40573         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
40574         (sqrt_test_tonearest): New function.
40575         (sqrt_towardzero_test_data): New variable.
40576         (sqrt_test_towardzero): New function.
40577         (sqrt_downward_test_data): New variable.
40578         (sqrt_test_downward): New function.
40579         (sqrt_upward_test_data): New variable.
40580         (sqrt_test_upward): New function.
40581         (main): Call the new functions.
40583         * math/gen-auto-libm-tests.c: New file.
40584         * math/auto-libm-test-in: Likewise.
40585         * math/auto-libm-test-out: New generated file.
40586         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
40587         variables.
40588         (%beautify): Add generated representations of zero.
40589         (top level): Set $auto_input and call parse_auto_input.
40590         (beautify): Remove trailing "f" from hex float constants.
40591         (parse_args): Handle XFAIL_TEST.
40592         (convert_condition): New function.
40593         (or_value): Likewise.
40594         (or_cond_value): Likewise.
40595         (generate_testfile): Handle AUTO_TESTS_* lines.
40596         (parse_auto_input): New function.
40597         * math/libm-test.inc (XFAIL_TEST): New macro.
40598         (ERRNO_UNCHANGED): Update value.
40599         (ERRNO_EDOM): Likewise.
40600         (ERRNO_ERANGE): Likewise.
40601         (IGNORE_RESULT): Likewise.
40602         (TEST_COND_flt_32): New macro.
40603         (TEST_COND_dbl_64): Likewise.
40604         (TEST_COND_ldbl_96_intel): Likewise.
40605         (TEST_COND_ldbl_96_m68k): Likewise.
40606         (TEST_COND_ldbl_128): Likewise.
40607         (TEST_COND_ldbl_128ibm): Likewise.
40608         (TEST_COND_long32): Likewise.
40609         (TEST_COND_long64): Likewise.
40610         (TEST_COND_before_rounding): Likewise.
40611         (TEST_COND_after_rounding): Likewise.
40612         (enable_test): Handle XFAIL_TEST flag.
40613         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
40614         with finite results.
40615         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
40616         auto-libm-test-out.
40618 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
40619             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40621         [BZ #16214]
40622         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
40623         __tls_get_addr_internal instead of __tls_get_offset in order to
40624         avoid GOT pointer dependency.  Make rtld export
40625         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
40626         __tls_get_addr since we are a __tls_get_offset platform.
40627         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
40628         GOT pointer being set up before.
40629         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
40631 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
40633         * manual/math.texi (Errors in Math Functions): Document accuracy
40634         goals.
40636         [BZ #15004]
40637         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
40638         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
40639         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40640         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40641         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40642         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40643         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40644         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
40645         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
40646         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40647         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40648         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40649         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40650         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40651         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40652         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
40654         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
40655         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
40656         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
40657         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
40658         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
40659         Likewise.
40660         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
40661         Likewise.
40662         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
40663         Likewise.
40664         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
40665         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
40666         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
40667         atomic-feupdateenv and flt-rounds.
40668         * sysdeps/powerpc/nofpu/Versions (libc): Add
40669         __atomic_feholdexcept, __atomic_feclearexcept,
40670         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
40671         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
40672         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
40673         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
40674         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
40675         here.
40676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
40677         Update.
40679         * manual/arith.texi (FP Exceptions): Document that exceptions may
40680         not be raised when matherr is used.
40681         (Math Error Reporting): Document overflow in directed rounding
40682         modes.  Document that errno may not be set when finite values are
40683         returned on overflow.  Document intent to set errno on underflow
40684         only for underflow to zero.
40686         [BZ #16271]
40687         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
40688         round-to-nearest then adjust result for other rounding modes.
40689         * include/fenv.h (fegetround): Use libm_hidden_proto.
40690         * math/fegetround.c (fegetround): Use libm_hidden_def.
40691         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
40692         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
40693         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
40694         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
40695         Likewise.
40696         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
40697         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
40698         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
40699         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
40701 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40703         [BZ #16077]
40704         * nss/Versions (libnss_files): Add
40705         _nss_files_gethostbyname3_r.
40706         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
40707         New function.
40708         (HOST_DB_LOOKUP): Remove macro.
40709         (_nss_files_gethostbyname_r): Implement function without the
40710         HOST_DB_LOOKUP macro.
40711         (_nss_files_gethostbyname2_r): Likewise.
40713 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
40715         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
40717 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
40719         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
40720         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
40721         warning.
40723 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40725         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
40726         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
40727         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
40728         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
40729         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
40730         __fe_nomask_env_priv and attribute_hidden.
40731         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
40732         (libc_feupdateenv_test_ppc): Likewise.
40733         (libc_feresetround_ppc): Likewise.
40734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
40735         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
40736         compat_symbol macro.
40737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
40738         (__fe_nomask_env): Likewise.
40739         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
40741 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
40743         * string/Makefile: Remove ifunc tests.
40744         * string/test-string.h: Define TEST_IFUNC.
40745         * string/test-bcopy-ifunc.c: Remove.
40746         * string/test-bzero-ifunc.c: Likewise.
40747         * string/test-memccpy-ifunc.c: Likewise.
40748         * string/test-memchr-ifunc.c: Likewise.
40749         * string/test-memcmp-ifunc.c: Likewise.
40750         * string/test-memcpy-ifunc.c: Likewise.
40751         * string/test-memmem-ifunc.c: Likewise.
40752         * string/test-memmove-ifunc.c: Likewise.
40753         * string/test-mempcpy-ifunc.c: Likewise.
40754         * string/test-memrchr-ifunc.c: Likewise.
40755         * string/test-memset-ifunc.c: Likewise.
40756         * string/test-rawmemchr-ifunc.c: Likewise.
40757         * string/test-stpcpy-ifunc.c: Likewise.
40758         * string/test-stpncpy-ifunc.c: Likewise.
40759         * string/test-strcasecmp-ifunc.c: Likewise.
40760         * string/test-strcasestr-ifunc.c: Likewise.
40761         * string/test-strcat-ifunc.c: Likewise.
40762         * string/test-strchr-ifunc.c: Likewise.
40763         * string/test-strchrnul-ifunc.c: Likewise.
40764         * string/test-strcmp-ifunc.c: Likewise.
40765         * string/test-strcpy-ifunc.c: Likewise.
40766         * string/test-strcspn-ifunc.c: Likewise.
40767         * string/test-strlen-ifunc.c: Likewise.
40768         * string/test-strncasecmp-ifunc.c: Likewise.
40769         * string/test-strncat-ifunc.c: Likewise.
40770         * string/test-strncmp-ifunc.c: Likewise.
40771         * string/test-strncpy-ifunc.c: Likewise.
40772         * string/test-strnlen-ifunc.c: Likewise.
40773         * string/test-strpbrk-ifunc.c: Likewise.
40774         * string/test-strrchr-ifunc.c: Likewise.
40775         * string/test-strspn-ifunc.c: Likewise.
40776         * string/test-strstr-ifunc.c: Likewise.
40778 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
40780         * benchtests/Makefile: Remove ifunc tests.
40781         * benchtests/bench-string.h: Define TEST_IFUNC.
40782         * benchtests/bench-bcopy-ifunc.c: Remove.
40783         * benchtests/bench-bzero-ifunc.c: Likewise.
40784         * benchtests/bench-memccpy-ifunc.c: Likewise.
40785         * benchtests/bench-memchr-ifunc.c: Likewise.
40786         * benchtests/bench-memcmp-ifunc.c: Likewise.
40787         * benchtests/bench-memcpy-ifunc.c: Likewise.
40788         * benchtests/bench-memmem-ifunc.c: Likewise.
40789         * benchtests/bench-memmove-ifunc.c: Likewise.
40790         * benchtests/bench-mempcpy-ifunc.c: Likewise.
40791         * benchtests/bench-memrchr-ifunc.c: Likewise.
40792         * benchtests/bench-memset-ifunc.c: Likewise.
40793         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
40794         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
40795         * benchtests/bench-stpcpy-ifunc.c: Likewise.
40796         * benchtests/bench-stpncpy-ifunc.c: Likewise.
40797         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
40798         * benchtests/bench-strcasestr-ifunc.c: Likewise.
40799         * benchtests/bench-strcat-ifunc.c: Likewise.
40800         * benchtests/bench-strchr-ifunc.c: Likewise.
40801         * benchtests/bench-strchrnul-ifunc.c: Likewise.
40802         * benchtests/bench-strcmp-ifunc.c: Likewise.
40803         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
40804         * benchtests/bench-strcpy-ifunc.c: Likewise.
40805         * benchtests/bench-strcspn-ifunc.c: Likewise.
40806         * benchtests/bench-strlen-ifunc.c: Likewise.
40807         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
40808         * benchtests/bench-strncat-ifunc.c: Likewise.
40809         * benchtests/bench-strncmp-ifunc.c: Likewise.
40810         * benchtests/bench-strncpy-ifunc.c: Likewise.
40811         * benchtests/bench-strnlen-ifunc.c: Likewise.
40812         * benchtests/bench-strpbrk-ifunc.c: Likewise.
40813         * benchtests/bench-strrchr-ifunc.c: Likewise.
40814         * benchtests/bench-strsep-ifunc.c: Likewise.
40815         * benchtests/bench-strspn-ifunc.c: Likewise.
40816         * benchtests/bench-strstr-ifunc.c: Likewise.
40818 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
40820         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
40822 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
40824         * resolv/netdb.h: Use __glibc_reserved instead __unused.
40825         * rt/aio.h: Likewise.
40826         * sysdeps/gnu/bits/utmp.h: Likewise.
40827         * sysdeps/gnu/bits/utmpx.h: Likewise.
40828         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
40829         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
40830         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
40831         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
40832         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
40833         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
40834         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
40835         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
40836         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
40837         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
40838         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
40839         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
40840         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
40841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
40842         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
40843         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
40844         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
40845         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
40846         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
40847         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
40848         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
40849         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
40850         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
40851         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
40852         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
40853         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40854         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
40855         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
40856         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
40857         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
40858         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
40859         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
40860         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
40861         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
40862         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
40863         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
40864         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
40865         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
40866         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
40867         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
40868         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
40869         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
40871 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
40873         [BZ #16245]
40874         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
40875         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
40877 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
40879         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
40880         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
40881         Likewise.
40883 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40885         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
40886         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
40887         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
40888         (__fesetround): Remove define.
40889         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
40890         rounding and exceptions handling.
40891         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
40892         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
40893         (__fe_nomask_env): Likewise.
40894         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
40895         __fegetround instead of fegetround.
40896         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
40897         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
40899 2013-11-21  Roland McGrath  <roland@hack.frob.com>
40901         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
40902         it's there.
40904         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
40906 2013-11-21  Meador Inge  <meadori@codesourcery.com>
40908         [BZ #11157]
40909         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
40910         (encrypt_r): Likewise.
40911         * malloc/obstack.h (obstack_free): Likewise.
40912         * posix/unistd.h (encrypt): Likewise.
40914 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
40916         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
40917         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
40918         DL_CALL_DT_FINI() that call the functions directly.
40919         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
40920         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
40921         * elf/dl-fini.c: Likewise.
40923 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
40925         * malloc/hooks.c (memalign_check): Add alignment rounding.
40926         * malloc/malloc.c (_mid_memalign): New function.
40927         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
40928         Implement by calling _mid_memalign.
40929         * manual/probes.texi (Memory Allocation Probes): Remove
40930         memory_valloc_retry and memory_pvalloc_retry.
40932 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
40934         * locale/programs/locarchive.c (open_archive): Add const
40935         qualifier to ARCHIVEFNAME and copy default fname to
40936         DEFAULT_FNAME.
40938         [BZ #15601]
40939         * libio/tst-widetext.input: Rename Oriya to Odia.
40940         * locale/iso-639.def: Likewise.
40942         * manual/probes.texi (Mathematical Function Probes): Add
40943         documentation for sin, cos, asin and acos probes.
40944         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
40945         (__sin32): Add slowasin probe.
40946         (__cos32): Add slowacos probe.
40947         (__mpsin): Add slowsin probe.
40948         (__mpcos): Add slowcos probe.
40950 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
40952         [BZ #15483]
40953         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
40954         thread-local __sim_exceptions_thread and global
40955         __sim_exceptions_global.
40956         (__sim_disabled_exceptions): Change to thread-local
40957         __sim_disabled_exceptions_thread and global
40958         __sim_disabled_exceptions_global.
40959         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
40960         and global __sim_round_mode_global.
40961         (__simulate_exceptions): Use thread-local floating-point state and
40962         set global state from it as needed.
40963         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
40964         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
40965         __sim_round_mode_thread.
40966         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
40967         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
40968         and global __sim_exceptions_global.
40969         (__sim_disabled_exceptions): Change to thread-local
40970         __sim_disabled_exceptions_thread and global
40971         __sim_disabled_exceptions_global.
40972         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
40973         and global __sim_round_mode_global.
40974         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
40975         (SIM_SET_GLOBAL): Likewise.
40976         * sysdeps/powerpc/soft-fp/sfp-machine.h
40977         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
40978         __sim_round_mode_thread.
40979         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
40980         __sim_disabled_exceptions_thread.
40981         (__sim_exceptions): Change to __sim_exceptions_thread.
40982         (__sim_disabled_exceptions): Change to
40983         __sim_disabled_exceptions_thread.
40984         (__sim_round_mode): Change to __sim_round_mode_thread.
40985         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
40986         thread-local floating-point state and set global state from it as
40987         needed.
40988         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
40989         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
40990         (__sim_disabled_exceptions): Remove extern declaration.
40991         (feenableexcept): Use thread-local floating-point state and set
40992         global state from it as needed.
40993         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
40994         extern declaration.
40995         (__sim_disabled_exceptions): Likewise.
40996         (__sim_round_mode): Likewise.
40997         (__fegetenv): Use thread-local floating-point state.
40998         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
40999         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
41000         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
41001         floating-point state and set global state from it as needed.
41002         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
41003         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
41004         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
41005         Likewise.
41006         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
41007         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
41008         Likewise.
41009         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
41010         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
41011         Use __sim_round_mode_thread.
41012         * math/test-fenv-tls.c: New file.
41013         * math/Makefile (tests): Add test-fenv-tls.
41014         ($(objpfx)test-fenv-tls): Depend on
41015         $(common-objpfx)nptl/libpthread.so.
41017 2013-11-19  Andreas Schwab  <schwab@suse.de>
41019         * locale/programs/locale.c (show_info): Decode wordarray elements.
41020         * locale/categories.def (LC_MONETARY): Add element for
41021         _NL_MONETARY_CRNCYSTR.
41022         * locale/C-monetary.c (conversion_rate): New variable.
41023         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
41024         element.
41026 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
41028         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
41029         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
41031 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
41033         * elf/Makefile (tst-auxv): New test.
41034         * elf/tst-auxv.c: New
41035         * elf/rtld.c (dl_main): Adjust AT_EXECFN
41037 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
41039         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
41040         (hidden_proto): Caller changed.
41041         (hidden_tls_proto): New macro.
41042         (libc_hidden_tls_proto): Likewise.
41043         (rtld_hidden_tls_proto): Likewise.
41044         (libm_hidden_tls_proto): Likewise.
41045         (libresolv_hidden_tls_proto): Likewise.
41046         (librt_hidden_tls_proto): Likewise.
41047         (libdl_hidden_tls_proto): Likewise.
41048         (libnss_files_hidden_tls_proto): Likewise.
41049         (libnsl_hidden_tls_proto): Likewise.
41050         (libnss_nisplus_hidden_tls_proto): Likewise.
41051         (libutil_hidden_tls_proto): Likewise.
41053 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
41055         [BZ #10253]
41056         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
41057         (decompose_rpath): Defer expansion to fillin_rpath.
41058         (_dl_init_paths): Pass linkmap to fillin_rpath.
41060 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
41062         * benchtests/Makefile: Add strsep.
41063         * benchtests/bench-strsep.c: New file: strsep benchtest.
41064         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
41066 2013-11-18  Andreas Schwab  <schwab@suse.de>
41068         * locale/programs/locale.c (show_info) [case byte]: Check for
41069         '\377' instead of '\177'.
41070         * locale/C-monetary.c (not_available): Always use "\377".
41071         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
41072         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
41073         detect unavailable sign_posn locale elements.
41074         * locale/localeconv.c (__localeconv): For grouping and
41075         mon_grouping handle "\177" and "\377" like no grouping.
41076         (INT_ELEM): New macro.  Use it to set all numeric members.
41077         * locale/programs/ld-monetary.c (monetary_read)
41078         <tok_mon_grouping>: Normalize single -1 to the empty string.
41079         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
41080         Likewise.
41082 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
41084         [BZ #16055]
41085         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
41086         when we match (nil).
41087         * stdio-common/tst-sscanf.c (struct test): Add testcase.
41089 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
41091         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
41092         (NO_TEST_INLINE): Update value.
41093         (ERRNO_UNCHANGED): Likewise.
41094         (ERRNO_EDOM): Likewise.
41095         (ERRNO_ERANGE): Likewise.
41096         (IGNORE_RESULT): Likewise.
41097         (check_float_internal): Check signs of NaN results if
41098         TEST_NAN_SIGN used.
41099         (check_complex): Pass TEST_NAN_SIGN flag through to second
41100         check_float_internal call.
41101         (copysign_test_data): Add tests with quiet NaNs as second
41102         argument.  Use TEST_NAN_SIGN.
41103         (fabs_test_data): Add test of negative quiet NaN argument.  Use
41104         TEST_NAN_SIGN.
41105         (signbit_test_data): Add tests of quiet NaN argument.
41106         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
41108         * math/gen-libm-test.pl (show_exceptions): Take extra argument
41109         $ignore_result.
41110         (parse_args): Handle function results specified as IGNORE.
41111         * math/libm-test.inc (IGNORE_RESULT): New macro.
41112         (check_float_internal): Do not check numerical result if flag
41113         IGNORE_RESULT set.
41114         (check_complex): Pass through IGNORE_RESULT to second
41115         check_float_internal call.
41116         (check_int): Do not check numerical result if flag IGNORE_RESULT
41117         set.
41118         (check_long): Likewise.
41119         (check_bool): Likewise.
41120         (check_longlong): Likewise.
41121         (lrint_test_data): Add tests of infinite and NaN arguments.
41122         (lrint_tonearest_test_data): Likewise.
41123         (lrint_towardzero_test_data): Likewise.
41124         (lrint_downward_test_data): Likewise.
41125         (lrint_upward_test_data): Likewise.
41126         (llrint_test_data): Likewise.
41127         (llrint_tonearest_test_data): Likewise.
41128         (llrint_towardzero_test_data): Likewise.
41129         (llrint_downward_test_data): Likewise.
41130         (llrint_upward_test_data): Likewise.
41131         (lround_test_data): Likewise.
41132         (llround_test_data): Likewise.
41134         * math/libm-test.inc (NO_TEST_INLINE): New macro.
41135         (ERRNO_UNCHANGED): Update value.
41136         (ERRNO_EDOM): Likewise.
41137         (ERRNO_ERANGE): Likewise.
41138         (NO_TEST_INLINE_FLOAT): New macro.
41139         (NO_TEST_INLINE_DOUBLE): Likewise.
41140         (enable_test): New function.
41141         (RUN_TEST_f_f): Check enable_test before running test.
41142         (RUN_TEST_2_f): Likewise.
41143         (RUN_TEST_fff_f): Likewise.
41144         (RUN_TEST_c_f): Likewise.
41145         (RUN_TEST_f_f1): Likewise.
41146         (RUN_TEST_fF_f1): Likewise.
41147         (RUN_TEST_fI_f1): Likewise.
41148         (RUN_TEST_ffI_f1): Likewise.
41149         (RUN_TEST_c_c): Likewise.
41150         (RUN_TEST_cc_c): Likewise.
41151         (RUN_TEST_f_i): Likewise.
41152         (RUN_TEST_f_i_tg): Likewise.
41153         (RUN_TEST_ff_i_tg): Likewise.
41154         (RUN_TEST_f_b): Likewise.
41155         (RUN_TEST_f_b_tg): Likewise.
41156         (RUN_TEST_f_l): Likewise.
41157         (RUN_TEST_f_L): Likewise.
41158         (RUN_TEST_fFF_11): Likewise.
41159         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
41160         conditionals.
41161         (cosh_test_data): Likewise.
41162         (exp_test_data): Likewise.
41163         (expm1_test_data): Likewise.
41164         (hypot_test_data): Likewise.
41165         (pow_test_data): Likewise.
41166         (sinh_test_data): Likewise.
41167         (tanh_test_data): Likewise.
41168         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
41169         flags argument.
41171         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
41172         tests with quiet NaN input and output.
41173         (acosh_test_data): Likewise.
41174         (asin_test_data): Likewise.
41175         (asinh_test_data): Likewise.
41176         (atan_test_data): Likewise.
41177         (atanh_test_data): Likewise.
41178         (atan2_test_data): Likewise.
41179         (cbrt_test_data): Likewise.
41180         (cos_test_data): Likewise.
41181         (cosh_test_data): Likewise.
41182         (erf_test_data): Likewise.
41183         (erfc_test_data): Likewise.
41184         (exp_test_data): Likewise.
41185         (exp10_test_data): Likewise.
41186         (exp2_test_data): Likewise.
41187         (expm1_test_data): Likewise.
41188         (hypot_test_data): Likewise.
41189         (j0_test_data): Likewise.
41190         (j1_test_data): Likewise.
41191         (jn_test_data): Likewise.
41192         (lgamma_test_data): Likewise.
41193         (log_test_data): Likewise.
41194         (log10_test_data): Likewise.
41195         (log1p_test_data): Likewise.
41196         (log2_test_data): Likewise.
41197         (pow_test_data): Likewise.
41198         (scalb_test_data): Likewise.
41199         (sin_test_data): Likewise.
41200         (sincos_test_data): Likewise.
41201         (sinh_test_data): Likewise.
41202         (tan_test_data): Likewise.
41203         (tanh_test_data): Likewise.
41204         (tgamma_test_data): Likewise.
41205         (y0_test_data): Likewise.
41206         (y1_test_data): Likewise.
41207         (yn_test_data): Likewise.
41209         [BZ #16167]
41210         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
41211         argument being NaN and avoid computations with second argument in
41212         that case.
41213         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
41214         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
41215         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
41217 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
41219         * locale/iso-639.def: Add Chitwani Tharu (the).
41221 2013-11-14  Andreas Schwab  <schwab@suse.de>
41223         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
41224         word instead of empty string.
41226 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
41229         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
41230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
41231         (__fe_nomask_env): Likewise.
41233 2013-11-13  Steve Ellcey  <sellcey@mips.com>
41235         * benchtests/bench-timing.h: Include time.h.
41237 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
41239         [BZ #15997]
41240         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
41241         to 3.4.0 for x32.
41242         * sysdeps/unix/sysv/linux/configure: Regenerated.
41244 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
41246         [BZ #16151]
41247         * stdlib/strtod_l.c (round_and_return): Do not consider
41248         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
41249         exponent one less than half the least subnormal exponent.
41250         * stdlib/test-strtod-round-data: Add more tests.
41251         * stdlib/tst-strtod-round.c (tests): Regenerated.
41253 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41255         [BZ #14143]
41256         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
41257         (__fe_mask_env): Likewise.
41258         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
41259         libm_hidden_proto and add function prototype.
41260         (__fe_mask_env): Add function prototype.
41261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
41262         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
41263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
41264         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
41265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
41266         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
41268 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41270         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
41271         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
41273 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41275         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
41276         of htab_find_slot().
41278 2013-11-11  David S. Miller  <davem@davemloft.net>
41280         [BZ #16150]
41281         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
41282         symbol in the non-vis3 case in static builds.
41283         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
41284         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
41285         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
41286         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
41288 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
41290         [BZ #387]
41291         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
41292         it is empty.
41294 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41296         * benchtests/Makefile: Add bench-strtod.
41297         * benchtests/bench-strtod.c: New file: strtod benchtest
41299 2013-11-11  Andreas Schwab  <schwab@suse.de>
41301         [BZ #16153]
41302         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
41303         terminating NUL in key length.
41305 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41307         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
41308         Add artificial ODP entry for vDSO symbol for PPC64.
41309         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
41310         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
41312 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
41314         [BZ #15374]
41315         * nss/getent.c (services_keys): Recognize services starting with digit.
41317 2013-11-06  David S. Miller  <davem@davemloft.net>
41319         [BZ #15985]
41320         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
41321         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
41323 2013-11-06  Will Newton  <will.newton@linaro.org>
41325         * manual/memory.texi (Malloc Examples): Remove register
41326         keyword from examples.
41328 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
41330         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
41332 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
41334         [BZ #6981]
41335         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
41336         depending on [__GCC_IEC_559 > 0].
41337         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
41338         depending on [__GCC_IEC_559_COMPLEX > 0].
41340 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
41342         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
41343         to iso-639.def.
41345 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
41347         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
41349 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
41351         [BZ #16112]
41352         * malloc/malloc (malloc_info): Do not handle first bin as
41353         special case.
41355 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
41357         * locale/iso-639.def: Add Central Nahuatl (nhn).
41359 2013-11-01  Bruno Haible  <bruno@clisp.org>
41361         [BZ #7003]
41362         * manual/math.texi (BSD Random): Specify range upper bound as
41363         in POSIX.
41365 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
41367         * locale/iso-639.def: Add Meadow Mari (mhr).
41369 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
41371         [BZ #14752], [BZ #15763]
41372         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
41373         Validate name.
41374         * rt/tst_shm.c: Add test for escaping directory.
41376 2013-10-31  Andreas Schwab  <schwab@suse.de>
41378         [BZ #15917]
41379         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
41380         followed by 'x' as part of digit sequence.
41381         * stdio-common/tst-sscanf.c (double_tests2): New tests.
41383 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
41385         [BZ #16037]
41386         * configure.ac: allow GNU Make 4.0 and greater.
41387         * configure: Regenerated.
41389 2013-10-30  Will Newton  <will.newton@linaro.org>
41391         [BZ #16038]
41392         * malloc/hooks.c (memalign_check): Limit alignment to the
41393         maximum representable power of two.
41394         * malloc/malloc.c (__libc_memalign): Likewise.
41395         * malloc/tst-memalign.c (do_test): Add test for very
41396         large alignment values.
41397         * malloc/tst-posix_memalign.c (do_test): Likewise.
41399 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
41401         [BZ #11087]
41402         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
41403         (munmap_chunk): Likewise.
41404         (mremap_chunk): Likewise.
41406 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
41408         [BZ #15799]
41409         * stdlib/div.c (div): Remove obsolete code.
41410         * stdlib/ldiv.c (ldiv): Likewise.
41411         * stdlib/lldiv.c (lldiv): Likewise.
41413 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
41415         [BZ #16071]
41416         * nss/nss_files/files-XXX.c (get_contents_ret): New
41417         enumerator.
41418         (get_contents): New function.
41419         (internal_getent): Use it.  Expand size of LINEBUFLEN.
41421 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
41423         * configure.in: Moved to ...
41424         * configure.ac: ... here. Change reference to configure.in
41425         to configure.ac.
41426         * sysdeps/arm/preconfigure.ac: ... here.
41427         configure.in to configure.ac.
41428         * sysdeps/gnu/configure.in: Moved to ...
41429         * sysdeps/gnu/configure.ac: ... here.
41430         * sysdeps/i386/configure.in: Moved to ...
41431         * sysdeps/i386/configure.ac: ... here.
41432         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
41433         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
41434         * sysdeps/mach/configure.in: Moved to ...
41435         * sysdeps/mach/configure.ac: ... here.
41436         * sysdeps/mach/hurd/configure.in: Moved to ...
41437         * sysdeps/mach/hurd/configure.ac: ... here.
41438         * sysdeps/powerpc/configure.in: Moved to ...
41439         * sysdeps/powerpc/configure.ac: ... here.
41440         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
41441         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
41442         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
41443         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
41444         * sysdeps/s390/s390-32/configure.in: Moved to ...
41445         * sysdeps/s390/s390-32/configure.ac: ... here.
41446         * sysdeps/s390/s390-64/configure.in: Moved to ...
41447         * sysdeps/s390/s390-64/configure.ac: ... here.
41448         * sysdeps/sh/configure.in: Moved to ...
41449         * sysdeps/sh/configure.ac: ... here.
41450         * sysdeps/sparc/configure.in: Moved to ...
41451         * sysdeps/sparc/configure.ac: ... here.
41452         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
41453         * sysdeps/unix/sysv/linux/configure.ac: ... here.
41454         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
41455         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
41456         * sysdeps/x86_64/configure.in: Moved to ...
41457         * sysdeps/x86_64/configure.ac: ... here.
41458         * sysdeps/x86_64/preconfigure.in: Moved to ...
41459         * sysdeps/x86_64/preconfigure.ac: ... here.
41460         * aclocal.m4: Change reference to configure.in to configure.ac.
41461         * config.h.in: Likewise.
41462         * manual/install.texi: Likewise.
41463         * manual/maint.texi: Likewise.
41464         * Makefile: Likewise.
41465         * malloc/Makefile: Likewise.
41466         * nscd/Makefile: Likewise.
41467         * Makeconfig: Change reference to configure.in and
41468         preconfigure.in to configure.ac and preconfigure.ac
41469         respectively.
41470         * INSTALL: Regenerated.
41471         * configure: Likewise.
41472         * sysdeps/gnu/configure: Likewise.
41473         * sysdeps/i386/configure: Likewise.
41474         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
41475         * sysdeps/mach/configure: Likewise.
41476         * sysdeps/mach/hurd/configure: Likewise.
41477         * sysdeps/powerpc/configure: Likewise.
41478         * sysdeps/powerpc/powerpc32/configure: Likewise.
41479         * sysdeps/powerpc/powerpc64/configure: Likewise.
41480         * sysdeps/s390/s390-32/configure: Likewise.
41481         * sysdeps/s390/s390-64/configure: Likewise.
41482         * sysdeps/sh/configure: Likewise.
41483         * sysdeps/sparc/configure: Likewise.
41484         * sysdeps/unix/sysv/linux/configure: Likewise.
41485         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
41486         * sysdeps/x86_64/configure: Likewise.
41487         * sysdeps/x86_64/preconfigure: Likewise.
41489 2013-10-29  Andreas Schwab  <schwab@suse.de>
41491         * stdio-common/Makefile (tst-swscanf-ENV): Define.
41493 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41495         * benchtests/pow-inputs: Add new inputs.
41497         * benchtests/exp-inputs: Add new inputs.
41499         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
41500         conditional check for return value.
41501         (__cos32): Likewise.
41503 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41505         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
41506         to provide a boost for large inputs with word alignment.
41507         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
41508         implementation based on optimized PPC64 strcpy.
41509         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
41510         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
41511         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
41512         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
41514 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
41516         [BZ #2801]
41517         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
41519 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
41521         [BZ #14876]
41522         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
41523         * time/tst-strptime.c (day_tests): Add testcase.
41525 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
41527         [BZ #14029]
41528         * manual/pattern.texi: Acknowledge that fnmatch can fail.
41530 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
41532         [BZ #16074]
41533         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
41534         MAP_FAILED on error.
41536 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
41538         [BZ #16072]
41539         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
41540         heap for large requests.
41542 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
41544         [BZ #9954]
41545         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
41546         result if the result has no associated interface.
41547         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
41548         interface for all 127.X.Y.Z addresses.
41550 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
41552         * locale/iso-639.def: Add Ligurian (lij)
41554 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
41556         [BZ #15825]
41557         * sunrpc/rpc_main.c: Document rpcgen -5.
41559 2013-10-19  Michael Stahl  <mstahl@redhat.com>
41561         * elf/rtld.c (do_preload): Print the reason why preloading failed.
41563 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
41565         [BZ #10278]
41566         * posix/glob.c: Match only directories when trailing slash is present.
41567         * posix/tst-gnuglob.c (my_opendir): Do not open files.
41568         (main): Add testcase.
41570 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
41572         [BZ #15670]
41573         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
41575 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
41577         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
41578         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
41579         AUTH_DES and cindex for FIPS 140-2.
41580         (DES Encryption): Add cindex FIPS 46-3.
41582         * locale/locarchive.h (struct locarhandle): Add fname.
41583         * locale/programs/localedef.c (main): Pass ARGV[remaining]
41584         if an optional argument was specified to --list-archive,
41585         otherwise NULL.
41586         * locale/programs/locarchive.c (show_archive_content): Take new
41587         argument fname and pass it via ah.fname to open_archive.
41588         * locale/programs/localedef.h: Update decl.
41589         (open_archive): If AH->fname is non-null, open that file
41590         rather than the default file name, and don't ignore ENOENT.
41591         (create_archive): Set AH.fname to NULL.
41592         (delete_locales_from_archive): Likewise.
41593         (add_locales_to_archive): Likewise.
41594         * locale/programs/locfile.c (write_all_categories): Likewise.
41596 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
41597             Aldy Hernandez  <aldyh@redhat.com>
41599         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
41600         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
41601         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
41602         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
41603         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
41604         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
41605         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
41606         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
41607         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
41608         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
41609         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
41610         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
41611         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
41612         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
41613         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
41614         Likewise.
41615         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
41616         Likewise.
41617         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
41618         Likewise.
41619         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
41620         Likewise.
41621         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
41622         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
41623         Likewise.
41624         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
41625         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
41626         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
41627         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
41628         Likewise.
41629         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
41630         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
41631         * sysdeps/powerpc/preconfigure: Likewise.
41632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
41633         Likewise.
41634         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
41635         Replace contents of file by #include of <fenv_libc.h>.
41636         * sysdeps/powerpc/soft-fp/sfp-machine.h
41637         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
41638         and <sys/prctl.h>.
41639         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
41640         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
41641         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
41642         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
41643         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
41644         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
41645         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
41646         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
41647         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
41648         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
41649         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
41650         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
41651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
41652         Allow copysignl PLT reference to be missing.
41654 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
41655             Joseph Myers  <joseph@codesourcery.com
41657         [BZ #15948]
41658         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
41659         single character.
41660         (add_to_tablewc): Assert sequence of wide characters is nonempty.
41662 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
41664         * elf/tst-tls-dlinfo.c: Don't include tls.h.
41665         * elf/tst-tls1.c: Likewise.
41666         * elf/tst-tls10.h: Likewise.
41667         * elf/tst-tls14.c: Likewise.
41668         * elf/tst-tls2.c: Likewise.
41669         * elf/tst-tls3.c: Likewise.
41670         * elf/tst-tls4.c: Likewise.
41671         * elf/tst-tls5.c: Likewise.
41672         * elf/tst-tls6.c: Likewise.
41673         * elf/tst-tls7.c: Likewise.
41674         * elf/tst-tls8.c: Likewise.
41675         * elf/tst-tls9.c: Likewise.
41676         * elf/tst-tlsmod1.c: Likewise.
41677         * elf/tst-tlsmod13.c: Likewise.
41678         * elf/tst-tlsmod13a.c: Likewise.
41679         * elf/tst-tlsmod14a.c: Likewise.
41680         * elf/tst-tlsmod16a.c: Likewise.
41681         * elf/tst-tlsmod16b.c: Likewise.
41682         * elf/tst-tlsmod2.c: Likewise.
41683         * elf/tst-tlsmod3.c: Likewise.
41684         * elf/tst-tlsmod4.c: Likewise.
41685         * elf/tst-tlsmod5.c: Likewise.
41686         * elf/tst-tlsmod6.c: Likewise.
41688 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
41690         [BZ #12486]
41691         * malloc/malloc.c: remove checks for statistics.
41693 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
41695         [BZ #15277]
41696         * inet/inet_net.c (inet_network): Detect additional invalid strings.
41697         * inet/tst-network.c: Add testcase.
41699 2013-10-17  Andreas Schwab  <schwab@suse.de>
41701         [BZ #15218]
41702         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
41703         to determine canonical name.
41705 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
41707         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
41708         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
41709         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41710         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
41711         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41712         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
41713         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
41714         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
41715         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
41716         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
41717         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
41718         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41719         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
41720         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
41721         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
41722         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
41723         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41724         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41725         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
41726         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
41727         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41728         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41729         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41730         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
41731         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
41732         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
41733         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
41734         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
41735         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
41736         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
41737         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
41738         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41739         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
41740         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
41741         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
41742         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
41743         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
41744         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
41745         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
41746         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41747         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
41748         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
41749         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
41750         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
41751         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
41752         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
41753         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
41754         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
41755         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
41756         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
41757         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
41758         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
41759         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
41760         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
41761         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41762         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
41763         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41764         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
41766 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
41768         [BZ #16041]
41769         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
41770         make result into a quiet NaN.
41772 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
41774         * soft-fp/adddf3.c: Fix horizontal whitespace.
41775         * soft-fp/addsf3.c: Likewise.
41776         * soft-fp/addtf3.c: Likewise.
41777         * soft-fp/divdf3.c: Likewise.
41778         * soft-fp/divsf3.c: Likewise.
41779         * soft-fp/divtf3.c: Likewise.
41780         * soft-fp/double.h: Likewise.
41781         * soft-fp/eqdf2.c: Likewise.
41782         * soft-fp/eqsf2.c: Likewise.
41783         * soft-fp/eqtf2.c: Likewise.
41784         * soft-fp/extenddftf2.c: Likewise.
41785         * soft-fp/extended.h: Likewise.
41786         * soft-fp/extendsfdf2.c: Likewise.
41787         * soft-fp/extendsftf2.c: Likewise.
41788         * soft-fp/extendxftf2.c: Likewise.
41789         * soft-fp/fixdfdi.c: Likewise.
41790         * soft-fp/fixdfsi.c: Likewise.
41791         * soft-fp/fixdfti.c: Likewise.
41792         * soft-fp/fixsfdi.c: Likewise.
41793         * soft-fp/fixsfsi.c: Likewise.
41794         * soft-fp/fixsfti.c: Likewise.
41795         * soft-fp/fixtfdi.c: Likewise.
41796         * soft-fp/fixtfsi.c: Likewise.
41797         * soft-fp/fixtfti.c: Likewise.
41798         * soft-fp/fixunsdfdi.c: Likewise.
41799         * soft-fp/fixunsdfsi.c: Likewise.
41800         * soft-fp/fixunsdfti.c: Likewise.
41801         * soft-fp/fixunssfdi.c: Likewise.
41802         * soft-fp/fixunssfsi.c: Likewise.
41803         * soft-fp/fixunssfti.c: Likewise.
41804         * soft-fp/fixunstfdi.c: Likewise.
41805         * soft-fp/fixunstfsi.c: Likewise.
41806         * soft-fp/fixunstfti.c: Likewise.
41807         * soft-fp/floatdidf.c: Likewise.
41808         * soft-fp/floatdisf.c: Likewise.
41809         * soft-fp/floatditf.c: Likewise.
41810         * soft-fp/floatsidf.c: Likewise.
41811         * soft-fp/floatsisf.c: Likewise.
41812         * soft-fp/floatsitf.c: Likewise.
41813         * soft-fp/floattidf.c: Likewise.
41814         * soft-fp/floattisf.c: Likewise.
41815         * soft-fp/floattitf.c: Likewise.
41816         * soft-fp/floatundidf.c: Likewise.
41817         * soft-fp/floatundisf.c: Likewise.
41818         * soft-fp/floatunditf.c: Likewise.
41819         * soft-fp/floatunsidf.c: Likewise.
41820         * soft-fp/floatunsisf.c: Likewise.
41821         * soft-fp/floatunsitf.c: Likewise.
41822         * soft-fp/floatuntidf.c: Likewise.
41823         * soft-fp/floatuntisf.c: Likewise.
41824         * soft-fp/floatuntitf.c: Likewise.
41825         * soft-fp/fmadf4.c: Likewise.
41826         * soft-fp/fmasf4.c: Likewise.
41827         * soft-fp/fmatf4.c: Likewise.
41828         * soft-fp/gedf2.c: Likewise.
41829         * soft-fp/gesf2.c: Likewise.
41830         * soft-fp/getf2.c: Likewise.
41831         * soft-fp/ledf2.c: Likewise.
41832         * soft-fp/lesf2.c: Likewise.
41833         * soft-fp/letf2.c: Likewise.
41834         * soft-fp/muldf3.c: Likewise.
41835         * soft-fp/mulsf3.c: Likewise.
41836         * soft-fp/multf3.c: Likewise.
41837         * soft-fp/negdf2.c: Likewise.
41838         * soft-fp/negsf2.c: Likewise.
41839         * soft-fp/negtf2.c: Likewise.
41840         * soft-fp/op-1.h: Likewise.
41841         * soft-fp/op-2.h: Likewise.
41842         * soft-fp/op-4.h: Likewise.
41843         * soft-fp/op-8.h: Likewise.
41844         * soft-fp/op-common.h: Likewise.
41845         * soft-fp/quad.h: Likewise.
41846         * soft-fp/single.h: Likewise.
41847         * soft-fp/soft-fp.h: Likewise.
41848         * soft-fp/sqrtdf2.c: Likewise.
41849         * soft-fp/sqrtsf2.c: Likewise.
41850         * soft-fp/sqrttf2.c: Likewise.
41851         * soft-fp/subdf3.c: Likewise.
41852         * soft-fp/subsf3.c: Likewise.
41853         * soft-fp/subtf3.c: Likewise.
41854         * soft-fp/truncdfsf2.c: Likewise.
41855         * soft-fp/trunctfdf2.c: Likewise.
41856         * soft-fp/trunctfsf2.c: Likewise.
41857         * soft-fp/trunctfxf2.c: Likewise.
41858         * soft-fp/unorddf2.c: Likewise.
41859         * soft-fp/unordsf2.c: Likewise.
41860         * soft-fp/unordtf2.c: Likewise.
41862 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
41864         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
41865         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
41867 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
41869         * elf/dl-libc.c: Clear initfini list after freeing.
41871 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
41873         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
41874         * soft-fp/addsf3.c: Likewise.
41875         * soft-fp/addtf3.c: Likewise.
41876         * soft-fp/divdf3.c: Likewise.
41877         * soft-fp/divsf3.c: Likewise.
41878         * soft-fp/divtf3.c: Likewise.
41879         * soft-fp/double.h: Likewise.
41880         * soft-fp/eqdf2.c: Likewise.
41881         * soft-fp/eqsf2.c: Likewise.
41882         * soft-fp/eqtf2.c: Likewise.
41883         * soft-fp/extenddftf2.c: Likewise.
41884         * soft-fp/extended.h: Likewise.
41885         * soft-fp/extendsfdf2.c: Likewise.
41886         * soft-fp/extendsftf2.c: Likewise.
41887         * soft-fp/extendxftf2.c: Likewise.
41888         * soft-fp/fixdfdi.c: Likewise.
41889         * soft-fp/fixdfsi.c: Likewise.
41890         * soft-fp/fixdfti.c: Likewise.
41891         * soft-fp/fixsfdi.c: Likewise.
41892         * soft-fp/fixsfsi.c: Likewise.
41893         * soft-fp/fixsfti.c: Likewise.
41894         * soft-fp/fixtfdi.c: Likewise.
41895         * soft-fp/fixtfsi.c: Likewise.
41896         * soft-fp/fixtfti.c: Likewise.
41897         * soft-fp/fixunsdfdi.c: Likewise.
41898         * soft-fp/fixunsdfsi.c: Likewise.
41899         * soft-fp/fixunsdfti.c: Likewise.
41900         * soft-fp/fixunssfdi.c: Likewise.
41901         * soft-fp/fixunssfsi.c: Likewise.
41902         * soft-fp/fixunssfti.c: Likewise.
41903         * soft-fp/fixunstfdi.c: Likewise.
41904         * soft-fp/fixunstfsi.c: Likewise.
41905         * soft-fp/fixunstfti.c: Likewise.
41906         * soft-fp/floatdidf.c: Likewise.
41907         * soft-fp/floatdisf.c: Likewise.
41908         * soft-fp/floatditf.c: Likewise.
41909         * soft-fp/floatsidf.c: Likewise.
41910         * soft-fp/floatsisf.c: Likewise.
41911         * soft-fp/floatsitf.c: Likewise.
41912         * soft-fp/floattidf.c: Likewise.
41913         * soft-fp/floattisf.c: Likewise.
41914         * soft-fp/floattitf.c: Likewise.
41915         * soft-fp/floatundidf.c: Likewise.
41916         * soft-fp/floatundisf.c: Likewise.
41917         * soft-fp/floatunsidf.c: Likewise.
41918         * soft-fp/floatunsisf.c: Likewise.
41919         * soft-fp/floatuntidf.c: Likewise.
41920         * soft-fp/floatuntisf.c: Likewise.
41921         * soft-fp/floatuntitf.c: Likewise.
41922         * soft-fp/fmadf4.c: Likewise.
41923         * soft-fp/fmasf4.c: Likewise.
41924         * soft-fp/fmatf4.c: Likewise.
41925         * soft-fp/gedf2.c: Likewise.
41926         * soft-fp/gesf2.c: Likewise.
41927         * soft-fp/getf2.c: Likewise.
41928         * soft-fp/ledf2.c: Likewise.
41929         * soft-fp/lesf2.c: Likewise.
41930         * soft-fp/letf2.c: Likewise.
41931         * soft-fp/muldf3.c: Likewise.
41932         * soft-fp/mulsf3.c: Likewise.
41933         * soft-fp/multf3.c: Likewise.
41934         * soft-fp/negdf2.c: Likewise.
41935         * soft-fp/negsf2.c: Likewise.
41936         * soft-fp/negtf2.c: Likewise.
41937         * soft-fp/op-1.h: Likewise.
41938         * soft-fp/op-2.h: Likewise.
41939         * soft-fp/op-4.h: Likewise.
41940         * soft-fp/op-8.h: Likewise.
41941         * soft-fp/op-common.h: Likewise.
41942         * soft-fp/quad.h: Likewise.
41943         * soft-fp/single.h: Likewise.
41944         * soft-fp/soft-fp.h: Likewise.
41945         * soft-fp/sqrtdf2.c: Likewise.
41946         * soft-fp/sqrtsf2.c: Likewise.
41947         * soft-fp/sqrttf2.c: Likewise.
41948         * soft-fp/subdf3.c: Likewise.
41949         * soft-fp/subsf3.c: Likewise.
41950         * soft-fp/subtf3.c: Likewise.
41951         * soft-fp/truncdfsf2.c: Likewise.
41952         * soft-fp/trunctfdf2.c: Likewise.
41953         * soft-fp/trunctfsf2.c: Likewise.
41954         * soft-fp/trunctfxf2.c: Likewise.
41955         * soft-fp/unorddf2.c: Likewise.
41956         * soft-fp/unordsf2.c: Likewise.
41957         * soft-fp/unordtf2.c: Likewise.
41959 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
41961         [BZ #15672]
41962         * misc/error.c (error_tail): Fix possible buffer overflow.
41964 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
41966         [BZ #13028]
41967         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
41968         address.
41970 2013-10-14  P. J. McDermott  <pj@pehjota.net>
41972         [BZ #832]
41973         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
41974         testing pipefail option.
41976 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
41978         * soft-fp/double.h: Indent preprocessor directives inside #if.
41979         * soft-fp/extended.h: Likewise.
41980         * soft-fp/op-2.h: Likewise.
41981         * soft-fp/op-4.h: Likewise.
41982         * soft-fp/op-common.h: Likewise.
41983         * soft-fp/quad.h: Likewise.
41984         * soft-fp/single.h: Likewise.
41985         * soft-fp/soft-fp.h: Likewise.
41987 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
41989         * iconv/iconv_prog.c: Fix typos.
41990         * stdio-common/psiginfo-data.h: Likewise.
41992 2013-10-12   Reuben Thomas <rrt@sc3d.org>
41994         [BZ #15764]
41995         * locale/setlocale.c: Fix typo.
41997 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
41999         [BZ #16036]
42000         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
42001         signaling NaN arguments.
42002         * soft-fp/unordsf2.c (__unordsf2): Likewise.
42003         * soft-fp/unordtf2.c (__unordtf2): Likewise.
42005         [BZ #14910]
42006         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
42007         unordered operands.
42008         * soft-fp/gesf2.c (__gesf2): Likewise.
42009         * soft-fp/getf2.c (__getf2): Likewise.
42010         * soft-fp/ledf2.c (__ledf2): Likewise.
42011         * soft-fp/lesf2.c (__lesf2): Likewise.
42012         * soft-fp/letf2.c (__letf2): Likewise.
42014         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
42015         * soft-fp/eqsf2.c (__eqsf2): Likewise.
42016         * soft-fp/eqtf2.c (__eqtf2): Likewise.
42017         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
42018         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
42019         * soft-fp/fixdfti.c (__fixdfti): Likewise.
42020         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
42021         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
42022         * soft-fp/fixsfti.c (__fixsfti): Likewise.
42023         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
42024         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
42025         * soft-fp/fixtfti.c (__fixtfti): Likewise.
42026         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
42027         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
42028         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
42029         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
42030         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
42031         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
42032         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
42033         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
42034         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
42035         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
42036         * soft-fp/floatdisf.c (__floatdisf): Likewise.
42037         * soft-fp/floatsisf.c (__floatsisf): Likewise.
42038         * soft-fp/floattidf.c (__floattidf): Likewise.
42039         * soft-fp/floattisf.c (__floattisf): Likewise.
42040         * soft-fp/floattitf.c (__floattitf): Likewise.
42041         * soft-fp/floatundidf.c (__floatundidf): Likewise.
42042         * soft-fp/floatundisf.c (__floatundisf): Likewise.
42043         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
42044         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
42045         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
42046         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
42047         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
42048         * soft-fp/gesf2.c (__gesf2): Likewise.
42049         * soft-fp/getf2.c (__getf2): Likewise.
42050         * soft-fp/ledf2.c (__ledf2): Likewise.
42051         * soft-fp/lesf2.c (__lesf2): Likewise.
42052         * soft-fp/letf2.c (__letf2): Likewise.
42054         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
42055         Undefine and redefine.
42056         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
42057         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
42058         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
42059         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
42060         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
42061         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
42062         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
42063         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
42064         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
42065         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
42066         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
42067         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
42068         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
42069         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
42070         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
42072         [BZ #16032]
42073         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
42074         without decrementing exponent if mantissa >= that for the
42075         denominator, not >.
42076         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
42077         denominator, not >.  Decrement exponent in < case instead of
42078         incrementing in >= case.
42079         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
42080         without decrementing exponent if mantissa >= that for the
42081         denominator, not >.
42083         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
42084         computing saturated result for unsigned overflow.
42086 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
42087             Jeff Law  <law@redhat.com>
42089         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
42090         (atan2Mp): Add systemtap probe marker.
42091         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
42092         (__ieee754_log): Add systemtap probe marker.
42093         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
42094         (atanMp): Add systemtap probe marker.
42095         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
42096         (tanMp): Add systemtap probe marker.
42097         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
42098         (__slowexp): Add systemtap probe marker.
42099         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
42100         (__slowpow): Add systemtap probe marker.
42101         * manual/probes.texi: Document probes.
42103 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
42105         [BZ #15362]
42106         * libio/fileops.c (_IO_new_file_write): Return count of bytes
42107         written.
42108         (_IO_new_file_xsputn): Don't return EOF if nothing has been
42109         written.
42110         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
42111         written to buffer but not flushed.
42112         * libio/iofwrite_u.c:  Likewise.
42113         * libio/iopadn.c:  Return bytes returned even if EOF was
42114         encountered.
42115         * libio/iowpadn.c:  Likewise.
42116         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
42117         if _IO_padn does not write the whole buffer.
42118         [!COMPILE_WPRINTF] (PAD): Likewise.
42120 2013-10-10  David S. Miller  <davem@davemloft.net>
42122         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
42123         directory block.
42125 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
42127         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
42128         instead of FSF address.
42129         * soft-fp/fixdfti.c: Likewise.
42130         * soft-fp/fixsfti.c: Likewise.
42131         * soft-fp/fixtfti.c: Likewise.
42132         * soft-fp/fixunsdfti.c: Likewise.
42133         * soft-fp/fixunssfti.c: Likewise.
42134         * soft-fp/fixunstfti.c: Likewise.
42135         * soft-fp/floattidf.c: Likewise.
42136         * soft-fp/floattisf.c: Likewise.
42137         * soft-fp/floattitf.c: Likewise.
42138         * soft-fp/floatuntidf.c: Likewise.
42139         * soft-fp/floatuntisf.c: Likewise.
42140         * soft-fp/floatuntitf.c: Likewise.
42141         * soft-fp/trunctfxf2.c: Likewise.
42143         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
42144         * soft-fp/fixdfti.c: Likewise.
42145         * soft-fp/fixsfti.c: Likewise.
42146         * soft-fp/fixtfti.c: Likewise.
42147         * soft-fp/fixunsdfti.c: Likewise.
42148         * soft-fp/fixunssfti.c: Likewise.
42149         * soft-fp/fixunstfti.c: Likewise.
42150         * soft-fp/floattidf.c: Likewise.
42151         * soft-fp/floattisf.c: Likewise.
42152         * soft-fp/floattitf.c: Likewise.
42153         * soft-fp/floatuntidf.c: Likewise.
42154         * soft-fp/floatuntisf.c: Likewise.
42155         * soft-fp/floatuntitf.c: Likewise.
42156         * soft-fp/trunctfxf2.c: Likewise.
42158 2013-10-10  David S. Miller  <davem@davemloft.net>
42160         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42162 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
42164         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
42165         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
42166         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
42167         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
42168         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
42169         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
42170         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
42172         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
42173         for NaNs before doing comparisons on argument.
42174         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
42175         Likewise.
42177 2013-10-10  Will Newton  <will.newton@linaro.org>
42179         * malloc/hooks.c (memalign_check): Ensure the value of bytes
42180         passed to _int_memalign does not overflow.
42182 2013-10-10  Torvald Riegel  <triegel@redhat.com>
42184         * scripts/bench.pl: Add include-sources directive.
42185         * benchtests/README: Update documentation.
42187 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
42189         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
42190         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
42191         instead of FP_INIT_ROUNDMODE.
42192         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
42193         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
42195         [BZ #16034]
42196         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
42197         copy class of input value.
42198         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
42199         not handle exceptions.
42200         * soft-fp/negsf2.c (__negsf2): Likewise.
42201         * soft-fp/negtf2.c (__negtf2): Likewise.
42202         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
42204 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
42206         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
42207         semicolon.  From Linux kernel.
42209 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
42211         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
42213 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
42215         [BZ #156]
42216         * manual/socket.texi: Added statement about buffer
42217         for gethostbyname2_r.
42219 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
42221         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
42222         Use .p2align directive instead, throughout.
42223         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
42224         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
42225         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
42226         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
42227         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
42228         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
42229         * sysdeps/x86_64/strchr.S: Likewise.
42230         * sysdeps/x86_64/strrchr.S: Likewise.
42232 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
42234         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
42236         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
42238         * sysdeps/generic/math_private.h (__mpsin1): Remove
42239         declaration.
42240         (__mpcos1): Likewise.
42241         (__mpsin): New argument __range_reduce.
42242         (__mpcos): Likewise.
42243         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42244         (slow): Use __mpsin and __mpcos.
42245         (slow1): Likewise.
42246         (slow2): Likewise.
42247         (sloww): Likewise.
42248         (sloww1): Likewise.
42249         (sloww2): Likewise.
42250         (bsloww): Likewise.
42251         (bsloww1): Likewise.
42252         (bsloww2): Likewise.
42253         (cslow2): Likewise.
42254         (csloww): Likewise.
42255         (csloww1): Likewise.
42256         (csloww2): Likewise.
42257         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
42258         range_reduce.  Merge in __mpsin1.
42259         (__mpcos): Likewise.
42260         (__mpsin1): Remove.
42261         (__mpcos1): Likewise.
42263 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
42265         * locale/loadlocale.c (_nl_intern_locale_data): Use
42266         LOCFILE_ALIGNED_P.
42267         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
42268         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
42269         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
42270         obstack data is appropriately aligned.
42271         (obstack_int32_grow_fast): Likewise.
42272         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
42273         * locale/programs/locfile.c (add_locale_uint32): Likewise.
42274         (add_locale_uint32_array): Likewise.
42276 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
42278         * benchtests/Makefile: Remove ARGLIST and RET variables.
42279         ($(objpfx)bench-%.c): Pass only function name to the script.
42280         * benchtests/README: Update documentation.
42281         * benchtests/acos-inputs: Add new directives.
42282         * benchtests/acosh-inputs: Likewise.
42283         * benchtests/asin-inputs: Likewise.
42284         * benchtests/asinh-inputs: Likewise.
42285         * benchtests/atan-inputs: Likewise.
42286         * benchtests/atanh-inputs: Likewise.
42287         * benchtests/cos-inputs: Likewise.
42288         * benchtests/cosh-inputs: Likewise.
42289         * benchtests/exp-inputs: Likewise.
42290         * benchtests/log-inputs: Likewise.
42291         * benchtests/pow-inputs: Likewise.
42292         * benchtests/rint-inputs: Likewise.
42293         * benchtests/sin-inputs: Likewise.
42294         * benchtests/sinh-inputs: Likewise.
42295         * benchtests/tan-inputs: Likewise.
42296         * benchtests/tanh-inputs: Likewise.
42297         * scripts/bench.pl: Add support for new directives.
42299 2013-10-07  Alan Modra  <amodra@gmail.com>
42301         * README: Fix careless merge.
42303 2013-10-05  Alan Modra  <amodra@gmail.com>
42305         * NEWS: Mention powerpc64le support and bugs fixed.
42306         * README: Both big-endian and little-endian powerpc64 supported.
42308 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42310         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
42311         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
42312         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
42313         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
42315 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
42317         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
42318         match prototype.
42320 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
42322         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
42323         Move -mhard-float appending from
42324         ports/sysdeps/powerpc/powerpc32/Makefile.
42325         [$(with-fp) = yes] (ASFLAGS): Likewise.
42326         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
42327         * sysdeps/powerpc/nofpu: Move directory from
42328         ports/sysdeps/powerpc/nofpu.
42329         * sysdeps/powerpc/soft-fp: Move directory from
42330         ports/sysdeps/powerpc/soft-fp.
42331         * sysdeps/powerpc/powerpc32/405: Move directory from
42332         ports/sysdeps/powerpc/powerpc32/405.
42333         * sysdeps/powerpc/powerpc32/440: Move directory from
42334         ports/sysdeps/powerpc/powerpc32/440.
42335         * sysdeps/powerpc/powerpc32/464: Move directory from
42336         ports/sysdeps/powerpc/powerpc32/464.
42337         * sysdeps/powerpc/powerpc32/476: Move directory from
42338         ports/sysdeps/powerpc/powerpc32/476.
42339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
42340         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
42341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
42342         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
42343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
42344         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
42345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
42346         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
42347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
42348         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
42349         * README: Update for powerpc-*-linux-gnu software floating point
42350         support in libc.
42352         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
42353         case to powerpc/powerpc32*.
42354         * sysdeps/unix/sysv/linux/configure: Regenerated.
42356         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
42357         (_FPU_MASK_OM): Define as 0x04.
42358         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
42359         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
42360         0x00c10080.
42361         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
42362         0x0000003c.
42363         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
42365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
42366         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
42367         getcontext_e500.
42368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
42369         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
42370         setcontext_e500.
42371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
42372         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
42373         and setcontext_e500.
42375 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
42377         * locale/iso-3166.def: Update iso-1366.def and related occurrences
42379 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
42381         * manual/threads.texi (Default Thread Attributes): Fix typo.
42383 2013-10-04  Will Newton  <will.newton@linaro.org>
42385         * malloc/Makefile: Add tst-memalign.
42386         * malloc/tst-memalign.c: New file.
42388         * malloc/tst-posix_memalign.c: Add comments.
42389         (do_test): Add comments and call free on all potentially
42390         allocated pointers. Add space after cast.
42392         * malloc/tst-pvalloc.c: Add comments.
42393         (do_test): Add comments and call free on all potentially
42394         allocated pointers. Remove duplicate check for NULL pointer.
42395         Add space after cast.
42397         * malloc/tst-valloc.c: Add comments.
42398         (do_test): Add comments and call free on all potentially
42399         allocated pointers. Remove duplicate check for NULL pointer.
42400         Add space after cast.
42402 2013-10-04  Alan Modra  <amodra@gmail.com>
42404         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
42405         Use stdint types in rather than __attribute__((mode())).
42406         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
42408 2013-10-04  Alan Modra  <amodra@gmail.com>
42410         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
42411         Correct handling of unaligned relocs for little-endian.
42412         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
42414 2013-10-04  Alan Modra  <amodra@gmail.com>
42416         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
42417         * configure: Regenerate.
42418         * nptl/shlib-versions: Powerpc*le starts at 2.18.
42419         * shlib-versions: Likewise.
42421 2013-10-04  Alan Modra  <amodra@gmail.com>
42423         * string/tester.c (test_memrchr): Increment reported test cycle.
42425 2013-10-04  Alan Modra  <amodra@gmail.com>
42427         * string/test-memcpy.c (do_one_test): When reporting errors, print
42428         string address and don't overrun end of string.
42430 2013-10-04  Alan Modra  <amodra@gmail.com>
42432         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
42433         insrdi.  Make better use of reg selection to speed exit slightly.
42434         Schedule entry path a little better.  Remove useless "are we done"
42435         checks on entry to main loop.  Handle wrapping around zero address.
42436         Correct main loop count.  Handle single left-over word from main
42437         loop inline rather than by using loop_small.  Remove extra word
42438         case in loop_small caused by wrong loop count.  Add little-endian
42439         support.
42440         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
42441         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
42442         cache hint.
42443         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
42444         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
42445         support.  Avoid rlwimi.
42446         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
42448 2013-10-04  Alan Modra  <amodra@gmail.com>
42450         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
42451         insrdi.  Formatting.
42452         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
42453         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
42454         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
42455         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
42456         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
42457         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
42459 2013-10-04  Alan Modra  <amodra@gmail.com>
42461         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
42462         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
42463         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
42464         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
42465         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
42466         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
42467         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
42468         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
42469         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
42470         use of regs.  Use power7 mtocrf.  Tidy function tails.
42472 2013-10-04  Alan Modra  <amodra@gmail.com>
42474         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
42475         Formatting.  Consistently use rXXX register defines or rN defines.
42476         Use early exit labels that avoid restoring unused non-volatile regs.
42477         Make cr field use more consistent with rWORDn compares.  Rename
42478         regs used as shift registers for unaligned loop, using rN defines
42479         for short lifetime/multiple use regs.
42480         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
42481         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
42482         addi 1,1,64 to pop stack frame.  Simplify return value code.
42483         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
42485 2013-10-04  Alan Modra  <amodra@gmail.com>
42487         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
42488         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
42489         rather than rlwimi.
42490         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
42491         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
42492         little-endian support.  Correct typos.
42493         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
42494         rather than rlwimi.
42495         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
42496         in loop and entry code to keep "and." results.
42497         (strchr): Add little-endian support.  Comment.  Move cntlzd
42498         earlier in tail.
42499         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
42501 2013-10-04  Alan Modra  <amodra@gmail.com>
42503         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
42504         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
42505         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
42506         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
42508 2013-10-04  Alan Modra  <amodra@gmail.com>
42510         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
42511         (rTMP): Define as r11.
42512         (strcmp): Add little-endian support.  Optimise tail.
42513         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
42514         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
42515         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
42516         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
42517         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
42518         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
42519         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
42521 2013-10-04  Alan Modra  <amodra@gmail.com>
42523         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
42524         little-endian support.  Remove unnecessary "are we done" tests.
42525         Handle "s" wrapping around zero and extremely large "size".
42526         Correct main loop count.  Handle single left-over word from main
42527         loop inline rather than by using small_loop.  Correct comments.
42528         Delete "zero" tail, use "end_max" instead.
42529         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
42531 2013-10-04  Alan Modra  <amodra@gmail.com>
42533         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
42534         support.  Don't branch over align.
42535         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
42536         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
42537         support.  Rearrange tmp reg use to suit.  Comment.
42538         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
42540 2013-10-04  Alan Modra  <amodra@gmail.com>
42542         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
42544 2013-10-04  Alan Modra  <amodra@gmail.com>
42546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
42547         conditional form of branch and link when obtaining pc.
42548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
42550 2013-10-04  Alan Modra  <amodra@gmail.com>
42552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
42553         HIWORD/LOWORD.
42554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
42555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
42557 2013-10-04  Alan Modra  <amodra@gmail.com>
42559         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
42560         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
42561         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
42562         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
42563         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
42564         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
42565         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
42566         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
42567         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
42568         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
42570 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
42571             Alistair Popple <alistair@ozlabs.au.ibm.com>
42572             Alan Modra <amodra@gmail.com>
42574         [BZ #15723]
42575         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
42576         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
42577         _dl_hwcap access for little-endian.
42578         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
42579         destroy vmx regs when saving unaligned.
42580         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
42581         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
42582         destroy vmx regs when saving unaligned.
42584 2013-10-04  Alan Modra  <amodra@gmail.com>
42586         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
42587         Don't use a union to pack hi/low value.
42589 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
42591         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
42592         for little-endian.
42593         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
42594         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
42595         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
42596         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
42597         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
42599 2013-10-04  Alan Modra  <amodra@gmail.com>
42601         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
42602         constants to usual value for .cst8 section, and remove redundant
42603         high address load.
42604         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
42605         constant for 0x1p52.  Load little-endian words of double from
42606         correct stack offsets.
42608 2013-10-04  Alan Modra  <amodra@gmail.com>
42610         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
42611         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
42612         words of double from correct stack offsets.
42613         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
42614         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
42615         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
42616         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
42617         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
42618         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
42619         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
42620         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
42621         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
42622         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
42623         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
42624         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
42625         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
42626         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
42627         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
42628         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
42629         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
42631 2013-10-04  Alan Modra  <amodra@gmail.com>
42633         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
42634         64-bit int/double union.
42635         (_FPU_SETCW): Likewise.
42636         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
42637         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
42639 2013-10-04  Alan Modra  <amodra@gmail.com>
42641         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
42642         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
42644 2013-10-04  Alan Modra  <amodra@gmail.com>
42646         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
42647         use vector int constants.
42648         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
42650 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
42652         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
42653         array with long long.
42654         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
42655         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
42656         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
42657         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
42658         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
42659         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
42660         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
42661         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
42662         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
42663         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
42664         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
42665         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
42666         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
42668 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
42670         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
42671         (__signbit): Likewise.  Correct for little-endian.
42672         (__signbitl): Call __signbit.
42673         (lrint): Correct for little-endian.
42674         (lrintf): Call lrint.
42676 2013-10-04  Alan Modra  <amodra@gmail.com>
42678         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
42679         union 32-bit int array member with 64-bit int array.
42680         (t515, tm256): Double rather than long double.
42681         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
42683 2013-10-04  Alan Modra  <amodra@gmail.com>
42685         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
42686         Delete.
42687         (IEEE854_LONG_DOUBLE_BIAS): Delete.
42688         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
42689         version of math_ldbl.h.
42691 2013-10-04  Alan Modra  <amodra@gmail.com>
42693         [BZ #15734], [BZ #15735]
42694         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
42695         all uses of ieee875 long double macros and unions.  Simplify test
42696         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
42697         ldbl_extract_mantissa value for ix,iy exponents.  Properly
42698         normalize after ldbl_extract_mantissa, and don't add hidden bit
42699         already handled.  Don't treat low word of ieee854 mantissa like
42700         low word of IBM long double and mask off bit when testing for
42701         zero.
42702         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
42703         all uses of ieee875 long double macros and unions.  Simplify tests
42704         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
42705         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
42706         two1022, instead use their values.  Recognise that tests for large
42707         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
42708         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
42709         Rewrite all uses of ieee875 long double macros and unions.  Simplify
42710         test for 0.0L and nan.  Correct negation.
42711         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
42712         ieee875 long double macros and unions.  Correct output for large
42713         magnitude x.  Correct absolute value calculation.
42714         (__erfcl): Likewise.
42715         * math/libm-test.inc: Add tests for errors discovered in IBM long
42716         double versions of fmodl, remainderl, erfl and erfcl.
42718 2013-10-04  Alan Modra  <amodra@gmail.com>
42720         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
42721         all uses of ieee854 long double macros and unions.  Simplify tests
42722         for long doubles that are fully specified by the high double.
42723         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
42724         Likewise.
42725         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
42726         Remove dead code too.
42727         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
42728         (__ieee754_ynl): Likewise.
42729         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
42730         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
42731         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
42732         Remove dead code too.
42733         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
42734         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
42735         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
42736         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
42737         Simplify.
42738         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
42739         Simplify.
42740         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
42741         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
42742         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
42743         Comment on variable precision.
42744         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
42745         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
42746         Likewise.
42747         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
42748         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
42749         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
42750         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
42751         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
42753 2013-10-04  Alan Modra  <amodra@gmail.com>
42755         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
42756         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
42757         all uses of ieee854 long double macros and unions.
42758         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
42759         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
42760         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
42761         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
42762         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
42763         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
42764         Likewise.
42765         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
42766         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
42767         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
42768         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
42769         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
42770         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
42771         Simplify sign and nan test too.
42772         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
42773         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
42774         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
42775         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
42776         Likewise.
42777         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
42778         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
42779         Likewise.
42780         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42781         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
42782         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
42783         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
42784         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
42785         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
42787 2013-10-04  Alan Modra  <amodra@gmail.com>
42789         * stdio-common/printf_size.c (__printf_size): Don't use
42790         union ieee854_long_double in fpnum union.
42791         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
42792         signbit macro to retrieve sign from long double.
42793         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
42794         retrieve sign from long double.
42795         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
42796         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
42797         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
42798         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
42799         * math/test-misc.c (main): Don't use union ieee854_long_double.
42801 2013-10-04  Alan Modra  <amodra@gmail.com>
42803         [BZ #15680]
42804         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
42805         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
42806         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
42807         calculation.  Remove unnecessary test for denormal exponent.
42808         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
42809         Correct handling of denormals.  Avoid undefined shift behaviour.
42810         Correct normalisation of low mantissa when low double is denormal.
42811         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
42812         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
42813         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
42814         Correct normalisation of low mantissa.  Test for overflow of high
42815         mantissa and normalise.
42816         (ldbl_nearbyint): Use more readable constant for two52.
42817         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
42818         (__mpn_construct_long_double): Fix test for overflow of high
42819         mantissa and correct normalisation.  Avoid undefined shift.
42821 2013-10-04  Alan Modra  <amodra@gmail.com>
42823         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
42824         (union ibm_extended_long_double): Define as an array of ieee754_double.
42825         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
42826         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
42827         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
42828         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
42829         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
42830         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
42831         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
42832         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
42833         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
42834         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
42835         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
42837 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
42839         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
42840         page size instead of calling getpagesize.
42842         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
42843         (LOCFILE_ALIGN_MASK): Likewise.
42844         (LOCFILE_ALIGN_UP): Likewise.
42845         (LOCFILE_ALIGNED_P): Likewise.
42846         * locale/programs/ld-collate.c (collate_output): Use the new
42847         macros instead of __alignof__ (int32_t).
42848         * locale/weight.h (findidx): Likewise.
42850 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
42852         [BZ #431]
42853         * manual/string.texi: Fix strncat and wcsncat.
42855 2013-10-03  Brooks Moses  <bmoses@google.com>
42857         [BZ #15915]
42858         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
42859         * Makerules: ...here, and adjust associated comments.
42861 2013-10-02  Will Newton  <will.newton@linaro.org>
42863         * malloc/Makefile: Add tst-pvalloc.
42864         * malloc/tst-pvalloc.c: New file.
42866 2013-10-02  Will Newton  <will.newton@linaro.org>
42868         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
42869         improve test coverage.
42871 2013-10-02  Will Newton  <will.newton@linaro.org>
42873         * malloc/Makefile: Add tst-posix_memalign.
42874         * malloc/tst-posix_memalign.c: New file.
42876 2013-10-01  Eric Blake  <eblake@redhat.com>
42878         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
42879         Use __THROWNL rather than __THROW on static functions.
42881 2013-09-30  Petr Machata  <pmachata@redhat.com>
42883         * elf/elf.h (R_AARCH64_ABS16): New macro.
42884         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
42885         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
42886         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
42887         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
42888         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
42889         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
42890         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
42891         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
42892         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
42893         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
42894         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
42895         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
42896         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
42897         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
42898         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
42899         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
42900         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
42901         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
42902         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
42903         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
42904         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
42905         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
42906         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
42907         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
42908         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
42909         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
42910         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
42911         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
42912         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
42913         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
42914         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
42915         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
42916         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
42917         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
42918         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
42919         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
42920         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
42921         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
42922         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
42923         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
42924         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
42925         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
42926         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
42927         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
42928         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
42929         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
42930         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
42931         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
42932         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
42933         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
42934         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
42935         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
42936         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
42937         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
42938         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
42939         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
42940         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
42941         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
42942         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
42943         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
42944         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
42945         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
42946         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
42947         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
42948         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
42949         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
42950         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
42951         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
42952         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
42953         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
42954         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
42955         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
42956         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
42957         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
42958         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
42959         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
42960         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
42961         (R_AARCH64_TLSDESC_LDR): Likewise.
42962         (R_AARCH64_TLSDESC_ADD): Likewise.
42963         (R_AARCH64_TLSDESC_CALL): Likewise.
42965 2013-09-30  Andreas Schwab  <schwab@suse.de>
42967         [BZ #15048]
42968         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
42969         the nss database lookup.
42970         * nscd/initgrcache.c (addinitgroupsX): Likewise.
42971         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
42973 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
42975         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
42977 2013-09-28  P. J. McDermott  <pj@pehjota.net>
42979         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
42980         ${Bash-specific parameter/pattern/string} parameter expansion.
42981         * sysdeps/unix/make-syscalls.sh: Likewise.
42983 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42985         * sysdeps/sh/stackguard-macros.h: New file.
42987 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
42989         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
42990         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
42991         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
42992         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
42993         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
42994         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
42996 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42998         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
42999         Fix thread ID register.
43001 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
43003         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
43004         [POSIX || UNIX98]: Require rather than permitting all symbols from
43005         <time.h>.
43006         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
43007         element of struct sched_param.
43008         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
43009         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
43010         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
43011         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
43012         constant.
43014 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
43016         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
43017         argument calculation.
43019 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
43021         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
43022         Expect macro.
43023         [POSIX] (pthread_attr_t): Do not require type.
43024         [POSIX] (pthread_cond_t): Likewise.
43025         [POSIX] (pthread_condattr_t): Likewise.
43026         [POSIX] (pthread_key_t): Likewise.
43027         [POSIX] (pthread_mutex_t): Likewise.
43028         [POSIX] (pthread_mutexattr_t): Likewise.
43029         [POSIX] (pthread_once_t): Likewise.
43030         [POSIX] (pthread_t): Likewise.
43031         [POSIX-based standards] (pthread_atfork): Expect function.
43033 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
43034             Richard Sandiford  <richard@codesourcery.com>
43036         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
43037         (swap_endianness_p): New extern variable.
43038         (set_big_endian): New inline function.
43039         (maybe_swap_uint32): Likewise.
43040         (maybe_swap_uint32_array): Likewise.
43041         (maybe_swap_uint32_obstack): Likewise.
43042         * locale/programs/locfile.c: Include <stdbool.h>.
43043         (swap_endianness_p): New variable.
43044         (add_locale_uint32): Call maybe_swap_uint32.
43045         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
43046         (write_locale_data): Call maybe_swap_uint32_array.
43047         * locale/programs/ld-collate.c (obstack_int32_grow): Call
43048         maybe_swap_uint32.
43049         (obstack_int32_grow_fast): Likewise.
43050         (output_weightwc): Call maybe_swap_uint32_obstack.
43051         (collate_output): Likewise.
43052         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
43053         (OPT_LITTLE_ENDIAN): Likewise.
43054         (options): Add --little-endian and --big-endian options.
43055         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
43056         * locale/programs/locarchive.c: Include "locfile.h".
43057         (GET): New macro.
43058         (SET): Likewise.
43059         (INC): Likewise.
43060         (create_archive): Use the new macros to access fields of
43061         structures directly mapped from or written to locale archives.
43062         (oldlocrecentcmp): Likewise.
43063         (enlarge_archive): Likewise.
43064         (insert_name): Likewise.
43065         (add_alias): Likewise.
43066         (add_locale): Likewise.
43067         (delete_locales_from_archive): Likewise.
43068         (show_archive_content): Likewise.
43069         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
43070         locale data.
43072 2013-09-24  Roland McGrath  <roland@hack.frob.com>
43074         * manual/freemanuals.texi: Updated from (newly) canonical copy at
43075         http://www.gnu.org/doc/freemanuals.texi.
43076         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
43078 2013-09-24  Will Newton  <will.newton@linaro.org>
43080         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
43081         macro.
43083 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
43085         * locale/hashval.h (compute_hashval): Interpret bytes of key as
43086         unsigned char.
43088 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
43090         * manual/threads.texi (POSIX Threads): Fix a typo.
43092 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
43094         [BZ #14547]
43095         * string/tst-strcoll-overflow.c: New test case.
43096         * string/Makefile (xtests): Add tst-strcoll-overflow.
43097         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
43098         cache if string sizes may cause integer overflow.
43100         [BZ #14547]
43101         * string/strcoll_l.c (coll_seq): New members rule, idx,
43102         save_idx and back_us.
43103         (get_next_seq_nocache): New function.
43104         (do_compare_nocache): New function.
43105         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
43106         when malloc fails.
43108 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
43110         [BZ #15754]
43111         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
43112         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
43113         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
43115         [BZ #15754]
43116         * elf/Makefile (tests): Add tst-ptrguard1.
43117         (tests-static): Add tst-ptrguard1-static.
43118         (tst-ptrguard1-ARGS): Define.
43119         (tst-ptrguard1-static-ARGS): Define.
43120         * elf/tst-ptrguard1.c: New file.
43121         * elf/tst-ptrguard1-static.c: New file.
43122         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
43123         * sysdeps/i386/stackguard-macros.h: Likewise.
43124         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
43125         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
43126         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
43127         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
43128         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
43129         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
43131 2013-09-23  Hector Marco  <hecmargi@upv.es>
43132             Ismael Ripoll  <iripoll@disca.upv.es>
43133             Carlos O'Donell  <carlos@redhat.com>
43135         [BZ #15754]
43136         * sysdeps/generic/stackguard-macros.h: Define
43137         __pointer_chk_guard_local and POINTER_CHK_GUARD.
43138         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
43139         Define __pointer_chk_guard_local.
43140         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
43141         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
43143 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
43145         [BZ #15859]
43146         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
43148 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
43150         * include/string.h (__ffs): Declare as hidden.
43151         * string/ffs.c (__ffs): Define as hidden.
43152         * sysdeps/i386/ffs.c (__ffs): Likewise.
43153         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
43154         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
43155         * sysdeps/s390/ffs.c (__ffs): Likewise.
43156         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
43158 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
43160         * NEWS: Mention malloc probes.
43162         * malloc/arena.c (new_heap): New memory_heap_new probe.
43163         (grow_heap): New memory_heap_more probe.
43164         (shrink_heap): New memory_heap_less probe.
43165         (heap_trim): New memory_heap_free probe.
43166         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
43167         (systrim): New memory_sbrk_less probe.
43168         * manual/probes.texi: Document them.
43170         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
43171         * manual/probes.texi: Document it.
43173         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
43174         (__libc_realloc): Add memory_realloc_retry probe.
43175         (__libc_memalign): Add memory_memalign_retry probe.
43176         (__libc_valloc): Add memory_valloc_retry probe.
43177         (__libc_pvalloc): Add memory_pvalloc_retry probe.
43178         (__libc_calloc): Add memory_calloc_retry probe.
43179         * manual/probes.texi: Document them.
43181         * malloc/arena.c (get_free_list): Add probe
43182         memory_arena_reuse_free_list.
43183         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
43184         and memory_arena_reuse.
43185         (arena_get2) [!PER_THREAD]: Likewise.
43186         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
43187         memory_arena_reuse_realloc.
43188         * manual/probes.texi: Document them.
43190         * malloc/malloc.c (__libc_free): Add
43191         memory_mallopt_free_dyn_thresholds probe.
43192         (__libc_mallopt): Add multiple memory_mallopt probes.
43193         * manual/probes.texi: Document them.
43195         * malloc/malloc.c: Include stap-probe.h.
43196         (__libc_mallopt): Add memory_mallopt probe.
43197         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
43198         * manual/probes.texi: New.
43199         * manual/Makefile (chapters): Add probes.
43200         * manual/threads.texi: Set next node.
43202 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
43204         [BZ #15963, #13985]
43205         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
43206         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
43207         Add `Chinese' to `nan' entry name.
43209 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
43211         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
43212         (POLYNOMIAL): Likewise.
43213         (TAYLOR_SINCOS): Likewise.
43214         (TAYLOR_SLOW): Likewise.
43215         (__sin): Use TAYLOR_SINCOS.
43216         (__cos): Likewise.
43217         (slow): Use TAYLOR_SLOW.
43218         (sloww): Likewise.
43219         (bsloww): Likewise.
43220         (csloww): Likewise.
43222 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43224         * stdlib/strtod_l.c: Fix buffer overrun.
43226 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
43228         * benchtests/Makefile (bench): Add sincos.
43229         * benchtests/bench-sincos.c: New file.
43231         * math/libm-test.inc (cos_test_data): New test inputs.
43232         (sin_test_data): Likewise.
43234         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
43235         macro.
43236         (__sin): Use it.
43237         (__cos): Likewise.
43238         (slow1): Likewise.
43239         (slow2): Likewise.
43240         (sloww1): Likewise.
43241         (sloww2): Likewise.
43242         (bsloww1): Likewise.
43243         (bsloww2): Likewise.
43244         (cslow2): Likewise.
43245         (csloww1): Likewise.
43246         (csloww2): Likewise.
43248         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
43249         function.
43250         (__sin): Use it.
43251         (__cos): Likewise.
43253         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
43254         gotos.
43255         (__cos): Likewise.
43257 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
43259         * config.h.in (HAVE_MIPS_NAN2008): New macro.
43260         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
43261         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
43262         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
43263         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
43264         * elf/cache.c (print_entry): Handle the new cache flags.
43266 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
43267             Aldy Hernandez  <aldyh@redhat.com>
43269         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
43270         Change condition to [_SOFT_FLOAT].
43271         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
43272         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
43273         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
43274         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
43275         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
43276         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
43277         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
43278         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
43279         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
43280         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
43281         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
43282         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
43283         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
43284         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
43285         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
43286         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
43287         declaration.
43289 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
43291         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
43292         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
43293         (__longjmp): Use LOAD_GP to load saved GPRs.
43294         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
43295         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
43296         (__sigsetjmp): Use SAVE_GP to save GPRs.
43298         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
43299         Do not append -msoft-float.
43300         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
43302 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
43304         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
43306 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
43308         [BZ #15966]
43309         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
43310         (_FPU_GETCW): Use initial "__" on variable and field names but not
43311         on macro parameter name.
43312         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
43313         parentheses around reference to macro parameter.
43315 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
43317         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
43318         prototype.
43319         (ctype_startup): Use uint32_t in cast and sizeof for
43320         ctype->charnames.
43322 2013-09-11  Jia Liu  <proljc@gmail.com>
43324         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
43325         __daddr_t_defined.
43326         [__FreeBSD__]: Likewise.
43328 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
43330         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
43331         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
43332         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
43333         (strchr): Remove __strchr_sse42 ifunc selection.
43334         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
43335         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
43337 2013-09-11  Will Newton  <will.newton@linaro.org>
43339         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
43340         parameter to RES. Remove hardcoded 1000 value.
43341         * benchtests/bench-skeleton.c (main): Pass RES parameter
43342         to TIMING_INIT and multiply result by 1000.
43344 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43346         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43348 2013-09-11  Andreas Schwab  <schwab@suse.de>
43350         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
43351         if not defined.
43352         (O_TMPFILE) [__USE_GNU]: Define.
43353         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
43354         Define.
43356 2013-09-11  Will Newton  <will.newton@linaro.org>
43358         [BZ #15857]
43359         * malloc/malloc.c (__libc_memalign): Check the value of bytes
43360         does not overflow.
43362 2013-09-11  Will Newton  <will.newton@linaro.org>
43364         [BZ #15856]
43365         * malloc/malloc.c (__libc_valloc): Check the value of bytes
43366         does not overflow.
43368 2013-09-11  Will Newton  <will.newton@linaro.org>
43370         [BZ #15855]
43371         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
43372         does not overflow.
43374 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
43376         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
43377         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
43378         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
43379         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43380         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43382 2013-09-10  Allan McRae  <allan@archlinux.org>
43384         [BZ #15748]
43385         * manual/arith.texi (Parsing of Floats): Clarify
43386         cross-reference.
43388         [BZ #15849]
43389         * manual/install.texi (Running make install): Mention
43390         --enable-pt-chown.
43391         * INSTALL: Regenerated.
43393 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
43395         * csu/init-first.c (_init): Remove the !SHARED condition around
43396         FPU control word initialization.
43397         * elf/dl-support.c (_dl_fpu_control): New variable.
43398         (_dl_aux_init) <AT_FPUCW>: Initialize it.
43399         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
43400         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
43401         * math/test-fpucw-static.c: New file.
43402         * math/test-fpucw-ieee.c: New file.
43403         * math/test-fpucw-ieee-static.c: New file.
43404         * math/Makefile (tests): Add `test-fpucw-ieee' and
43405         `$(tests-static)'.
43406         (tests-static): New variable.
43407         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
43408         dependency to...
43409         [($(build-shared),yes)]
43410         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
43411         ... this.
43412         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
43413         New dependency.
43415 2013-09-09  Allan McRae  <allan@archlinux.org>
43417         [BZ #15939]
43418         * manual/string.texi (Collation Functions): Fix typo in
43419         strcoll example.
43420         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
43422         [BZ #15893]
43423         * stdlib/isomac.c (get_null_defines): Fix memory leak.
43425         [BZ #15892]
43426         * libio/memstream.c (open_memstream): Fix memory leak.
43427         * libio/wmemstream.c (open_wmemstream): Likewise.
43429         [BZ #15895]
43430         * nscd/netgroupcache.c: Fix nesting of ifdefs.
43432 2013-09-09  Will Newton  <will.newton@linaro.org>
43434         * malloc/Makefile: Add tst-realloc to tests.
43435         * malloc/tst-realloc.c: New file.
43437 2013-09-09  Allan McRae  <allan@archlinux.org>
43439         [BZ #15844]
43440         * COPYING: Update from GNU website to fix FSF address.
43441         * COPYING.LIB: Likewise.
43443 2013-09-06  David S. Miller  <davem@davemloft.net>
43445         * po/zh_TW.po: Update Chinese (traditional) translation from
43446         translation project.
43448 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
43449             Joseph Myers  <joseph@codesourcery.com>
43451         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
43452         "localeinfo.h".
43453         (obstack_chunk_alloc): New macro.
43454         (obstack_chunk_free): Likewise.
43455         (record_offset): New function.
43456         (init_locale_data): Likewise.
43457         (align_locale_data): Likewise.
43458         (add_locale_empty): Likewise.
43459         (add_locale_raw_data): Likewise.
43460         (add_locale_raw_obstack): Likewise.
43461         (add_locale_string): Likewise.
43462         (add_locale_wstring): Likewise.
43463         (add_locale_uint32): Likewise.
43464         (add_locale_uint32_array): Likewise.
43465         (add_locale_char): Likewise.
43466         (start_locale_structure): Likewise.
43467         (end_locale_structure): Likewise.
43468         (start_locale_prelude): Likewise.
43469         (end_locale_prelude): Likewise.
43470         (write_locale_data): Take locale_file structure rather than an
43471         iovec.
43472         * locale/programs/locfile.h: Include "obstack.h".
43473         (struct locale_file): Change to store locale file contents instead
43474         of header.
43475         (init_locale_data): New prototype.
43476         (align_locale_data): Likewise.
43477         (add_locale_empty): Likewise.
43478         (add_locale_raw_data): Likewise.
43479         (add_locale_raw_obstack): Likewise.
43480         (add_locale_string): Likewise.
43481         (add_locale_wstring): Likewise.
43482         (add_locale_uint32): Likewise.
43483         (add_locale_uint32_array): Likewise.
43484         (add_locale_char): Likewise.
43485         (start_locale_structure): Likewise.
43486         (end_locale_structure): Likewise.
43487         (start_locale_prelude): Likewise.
43488         (end_locale_prelude): Likewise.
43489         (write_locale_data): Update prototype.
43490         * locale/programs/3level.h (struct TABLE): Remove result field.
43491         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
43492         Use new locale_file interface.
43493         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
43494         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
43495         * locale/programs/ld-address.c (address_output): Use new
43496         locale_file interface.
43497         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
43498         NO_ADD_LOCALE.
43499         (collate_finish): Don't call collseq_table_finalize.
43500         (collate_output): Use new locale_file interface.
43501         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
43502         in file.
43503         (NO_FINALIZE): Change to NO_ADD_LOCALE.
43504         (TABLE): Move defines earlier in file.
43505         (ELEMENT): Likewise.
43506         (DEFAULT): Likewise.
43507         (wctrans_table_add): Move macro and inline function earlier in
43508         file.
43509         (struct wctype_table): Move type earlier in file.
43510         (add_locale_wctype_table): New static prototype.
43511         (struct locale_ctype_t): Use logical types instead of struct iovec
43512         pointers for members.
43513         (ctype_output): Use new locale_file interface.
43514         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
43515         new locale_file interface.
43516         (allocate_arrays): Update for use of new locale_file interface.
43517         * locale/programs/ld-identification.c (identification_output): Use
43518         new locale_file interface.
43519         * locale/programs/ld-measurement.c (measurement_output): Likewise.
43520         * locale/programs/ld-messages.c (messages_output): Likewise.
43521         * locale/programs/ld-monetary.c (monetary_output): Likewise.
43522         * locale/programs/ld-name.c (name_output): Likewise.
43523         * locale/programs/ld-numeric.c (numeric_output): Likewise.
43524         * locale/programs/ld-paper.c (paper_output): Likewise.
43525         * locale/programs/ld-telephone.c (telephone_output): Likewise.
43526         * locale/programs/ld-time.c (time_output): Likewise.
43528 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43530         * benchtests/Makefile: Add memrchr benchmark.
43531         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
43532         benchmark as memrchr.
43533         * benchtests/bench-memrchr-ifunc.c: New file.
43534         * benchtests/bench-memrchr.c: New file.
43536 2013-09-06   Will Newton  <will.newton@linaro.org>
43538         * benchtests/Makefile (string-bench): Add memcpy.
43540 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
43541             Cong Wang  <amwang@redhat.com>
43543         [BZ #15850]
43544         * sysdeps/unix/sysv/linux/bits/in.h
43545         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
43546         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
43547         before __USE_KERNEL_IPV6_DEFS uses.
43548         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
43549         IPPROTO_BEETPH.
43550         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
43551         sockaddr_in6, or ipv6_mreq.
43553 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43555         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
43556         memory access for final bytes in some large inputs.
43557         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
43559 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43561         * string/test-memrchr.c: New file.
43562         * string/test-memrchr-ifunc.c: New file.
43563         * string/Makefile: Add new memrchr testcase.
43565 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
43567         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
43568         fanotify_init returns EPERM.
43570 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
43572         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
43573         errors.
43574         (top level): Treat second token from macro or constant entries for
43575         allowed headers as allowed.
43576         * include/complex.h: Condition internal declarations on
43577         [!_ISOMAC].
43578         * include/fenv.h: Condition include of <stdbool.h> and internal
43579         declarations on [!_ISOMAC].
43581 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
43583         [BZ #15923]
43584         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
43586 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
43588         * configure.in (--enable-versioning): Remove configure option.
43589         (libc_cv_asm_symver_directive): Remove configure test.
43590         (libc_cv_ld_version_script_option): Likewise.
43591         (VERSIONING): Remove variable and AC_SUBST.
43592         (DO_VERSIONING): Remove AC_DEFINE.
43593         * configure: Regenerated.
43594         * config.h.in (DO_VERSIONING): Remove macro.
43595         * Makerules [$(versioning) = yes]: Change conditionals to
43596         [$(build-shared) = yes].
43597         * config.make.in (versioning): Remove variable.
43598         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
43599         [$(build-shared) = yes].
43600         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
43601         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
43602         * elf/Makefile [$(versioning) = yes]: Change conditionals to
43603         [$(build-shared) = yes].
43604         * extra-lib.mk [$(versioning) = yes]: Likewise.
43605         * hurd/Makefile [$(versioning) = yes]: Likewise.
43606         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
43607         [SHARED].
43608         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
43609         [SHARED].
43610         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
43611         [SHARED && !NO_HIDDEN].
43612         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
43613         [SHARED].
43614         [SHARED && DO_VERSIONING]: Likewise..
43615         * libio/Makefile [$(versioning) = yes]: Change conditionals to
43616         [$(build-shared) = yes].
43617         * manual/install.texi (--disable-versioning): Remove
43618         documentation.
43619         * INSTALL: Regenerated.
43620         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
43621         to [SHARED].
43622         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
43623         [$(build-shared) = yes].
43624         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
43625         * sysdeps/i386/i686/multiarch/strstr-c.c
43626         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
43627         [SHARED && !NO_HIDDEN].
43628         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
43629         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
43630         * sysdeps/powerpc/powerpc32/dl-machine.c
43631         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
43632         * sysdeps/powerpc/powerpc32/sysdep.h
43633         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
43634         to [SHARED && PIC && !NO_HIDDEN].
43635         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
43636         conditional to [SHARED].
43638 2013-09-04   Will Newton  <will.newton@linaro.org>
43640         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
43641         * benchtests/bench-string.h: Include bench-timing.h instead
43642         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
43643         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
43644         call to HP_TIMING_DIFF_INIT.
43645         * benchtests/bench-memccpy.c: Use bench-timing.h macros
43646         instead of hp-timing.h macros.
43647         * benchtests/bench-memchr.c: Likewise.
43648         * benchtests/bench-memcmp.c: Likewise.
43649         * benchtests/bench-memcpy.c: Likewise.
43650         * benchtests/bench-memmem.c: Likewise.
43651         * benchtests/bench-memmove.c: Likewise.
43652         * benchtests/bench-memset.c: Likewise.
43653         * benchtests/bench-rawmemchr.c: Likewise.
43654         * benchtests/bench-strcasecmp.c: Likewise.
43655         * benchtests/bench-strcasestr.c: Likewise.
43656         * benchtests/bench-strcat.c: Likewise.
43657         * benchtests/bench-strchr.c: Likewise.
43658         * benchtests/bench-strcmp.c: Likewise.
43659         * benchtests/bench-strcpy.c: Likewise.
43660         * benchtests/bench-strcpy_chk.c: Likewise.
43661         * benchtests/bench-strlen.c: Likewise.
43662         * benchtests/bench-strncasecmp.c: Likewise.
43663         * benchtests/bench-strncat.c: Likewise.
43664         * benchtests/bench-strncmp.c: Likewise.
43665         * benchtests/bench-strncpy.c: Likewise.
43666         * benchtests/bench-strnlen.c: Likewise.
43667         * benchtests/bench-strpbrk.c: Likewise.
43668         * benchtests/bench-strrchr.c: Likewise.
43669         * benchtests/bench-strspn.c: Likewise.
43670         * benchtests/bench-strstr.c: Likewise.
43672 2013-09-04  Will Newton  <will.newton@linaro.org>
43674         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
43676 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
43678         [BZ #15427]
43679         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
43680         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
43681         * math/libm-test.inc (lgamma_test_data): Add more tests.
43682         * sysdeps/i386/fpu/libm-test-ulps: Update.
43683         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43685 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
43687         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
43688         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
43689         Add ifunc.
43690         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
43691         Add strcmp-sse2-unaligned
43692         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
43694 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
43696         * Versions.def (libc): Add GLIBC_2.19.
43698 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
43700         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
43701         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
43703 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
43705         [BZ #14155]
43706         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
43707         intermediate calculations in recurrence.
43708         (__ieee754_ynf): Likewise.
43709         * math/libm-test.inc (jn_test_data): Do not allow spurious
43710         underflow exception.  Add more tests.
43711         (yn_test_data): Add more tests.
43712         * sysdeps/i386/fpu/libm-test-ulps: Update.
43713         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43715 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
43717         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
43719 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
43721         * csu/init-first.c: Fix then/than typos.
43722         * locale/programs/ld-collate.c: Likewise.
43723         * locale/programs/linereader.h: Likewise.
43724         * manual/charset.texi: Likewise.
43725         * manual/filesys.texi: Likewise.
43726         * manual/stdio.texi: Likewise.
43727         * manual/string.texi: Likewise.
43728         * stdlib/fmtmsg.c: Likewise.
43729         * sysdeps/i386/stpncpy.S: Likewise.
43730         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
43731         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
43732         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
43733         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
43735 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
43737         * elf/dl-open.c: Fix typos.
43738         * iconvdata/gbbig5.c: Likewise.
43739         * iconvdata/iso-2022-jp.c: Likewise.
43740         * iconv/gconv_int.h: Likewise.
43741         * iconv/loop.c: Likewise.
43742         * nis/rpcsvc/nis.h: Likewise.
43743         * resolv/ns_name.c: Likewise.
43744         * stdio-common/vfscanf.c: Likewise.
43745         * streams/stropts.h: Likewise.
43746         * sunrpc/rpc_thread.c: Likewise.
43747         * sysdeps/i386/strpbrk.S: Likewise.
43748         * sysdeps/ieee754/k_standard.c: Likewise.
43749         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
43750         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
43751         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
43752         * sysdeps/mach/hurd/profil.c: Likewise.
43753         * sysdeps/s390/dl-procinfo.h: Likewise.
43754         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
43755         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
43756         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
43757         * sysdeps/x86_64/dl-trampoline.S: Likewise.
43758         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
43760 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
43762         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
43763         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
43765 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
43767         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
43768         aix specific files.
43769         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
43770         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
43771         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
43772         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
43773         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
43774         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
43775         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
43776         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
43778 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
43779             Roland McGrath  <roland@hack.frob.com>
43781         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
43782         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
43784 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43786         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
43787         __executable_start symbol instead of _start.
43789 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
43791         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
43792         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
43793         Move macros to...
43794         * sysdeps/gnu/ldsodefs.h: ... this new file.
43796         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
43797         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
43798         instead of ELFOSABI_LINUX.
43800         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
43801         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
43802         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
43803         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
43804         Likewise.
43805         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
43806         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
43807         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
43808         Likewise.
43809         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
43810         (ibm_extended_long_double): Add ieee_nan member.
43811         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
43812         (do_test): New function.
43814         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
43815         TEST_TRUNC.
43816         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
43817         functions, renamed from truncdfsf_test, trunctfsf_test,
43818         trunctfdf_test.
43819         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
43820         functions.
43821         (do_test): Run all these.
43823 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
43825         * argp/argp-help.c: Fix typos.
43826         * argp/argp-parse.c: Likewise.
43827         * debug/backtracesyms.c: Likewise.
43828         * elf/elf.h: Likewise.
43829         * malloc/malloc.c: Likewise.
43830         * nis/nis_print.c: Likewise.
43831         * resolv/res_comp.c: Likewise.
43832         * stdlib/stdlib.h: Likewise.
43833         * sunrpc/clnt_tcp.c: Likewise.
43834         * sunrpc/clnt_udp.c: Likewise.
43835         * sunrpc/clnt_unix.c: Likewise.
43836         * sysdeps/unix/bsd/ptsname.c: Likewise.
43837         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
43838         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
43839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
43840         Likewise.
43841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
43842         Likewise.
43843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
43844         Likewise.
43845         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
43847 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43849         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
43850         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
43852 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
43854         [BZ #15897]
43855         * dlfcn/Makefile (tests): Add bug-dl-leaf.
43856         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
43857         ($(objpfx)bug-dl-leaf): New rule.
43858         ($(objpfx)bug-dl-leaf.so): Likewise.
43859         ($(objpfx)bug-dl-leaf.out): Likewise.
43860         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
43861         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
43862         * dlfcn/bug-dl-leaf.c: New test.
43863         * dlfcn/bug-dl-leaf-lib.c: Likewise.
43864         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
43865         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
43866         (dlclose): Likewise.
43867         (dlmopen): Likewise.
43869 2013-08-27  Roland McGrath  <roland@hack.frob.com>
43871         * include/netdb.h [!_ISOMAC]:
43872         Don't include <tls.h>.
43873         (h_errno, __libc_h_errno): Move declaration and macros out of
43874         [_LIBC_REENTRANT].
43876         * include/resolv.h [_RESOLV_H_]:
43877         Don't include <tls.h>.
43878         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
43879         * resolv/res_libc.c: Don't include <tls.h>.
43880         (_res): Use __attribute__ ((nocommon)) in place of
43881         __attribute__ ((section (".bss"))).
43883         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
43884         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
43886         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
43888         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
43889         only under [SIOCGIFCONF && SIOCGIFNETMASK].
43891         * resolv/res_mkquery.c: Include <sys/time.h>.
43893         * inet/ifreq.c: Moved to ...
43894         * sysdeps/unix/ifreq.c: ... here.
43895         * inet/ifreq.c: New file, true stub version.
43897         * socket/sa_len.c: New file.
43898         * socket/Makefile (aux): Add it.
43899         * sysdeps/unix/sysv/linux/Makefile
43900         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
43901         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
43902         and #include <socket/sa_len.c>.
43903         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
43904         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
43906         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
43907         * bits/socket.h: ... here.
43909         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
43910         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
43911         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
43913 2013-08-27  Andreas Schwab  <schwab@suse.de>
43915         [BZ #15736]
43916         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
43917         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
43918         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
43919         * string/test-strcasecmp.c (test_main): Run tests in several
43920         locales.
43921         * string/test-strncasecmp.c (test_main): Likewise.
43923         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
43924         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
43925         to __strcasecmp_nonascii and __strncasecmp_nonascii.
43926         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
43927         (__strncasecmp_ssse3) [PIC]: Likewise.
43929 2013-08-26  Roland McGrath  <roland@hack.frob.com>
43931         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
43933         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
43934         instead of explicitly declaring xdecrypt.
43935         * nis/nss_nis/nis-publickey.c: Likewise.
43937 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
43939         [BZ #15890]
43940         * nscd/aicache.c: Include res_hconf.h.
43941         (addhstaiX): Initialize res_hconf.
43943 2013-08-26  Andreas Schwab  <schwab@suse.de>
43945         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
43946         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
43948 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
43950         * nscd/aicache.c (addhstaiX): Fix indentation.
43952 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
43954         * configure.ac: Quote $build_pt_chown test.
43955         * configure: Regenerated.
43957 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
43959         [BZ #15532]
43960         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
43961         * math/s_cexpf.c (__cexpf): Likewise.
43962         * math/s_cexpl.c (__cexpl): Likewise.
43963         * math/libm-test.inc (cexp_test_data): Correct expected return
43964         value for NaN + i0.  Add another test.
43966 2013-08-22  David S. Miller  <davem@davemloft.net>
43968         * po/ca.po: Update Catalan translation from translation project.
43969         * po/uk.po: Add Ukrainian translations from translation project.
43971 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
43973         [BZ #15797]
43974         * math/s_fdim.c (__fdim): Check for infinite arguments if result
43975         is infinite, not alongside NaN test.
43976         * math/s_fdimf.c (__fdimf): Likewise.
43977         * math/s_fdiml.c (__fdiml): Likewise.
43978         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
43979         errno is unchanged.
43981 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
43983         * argp/argp-help.c: Fix typos.
43984         * crypt/speeds.c: Likewise.
43985         * csu/check_fds.c: Likewise.
43986         * elf/dl-load.c: Likewise.
43987         * elf/dl-open.c: Likewise.
43988         * elf/reldep3.c: Likewise.
43989         * elf/reldep.c: Likewise.
43990         * elf/sprof.c: Likewise.
43991         * iconv/iconv_charmap.c: Likewise.
43992         * iconv/skeleton.c: Likewise.
43993         * iconv/strtab.c: Likewise.
43994         * io/lockf64.c: Likewise.
43995         * libio/libioP.h: Likewise.
43996         * resolv/gai_notify.c: Likewise.
43997         * resolv/ns_name.c: Likewise.
43998         * resolv/ns_samedomain.c: Likewise.
43999         * resolv/res_send.c: Likewise.
44000         * stdlib/random.c: Likewise.
44001         * sunrpc/rpc/xdr.h: Likewise.
44002         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
44003         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
44004         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
44005         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
44006         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
44007         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
44008         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
44009         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
44010         * sysdeps/mach/hurd/check_fds.c: Likewise.
44011         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
44012         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
44013         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
44014         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
44015         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
44016         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
44017         * sysdeps/pthread/aio_notify.c: Likewise.
44018         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
44019         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
44020         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
44021         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
44022         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
44024 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44026         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
44027         version if bit_Slow_SSE4_2 is set.
44028         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44029         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
44031 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44033         [BZ #15867]
44034         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
44035         trampoline stack frame information.
44036         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
44037         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
44038         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
44039         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
44040         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
44041         * sysdeps/unix/sysv/linux/powerpc/init-first.c
44042         (_libc_vdso_platform_setup): Initialize the signal trampolines.
44043         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
44044         sa_flags value.
44045         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
44046         interrupting a syscall and set with option SA_SIGINFO.
44048 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
44050         [BZ #15531]
44051         * math/s_cproj.c (__cproj): Only return an infinity if one part of
44052         argument is infinite.
44053         * math/s_cprojf.c (__cprojf): Likewise.
44054         * math/s_cprojl.c (__cprojl): Likewise.
44055         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
44056         * math/libm-test.inc (cproj_test_data): Add more tests.
44058         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
44060         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
44061         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
44062         size.  Use __ffs to determine corresponding shift.
44064 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
44065             Roland McGrath  <roland@hack.frob.com>
44067         * Makefile (INSTALL): Remove trailing blank lines from output of
44068         makeinfo.
44070 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44072         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
44073         Align 32 bit compat elf_greg to 8 bytes.
44075 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
44077         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
44079 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
44081         * string/strcoll_l.c (coll_seq): New structure.
44082         (get_next_seq_cached): New function.
44083         (get_next_seq): New function.
44084         (do_compare): New function.
44085         (STRCOLL): Use GNU style definition.  Simplify implementation
44086         by using get_next_seq, get_next_seq_cached and do_compare.
44088 2013-08-16  Florian Weimer  <fweimer@redhat.com>
44090         [BZ #14699]
44091         CVE-2013-4237
44092         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
44093         member.
44094         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
44095         member.
44096         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
44097         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
44098         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
44099         conditional.
44100         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
44101         GETDENTS_64BIT_ALIGNED.
44102         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
44103         * manual/filesys.texi (Reading/Closing Directory): Document
44104         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
44105         strongly.
44106         * manual/conf.texi (Limits for Files): Add portability note to
44107         NAME_MAX, PATH_MAX.
44108         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
44110 2013-08-13  Andreas Schwab  <schwab@suse.de>
44112         [BZ #15749]
44113         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
44114         of fabs.
44115         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
44116         LDBL_MAX_EXP >= 16384]: Add tests for it.
44118 2013-08-12  David S. Miller  <davem@davemloft.net>
44120         * version.h (RELEASE): Set to "development".
44121         (VERSION): Set to "2.18.90".
44122         * NEWS: Add 2.19 section.
44124 2013-08-03  David S. Miller  <davem@davemloft.net>
44126         * po/ko.po: Update Korean translation from translation project.
44128 2013-08-01  David S. Miller  <davem@davemloft.net>
44130         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
44131         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
44132         Bilka.
44134 2013-07-30  David S. Miller  <davem@davemloft.net>
44136         * po/fr.po: Update French translation from translation project.
44138 2013-07-28  David S. Miller  <davem@davemloft.net>
44140         * po/cs.po: Update Czech translation from translation project.
44142         * po/sv.po: Update Swedish translation from translation project.
44144 2013-07-27  David S. Miller  <davem@davemloft.net>
44146         * po/eo.po: Update Esperanto translation from translation project.
44148         * po/vi.po: Update Vietnamese translation from translation project.
44150         * po/de.po: Update German translation from translation project.
44152 2013-07-26  David S. Miller  <davem@davemloft.net>
44154         * po/bg.po: Update Bulgarian translation from translation project.
44156         * po/nl.po: Update Dutch translation from translation project.
44157         * po/pl.po: Update Polish translation from translation project.
44158         * po/ru.po: Update Russian translation from translation project.
44160 2013-07-24  David S. Miller  <davem@davemloft.net>
44162         * po/libc.pot: Update.
44164 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44166         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
44167         variable page size.
44168         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
44169         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
44170         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
44172 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44174         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
44176 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
44177             Andreas Schwab  <schwab@suse.de>
44178             Roland McGrath  <roland@hack.frob.com>
44179             Joseph Myers  <joseph@codesourcery.com>
44180             Carlos O'Donell  <carlos@redhat.com>
44182         [BZ #15755]
44183         * config.h.in: Define HAVE_PT_CHOWN.
44184         * config.make.in (build-pt-chown): New variable.
44185         * configure.in (--enable-pt_chown): New configure option.
44186         * configure: Regenerate.
44187         * login/Makefile: Include Makeconfig.  Build pt_chown only if
44188         build-pt-chown is enabled.
44189         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
44190         pt_chown to fix pty ownership.
44191         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
44192         CLOSE_ALL_FDS.
44193         * manual/install.texi (Configuring and compiling): Mention
44194         --enable-pt_chown. Add @findex for grantpt.
44195         * INSTALL: Regenerate.
44197 2013-07-20  David S. Miller  <davem@davemloft.net>
44199         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
44200         difference between 32-bit and 64-bit.
44202 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
44204         [BZ #15711]
44205         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
44206         Avoid system header dependency with -ffreestanding.
44207         ($(objpfx)bits/syscall%d): Likewise.
44209 2013-07-13  David S. Miller  <davem@davemloft.net>
44211         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
44212         underflows from atanl/atan2l due to bug 15319.
44213         (casinh_test_data): Likewise.
44215 2013-07-07  David S. Miller  <davem@davemloft.net>
44217         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
44219 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
44221         * sysdeps/i386/fpu/libm-test-ulps: Update.
44222         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44224 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
44226         * configure.in (--enable-lock-elision): Fix message text.
44227         * INSTALL: Regenerate.
44228         * configure: Regenerate.
44230 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44232         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44234 2013-07-03  Andreas Jaeger  <aj@suse.de>
44236         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
44237         define.
44238         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
44239         (ptrace_peeksiginfo_args): Add.
44240         (__ptrace_peeksiginfo_flags): Add.
44241         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44242         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44243         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44245 2013-07-03  Allan McRae  <allan@archlinux.org>
44247         * sysdeps/i386/fpu/libm-test-ulps: Update.
44249 2013-07-02  David S. Miller  <davem@davemloft.net>
44251         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44253 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
44255         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44257 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
44259         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
44260         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44262 2013-07-02  Andi Kleen <ak@linux.intel.com>
44264         * config.h.in (ENABLE_LOCK_ELISION): Add.
44265         * configure.in (--enable-lock-elision): Add option.
44266         * manual/install.texi: Document --enable lock elision.
44267         * configure: Regenerate
44268         * INSTALL: Regenerate.
44270 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
44272         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
44273         SSE4.2 strcasecmp for libc.a.
44274         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
44276 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
44278         [BZ #13304]
44279         * soft-fp/op-common.h (_FP_FMA): New macro.
44280         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
44281         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
44282         (_FP_MUL_MEAT_1_imm): ... here.
44283         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
44284         (_FP_MUL_MEAT_1_wide): ... here.
44285         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
44286         (_FP_MUL_MEAT_1_hard): ... here.
44287         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
44288         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
44289         (_FP_MUL_MEAT_2_wide): ... here.
44290         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
44291         (_FP_MUL_MEAT_2_wide_3mul): ... here.
44292         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
44293         (_FP_MUL_MEAT_2_gmp): ... here.
44294         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
44295         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
44296         (_FP_MUL_MEAT_4_wide): ... here.
44297         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
44298         (_FP_MUL_MEAT_4_gmp): ... here.
44299         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
44300         (_FP_WFRACBITS_DW_S): Likewise.
44301         (_FP_WFRACXBITS_DW_S): Likewise.
44302         (_FP_HIGHBIT_DW_S): Likewise.
44303         (FP_FMA_S): Likewise.
44304         (_FP_FRAC_HIGH_DW_S): Likewise.
44305         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
44306         (_FP_WFRACBITS_DW_D): Likewise.
44307         (_FP_WFRACXBITS_DW_D): Likewise.
44308         (_FP_HIGHBIT_DW_D): Likewise.
44309         (FP_FMA_D): Likewise.
44310         (_FP_FRAC_HIGH_DW_D): Likewise.
44311         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
44312         (_FP_WFRACBITS_DW_E): Likewise.
44313         (_FP_WFRACXBITS_DW_E): Likewise.
44314         (_FP_HIGHBIT_DW_E): Likewise.
44315         (FP_FMA_E): Likewise.
44316         (_FP_FRAC_HIGH_DW_E): Likewise.
44317         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
44318         (_FP_WFRACBITS_DW_Q): Likewise.
44319         (_FP_WFRACXBITS_DW_Q): Likewise.
44320         (_FP_HIGHBIT_DW_Q): Likewise.
44321         (FP_FMA_Q): Likewise.
44322         (_FP_FRAC_HIGH_DW_Q): Likewise.
44323         * soft-fp/fmasf4.c: New file.
44324         * soft-fp/fmadf4.c: Likewise.
44325         * soft-fp/fmatf4.c: Likewise.
44327 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44329         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
44330         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
44331         Silvermont.
44332         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
44333         macro.
44334         (index_Slow_SSE4_2): Likewise.
44335         (index_Prefer_PMINUB_for_stringop): Likewise.
44336         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
44337         bit_Slow_SSE4_2 is set.
44338         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
44339         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
44341 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
44343         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
44344         rtld_global._dl_hwcap2.
44345         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
44346         POWER8.
44347         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
44348         POWER8 feature descriptions defined in _dl_hwcap2.
44349         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
44350         string handling for POWER8 feature bits.
44351         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
44352         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
44353         _dl_powerpc_cap_flags.
44354         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
44355         * sysdeps/powerpc/rtld-global-offsets.sym
44356         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
44357         _dl_hwcap2 in the rtld_global_ro structure.
44359 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
44361         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
44362         hardware capabilities in support of AT_HWCAP2.
44363         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
44364         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
44365         GLRO(dl_hwcap2).
44366         (_dl_show_auxv): Add support for calling _dl_procinfo to display
44367         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
44368         explicitly the unknown a_type display mechanism is used.
44369         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
44370         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
44371         struct member.
44372         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
44373         to macro prototype for AT_HWCAP2 support.
44374         * sysdeps/i386/dl-procinfo.h: Likewise.
44375         * sysdeps/s390/dl-procinfo.h: Likewise.
44376         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
44377         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
44378         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
44379         return -1 for unknown a_type display fallback.
44380         * sysdeps/sparc/dl-procinfo.h: Likewise.
44381         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
44382         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
44384 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
44386         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
44387         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
44389 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
44391         [BZ #12492]
44392         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
44393         mprotect making __stack_prot writable.
44395 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
44396             Joseph Myers  <joseph@codesourcery.com>
44398         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
44399         as being properly aligned.
44401 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
44403         * dlfcn/modstatic5.c: New file.
44404         * dlfcn/tststatic5.c: New file.
44405         * dlfcn/Makefile (tests): Add tststatic5.
44406         (tests-static): Likewise.
44407         (modules-names): Add modstatic5.
44408         (tststatic5-ENV): New variable.
44409         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
44411         [BZ #15022]
44412         * elf/dl-support.c (_dl_main_map): New variable.
44413         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
44414         (_dl_nns, _dl_load_adds): Set to 1.
44415         (_dl_initial_searchlist): Refer to _dl_main_map.
44416         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
44417         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
44418         call to _dl_get_origin.
44419         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
44420         around call_map.
44421         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
44422         * dlfcn/modstatic3.c: New file.
44423         * dlfcn/tststatic3.c: New file.
44424         * dlfcn/tststatic4.c: New file.
44425         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
44426         (tests-static): Likewise.
44427         (modules-names): Add modstatic3.
44428         (tststatic3-ENV, tststatic4-ENV): New variables.
44429         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
44430         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
44432 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
44434         * configure.in (CC): Require GCC version 4.4 or later.
44435         * configure: Regenerated.
44436         * manual/install.texi (Tools for Compilation): Update GCC version
44437         requirement.
44438         * INSTALL: Regenerated.
44440 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44442         [BZ #15674]
44443         * string/test-memcmp.c (check2): New.
44444         (main): Call check2.
44446         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
44448 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
44450         [BZ #15022]
44451         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
44452         over to...
44453         (dl_open_worker) [!SHARED]: ... here.
44455 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
44457         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
44459 2013-06-25  Richard Henderson  <rth@redhat.com>
44461         * locale/programs/locarchive.c: Include <libc-internal.h>
44463 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
44465         * manual/texinfo.tex: Update to version 2013-06-21.17, with
44466         trailing whitespace removed.
44468 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
44470         [BZ #10283]
44471         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
44472         * locale/programs/locarchive.c: Include libc-mmap.h.
44473         (prepare_address_space): Take two new outputs (the mmap base and len).
44474         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
44475         values.
44476         (create_archive): Declare new mmap base and len values for
44477         prepare_address_space, and store the result in ah.
44478         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
44479         (enlarge_archive): If ah->mmap_base is not NULL, use that and
44480         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
44481         Declare new mmap base and len values for
44482         prepare_address_space, and store the result in new_ah.
44483         (open_archive): Declare new mmap base and len values for
44484         prepare_address_space, and store the result in ah.
44485         (close_archive): If ah->mmap_base is not NULL, use that and
44486         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
44487         * sysdeps/generic/libc-mmap.h: New file.
44489 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
44491         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
44492         (ALIGN_UP): Likewise.
44493         (PTR_ALIGN_DOWN): Likewise.
44494         (PTR_ALIGN_UP): Likewise.
44496 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
44498         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
44499         entry mapped to PPC_PLATFORM_POWER8.
44500         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
44501         POWER8.
44502         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
44503         (_dl_string_platform): Add case for exporting platform position for
44504         POWER8.
44505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
44506         search path to sysdeps/powerpc/powerpc32/power8 directory.
44507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
44508         search path to sysdeps/powerpc/powerpc64/power8 directory.
44509         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
44510         power7 directories.
44511         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
44512         power7 directories.
44514 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
44516         * INSTALL: Regenerate.
44518         * nscd/connections.c (nscd_init): Fix comment.
44520 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
44522         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
44524         [BZ #15667]
44525         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
44526         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
44528 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
44530         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
44531         DL_DST_REQ_STATIC.
44532         (DL_DST_REQ_STATIC): Remove macro.
44534 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
44536         [BZ #7006]
44537         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
44538         with a shift of 0 bits.
44540 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
44542         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
44543         $(tststatic-ENV).
44545 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44547         [BZ #15655]
44548         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
44550 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44552         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
44553         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
44554         accepts -fno-tree-loop-distribute-patterns.
44555         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
44556         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
44557         recursive call.
44558         * string/memset.c (memset): Likewise.
44559         * string/test-memmove.c (simple_memmove): Disable loop transformation
44560         to library calls.
44561         * string/test-memset.c (simple_memset): Likewise.
44562         * benchtests/bench-memmove.c (simple_memmove): Likewise.
44563         * benchtests/bench-memset.c (simple_memset): Likewise.
44564         * configure: Regenerated.
44566 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
44568         * math/test-misc.c (main): Ignore fesetround failure when failures
44569         of subsequent rounding tests would be ignored.
44571         [BZ #15654]
44572         * math/fedisblxcpt.c (fedisableexcept): Return 0.
44573         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
44574         * math/fegetenv.c (__fegetenv): Return 0.
44575         * math/fegetexcept.c (fegetexcept): Return 0.
44576         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
44577         FE_TONEAREST.
44578         * math/feholdexcpt.c (feholdexcept): Return 0.
44579         * math/fesetenv.c (__fesetenv): Return 0.
44580         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
44581         argument FE_TONEAREST.
44582         * math/feupdateenv.c (__feupdateenv): Return 0.
44583         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
44585 2013-06-18  Roland McGrath  <roland@hack.frob.com>
44587         * elf/rtld-Rules (rtld-compile-command.S): New variable.
44588         (rtld-compile-command.s, rtld-compile-command.c): New variables.
44589         ($(objpfx)rtld-%.os rules): Use them.
44591 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44593         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
44594         fields.
44596 2013-06-17  Roland McGrath  <roland@hack.frob.com>
44598         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
44599         length of target pattern, then descending length of dependency pattern.
44600         * configure.in (AWK): Require gawk 3.1.2 or newer.
44601         * manual/install.texi (Tools for Compilation): Say that we do.
44602         * configure: Regenerated.
44604         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
44605         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
44606         * scripts/sysd-rules.awk: ... this new script.
44607         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
44608         than a glob-style pattern.
44610 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
44612         * math/test-misc.c (main): Do not treat incorrectly rounded
44613         conversions as failure unless ROUNDING_TESTS passes.
44615 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
44617         [BZ #15631]
44618         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
44619         restore exception state around main square root computation, then
44620         check for inexactness explicitly.
44622         * math/libm-test.inc (fma_test_data): Add another test.
44624 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44626         * manual/threads.texi (Non-POSIX Extensions): New document
44627         node.  Document pthread_getattr_default_np and
44628         pthread_setattr_default_np.
44630         * Versions.def (libpthread): Add GLIBC_2.18.
44631         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
44632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
44633         Likewise.
44634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
44635         Likewise.
44636         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
44637         Likewise.
44638         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
44639         Likewise.
44640         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
44641         Likewise.
44642         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
44643         Likewise.
44644         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
44645         Likewise.
44646         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
44647         Likewise.
44648         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
44649         Likewise.
44651 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44653         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44654         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
44656 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
44657             H.J. Lu  <hjl.tools@gmail.com>
44659         [BZ #15627]
44660         * sysdeps/x86_64/rtld-memset.c: Remove file.
44661         * sysdeps/x86_64/rtld-memset.S: New file.
44663 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
44665         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
44666         (test_in_one_mode): Take arguments for whether the rounding mode
44667         is supported for each floating-point type.
44668         (do_test): Pass new arguments to test_in_one_mode using
44669         ROUNDING_TESTS.
44671 2013-06-13  Roland McGrath  <roland@hack.frob.com>
44673         * posix/tst-waitid.c (do_test): Distinguish different instances of
44674         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
44675         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
44676         before entering the kernel for waitpid.
44678 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
44680         * NEWS: Fix note on clock function precision.  Text by Roland
44681         McGrath.
44683 2013-06-13  Roland McGrath  <roland@hack.frob.com>
44685         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
44686         it into place only when and if the sanity check passes.
44688 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
44690         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
44691         output for whether conversion result is exact.  Take argument
44692         indicating whether type is IBM long double.
44693         (round_for_all): Change need_exact field to ibm_ld.
44694         * stdlib/tst-strtod-round.c (struct exactness): New type.
44695         (struct test): Change bool ld_ok field to struct exactness exact.
44696         (TEST): Update all definitions for change to field.
44697         (tests): Regenerate array contents.
44698         (test_in_one_mode): Take pointer to new field instead of old ld_ok
44699         field value.  Check for IBM long double here.
44700         (do_test): Update calls to test_in_one_mode.
44702 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
44704         [BZ #12515]
44705         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
44706         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
44708 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44710         [BZ #15605]
44711         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
44712         generated by the compiler on loop optimizations.
44713         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
44714         general definitions.
44716 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
44718         * math/bug-nextafter.c: Include <math-tests.h>.
44719         (main): Only test for exceptions if EXCEPTION_TESTS is true for
44720         the relevant type.
44721         * math/bug-nexttoward.c: Include <math-tests.h>.
44722         (main): Only test for exceptions if EXCEPTION_TESTS is true for
44723         the relevant type.
44724         * math/test-misc.c: Include <math-tests.h>.
44725         (main): Only test for exceptions if EXCEPTION_TESTS is true for
44726         the relevant type.
44728 2013-06-12  Andreas Jaeger  <aj@suse.de>
44730         * po/ia.po: Update Interlingua translation from translation
44731         project.
44733 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
44735         * include/fenv.h: Include stdbool.h.
44736         (struct rm_ctx): New structure.
44737         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
44738         Define macro.
44739         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
44740         (SET_RESTORE_ROUNDF): Likewise.
44741         (SET_RESTORE_ROUNDL): Likewise.
44742         (SET_RESTORE_ROUND_NOEX): Likewise.
44743         (SET_RESTORE_ROUND_NOEXF): Likewise.
44744         (SET_RESTORE_ROUND_NOEXL): Likewise.
44745         (SET_RESTORE_ROUND_53BIT): Likewise.
44746         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
44747         (libc_feresetround_noexf_ctx): Likewise.
44748         (libc_feresetround_noexl_ctx): Likewise.
44749         (libc_feholdsetround_53bit_ctx): Likewise.
44750         (libc_feresetround_53bit_ctx): Likewise.
44751         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
44752         (libc_feholdexcept_setround_sse_ctx): New function.
44753         (libc_fesetenv_sse_ctx): Likewise.
44754         (libc_feupdateenv_sse_ctx): Likewise.
44755         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
44756         (libc_feholdexcept_setround_387_ctx): Likewise.
44757         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
44758         (libc_feholdsetround_387_prec_ctx): Likewise.
44759         (libc_feholdsetround_387_ctx): Likewise.
44760         (libc_feholdsetround_387_53bit_ctx): Likewise.
44761         (libc_feholdsetround_sse_ctx): Likewise.
44762         (libc_feresetround_sse_ctx): Likewise.
44763         (libc_feresetround_387_ctx): Likewise.
44764         (libc_feupdateenv_387_ctx): Likewise.
44765         (libc_feholdexcept_setroundf_ctx): Define macro.
44766         (libc_fesetenvf_ctx): Likewise.
44767         (libc_feupdateenvf_ctx): Likewise.
44768         (libc_feholdsetroundf_ctx): Likewise.
44769         (libc_feresetroundf_ctx): Likewise.
44770         (libc_feholdexcept_setround_ctx): Likewise.
44771         (libc_fesetenv_ctx): Likewise.
44772         (libc_feupdateenv_ctx): Likewise.
44773         (libc_feholdsetround_ctx): Likewise.
44774         (libc_feresetround_ctx): Likewise.
44775         (libc_feholdexcept_setroundl_ctx): Likewise.
44776         (libc_feupdateenvl_ctx): Likewise.
44777         (libc_feholdsetroundl_ctx): Likewise.
44778         (libc_feresetroundl_ctx): Likewise.
44779         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
44780         (libc_feresetround_53bit_ctx): Likewise.
44782 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
44784         * locale/iso-639.def: Convert to UTF-8.
44786 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
44788         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
44789         (EXCEPTION_TESTS_double): Likewise.
44790         (EXCEPTION_TESTS_long_double): Likewise.
44791         (EXCEPTION_TESTS): Likewise.
44792         * math/libm-test.inc (test_exceptions): Only test exceptions if
44793         EXCEPTION_TESTS (FLOAT).
44795 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
44797         * benchtests/Makefile (string-bench): Add strcpy_chk and
44798         stpcpy_chk.
44799         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
44800         * benchtests/bench-stpcpy_chk.c: New file.
44801         * benchtests/bench-strcpy_chk-ifunc.c: New file.
44802         * benchtests/bench-strcpy_chk.c: New file.
44803         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
44804         code.
44805         (do_test): Likewise.
44807 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
44809         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
44810         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
44811         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
44812         with tabs where appropriate.
44813         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
44814         dl-procinfo.h.
44815         [PPC_PLATFORM_PPC440]: Likewise.
44816         [PPC_PLATFORM_PPC464]: Likewise.
44817         [PPC_PLATFORM_PPC476]: Likewise.
44818         (_dl_string_platform): Add support for detecting ppc405, ppc440,
44819         ppc464, and ppc476 platform strings merging from ports/
44820         dl-procinfo.h.
44822 2013-06-11  Andreas Schwab  <schwab@suse.de>
44824         [BZ #14991]
44825         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
44826         (from_ucs4_idx): Regenerate.
44827         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
44828         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
44829         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
44830         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
44831         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
44832         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
44833         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
44834         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
44835         from FROM_LOOP and TO_LOOP specific macros.
44836         (BODY): Handle combining characters.
44837         * iconvdata/BIG5HKSCS.irreversible: Update.
44838         * iconvdata/BIG5HKSCS.precomposed: New file.
44839         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
44840         characters.
44841         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
44843 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
44845         * include/sys/time.h: Fix indentation and add copyright header.
44847         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
44848         (do_test): Likewise.
44849         * string/test-memchr.c (do_one_test): Likewise.
44850         (do_test): Likewise.
44851         * string/test-memcmp.c (do_one_test): Likewise.
44852         (do_test): Likewise.
44853         * string/test-memcpy.c (do_one_test): Likewise.
44854         (do_test): Likewise.
44855         * string/test-memmem.c (do_one_test): Likewise.
44856         (do_test): Likewise.
44857         (do_random_tests): Likewise.
44858         * string/test-memmove.c (do_one_test): Likewise.
44859         (do_test): Likewise.
44860         * string/test-memset.c (do_one_test): Likewise.
44861         (do_test): Likewise.
44862         * string/test-rawmemchr.c (do_one_test): Likewise.
44863         (do_test): Likewise.
44864         * string/test-strcasecmp.c (do_one_test): Likewise.
44865         (do_test): Likewise.
44866         * string/test-strcasestr.c (do_one_test): Likewise.
44867         (do_test): Likewise.
44868         * string/test-strcat.c (do_one_test): Likewise.
44869         (do_test): Likewise.
44870         * string/test-strchr.c (do_one_test): Likewise.
44871         (do_test): Likewise.
44872         * string/test-strcmp.c (do_one_test): Likewise.
44873         (do_test): Likewise.
44874         * string/test-strcpy.c (do_one_test): Likewise.
44875         (do_test): Likewise.
44876         * string/test-string.h: Likewise.
44877         (test_init): Likewise.
44878         * string/test-strlen.c (do_one_test): Likewise.
44879         (do_test): Likewise.
44880         * string/test-strncasecmp.c (do_one_test): Likewise.
44881         (do_test): Likewise.
44882         * string/test-strncat.c (do_one_test): Likewise.
44883         (do_test): Likewise.
44884         * string/test-strncmp.c (do_one_test): Likewise.
44885         (do_test_limit): Likewise.
44886         (do_test): Likewise.
44887         * string/test-strncpy.c (do_one_test): Likewise.
44888         (do_test): Likewise.
44889         * string/test-strnlen.c (do_one_test): Likewise.
44890         (do_test): Likewise.
44891         * string/test-strpbrk.c (do_one_test): Likewise.
44892         (do_test): Likewise.
44893         * string/test-strrchr.c (do_one_test): Likewise.
44894         (do_test): Likewise.
44895         * string/test-strspn.c (do_one_test): Likewise.
44896         (do_test): Likewise.
44897         * string/test-strstr.c (do_one_test): Likewise.
44898         (do_test): Likewise.
44900         * benchtests/Makefile (string-bench): Add string benchmarks.
44901         * benchtests/bench-bcopy-ifunc.c: New file.
44902         * benchtests/bench-bcopy.c: New file.
44903         * benchtests/bench-bzero-ifunc.c: New file.
44904         * benchtests/bench-bzero.c: New file.
44905         * benchtests/bench-memccpy-ifunc.c: New file.
44906         * benchtests/bench-memccpy.c: New file.
44907         * benchtests/bench-memchr-ifunc.c: New file.
44908         * benchtests/bench-memchr.c: New file.
44909         * benchtests/bench-memcmp-ifunc.c: New file.
44910         * benchtests/bench-memcmp.c: New file.
44911         * benchtests/bench-memmem-ifunc.c: New file.
44912         * benchtests/bench-memmem.c: New file.
44913         * benchtests/bench-memmove-ifunc.c: New file.
44914         * benchtests/bench-memmove.c: New file.
44915         * benchtests/bench-mempcpy-ifunc.c: New file.
44916         * benchtests/bench-mempcpy.c: New file.
44917         * benchtests/bench-memset-ifunc.c: New file.
44918         * benchtests/bench-memset.c: New file.
44919         * benchtests/bench-rawmemchr-ifunc.c: New file.
44920         * benchtests/bench-rawmemchr.c: New file.
44921         * benchtests/bench-stpcpy-ifunc.c: New file.
44922         * benchtests/bench-stpcpy.c: New file.
44923         * benchtests/bench-stpncpy-ifunc.c: New file.
44924         * benchtests/bench-stpncpy.c: New file.
44925         * benchtests/bench-strcasecmp-ifunc.c: New file.
44926         * benchtests/bench-strcasecmp.c: New file.
44927         * benchtests/bench-strcasestr-ifunc.c: New file.
44928         * benchtests/bench-strcasestr.c: New file.
44929         * benchtests/bench-strcat-ifunc.c: New file.
44930         * benchtests/bench-strcat.c: New file.
44931         * benchtests/bench-strchr-ifunc.c: New file.
44932         * benchtests/bench-strchr.c: New file.
44933         * benchtests/bench-strchrnul-ifunc.c: New file.
44934         * benchtests/bench-strchrnul.c: New file.
44935         * benchtests/bench-strcmp-ifunc.c: New file.
44936         * benchtests/bench-strcmp.c: New file.
44937         * benchtests/bench-strcpy-ifunc.c: New file.
44938         * benchtests/bench-strcpy.c: New file.
44939         * benchtests/bench-strcspn-ifunc.c: New file.
44940         * benchtests/bench-strcspn.c: New file.
44941         * benchtests/bench-strlen-ifunc.c: New file.
44942         * benchtests/bench-strlen.c: New file.
44943         * benchtests/bench-strncasecmp-ifunc.c: New file.
44944         * benchtests/bench-strncasecmp.c: New file.
44945         * benchtests/bench-strncat-ifunc.c: New file.
44946         * benchtests/bench-strncat.c: New file.
44947         * benchtests/bench-strncmp-ifunc.c: New file.
44948         * benchtests/bench-strncmp.c: New file.
44949         * benchtests/bench-strncpy-ifunc.c: New file.
44950         * benchtests/bench-strncpy.c: New file.
44951         * benchtests/bench-strnlen-ifunc.c: New file.
44952         * benchtests/bench-strnlen.c: New file.
44953         * benchtests/bench-strpbrk-ifunc.c: New file.
44954         * benchtests/bench-strpbrk.c: New file.
44955         * benchtests/bench-strrchr-ifunc.c: New file.
44956         * benchtests/bench-strrchr.c: New file.
44957         * benchtests/bench-strspn-ifunc.c: New file.
44958         * benchtests/bench-strspn.c: New file.
44959         * benchtests/bench-strstr-ifunc.c: New file.
44960         * benchtests/bench-strstr.c: New file.
44962         * benchtests/Makefile: Disable parallel execution of targets.
44963         (string-bench): Add memcpy.
44964         (benchset): New variable to store a list of benchmark sets.
44965         (bench-func): Renamed from bench.
44966         (bench-set): New target.
44967         (bench): Depend on bench-func and bench-set.
44968         * benchtests/README: Add section on benchmark sets.
44969         * benchtests/bench-memcpy-ifunc.c: New file.
44970         * benchtests/bench-memcpy.c: New file.
44971         * benchtests/bench-string.h: New file.
44973 2013-06-11  Andreas Schwab  <schwab@suse.de>
44975         [BZ #15577]
44976         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
44977         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
44978         values in the triple.
44979         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
44980         terminator in the group key.
44982 2013-06-11  Andreas Jaeger  <aj@suse.de>
44984         * po/zh_TW.po: Update Chinese (traditional) translation from
44985         translation project.
44987 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
44989         * include/time.h (__clock_gettime): Add libc_hidden_proto.
44990         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
44991         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
44992         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
44993         (clock_getcpuclockid): Likewise.
44994         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
44995         Add weak_alias and libc_hidden_def.
44996         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
44997         * rt/clock_gettime.c (clock_gettime): Rename to
44998         __clock_gettime.  Add weak_alias and libc_hidden_def.
44999         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
45000         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
45001         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
45002         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
45003         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
45004         Likewise.
45005         * rt/clock_settime.c (clock_settime): Rename to
45006         __clock_settime.  Add weak_alias and libc_hidden_def.
45007         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
45009 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
45011         * mach/err_boot.sub: Remove trailing whitespace.
45012         * mach/err_ipc.sub: Likewise.
45013         * mach/err_mach.sub: Likewise.
45015         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
45016         (ROUNDING_TESTS_double): Likewise.
45017         (ROUNDING_TESTS_long_double): Likewise.
45018         (ROUNDING_TESTS): Likewise.
45019         * math/libm-test.inc: Include <math-tests.h>.
45020         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
45021         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
45022         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
45023         (IF_ROUND_INIT_FE_UPWARD): Likewise.
45025 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
45027         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
45028         of assigning.
45030 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
45032         * sysdeps/gnu/errlist.awk: Do not generate space at end of
45033         otherwise empty TRANS lines.
45034         * sysdeps/gnu/errlist.c: Regenerated.
45036         * catgets/gencat.c (error_print): Use (void) in function
45037         definition.
45038         * crypt/crypt_util.c (__init_des): Likewise.
45039         * crypt/speeds.c (Stop): Likewise.
45040         (main): Likewise.
45041         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
45042         * inet/ruserpass.c (token): Likewise.
45043         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
45044         * intl/localealias.c (extend_alias_table): Likewise.
45045         * intl/plural-exp.c (init_germanic_plural): Likewise.
45046         * libio/fcloseall.c (__fcloseall): Likewise.
45047         * libio/genops.c (_IO_flush_all): Likewise.
45048         (_IO_flush_all_linebuffered): Likewise.
45049         (_IO_cleanup): Likewise.
45050         (_IO_iter_begin): Likewise.
45051         (_IO_iter_end): Likewise.
45052         (_IO_list_lock): Likewise.
45053         (_IO_list_unlock): Likewise.
45054         (_IO_list_resetlock): Likewise.
45055         * libio/getchar.c (getchar): Likewise.
45056         * libio/getchar_u.c (getchar_unlocked): Likewise.
45057         * libio/getwchar.c (getwchar): Likewise.
45058         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
45059         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
45060         * login/getpt.c (__getpt): Likewise.
45061         * login/tst-utmp.c (main): Likewise.
45062         * malloc/hooks.c (__malloc_check_init): Likewise.
45063         * malloc/malloc.c (__malloc_stats): Likewise.
45064         * malloc/mtrace.c (tr_break): Likewise.
45065         (mtrace): Likewise.
45066         (muntrace): Likewise.
45067         * misc/fstab.c (endfsent): Likewise.
45068         * misc/getclktck.c (__getclktck): Likewise.
45069         * misc/getdtsz.c (__getdtablesize): Likewise.
45070         * misc/gethostid.c (gethostid): Likewise.
45071         * misc/getpagesize.c (__getpagesize): Likewise.
45072         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
45073         (__get_nprocs): Likewise.
45074         (__get_phys_pages): Likewise.
45075         (__get_avphys_pages): Likewise.
45076         * misc/getttyent.c (getttyent): Likewise.
45077         (setttyent): Likewise.
45078         (endttyent): Likewise.
45079         * misc/getusershell.c (getusershell): Likewise.
45080         (endusershell): Likewise.
45081         (setusershell): Likewise.
45082         (initshells): Likewise.
45083         * misc/hsearch.c (__hdestroy): Likewise.
45084         * misc/sync.c (sync): Likewise.
45085         * misc/syslog.c (closelog_internal): Likewise.
45086         (closelog): Likewise.
45087         * misc/ttyslot.c (ttyslot): Likewise.
45088         * misc/vhangup.c (vhangup): Likewise.
45089         * posix/fork.c (__fork): Likewise.
45090         * posix/getegid.c (__getegid): Likewise.
45091         * posix/geteuid.c (__geteuid): Likewise.
45092         * posix/getgid.c (__getgid): Likewise.
45093         * posix/getpid.c (__getpid): Likewise.
45094         * posix/getppid.c (__getppid): Likewise.
45095         * posix/getuid.c (__getuid): Likewise.
45096         * posix/pause.c (pause): Likewise.
45097         * posix/setpgrp.c (setpgrp): Likewise.
45098         * posix/setsid.c (__setsid): Likewise.
45099         * posix/test-vfork.c (noop): Likewise.
45100         * resolv/gethnamaddr.c (_endhtent): Likewise.
45101         (_gethtent): Likewise.
45102         (ht_endhostent): Likewise.
45103         (gethostent): Likewise.
45104         (dns_service): Likewise.
45105         * stdlib/drand48.c (drand48): Likewise.
45106         * stdlib/lrand48.c (lrand48): Likewise.
45107         * stdlib/mrand48.c (mrand48): Likewise.
45108         * stdlib/rand.c (rand): Likewise.
45109         * stdlib/random.c (__random): Likewise.
45110         * stdlib/setenv.c (clearenv): Likewise.
45111         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
45112         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
45113         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
45114         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
45115         (__get_nprocs): Likewise.
45116         (__get_phys_pages): Likewise.
45117         (__get_avphys_pages): Likewise.
45118         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
45119         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
45120         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
45121         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
45122         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
45123         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
45124         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
45125         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
45126         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
45127         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
45128         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
45129         * sysdeps/mach/hurd/sync.c (sync): Likewise.
45130         * sysdeps/posix/clock.c (clock): Likewise.
45131         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
45132         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
45133         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
45134         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
45135         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
45136         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
45137         (__get_nprocs_conf): Likewise.
45138         (__get_phys_pages): Likewise.
45139         (__get_avphys_pages): Likewise.
45140         * time/clock.c (clock): Likewise.
45141         * time/tzset.c (__tzname_max): Likewise.
45143 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
45145         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
45146         (__bswap_32): Do not use "register".
45147         * crypt/crypt.c (_ufc_doit_r): Likewise.
45148         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
45149         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
45150         * gmon/gmon.c (__monstartup): Likewise.
45151         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
45152         * hurd/hurdmalloc.c (more_memory): Likewise.
45153         (malloc): Likewise.
45154         (free): Likewise.
45155         (realloc): Likewise.
45156         (malloc_fork_prepare): Likewise.
45157         (malloc_fork_parent): Likewise.
45158         (malloc_fork_child): Likewise.
45159         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
45160         (_svcauth_des): Likewise.
45161         * inet/inet_lnaof.c (inet_lnaof): Likewise.
45162         * inet/inet_net.c (inet_network): Likewise.
45163         * inet/inet_netof.c (inet_netof): Likewise.
45164         * inet/rcmd.c (__validuser2_sa): Likewise.
45165         * io/fts.c (fts_open): Likewise.
45166         (fts_load): Likewise.
45167         (fts_close): Likewise.
45168         (fts_read): Likewise.
45169         (fts_children): Likewise.
45170         (fts_build): Likewise.
45171         (fts_stat): Likewise.
45172         (fts_sort): Likewise.
45173         (fts_alloc): Likewise.
45174         (fts_lfree): Likewise.
45175         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
45176         (_IO_file_xsgetn): Likewise.
45177         (_IO_file_xsgetn_mmap): Likewise.
45178         * libio/iofopncook.c (_IO_cookie_read): Likewise.
45179         (_IO_cookie_write): Likewise.
45180         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
45181         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
45182         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
45183         * malloc/obstack.c (_obstack_begin): Likewise.
45184         (_obstack_begin_1): Likewise.
45185         (_obstack_newchunk): Likewise.
45186         (_obstack_allocated_p): Likewise.
45187         (obstack_free): Likewise.
45188         (_obstack_memory_used): Likewise.
45189         * misc/getttyent.c (getttynam): Likewise.
45190         (getttyent): Likewise.
45191         (skip): Likewise.
45192         (value): Likewise.
45193         * misc/getusershell.c (initshells): Likewise.
45194         * misc/syslog.c (__vsyslog_chk): Likewise.
45195         * misc/ttyslot.c (ttyslot): Likewise.
45196         * nis/nis_hash.c (__nis_hash): Likewise.
45197         * posix/fnmatch_loop.c (FCT): Likewise.
45198         * posix/getconf.c (print_all): Likewise.
45199         (main): Likewise.
45200         * posix/getopt.c (exchange): Likewise.
45201         * posix/glob.c (globfree): Likewise.
45202         (prefix_array): Likewise.
45203         (__glob_pattern_type): Likewise.
45204         * resolv/arpa/nameser.h (NS_GET16): Likewise.
45205         (NS_GET32): Likewise.
45206         (NS_PUT16): Likewise.
45207         (NS_PUT32): Likewise.
45208         * resolv/gethnamaddr.c (getanswer): Likewise.
45209         (gethostbyname2): Likewise.
45210         (gethostbyaddr): Likewise.
45211         (_gethtent): Likewise.
45212         (_gethtbyname2): Likewise.
45213         (_gethtbyaddr): Likewise.
45214         * resolv/ns_print.c (dst_s_get_int16): Likewise.
45215         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
45216         * resolv/res_init.c (__res_vinit): Likewise.
45217         (net_mask): Likewise.
45218         * resolv/res_mkquery.c (outchar): Likewise.
45219         (PRINT): Likewise.
45220         * stdio-common/printf_fp.c (outchar): Likewise.
45221         (PRINT): Likewise.
45222         * stdio-common/printf_fphex.c (outchar): Likewise.
45223         (PRINT): Likewise.
45224         * stdio-common/printf_size.c (outchar): Likewise.
45225         (PRINT): Likewise.
45226         * stdio-common/test_rdwr.c (main): Likewise.
45227         * stdio-common/tfformat.c (matches): Likewise.
45228         * stdio-common/vfprintf.c (outchar): Likewise.
45229         (printf_unknown): Likewise.
45230         (buffered_vfprintf): Likewise.
45231         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
45232         * stdio-common/xbug.c (AppendToBuffer): Likewise.
45233         (ReadFile): Likewise.
45234         * stdlib/qsort.c (SWAP): Likewise.
45235         (_quicksort): Likewise.
45236         * stdlib/setenv.c (__add_to_environ): Likewise.
45237         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
45238         * stdlib/strtol_l.c (__strtol_l): Likewise.
45239         * stdlib/tst-strtod.c (main): Likewise.
45240         * stdlib/tst-strtol.c (main): Likewise.
45241         * stdlib/tst-strtoll.c (main): Likewise.
45242         * string/bits/string2.h (__strcmp_cc): Likewise.
45243         (__strcmp_cg): Likewise.
45244         (__strcspn_c1): Likewise.
45245         (__strcspn_c2): Likewise.
45246         (__strcspn_c3): Likewise.
45247         (__strspn_c1): Likewise.
45248         (__strspn_c2): Likewise.
45249         (__strspn_c3): Likewise.
45250         (__strsep_1c): Likewise.
45251         (__strsep_2c): Likewise.
45252         (__strsep_3c): Likewise.
45253         * string/memccpy.c (__memccpy): Likewise.
45254         * string/stpcpy.c (__stpcpy): Likewise.
45255         * string/strcmp.c (strcmp): Likewise.
45256         * string/strrchr.c (strrchr): Likewise.
45257         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
45258         Likewise.
45259         * sysdeps/mach/hurd/getcwd.c
45260         (_hurd_canonicalize_directory_name_internal): Likewise.
45261         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
45262         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
45263         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
45264         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
45265         Likewise, in both definitions.
45266         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
45267         definitions.
45268         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
45269         64] (__bswap_64): Likewise.
45270         * time/test_time.c (main): Likewise.
45271         * time/tzfile.c (__tzfile_read): Likewise.
45272         (__tzfile_compute): Likewise.
45273         * time/tzset.c (__tzset_parse_tz): Likewise.
45274         (tzset_internal): Likewise.
45275         (compute_change): Likewise.
45276         * wcsmbs/wcscat.c (__wcscat): Likewise.
45277         * wcsmbs/wcschr.c (wcschr): Likewise.
45278         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
45279         * wcsmbs/wcscspn.c (wcscspn): Likewise.
45280         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
45281         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
45282         * wcsmbs/wcsspn.c (wcsspn): Likewise.
45283         * wcsmbs/wcsstr.c (wcsstr): Likewise.
45284         * wcsmbs/wmemchr.c (wmemchr): Likewise.
45285         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
45286         * wcsmbs/wmemset.c (wmemset): Likewise.
45288 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
45290         * scripts/config.guess: Update to version 2013-05-16.
45291         * scripts/config.sub: Update to version 2013-04-24.
45292         * scripts/install-sh: Update to version 2011-11-20.07.
45293         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
45294         * scripts/move-if-change: Update to version 2012-01-06 07:23.
45296 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
45298         * debug/fgetws_u_chk.c: Fix leading whitespaces.
45299         * elf/sln.c: Likewise.
45300         * hurd/hurd/ioctl.h: Likewise.
45301         * hurd/hurdmalloc.c: Likewise.
45302         * hurd/xattr.c: Likewise.
45303         * include/shlib-compat.h: Likewise.
45304         * inet/ruserpass.c: Likewise.
45305         * libio/iofgets_u.c: Likewise.
45306         * libio/iofgetws_u.c: Likewise.
45307         * locale/programs/ld-identification.c: Likewise.
45308         * locale/programs/ld-time.c: Likewise.
45309         * mach/msg-destroy.c: Likewise.
45310         * nss/nss_files/files-netgrp.c: Likewise.
45311         * resolv/res_data.c: Likewise.
45312         * soft-fp/op-1.h: Likewise.
45313         * soft-fp/op-2.h: Likewise.
45314         * soft-fp/op-4.h: Likewise.
45315         * soft-fp/op-common.h: Likewise.
45316         * stdio-common/printf_fphex.c: Likewise.
45317         * stdlib/strtod_l.c: Likewise.
45318         * sunrpc/rpc/clnt.h: Likewise.
45319         * sysdeps/generic/framestate.c: Likewise.
45320         * sysdeps/i386/bsd-_setjmp.S: Likewise.
45321         * sysdeps/i386/bsd-setjmp.S: Likewise.
45322         * sysdeps/i386/__longjmp.S: Likewise.
45323         * sysdeps/i386/setjmp.S: Likewise.
45324         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
45325         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
45326         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
45327         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
45328         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
45329         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
45330         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
45331         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
45332         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
45333         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
45334         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
45335         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
45336         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
45337         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
45338         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
45339         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
45340         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
45341         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
45342         * sysdeps/ieee754/support.c: Likewise.
45343         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
45344         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
45345         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
45346         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
45347         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
45348         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
45349         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
45350         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
45351         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
45352         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
45353         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
45354         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
45355         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
45356         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
45357         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
45358         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
45359         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
45360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
45362 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
45364         * posix/transbug.c: Remove executable mode.
45366 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
45368         * crypt/speeds.c: Remove trailing whitespace.
45369         * dlfcn/default.c: Likewise.
45370         * elf/ifuncdep2.c: Likewise.
45371         * elf/ifuncmain1.c: Likewise.
45372         * elf/ifuncmain1vis.c: Likewise.
45373         * elf/testobj.h: Likewise.
45374         * elf/tst-stackguard1.c: Likewise.
45375         * gmon/sys/gmon.h: Likewise.
45376         * hurd/hurdmsg.c: Likewise.
45377         * hurd/new-fd.c: Likewise.
45378         * hurd/ports-get.c: Likewise.
45379         * iconvdata/ibm1008_420.c: Likewise.
45380         * inet/tst-getni1.c: Likewise.
45381         * inet/tst-getni2.c: Likewise.
45382         * libio/ioungetc.c: Likewise.
45383         * libio/wfiledoalloc.c: Likewise.
45384         * manual/libm-err-tab.pl: Likewise.
45385         * math/w_dremf.c: Likewise.
45386         * misc/ftruncate.c: Likewise.
45387         * posix/bug-glob2.c: Likewise.
45388         * posix/tst-pcre.c: Likewise.
45389         * posix/wait4.c: Likewise.
45390         * resolv/README: Likewise.
45391         * resolv/res_debug.h: Likewise.
45392         * resolv/tst-inet_ntop.c: Likewise.
45393         * setjmp/bug269-setjmp.c: Likewise.
45394         * soft-fp/extended.h: Likewise.
45395         * soft-fp/op-1.h: Likewise.
45396         * soft-fp/op-2.h: Likewise.
45397         * soft-fp/op-4.h: Likewise.
45398         * soft-fp/op-8.h: Likewise.
45399         * soft-fp/testit.c: Likewise.
45400         * stdio-common/bug16.c: Likewise.
45401         * stdlib/random.c: Likewise.
45402         * sunrpc/rpcsvc/rquota.x: Likewise.
45403         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
45404         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
45405         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
45406         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
45407         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
45408         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
45409         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
45410         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
45411         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
45412         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
45413         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
45414         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
45415         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
45416         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
45417         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
45418         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
45419         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
45420         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
45421         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
45422         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
45423         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
45424         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
45425         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
45426         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
45427         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
45428         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
45429         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
45430         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
45431         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
45432         * sysdeps/ieee754/s_lib_version.c: Likewise.
45433         * sysdeps/mach/hurd/check_fds.c: Likewise.
45434         * sysdeps/mach/hurd/getsockname.c: Likewise.
45435         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
45436         * sysdeps/mach/hurd/recvfrom.c: Likewise.
45437         * sysdeps/powerpc/bits/link.h: Likewise.
45438         * sysdeps/powerpc/dl-procinfo.c: Likewise.
45439         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
45440         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
45441         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
45442         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
45443         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
45444         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
45445         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
45446         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
45447         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
45448         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
45449         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
45450         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
45451         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
45452         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
45453         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
45454         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
45455         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
45456         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
45457         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
45458         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
45459         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
45460         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
45461         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
45462         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
45463         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
45464         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
45465         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
45466         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
45467         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
45468         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
45469         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
45470         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
45471         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
45472         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
45473         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
45474         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
45475         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
45476         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
45477         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
45478         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
45479         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
45480         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
45481         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
45482         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
45483         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
45484         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
45485         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
45486         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
45487         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
45488         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
45489         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
45490         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
45491         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
45492         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
45493         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
45494         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
45495         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
45496         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
45497         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
45498         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
45499         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
45500         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
45501         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
45502         * sysdeps/powerpc/sysdep.h: Likewise.
45503         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
45504         * sysdeps/s390/s390-64/sub_n.S: Likewise.
45505         * sysdeps/sh/dl-trampoline.S: Likewise.
45506         * sysdeps/sh/memset.S: Likewise.
45507         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
45508         * sysdeps/sh/strlen.S: Likewise.
45509         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
45510         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
45511         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
45512         * sysdeps/sparc/sparc32/rem.S: Likewise.
45513         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
45514         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
45515         * sysdeps/sparc/sparc32/strchr.S: Likewise.
45516         * sysdeps/sparc/sparc32/udiv.S: Likewise.
45517         * sysdeps/sparc/sparc32/urem.S: Likewise.
45518         * sysdeps/sparc/sparc64/add_n.S: Likewise.
45519         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
45520         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
45521         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
45522         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
45523         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
45524         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
45525         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
45526         * sysdeps/unix/bsd/times.c: Likewise.
45527         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
45528         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
45529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
45530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
45531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
45532         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
45533         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
45534         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
45535         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
45536         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
45537         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
45538         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
45539         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
45540         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
45541         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
45542         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
45543         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
45544         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
45545         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
45546         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
45547         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
45548         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
45549         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
45550         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
45551         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
45552         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
45553         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
45554         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
45555         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
45556         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
45557         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
45558         * sysdeps/x86_64/strcspn.S: Likewise.
45560 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
45562         * locale/C-translit.h: Revert #include <stdint.h> because this is a
45563         generated file.  Regenerate properly from gen-translit.pl.
45564         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
45565         locale/C-translit.h.
45567 2013-06-05  Andreas Schwab  <schwab@suse.de>
45569         [BZ #15100]
45570         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
45571         week as 6 instead of -1.
45572         * time/tst-strptime.c (day_tests): Add test case.
45574 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
45576         * sysdeps/generic/math_private.h
45577         (libc_feholdexcept_setround_53bit): Replace with
45578         libc_feholdsetround_53bit.
45579         (libc_feupdateenv_53bit): Replace with
45580         libc_feresetround_53bit.
45581         (SET_RESTORE_ROUND_53BIT): Adjust.
45583 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
45585         * string/test-strchrnul.c: Add copyright header.
45587         * posix/tst-getaddrinfo4.c: Increase test timeout.
45589 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
45591         [BZ #15536]
45592         * math/libm-test.inc (MAX_EXP): Remove
45593         (MIN_EXP): Define.
45594         (ulp): Use MIN_EXP - MANT_DIG.
45595         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
45597 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
45599         * po/be.po: Revert last change.
45600         * po/zh_CN.po: Likewise.
45601         * po/header.pot: Likewise.
45603 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
45605         * Makefile ($(common-objpfx)linkobj/libc.so): Define
45606         link-libc-deps to empty as target-specific variable.
45607         * Makerules (link-libc-args): New variable.
45608         (libc-for-link): Likewise.
45609         (link-libc-deps): Likewise.
45610         (lib%.so): Depend on $(link-libc-deps).  Link with
45611         $(link-libc-args).
45612         (build-module): Link with $(link-libc-args).
45613         (build-module-asneeded): Likewise.
45614         (build-module-helper-objlist): Filter out $(link-libc-deps) from
45615         list of objects.
45616         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
45617         target-specific variable.
45618         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
45619         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
45620         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
45621         libc.
45622         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
45623         libc and ld.so.
45624         ($(objpfx)libpcprofile.so): Likewise.
45625         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
45626         libc_nonshared.a.
45627         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
45628         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
45629         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
45630         $(link-libc-deps).
45631         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
45632         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
45633         * login/Makefile ($(objpfx)libutil.so): Likewise.
45634         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
45635         * math/Makefile ($(objpfx)libm.so): Likewise.
45636         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
45637         $(objpfx)libnsl.so): Define libc-for-link as target-specific
45638         variable instead of depending directly on libc.
45639         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
45640         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
45641         $(link-libc-deps).
45642         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
45643         libc.
45644         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
45645         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
45646         ($(objpfx)libanl.so): Likewise.
45647         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
45648         ld.so.
45649         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
45650         $(link-libc-deps).
45651         * sysdeps/i386/fpu/Makefile: Remove file.
45652         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
45653         ($(objpfx)libm.so): Remove dependency on ld.so.
45655 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
45657         [BZ # 15553]
45658         * nis/yp_xdr.c (XDRMAXNAME): Define.
45659         (XDRMAXRECORD): Define.
45660         (xdr_domainname): Use XDRMAXNAME.
45661         (xdr_mapname): Likewise.
45662         (xdr_peername): Likewise.
45663         (xdr_keydat): Use XDRMAXRECORD.
45664         (xdr_valdat): Likewise.
45666 2013-05-30  Jeff Law  <law@redhat.com>
45668         [BZ #14256]
45669         * manual/errno.texi (ESTALE): Update to account for more than
45670         just NFS file systems.
45671         * sysdeps/gnu/errlist.c: Regenerated.
45673 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
45675         [BZ #15465]
45676         * elf/Makefile (tests): Add tst-null-argv.
45677         (modules-names):  Add tst-null-argv-lib.
45678         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
45679         (tst-null-argv-ENV): Set environment for tst-null-argv.
45680         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
45681         (RTLD_PROGNAME): New macro.
45682         * elf/tst-null-argv.c: New test case.
45683         * elf/tst-null-argv-lib.c: Library for test case.
45684         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
45685         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
45686         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
45687         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
45688         * elf/dl-init.c (call_init): Likewise.
45689         (_dl_init): Likewise.
45690         * elf/dl-load.c (print_search_path): Likewise.
45691         (_dl_map_object): Likewise.
45692         * elf/dl-lookup.c (do_lookup_x): Likewise.
45693         (add_dependency): Likewise.
45694         (_dl_lookup_symbol_x): Likewise.
45695         (_dl_debug_bindings): Likewise.
45696         * elf/dl-open.c (_dl_show_scope): Likewise.
45697         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
45698         * elf/dl-version.c (match_symbol): Likewise.
45699         (_dl_check_map_versions): Likewise.
45700         * elf/rtld.c (dl_main): Likewise.
45701         (print_unresolved): Use RTLD_PROGNAME.
45702         (print_missing_version): Likewise.
45703         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
45704         (elf_machine_rela): Likewise.
45705         * sysdeps/powerpc/powerpc32/dl-machine.c
45706         (__process_machine_rela): Likewise.
45707         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45708         Likewise.
45709         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
45710         Likewise.
45711         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
45712         Likewise.
45713         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
45714         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
45715         Likewise.
45716         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
45717         Likewise.
45718         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
45720 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
45722         * po/be.po: Add descriptive title.
45723         * po/zh_CN.po: Likewise.
45724         * po/header.pot: Likewise.
45726 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
45728         * locale/programs/locarchive.c (create_archive): Inlucde fname in
45729         error message.
45730         (enlarge_archive): Likewise.
45732 2013-05-28  Ben North  <ben@redfrontdoor.org>
45734         * manual/arith.texi (frexp): It is the magnitude of the return
45735         value which lies in [0.5, 1), not the return value itself.
45737 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45739         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45741 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
45743         * stdio-common/bug26.c (main): Correct fscanf template.
45745         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
45746         declare _dl_skip_args.
45748         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
45749         Don't declare.
45751         * manual/platform.texi: Add missing @end deftypefun.
45753 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
45755         [BZ #15529]
45756         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
45757         bit of mantissa of 2^16382.
45758         * math/libm-test.inc (hypot_test_data): Add more tests.
45760         * math/libm-test.inc: Add drem and pow10 to list of tested
45761         functions.
45762         (pow10_test): New function.
45763         (drem_test): Likewise.
45764         (drem_test_tonearest): Likewise.
45765         (drem_test_towardzero): Likewise.
45766         (drem_test_downward): Likewise.
45767         (drem_test_upward): Likewise.
45768         (main): Call the new functions.
45770         * math/libm-test.inc (finite_test_data): Remove.
45771         (finite_test): Run tests from isfinite_test_data.
45772         (gamma_test_data): Remove.
45773         (gamma_test): Run tests from lgamma_test_data.
45774         * sysdeps/i386/fpu/libm-test-ulps: Update.
45775         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45777 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45779         * manual/platform.texi: Add PowerPC PPR function set documentation.
45780         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
45781         implementation.
45783 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
45785         * math/libm-test.inc (MAX_EXP): Define.
45786         (ULPDIFF): Define.
45787         (ulp): New function.
45788         (check_float_internal): Use ULPDIFF.
45789         (cpow_test): Disable failing test.
45790         (check_ulp): Test ulp() implemetnation.
45791         (main): Call check_ulp before starting tests.
45793 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
45795         * math/gen-libm-test.pl (generate_testfile): Do not handle
45796         START_DATA and END_DATA.
45797         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
45798         END_DATA.
45799         (acos_tonearest_test_data): Likewise.
45800         (acos_towardzero_test_data): Likewise.
45801         (acos_downward_test_data): Likewise.
45802         (acos_upward_test_data): Likewise.
45803         (acosh_test_data): Likewise.
45804         (asin_test_data): Likewise.
45805         (asin_tonearest_test_data): Likewise.
45806         (asin_towardzero_test_data): Likewise.
45807         (asin_downward_test_data): Likewise.
45808         (asin_upward_test_data): Likewise.
45809         (asinh_test_data): Likewise.
45810         (atan_test_data): Likewise.
45811         (atanh_test_data): Likewise.
45812         (atan2_test_data): Likewise.
45813         (cabs_test_data): Likewise.
45814         (cacos_test_data): Likewise.
45815         (cacosh_test_data): Likewise.
45816         (carg_test_data): Likewise.
45817         (casin_test_data): Likewise.
45818         (casinh_test_data): Likewise.
45819         (catan_test_data): Likewise.
45820         (catanh_test_data): Likewise.
45821         (cbrt_test_data): Likewise.
45822         (ccos_test_data): Likewise.
45823         (ccosh_test_data): Likewise.
45824         (ceil_test_data): Likewise.
45825         (cexp_test_data): Likewise.
45826         (cimag_test_data): Likewise.
45827         (clog_test_data): Likewise.
45828         (clog10_test_data): Likewise.
45829         (conj_test_data): Likewise.
45830         (copysign_test_data): Likewise.
45831         (cos_test_data): Likewise.
45832         (cos_tonearest_test_data): Likewise.
45833         (cos_towardzero_test_data): Likewise.
45834         (cos_downward_test_data): Likewise.
45835         (cos_upward_test_data): Likewise.
45836         (cosh_test_data): Likewise.
45837         (cosh_tonearest_test_data): Likewise.
45838         (cosh_towardzero_test_data): Likewise.
45839         (cosh_downward_test_data): Likewise.
45840         (cosh_upward_test_data): Likewise.
45841         (cpow_test_data): Likewise.
45842         (cproj_test_data): Likewise.
45843         (creal_test_data): Likewise.
45844         (csin_test_data): Likewise.
45845         (csinh_test_data): Likewise.
45846         (csqrt_test_data): Likewise.
45847         (ctan_test_data): Likewise.
45848         (ctan_tonearest_test_data): Likewise.
45849         (ctan_towardzero_test_data): Likewise.
45850         (ctan_downward_test_data): Likewise.
45851         (ctan_upward_test_data): Likewise.
45852         (ctanh_test_data): Likewise.
45853         (ctanh_tonearest_test_data): Likewise.
45854         (ctanh_towardzero_test_data): Likewise.
45855         (ctanh_downward_test_data): Likewise.
45856         (ctanh_upward_test_data): Likewise.
45857         (erf_test_data): Likewise.
45858         (erfc_test_data): Likewise.
45859         (exp_test_data): Likewise.
45860         (exp_tonearest_test_data): Likewise.
45861         (exp_towardzero_test_data): Likewise.
45862         (exp_downward_test_data): Likewise.
45863         (exp_upward_test_data): Likewise.
45864         (exp10_test_data): Likewise.
45865         (exp2_test_data): Likewise.
45866         (expm1_test_data): Likewise.
45867         (fabs_test_data): Likewise.
45868         (fdim_test_data): Likewise.
45869         (finite_test_data): Likewise.
45870         (floor_test_data): Likewise.
45871         (fma_test_data): Likewise.
45872         (fma_towardzero_test_data): Likewise.
45873         (fma_downward_test_data): Likewise.
45874         (fma_upward_test_data): Likewise.
45875         (fmax_test_data): Likewise.
45876         (fmin_test_data): Likewise.
45877         (fmod_test_data): Likewise.
45878         (fpclassify_test_data): Likewise.
45879         (frexp_test_data): Likewise.
45880         (gamma_test_data): Likewise.
45881         (hypot_test_data): Likewise.
45882         (ilogb_test_data): Likewise.
45883         (isfinite_test_data): Likewise.
45884         (isgreater_test_data): Likewise.
45885         (isgreaterequal_test_data): Likewise.
45886         (isinf_test_data): Likewise.
45887         (isless_test_data): Likewise.
45888         (islessequal_test_data): Likewise.
45889         (islessgreater_test_data): Likewise.
45890         (isnan_test_data): Likewise.
45891         (isnormal_test_data): Likewise.
45892         (issignaling_test_data): Likewise.
45893         (isunordered_test_data): Likewise.
45894         (j0_test_data): Likewise.
45895         (j1_test_data): Likewise.
45896         (jn_test_data): Likewise.
45897         (ldexp_test_data): Likewise.
45898         (lgamma_test_data): Likewise.
45899         (lrint_test_data): Likewise.
45900         (lrint_tonearest_test_data): Likewise.
45901         (lrint_towardzero_test_data): Likewise.
45902         (lrint_downward_test_data): Likewise.
45903         (lrint_upward_test_data): Likewise.
45904         (llrint_test_data): Likewise.
45905         (llrint_tonearest_test_data): Likewise.
45906         (llrint_towardzero_test_data): Likewise.
45907         (llrint_downward_test_data): Likewise.
45908         (llrint_upward_test_data): Likewise.
45909         (log_test_data): Likewise.
45910         (log10_test_data): Likewise.
45911         (log1p_test_data): Likewise.
45912         (log2_test_data): Likewise.
45913         (logb_test_data): Likewise.
45914         (logb_downward_test_data): Likewise.
45915         (lround_test_data): Likewise.
45916         (llround_test_data): Likewise.
45917         (modf_test_data): Likewise.
45918         (nearbyint_test_data): Likewise.
45919         (nextafter_test_data): Likewise.
45920         (nexttoward_test_data): Likewise.
45921         (pow_test_data): Likewise.
45922         (pow_tonearest_test_data): Likewise.
45923         (pow_towardzero_test_data): Likewise.
45924         (pow_downward_test_data): Likewise.
45925         (pow_upward_test_data): Likewise.
45926         (remainder_test_data): Likewise.
45927         (remainder_tonearest_test_data): Likewise.
45928         (remainder_towardzero_test_data): Likewise.
45929         (remainder_downward_test_data): Likewise.
45930         (remainder_upward_test_data): Likewise.
45931         (remquo_test_data): Likewise.
45932         (rint_test_data): Likewise.
45933         (rint_tonearest_test_data): Likewise.
45934         (rint_towardzero_test_data): Likewise.
45935         (rint_downward_test_data): Likewise.
45936         (rint_upward_test_data): Likewise.
45937         (round_test_data): Likewise.
45938         (scalb_test_data): Likewise.
45939         (scalbn_test_data): Likewise.
45940         (scalbln_test_data): Likewise.
45941         (signbit_test_data): Likewise.
45942         (sin_test_data): Likewise.
45943         (sin_tonearest_test_data): Likewise.
45944         (sin_towardzero_test_data): Likewise.
45945         (sin_downward_test_data): Likewise.
45946         (sin_upward_test_data): Likewise.
45947         (sincos_test_data): Likewise.
45948         (sinh_test_data): Likewise.
45949         (sinh_tonearest_test_data): Likewise.
45950         (sinh_towardzero_test_data): Likewise.
45951         (sinh_downward_test_data): Likewise.
45952         (sinh_upward_test_data): Likewise.
45953         (sqrt_test_data): Likewise.
45954         (tan_test_data): Likewise.
45955         (tan_tonearest_test_data): Likewise.
45956         (tan_towardzero_test_data): Likewise.
45957         (tan_downward_test_data): Likewise.
45958         (tan_upward_test_data): Likewise.
45959         (tanh_test_data): Likewise.
45960         (tgamma_test_data): Likewise.
45961         (trunc_test_data): Likewise.
45962         (y0_test_data): Likewise.
45963         (y1_test_data): Likewise.
45964         (yn_test_data): Likewise.
45965         (significand_test_data): Likewise.
45967         * math/gen-libm-test.pl (@functions): Remove variable.
45968         (generate_testfile): Don't handle START and END lines.
45969         * math/libm-test.inc (START): New macro.
45970         (END): Likewise.
45971         (END_COMPLEX): Likewise.
45972         (acos_test): Use END macro without arguments.
45973         (acos_test_tonearest): Likewise.
45974         (acos_test_towardzero): Likewise.
45975         (acos_test_downward): Likewise.
45976         (acos_test_upward): Likewise.
45977         (acosh_test): Likewise.
45978         (asin_test): Likewise.
45979         (asin_test_tonearest): Likewise.
45980         (asin_test_towardzero): Likewise.
45981         (asin_test_downward): Likewise.
45982         (asin_test_upward): Likewise.
45983         (asinh_test): Likewise.
45984         (atan_test): Likewise.
45985         (atanh_test): Likewise.
45986         (atan2_test): Likewise.
45987         (cabs_test): Likewise.
45988         (cacos_test): Use END_COMPLEX macro without arguments.
45989         (cacosh_test): Likewise.
45990         (carg_test): Use END macro without arguments.
45991         (casin_test): Use END_COMPLEX macro without arguments.
45992         (casinh_test): Likewise.
45993         (catan_test): Likewise.
45994         (catanh_test): Likewise.
45995         (cbrt_test): Use END macro without arguments.
45996         (ccos_test): Use END_COMPLEX macro without arguments.
45997         (ccosh_test): Likewise.
45998         (ceil_test): Use END macro without arguments.
45999         (cexp_test): Use END_COMPLEX macro without arguments.
46000         (cimag_test): Use END macro without arguments.
46001         (clog_test): Use END_COMPLEX macro without arguments.
46002         (clog10_test): Likewise.
46003         (conj_test): Likewise.
46004         (copysign_test): Use END macro without arguments.
46005         (cos_test): Likewise.
46006         (cos_test_tonearest): Likewise.
46007         (cos_test_towardzero): Likewise.
46008         (cos_test_downward): Likewise.
46009         (cos_test_upward): Likewise.
46010         (cosh_test): Likewise.
46011         (cosh_test_tonearest): Likewise.
46012         (cosh_test_towardzero): Likewise.
46013         (cosh_test_downward): Likewise.
46014         (cosh_test_upward): Likewise.
46015         (cpow_test): Use END_COMPLEX macro without arguments.
46016         (cproj_test): Likewise.
46017         (creal_test): Use END macro without arguments.
46018         (csin_test): Use END_COMPLEX macro without arguments.
46019         (csinh_test): Likewise.
46020         (csqrt_test): Likewise.
46021         (ctan_test): Likewise.
46022         (ctan_test_tonearest): Likewise.
46023         (ctan_test_towardzero): Likewise.
46024         (ctan_test_downward): Likewise.
46025         (ctan_test_upward): Likewise.
46026         (ctanh_test): Likewise.
46027         (ctanh_test_tonearest): Likewise.
46028         (ctanh_test_towardzero): Likewise.
46029         (ctanh_test_downward): Likewise.
46030         (ctanh_test_upward): Likewise.
46031         (erf_test): Use END macro without arguments.
46032         (erfc_test): Likewise.
46033         (exp_test): Likewise.
46034         (exp_test_tonearest): Likewise.
46035         (exp_test_towardzero): Likewise.
46036         (exp_test_downward): Likewise.
46037         (exp_test_upward): Likewise.
46038         (exp10_test): Likewise.
46039         (exp2_test): Likewise.
46040         (expm1_test): Likewise.
46041         (fabs_test): Likewise.
46042         (fdim_test): Likewise.
46043         (finite_test): Likewise.
46044         (floor_test): Likewise.
46045         (fma_test): Likewise.
46046         (fma_test_towardzero): Likewise.
46047         (fma_test_downward): Likewise.
46048         (fma_test_upward): Likewise.
46049         (fmax_test): Likewise.
46050         (fmin_test): Likewise.
46051         (fmod_test): Likewise.
46052         (fpclassify_test): Likewise.
46053         (frexp_test): Likewise.
46054         (gamma_test): Likewise.
46055         (hypot_test): Likewise.
46056         (ilogb_test): Likewise.
46057         (isfinite_test): Likewise.
46058         (isgreater_test): Likewise.
46059         (isgreaterequal_test): Likewise.
46060         (isinf_test): Likewise.
46061         (isless_test): Likewise.
46062         (islessequal_test): Likewise.
46063         (islessgreater_test): Likewise.
46064         (isnan_test): Likewise.
46065         (isnormal_test): Likewise.
46066         (issignaling_test): Likewise.
46067         (isunordered_test): Likewise.
46068         (j0_test): Likewise.
46069         (j1_test): Likewise.
46070         (jn_test): Likewise.
46071         (ldexp_test): Likewise.
46072         (lgamma_test): Likewise.
46073         (lrint_test): Likewise.
46074         (lrint_test_tonearest): Likewise.
46075         (lrint_test_towardzero): Likewise.
46076         (lrint_test_downward): Likewise.
46077         (lrint_test_upward): Likewise.
46078         (llrint_test): Likewise.
46079         (llrint_test_tonearest): Likewise.
46080         (llrint_test_towardzero): Likewise.
46081         (llrint_test_downward): Likewise.
46082         (llrint_test_upward): Likewise.
46083         (log_test): Likewise.
46084         (log10_test): Likewise.
46085         (log1p_test): Likewise.
46086         (log2_test): Likewise.
46087         (logb_test): Likewise.
46088         (logb_test_downward): Likewise.
46089         (lround_test): Likewise.
46090         (llround_test): Likewise.
46091         (modf_test): Likewise.
46092         (nearbyint_test): Likewise.
46093         (nextafter_test): Likewise.
46094         (nexttoward_test): Likewise.
46095         (pow_test): Likewise.
46096         (pow_test_tonearest): Likewise.
46097         (pow_test_towardzero): Likewise.
46098         (pow_test_downward): Likewise.
46099         (pow_test_upward): Likewise.
46100         (remainder_test): Likewise.
46101         (remainder_test_tonearest): Likewise.
46102         (remainder_test_towardzero): Likewise.
46103         (remainder_test_downward): Likewise.
46104         (remainder_test_upward): Likewise.
46105         (remquo_test): Likewise.
46106         (rint_test): Likewise.
46107         (rint_test_tonearest): Likewise.
46108         (rint_test_towardzero): Likewise.
46109         (rint_test_downward): Likewise.
46110         (rint_test_upward): Likewise.
46111         (round_test): Likewise.
46112         (scalb_test): Likewise.
46113         (scalbn_test): Likewise.
46114         (scalbln_test): Likewise.
46115         (signbit_test): Likewise.
46116         (sin_test): Likewise.
46117         (sin_test_tonearest): Likewise.
46118         (sin_test_towardzero): Likewise.
46119         (sin_test_downward): Likewise.
46120         (sin_test_upward): Likewise.
46121         (sincos_test): Likewise.
46122         (sinh_test): Likewise.
46123         (sinh_test_tonearest): Likewise.
46124         (sinh_test_towardzero): Likewise.
46125         (sinh_test_downward): Likewise.
46126         (sinh_test_upward): Likewise.
46127         (sqrt_test): Likewise.
46128         (tan_test): Likewise.
46129         (tan_test_tonearest): Likewise.
46130         (tan_test_towardzero): Likewise.
46131         (tan_test_downward): Likewise.
46132         (tan_test_upward): Likewise.
46133         (tanh_test): Likewise.
46134         (tgamma_test): Likewise.
46135         (trunc_test): Likewise.
46136         (y0_test): Likewise.
46137         (y1_test): Likewise.
46138         (yn_test): Likewise.
46139         (significand_test): Likewise.
46141 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
46143         [BZ #15381]
46144         * libio/genops.c (_IO_no_init): Initialize wide struct info.
46146 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
46148         [BZ #14894]
46149         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
46150         __ppc_mdoio and __ppc_mdoom.
46151         * manual/platform.texi: Document new functions __ppc_yield,
46152         __ppc_mdoio and __ppc_mdoom.
46154 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
46156         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
46157         (main): Mention "tls" pseudo-hwcap is legacy.
46158         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
46160 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
46162         * math/gen-libm-test.pl (parse_args): Output only string of
46163         arguments as text for test name, not full call or descriptions of
46164         tests for extra outputs.
46165         (generate_testfile): Do not pass function name to parse_args.
46166         Generate this_func variable from START.
46167         * math/libm-test.inc (struct test_f_f_data): Rename test_name
46168         field to arg_str.
46169         (struct test_ff_f_data): Likewise.
46170         (test_ff_f_data_nexttoward): Likewise.
46171         (struct test_fi_f_data): Likewise.
46172         (struct test_fl_f_data): Likewise.
46173         (struct test_if_f_data): Likewise.
46174         (struct test_fff_f_data): Likewise.
46175         (struct test_c_f_data): Likewise.
46176         (struct test_f_f1_data): Likewise.  Remove field extra_name.
46177         (struct test_fF_f1_data): Likewise.
46178         (struct test_ffI_f1_data): Likewise.
46179         (struct test_c_c_data): Rename test_name field to arg_str.
46180         (struct test_cc_c_data): Likewise.
46181         (struct test_f_i_data): Likewise.
46182         (struct test_ff_i_data): Likewise.
46183         (struct test_f_l_data): Likewise.
46184         (struct test_f_L_data): Likewise.
46185         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
46186         and extra2_name.
46187         (COMMON_TEST_SETUP): New macro.
46188         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
46189         (COMMON_TEST_CLEANUP): Likewise.
46190         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
46191         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
46192         macros.
46193         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
46194         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
46195         macros.
46196         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
46197         (RUN_TEST_fff_f): Take argument string.  Call new setup and
46198         cleanup macros.
46199         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
46200         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
46201         macros.
46202         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
46203         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
46204         macros.
46205         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
46206         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
46207         cleanup macros.
46208         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
46209         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
46210         cleanup macros.
46211         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
46212         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
46213         cleanup macros.
46214         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
46215         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
46216         macros.
46217         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
46218         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
46219         macros.
46220         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
46221         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
46222         macros.
46223         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
46224         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
46225         cleanup macros.
46226         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
46227         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
46228         cleanup macros.
46229         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
46230         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
46231         macros.
46232         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
46233         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
46234         cleanup macros.
46235         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
46236         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
46237         macros.
46238         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
46239         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
46240         macros.
46241         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
46242         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
46243         cleanup macros.
46244         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
46246 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
46248         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
46249         to _sifields.sigfault.
46250         (si_addr_lsb): Define new macro.
46251         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
46252         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
46253         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
46255 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
46257         [BZ #15441]
46258         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
46259         returns -1.
46260         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
46261         null return -1.
46262         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
46263         loading the domain.
46265 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
46267         * math/gen-libm-test.pl (parse_args): Do not include expected
46268         result in test name.
46269         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
46270         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46271         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
46272         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
46273         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
46274         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46276 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
46278         * benchtests/Makefile: Sort function entries.
46280         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
46281         tanh, asinh, acosh, atanh.
46282         * benchtests/acos-inputs: New file.
46283         * benchtests/acosh-inputs: New file.
46284         * benchtests/asin-inputs: New file.
46285         * benchtests/asinh-inputs: New file.
46286         * benchtests/atanh-inputs: New file.
46287         * benchtests/cosh-inputs: New file.
46288         * benchtests/log-inputs: New file.
46289         * benchtests/sinh-inputs: New file.
46290         * benchtests/tanh-inputs: New file.
46292 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
46294         [BZ #15339]
46295         * posix/tst-getaddrinfo4.c: New test.
46296         * posix/Makefile (tests): Add it.
46298 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
46300         [BZ #15339]
46301         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
46302         when no services were used.
46303         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
46304         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
46306 2013-05-21  Andreas Schwab  <schwab@suse.de>
46308         [BZ #15014]
46309         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
46310         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
46311         successful.
46312         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
46313         redundant variable declarations and reallocation of buffer when
46314         parsing as IPv6 address.  Always set NSS status when called from
46315         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
46316         buffer too small.  Correct computation of needed size.
46317         * nss/Makefile (tests): Add test-digits-dots.
46318         * nss/test-digits-dots.c: New test.
46320 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
46322         * benchtests/Makefile: Remove instructions for adding
46323         benchmark tests.
46324         * benchtests/README: New file to explain how to execute and
46325         enhance the benchmark tests.
46327 2013-05-21  Andreas Schwab  <schwab@suse.de>
46329         [BZ #15493]
46330         * setjmp/Makefile (tests): Add tst-sigsetjmp.
46331         * setjmp/tst-sigsetjmp.c: New test.
46333 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
46335         * sysdeps/x86_64/memset.S (memset): New implementation.
46336         (__bzero): Likewise.
46337         (__memset_tail): New function.
46339 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
46341         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
46342         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
46343         __memcpy_sse2_unaligned ifunc selection.
46344         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
46345         Add memcpy-sse2-unaligned.S.
46346         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
46347         Add: __memcpy_sse2_unaligned.
46349 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
46351         [BZ #15490]
46352         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
46353         math_force_eval before restoring floating-point envrionment.
46354         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
46355         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
46356         Likewise.
46357         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
46358         <math_private.h>.
46359         (__nearbyintl): Use math_force_eval before restoring
46360         floating-point environment.
46361         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
46363         * math/gen-libm-test.pl (special_functions): Remove.
46364         (parse_args): Don't handle TEST_extra.  Handle functions with no
46365         return value.
46366         * math/libm-test.inc (struct test_sincos_data): Replace with
46367         struct test_fFF_11_data.
46368         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
46369         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
46370         (sincos_test_data): Change element type to struct
46371         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
46372         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
46373         RUN_TEST_LOOP_sincos.
46374         * math/README.libm-test: Don't mention special handling of
46375         individual functions.
46376         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
46377         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46378         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
46379         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
46380         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
46381         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46383         * math/gen-libm-test.pl (get_variable): Remove function.
46384         (parse_args): Don't show pointer parameters to call in test
46385         names.  Use "extra output N" in test names for extra outputs
46386         rather than naming variables.
46388 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
46390         [BZ #15488]
46391         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
46392         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
46393         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
46394         double tests.
46395         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
46396         disable.
46397         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
46398         check_long_double.
46400         * math/gen-libm-test.pl (@tests): Remove variable.
46401         ($count): Likewise.
46402         (new_test): Remove function.
46403         (show_exceptions): New function.
46404         (special_functions): Use show_exceptions instead of new_test.
46405         (parse_args): Likewise.
46406         (generate_testfile): Pass only function name in generated call to
46407         print_max_error or print_complex_max_error.
46408         (get_ulps): Do not handle complex tests specially.
46409         (output_test): Rename to ...
46410         (get_all_ulps_for_test): ... this.  Return a string rather than
46411         printing to a file.  Require ulps to be present.
46412         (output_ulps): Generate arrays rather than #defines.
46413         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
46414         (struct ulp_data): New type.
46415         (BUILD_COMPLEX_ULP): Remove macro.
46416         (compare_ulp_data): New function.
46417         (find_ulps): Likewise.
46418         (find_test_ulps): Likewise.
46419         (find_function_ulps): Likewise.
46420         (find_complex_function_ulps): Likewise.
46421         (print_max_error): Determine allowed ulps using
46422         find_function_ulps.
46423         (print_complex_max_error): Determine allowed ulps using
46424         find_complex_function_ulps.
46425         (check_float_internal): Determine max ulps using find_test_ulps.
46426         (check_float): Do not take max_ulp parameter.  Update call to
46427         check_float_internal.
46428         (check_complex): Likewise.
46429         (check_int): Do not take max_ulp parameter.
46430         (check_long): Likewise.
46431         (check_bool): Likewise.
46432         (check_longlong): Likewise.
46433         (struct test_f_f_data): Remove max_ulp field.
46434         (struct test_ff_f_data): Likewise.
46435         (struct test_ff_f_data_nexttoward): Likewise.
46436         (struct test_fi_f_data): Likewise.
46437         (struct test_fl_f_data): Likewise.
46438         (struct test_if_f_data): Likewise.
46439         (struct test_fff_f_data): Likewise.
46440         (struct test_c_f_data): Likewise.
46441         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
46442         (struct test_fF_f1_data): Likewise.
46443         (struct test_ffI_f1_data): Likewise.
46444         (struct test_c_c_data): Remove max_ulp field.
46445         (struct test_cc_c_data): Likewise.
46446         (struct test_f_i_data): Likewise.
46447         (struct test_ff_i_data): Likewise.
46448         (struct test_f_l_data): Likewise.
46449         (struct test_f_L_data): Likewise.
46450         (struct test_sincos_data): Likewise.
46451         (RUN_TEST_f_f): Do not handle ulps.
46452         (RUN_TEST_LOOP_f_f): Likewise.
46453         (RUN_TEST_2_f): Likewise.
46454         (RUN_TEST_LOOP_2_f): Likewise.
46455         (RUN_TEST_fff_f): Likewise.
46456         (RUN_TEST_LOOP_fff_f): Likewise.
46457         (RUN_TEST_c_f): Likewise.
46458         (RUN_TEST_LOOP_c_f): Likewise.
46459         (RUN_TEST_f_f1): Likewise.
46460         (RUN_TEST_LOOP_f_f1): Likewise.
46461         (RUN_TEST_fF_f1): Likewise.
46462         (RUN_TEST_LOOP_fF_f1): Likewise.
46463         (RUN_TEST_fI_f1): Likewise.
46464         (RUN_TEST_LOOP_fI_f1): Likewise.
46465         (RUN_TEST_ffI_f1): Likewise.
46466         (RUN_TEST_LOOP_ffI_f1): Likewise.
46467         (RUN_TEST_c_c): Likewise.
46468         (RUN_TEST_LOOP_c_c): Likewise.
46469         (RUN_TEST_cc_c): Likewise.
46470         (RUN_TEST_LOOP_cc_c): Likewise.
46471         (RUN_TEST_f_i): Likewise.
46472         (RUN_TEST_LOOP_f_i): Likewise.
46473         (RUN_TEST_f_i_tg): Likewise.
46474         (RUN_TEST_LOOP_f_i_tg): Likewise.
46475         (RUN_TEST_ff_i_tg): Likewise.
46476         (RUN_TEST_LOOP_ff_i_tg): Likewise.
46477         (RUN_TEST_f_b): Likewise.
46478         (RUN_TEST_LOOP_f_b): Likewise.
46479         (RUN_TEST_f_b_tg): Likewise.
46480         (RUN_TEST_LOOP_f_b_tg): Likewise.
46481         (RUN_TEST_f_l): Likewise.
46482         (RUN_TEST_LOOP_f_l): Likewise.
46483         (RUN_TEST_f_L): Likewise.
46484         (RUN_TEST_LOOP_f_L): Likewise.
46485         (RUN_TEST_sincos): Likewise.
46486         (RUN_TEST_LOOP_sincos): Likewise.
46488 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
46490         [BZ #15480]
46491         [BZ #15485]
46492         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
46493         main case of finite arguments, set rounding mode to FE_TONEAREST
46494         and discard exceptions.
46495         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
46496         exceptions.
46497         (remainder_tonearest_test_data): New variable.
46498         (remainder_test_tonearest): New function.
46499         (remainder_towardzero_test_data): New variable.
46500         (remainder_test_towardzero): New function.
46501         (remainder_downward_test_data): New variable.
46502         (remainder_test_downward): New function.
46503         (remainder_upward_test_data): New variable.
46504         (remainder_test_upward): New function.
46505         (main): Call the new test functions.
46507         * math/libm-test.inc (struct test_f_f1_data): Remove field
46508         extra_init.
46509         (struct test_fF_f1_data): Likewise.
46510         (struct test_ffI_f1_data): Likewise.
46511         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
46512         based on value of EXTRA_EXPECTED.
46513         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
46514         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
46515         EXTRA_VAR based on value of EXTRA_EXPECTED.
46516         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
46517         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
46518         EXTRA_VAR based on value of EXTRA_EXPECTED.
46519         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
46520         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
46521         EXTRA_VAR based on value of EXTRA_EXPECTED.
46522         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
46523         * math/gen-libm-test.pl (parse_args): Don't output initializers
46524         for extra output values.
46526         * math/libm-test.inc (check_int): Expect result to be exactly
46527         equal to expected value and do not handle ulps.
46528         (check_long): Likewise.
46529         (check_longlong): Likewise.
46531         * math/libm-test.inc (ceil_test_data): Test for "inexact"
46532         exceptions.
46533         (cimag_test_data): Likewise.
46534         (conj_test_data): Likewise.
46535         (copysign_test_data): Likewise.
46536         (cproj_test_data): Likewise.
46537         (creal_test_data): Likewise.
46538         (fabs_test_data): Likewise.
46539         (fdim_test_data): Likewise.
46540         (finite_test_data): Likewise.
46541         (floor_test_data): Likewise.
46542         (fmax_test_data): Likewise.
46543         (fmin_test_data): Likewise.
46544         (fmod_test_data): Likewise.
46545         (fpclassify_test_data): Likewise.
46546         (frexp_test_data): Likewise.
46547         (ilogb_test_data): Likewise.
46548         (isfinite_test_data): Likewise.
46549         (isgreater_test_data): Likewise.
46550         (isgreaterequal_test_data): Likewise.
46551         (isinf_test_data): Likewise.
46552         (isless_test_data): Likewise.
46553         (islessequal_test_data): Likewise.
46554         (islessgreater_test_data): Likewise.
46555         (isnan_test_data): Likewise.
46556         (isnormal_test_data): Likewise.
46557         (issignaling_test_data): Likewise.
46558         (isunordered_test_data): Likewise.
46559         (ldexp_test_data): Likewise.
46560         (lrint_test_data): Likewise.
46561         (lrint_test_data) [TEST_FLOAT]: Disable one test.
46562         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
46563         (lrint_tonearest_test_data): Test for "inexact" exceptions.
46564         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
46565         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
46566         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
46567         test input.
46568         (lrint_towardzero_test_data): Test for "inexact" exceptions.
46569         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
46570         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
46571         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
46572         that test input.
46573         (lrint_downward_test_data): Test for "inexact" exceptions.
46574         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
46575         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
46576         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
46577         test input.
46578         (lrint_upward_test_data): Test for "inexact" exceptions.
46579         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
46580         test input.
46581         (llrint_test_data): Test for "inexact" exceptions.
46582         (llrint_test_data) [TEST_FLOAT]: Disable one test.
46583         (llrint_tonearest_test_data): Test for "inexact" exceptions.
46584         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
46585         (llrint_towardzero_test_data): Test for "inexact" exceptions.
46586         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
46587         (llrint_downward_test_data): Test for "inexact" exceptions.
46588         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
46589         (llrint_upward_test_data): Test for "inexact" exceptions.
46590         (logb_test_data): Likewise.
46591         (logb_downward_test_data): Likewise.
46592         (nextafter_test_data): Likewise.
46593         (nexttoward_test_data): Likewise.
46594         (remainder_test_data): Likewise.
46595         (remquo_test_data): Likewise.
46596         (scalbn_test_data): Likewise.
46597         (scalbln_test_data): Likewise.
46598         (signbit_test_data): Likewise.
46599         (sqrt_test_data): Likewise.
46600         (significand_test_data): Likewise.
46602 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
46604         [BZ #15424]
46605         * benchtests/bench-modf.c (struct args): Mark arg0 as
46606         volatile.
46607         * scripts/bench.pl: Mark members of struct args as volatile.
46609 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46611         [BZ # 15497]
46612         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
46613         negative infinity on POWER6 or lower.
46614         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
46616 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
46618         [BZ #15442]
46619         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
46620         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
46621         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
46622         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
46623         (_FP_SETQNAN): New macro.
46624         (_FP_SETQNAN_SEMIRAW): Likewise.
46625         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
46626         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
46627         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
46628         (FP_EXTEND): Use _FP_FRAC_SNANP.
46629         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
46630         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
46631         into account.
46632         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
46633         New macro.
46634         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
46635         Likewise.
46637 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
46639         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
46640         with DIVIDE_BY_ZERO_EXCEPTION.
46641         (gamma_test_data): Likewise.
46642         (lgamma_test_data): Likewise.
46643         (log_test_data): Likewise.
46644         (log10_test_data): Likewise.
46645         (log2_test_data): Likewise.
46646         (tgamma_test_data): Likewise.
46648         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
46649         (acos_test_tonearest): Likewise.
46650         (acos_test_towardzero): Likewise.
46651         (acos_test_downward): Likewise.
46652         (acos_test_upward): Likewise.
46653         (acosh_test): Likewise.
46654         (asin_test): Likewise.
46655         (asin_test_tonearest): Likewise.
46656         (asin_test_towardzero): Likewise.
46657         (asin_test_downward): Likewise.
46658         (asin_test_upward): Likewise.
46659         (asinh_test): Likewise.
46660         (atan_test): Likewise.
46661         (atanh_test): Likewise.
46662         (atan2_test): Likewise.
46663         (cabs_test): Likewise.
46664         (cacos_test): Likewise.
46665         (cacosh_test): Likewise.
46666         (casin_test): Likewise.
46667         (casinh_test): Likewise.
46668         (catan_test): Likewise.
46669         (catanh_test): Likewise.
46670         (cbrt_test): Likewise.
46671         (ccos_test): Likewise.
46672         (ccosh_test): Likewise.
46673         (cexp_test): Likewise.
46674         (clog_test): Likewise.
46675         (clog10_test): Likewise.
46676         (cos_test): Likewise.
46677         (cos_test_tonearest): Likewise.
46678         (cos_test_towardzero): Likewise.
46679         (cos_test_downward): Likewise.
46680         (cos_test_upward): Likewise.
46681         (cosh_test): Likewise.
46682         (cosh_test_tonearest): Likewise.
46683         (cosh_test_towardzero): Likewise.
46684         (cosh_test_downward): Likewise.
46685         (cosh_test_upward): Likewise.
46686         (cpow_test): Likewise.
46687         (csin_test): Likewise.
46688         (csinh_test): Likewise.
46689         (csqrt_test): Likewise.
46690         (ctan_test): Likewise.
46691         (ctan_test_tonearest): Likewise.
46692         (ctan_test_towardzero): Likewise.
46693         (ctan_test_downward): Likewise.
46694         (ctan_test_upward): Likewise.
46695         (ctanh_test): Likewise.
46696         (ctanh_test_tonearest): Likewise.
46697         (ctanh_test_towardzero): Likewise.
46698         (ctanh_test_downward): Likewise.
46699         (ctanh_test_upward): Likewise.
46700         (erf_test): Likewise.
46701         (erfc_test): Likewise.
46702         (exp_test): Likewise.
46703         (exp_test_tonearest): Likewise.
46704         (exp_test_towardzero): Likewise.
46705         (exp_test_downward): Likewise.
46706         (exp_test_upward): Likewise.
46707         (exp10_test): Likewise.
46708         (exp2_test): Likewise.
46709         (expm1_test): Likewise.
46710         (fmod_test): Likewise.
46711         (gamma_test): Likewise.
46712         (hypot_test): Likewise.
46713         (j0_test): Likewise.
46714         (j1_test): Likewise.
46715         (jn_test): Likewise.
46716         (lgamma_test): Likewise.
46717         (log_test): Likewise.
46718         (log10_test): Likewise.
46719         (log1p_test): Likewise.
46720         (log2_test): Likewise.
46721         (logb_test_downward): Likewise.
46722         (pow_test): Likewise.
46723         (pow_test_tonearest): Likewise.
46724         (pow_test_towardzero): Likewise.
46725         (pow_test_downward): Likewise.
46726         (pow_test_upward): Likewise.
46727         (remainder_test): Likewise.
46728         (remquo_test): Likewise.
46729         (sin_test): Likewise.
46730         (sin_test_tonearest): Likewise.
46731         (sin_test_towardzero): Likewise.
46732         (sin_test_downward): Likewise.
46733         (sin_test_upward): Likewise.
46734         (sincos_test): Likewise.
46735         (sinh_test): Likewise.
46736         (sinh_test_tonearest): Likewise.
46737         (sinh_test_towardzero): Likewise.
46738         (sinh_test_downward): Likewise.
46739         (sinh_test_upward): Likewise.
46740         (sqrt_test): Likewise.
46741         (tan_test): Likewise.
46742         (tan_test_tonearest): Likewise.
46743         (tan_test_towardzero): Likewise.
46744         (tan_test_downward): Likewise.
46745         (tan_test_upward): Likewise.
46746         (tanh_test): Likewise.
46747         (tgamma_test): Likewise.
46748         (y0_test): Likewise.
46749         (y1_test): Likewise.
46750         (yn_test): Likewise.
46752         * math/gen-libm-test.pl (adjust_arg): Remove function.
46753         (special_function): Remove argument $in_func.  Only handle
46754         generating output for tables of tests, not inside functions.
46755         (parse_args): Likewise.
46756         (generate_testfile): Remove variable $in_func.  Update call to
46757         parse_args.
46758         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
46759         (MINUS_ZERO_INIT): Rename macro to minus_zero.
46760         (PLUS_INFTY_INIT): Rename macro to plus_infty.
46761         (MINUS_INFTY_INIT): Rename macro to minus_infty.
46762         (QNAN_VALUE_INIT): Rename macro to qnan_value.
46763         (MAX_VALUE_INIT): Rename macro to max_value.
46764         (MIN_VALUE_INIT): Rename macro to min_value.
46765         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
46766         (plus_zero): Remove variable.
46767         (minus_zero): Likewise.
46768         (plus_infty): Likewise.
46769         (minus_infty): Likewise.
46770         (qnan_value): Likewise.
46771         (max_value): Likewise.
46772         (min_value): Likewise.
46773         (min_subnorm_value): Likewise.
46775 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46777         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
46778         uint64_t or uint32_t usage.
46779         * crypt/sha256-block.c: Likewise.
46780         * crypt/sha256-crypt.c: Likewise.
46781         * crypt/sha256.c: Likewise.
46782         * crypt/sha512-block.c: Likewise.
46783         * crypt/sha512-crypt.c: Likewise.
46784         * crypt/sha512.c: Likewise.
46785         * debug/backtrace-tst.c: Likewise.
46786         * debug/pcprofiledump.c: Likewise.
46787         * elf/cache.c: Likewise.
46788         * elf/dl-cache.c: Likewise.
46789         * elf/dl-misc.c: Likewise.
46790         * elf/dl-profile.c: Likewise.
46791         * elf/dl-support.c: Likewise.
46792         * elf/ldconfig.c: Likewise.
46793         * elf/sprof.c: Likewise.
46794         * iconv/dummy-repertoire.c: Likewise.
46795         * iconv/iconv_charmap.c: Likewise.
46796         * iconv/skeleton.c: Likewise.
46797         * iconvdata/8bit-generic.c: Likewise.
46798         * iconvdata/cp737.h: Likewise.
46799         * iconvdata/cp775.h: Likewise.
46800         * iconvdata/ibm1008.h: Likewise.
46801         * iconvdata/ibm1025.h: Likewise.
46802         * iconvdata/ibm1046.h: Likewise.
46803         * iconvdata/ibm1097.h: Likewise.
46804         * iconvdata/ibm1112.h: Likewise.
46805         * iconvdata/ibm1122.h: Likewise.
46806         * iconvdata/ibm1123.h: Likewise.
46807         * iconvdata/ibm1124.h: Likewise.
46808         * iconvdata/ibm1129.h: Likewise.
46809         * iconvdata/ibm1130.h: Likewise.
46810         * iconvdata/ibm1132.h: Likewise.
46811         * iconvdata/ibm1133.h: Likewise.
46812         * iconvdata/ibm1137.h: Likewise.
46813         * iconvdata/ibm1140.h: Likewise.
46814         * iconvdata/ibm1141.h: Likewise.
46815         * iconvdata/ibm1142.h: Likewise.
46816         * iconvdata/ibm1143.h: Likewise.
46817         * iconvdata/ibm1144.h: Likewise.
46818         * iconvdata/ibm1145.h: Likewise.
46819         * iconvdata/ibm1146.h: Likewise.
46820         * iconvdata/ibm1147.h: Likewise.
46821         * iconvdata/ibm1148.h: Likewise.
46822         * iconvdata/ibm1149.h: Likewise.
46823         * iconvdata/ibm1153.h: Likewise.
46824         * iconvdata/ibm1154.h: Likewise.
46825         * iconvdata/ibm1155.h: Likewise.
46826         * iconvdata/ibm1156.h: Likewise.
46827         * iconvdata/ibm1157.h: Likewise.
46828         * iconvdata/ibm1158.h: Likewise.
46829         * iconvdata/ibm1160.h: Likewise.
46830         * iconvdata/ibm1161.h: Likewise.
46831         * iconvdata/ibm1162.h: Likewise.
46832         * iconvdata/ibm1163.h: Likewise.
46833         * iconvdata/ibm1164.h: Likewise.
46834         * iconvdata/ibm1166.h: Likewise.
46835         * iconvdata/ibm1167.h: Likewise.
46836         * iconvdata/ibm12712.h: Likewise.
46837         * iconvdata/ibm1390.h: Likewise.
46838         * iconvdata/ibm1399.h: Likewise.
46839         * iconvdata/ibm16804.h: Likewise.
46840         * iconvdata/ibm4517.h: Likewise.
46841         * iconvdata/ibm4899.h: Likewise.
46842         * iconvdata/ibm4909.h: Likewise.
46843         * iconvdata/ibm4971.h: Likewise.
46844         * iconvdata/ibm5347.h: Likewise.
46845         * iconvdata/ibm803.h: Likewise.
46846         * iconvdata/ibm856.h: Likewise.
46847         * iconvdata/ibm901.h: Likewise.
46848         * iconvdata/ibm902.h: Likewise.
46849         * iconvdata/ibm9030.h: Likewise.
46850         * iconvdata/ibm9066.h: Likewise.
46851         * iconvdata/ibm921.h: Likewise.
46852         * iconvdata/ibm922.h: Likewise.
46853         * iconvdata/ibm9448.h: Likewise.
46854         * iconvdata/isiri-3342.h: Likewise.
46855         * iconvdata/jis0201.h: Likewise.
46856         * include/link.h: Likewise.
46857         * include/netdb.h: Likewise.
46858         * inet/check_native.c: Likewise.
46859         * inet/check_pf.c: Likewise.
46860         * inet/getipv4sourcefilter.c: Likewise.
46861         * inet/getnameinfo.c: Likewise.
46862         * inet/getsourcefilter.c: Likewise.
46863         * inet/htonl.c: Likewise.
46864         * inet/setipv4sourcefilter.c: Likewise.
46865         * inet/setsourcefilter.c: Likewise.
46866         * inet/test-inet6_opt.c: Likewise.
46867         * inet/tst-network.c: Likewise.
46868         * locale/C-collate.c: Likewise.
46869         * locale/C-ctype.c: Likewise.
46870         * locale/C-time.c: Likewise.
46871         * locale/C-translit.h: Likewise.
46872         * locale/loadarchive.c: Likewise.
46873         * locale/programs/3level.h: Likewise.
46874         * locale/programs/charmap.c: Likewise.
46875         * locale/programs/charmap.h: Likewise.
46876         * locale/programs/ld-address.c: Likewise.
46877         * locale/programs/ld-collate.c: Likewise.
46878         * locale/programs/ld-ctype.c: Likewise.
46879         * locale/programs/ld-identification.c: Likewise.
46880         * locale/programs/ld-measurement.c: Likewise.
46881         * locale/programs/ld-messages.c: Likewise.
46882         * locale/programs/ld-monetary.c: Likewise.
46883         * locale/programs/ld-name.c: Likewise.
46884         * locale/programs/ld-numeric.c: Likewise.
46885         * locale/programs/ld-paper.c: Likewise.
46886         * locale/programs/ld-telephone.c: Likewise.
46887         * locale/programs/ld-time.c: Likewise.
46888         * locale/programs/linereader.c: Likewise.
46889         * locale/programs/locale.c: Likewise.
46890         * locale/programs/locarchive.c: Likewise.
46891         * locale/programs/locfile.h: Likewise.
46892         * locale/programs/repertoire.c: Likewise.
46893         * locale/programs/simple-hash.c: Likewise.
46894         * locale/programs/simple-hash.h: Likewise.
46895         * malloc/memusage.c: Likewise.
46896         * malloc/memusagestat.c: Likewise.
46897         * nis/nis_defaults.c: Likewise.
46898         * nis/nis_hash.c: Likewise.
46899         * nis/nis_print.c: Likewise.
46900         * nis/nis_xdr.c: Likewise.
46901         * nscd/connections.c: Likewise.
46902         * nscd/hstcache.c: Likewise.
46903         * nscd/nscd_gethst_r.c: Likewise.
46904         * nscd/nscd_getserv_r.c: Likewise.
46905         * nscd/nscd_helper.c: Likewise.
46906         * nscd/servicescache.c: Likewise.
46907         * nss/makedb.c: Likewise.
46908         * nss/nss_db/db-XXX.c: Likewise.
46909         * nss/nss_db/db-initgroups.c: Likewise.
46910         * nss/nss_db/db-netgrp.c: Likewise.
46911         * nss/nss_files/files-network.c: Likewise.
46912         * nss/nss_files/files-parse.c: Likewise.
46913         * posix/bug-regex5.c: Likewise.
46914         * posix/fnmatch_loop.c: Likewise.
46915         * posix/regcomp.c: Likewise.
46916         * posix/regexec.c: Likewise.
46917         * posix/tst-rfc3484-2.c: Likewise.
46918         * posix/tst-rfc3484-3.c: Likewise.
46919         * posix/tst-rfc3484.c: Likewise.
46920         * resolv/nss_dns/dns-canon.c: Likewise.
46921         * resolv/nss_dns/dns-network.c: Likewise.
46922         * resolv/res_init.c: Likewise.
46923         * resolv/res_mkquery.c: Likewise.
46924         * resolv/tst-aton.c: Likewise.
46925         * stdlib/cxa_atexit.c: Likewise.
46926         * stdlib/cxa_finalize.c: Likewise.
46927         * stdlib/gen-fpioconst.c: Likewise.
46928         * stdlib/strtol_l.c: Likewise.
46929         * string/tst-endian.c: Likewise.
46930         * sunrpc/auth_des.c: Likewise.
46931         * sunrpc/clnt_udp.c: Likewise.
46932         * sunrpc/rtime.c: Likewise.
46933         * sunrpc/svcauth_des.c: Likewise.
46934         * sunrpc/xdr.c: Likewise.
46935         * sunrpc/xdr_intXX_t.c: Likewise.
46936         * sunrpc/xdr_rec.c: Likewise.
46937         * sysdeps/generic/ldconfig.h: Likewise.
46938         * sysdeps/generic/ldsodefs.h: Likewise.
46939         * sysdeps/generic/memusage.h: Likewise.
46940         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
46941         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
46942         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
46943         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
46944         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46945         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
46946         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
46947         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
46948         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
46949         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
46950         * sysdeps/posix/getaddrinfo.c: Likewise.
46951         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
46952         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
46953         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
46954         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
46955         * sysdeps/powerpc/test-gettimebase.c: Likewise.
46956         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
46957         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
46958         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
46959         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
46960         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
46961         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
46962         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
46963         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
46964         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
46965         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
46966         * sysdeps/x86_64/dl-tls.h: Likewise.
46967         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
46968         * time/alt_digit.c: Likewise.
46969         * time/era.c: Likewise.
46970         * wcsmbs/tst-c16c32-1.c: Likewise.
46972 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
46974         * math/libm-test.inc (struct test_sincos_data): New type.
46975         (RUN_TEST_LOOP_sincos): New macro.
46976         (sincos_test_data): New variable.
46977         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
46979 2013-05-16  Richard Henderson  <rth@redhat.com>
46981         * math/atest-exp2.c (LIMB64): New macro.
46982         (CONSTSZ): New macro.
46983         (mp_exp1, mp_exp_m1, mp_log2): New variables.
46984         (hexdig): Move ...
46985         (print_mpn_fp): ... to function scope.
46986         (read_mpn_hex): Remove.
46987         (get_log2): Remove.
46988         (exp2_mpn): Use mp_log2.
46989         (main): Use mp_exp1.
46991 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
46993         * math/libm-test.inc: Remove comment about not testing "inexact"
46994         exceptions.
46995         (INEXACT_EXCEPTION): New macro.
46996         (NO_INEXACT_EXCEPTION): Likewise.
46997         (INVALID_EXCEPTION_OK): Update value.
46998         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
46999         (OVERFLOW_EXCEPTION_OK): Likewise.
47000         (UNDERFLOW_EXCEPTION_OK): Likewise.
47001         (IGNORE_ZERO_INF_SIGN): Likewise.
47002         (ERRNO_UNCHANGED): Likewise.
47003         (ERRNO_EDOM): Likewise.
47004         (ERRNO_ERANGE): Likewise.
47005         (test_exceptions): Handle testing "inexact" exceptions.
47006         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
47007         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
47008         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
47009         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
47010         INEXACT_EXCEPTION.
47011         (rint_towardzero_test_data): Likewise.
47012         (rint_downward_test_data): Likewise.
47013         (rint_upward_test_data): Likewise.
47015         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
47016         with OVERFLOW_EXCEPTION.
47017         (exp10_test_data): Likewise.
47018         (exp2_test_data): Likewise.
47019         (expm1_test_data): Likewise.
47020         (lgamma_test_data): Likewise.
47021         (pow_test_data): Likewise.
47022         (tgamma_test_data): Likewise.
47023         (yn_test_data): Remove duplicate test of overflow.
47025         * math/libm-test.inc (struct test_cc_c_data): New type.
47026         (RUN_TEST_LOOP_cc_c): New macro.
47027         (cpow_test_data): New variable.
47028         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
47030         * math/libm-test.inc (struct test_f_L_data): New type.
47031         (RUN_TEST_LOOP_f_L): New macro.
47032         (llrint_test_data): New variable.
47033         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
47034         (llrint_tonearest_test_data): New variable.
47035         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
47036         (llrint_towardzero_test_data): New variable.
47037         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
47038         (llrint_downward_test_data): New variable.
47039         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
47040         (llrint_upward_test_data): New variable.
47041         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
47042         (llround_test_data): New variable.
47043         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
47045 2013-05-13  Peter Collingbourne  <pcc@google.com>
47047         * math/atest-exp2.c (get_log2): Remove const attribute.
47049 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
47051         * math/libm-test.inc (struct test_f_l_data): New type.
47052         (RUN_TEST_LOOP_f_l): New macro.
47053         (lrint_test_data): New variable.
47054         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
47055         (lrint_tonearest_test_data): New variable.
47056         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
47057         (lrint_towardzero_test_data): New variable.
47058         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
47059         (lrint_downward_test_data): New variable.
47060         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
47061         (lrint_upward_test_data): New variable.
47062         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
47063         (lround_test_data): New variable.
47064         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
47066 2013-05-15  Peter Collingbourne  <pcc@google.com>
47068         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
47069         (EXTRACT_WORDS64) Use where appropriate.
47070         (INSERT_WORDS64) Likewise.
47072         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
47073         constraints with x constraints.
47074         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
47076         * malloc/obstack.c (_obstack_compat): Add initializer.
47078 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
47080         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
47081         si_trapno and add si_addr_lsb to _sifields.sigfault.
47082         (si_trapno): Remove macro.
47083         (si_addr_lsb): Define new macro.
47084         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
47086 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
47088         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
47089         instead of TEST_f_l.
47090         (llrint_test_tonearest): Likewise.
47091         (llrint_test_towardzero): Likewise.
47092         (llrint_test_downward): Likewise.
47093         (llrint_test_upward): Likewise.
47094         (llround_test): Likewise.
47096         * math/libm-test.inc (struct test_f_i_data): Add comment.
47097         (RUN_TEST_LOOP_f_b): New macro.
47098         (RUN_TEST_LOOP_f_b_tg): Likewise.
47099         (finite_test_data): New variable.
47100         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
47101         (isfinite_test_data): New variable.
47102         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
47103         (isinf_test_data): New variable.
47104         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
47105         (isnan_test_data): New variable.
47106         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
47107         (isnormal_test_data): New variable.
47108         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
47109         (issignaling_test_data): New variable.
47110         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
47111         (signbit_test_data): New variable.
47112         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
47114         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
47115         with INVALID_EXCEPTION.
47116         (acosh_test_data): Likewise.
47117         (asin_test_data): Likewise.
47118         (atanh_test_data): Likewise.
47119         (fmod_test_data): Likewise.
47120         (log_test_data): Likewise.
47121         (log10_test_data): Likewise.
47122         (log2_test_data): Likewise.
47123         (pow_test_data): Likewise.
47124         (sqrt_test_data): Likewise.
47125         (y0_test_data): Likewise.
47126         (y1_test_data): Likewise.
47127         (yn_test_data): Likewise.
47129         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
47130         function contents.
47132         * math/libm-test.inc (struct test_ff_i_data): New type.
47133         (RUN_TEST_LOOP_ff_i_tg): New macro.
47134         (isgreater_test_data): New variable.
47135         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
47136         (isgreaterequal_test_data): New variable.
47137         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
47138         (isless_test_data): New variable.
47139         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
47140         (islessequal_test_data): New variable.
47141         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
47142         (islessgreater_test_data): New variable.
47143         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
47144         (isunordered_test_data): New variable.
47145         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
47147 2013-05-14  David S. Miller  <davem@davemloft.net>
47149         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47151 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
47153         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
47155         * math/libm-test.inc (struct test_fF_f1_data): Change type of
47156         extra_test to int.
47157         (struct test_f_i_data): Change type of max_ulp to int.
47159         * math/libm-test.inc (test_ffI_f1_data): New type.
47160         (RUN_TEST_LOOP_ffI_f1): New macro.
47161         (remquo_test_data): New variable.
47162         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
47164         * setjmp/tst-setjmp-fp.c: New file.
47165         * setjmp/Makefile (tests): Add tst-setjmp-fp.
47166         (link-libm): New variable.
47167         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
47169         * math/libm-test.inc (struct test_f_i_data): New type.
47170         (RUN_TEST_LOOP_f_i): New macro.
47171         (RUN_TEST_LOOP_f_i_tg): Likewise.
47172         (fpclassify_test_data): New variable.
47173         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
47174         (ilogb_test_data): New variable.
47175         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
47177         * math/libm-test.inc (scalbln_test): Correct function name in END
47178         call.
47180         * math/libm-test.inc (struct test_f_f1_data): Add comment.
47181         (RUN_TEST_LOOP_fI_f1): New macro.
47182         (frexp_test_data): New variable.
47183         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
47185         * math/libm-test.inc (struct test_fF_f1_data): New type.
47186         (RUN_TEST_LOOP_fF_f1): New macro.
47187         (modf_test_data): New variable.
47188         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
47190         * math/libm-test.inc (struct test_f_f1_data): New type.
47191         (RUN_TEST_LOOP_f_f1): New macro.
47192         (gamma_test_data): New variable.
47193         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
47194         (lgamma_test_data): New variable.
47195         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
47197 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
47199         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
47200         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
47201         (main): Comment "tls" pseudo-hwcap.
47203 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
47205         * math/libm-test.inc (struct test_fl_f_data): New type.
47206         (RUN_TEST_LOOP_fl_f): New variable.
47207         (scalbln_test_data): New variable.
47208         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
47210         * math/libm-test.inc (struct test_fi_f_data): New type.
47211         (RUN_TEST_LOOP_fi_f): New macro.
47212         (ldexp_test_data): New variable.
47213         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
47214         (scalbn_test_data): New variable.
47215         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
47217         * math/libm-test.inc (struct test_c_f_data): New type.
47218         (RUN_TEST_LOOP_c_f): New macro.
47219         (cabs_test_data): New variable.
47220         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
47221         (carg_test_data): New variable.
47222         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
47223         (cimag_test_data): New variable.
47224         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
47225         (creal_test_data): New variable.
47226         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
47228         * math/libm-test.inc (struct test_if_f_data): New type.
47229         (RUN_TEST_LOOP_if_f): New macro.
47230         (jn_test_data): New variable.
47231         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
47232         (yn_test_data): New variable.
47233         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
47235         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
47237 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47239         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
47240         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
47242 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
47244         * benchtests/Makefile (CPPFLAGS-nonlib): Add
47245         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
47246         (bench-deps): Add bench-timing.h.
47247         * benchtests-bench-skeleton.c: Include bench-timing.h.
47248         (main): Use TIMING_* macros instead of clock_gettime.
47249         * benchtests/bench-timing.h: New file.
47251         [BZ #14582]
47252         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
47253         Renamed from _LIB_VERSION.
47254         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
47256 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
47258         * math/libm-test.inc (struct test_fff_f_data): New type.
47259         (RUN_TEST_LOOP_fff_f): New macro.
47260         (fma_test_data): New variable.
47261         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
47262         (fma_towardzero_test_data): New variable.
47263         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
47264         (fma_downward_test_data): New variable.
47265         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
47266         (fma_upward_test_data): New variable.
47267         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
47269         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
47270         (struct test_c_c_data): New type.
47271         (RUN_TEST_LOOP_c_c): New macro.
47272         (cacos_test_data): New variable.
47273         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
47274         (cacosh_test_data): New variable.
47275         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
47276         (casin_test_data): New variable.
47277         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
47278         (casinh_test_data): New variable.
47279         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
47280         (catan_test_data): New variable.
47281         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
47282         (catanh_test_data): New variable.
47283         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
47284         (ccos_test_data): New variable.
47285         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
47286         (ccosh_test_data): New variable.
47287         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
47288         (cexp_test_data): New variable.
47289         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
47290         (clog_test_data): New variable.
47291         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
47292         (clog10_test_data): New variable.
47293         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
47294         (conj_test_data): New variable.
47295         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
47296         (cproj_test_data): New variable.
47297         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
47298         (csin_test_data): New variable.
47299         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
47300         (csinh_test_data): New variable.
47301         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
47302         (csqrt_test_data): New variable.
47303         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
47304         (ctan_test_data): New variable.
47305         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
47306         (ctan_tonearest_test_data): New variable.
47307         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
47308         (ctan_towardzero_test_data): New variable.
47309         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
47310         (ctan_downward_test_data): New variable.
47311         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
47312         (ctan_upward_test_data): New variable.
47313         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
47314         (ctanh_test_data): New variable.
47315         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
47316         (ctanh_tonearest_test_data): New variable.
47317         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
47318         (ctanh_towardzero_test_data): New variable.
47319         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
47320         (ctanh_downward_test_data): New variable.
47321         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
47322         (ctanh_upward_test_data): New variable.
47323         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
47324         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
47325         of BUILD_COMPLEX.
47327         * math/libm-test.inc (struct test_ff_f_data): New type.
47328         (struct test_ff_f_data_nexttoward): Likewise.
47329         (RUN_TEST_LOOP_2_f): New macro.
47330         (RUN_TEST_LOOP_ff_f): Likewise.
47331         (atan2_test_data): New variable.
47332         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
47333         (copysign_test_data): New variable.
47334         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
47335         (fdim_test_data): New variable.
47336         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
47337         (fmax_test_data): New variable.
47338         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
47339         (fmin_test_data): New variable.
47340         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
47341         (fmod_test_data): New variable.
47342         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
47343         (hypot_test_data): New variable.
47344         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
47345         (nextafter_test_data): New variable.
47346         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
47347         (nexttoward_test_data): New variable.
47348         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
47349         (pow_test_data): New variable.
47350         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
47351         (pow_tonearest_test_data): New variable.
47352         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
47353         (pow_towardzero_test_data): New variable.
47354         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
47355         (pow_downward_test_data): New variable.
47356         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
47357         (pow_upward_test_data): New variable.
47358         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
47359         (remainder_test_data): New variable.
47360         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
47361         (scalb_test_data): New variable.
47362         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
47363         * sysdeps/i386/fpu/libm-test-ulps: Update.
47365 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
47367         * math/libm-test.inc (fma_test): Use max_value instead of local
47368         variable fltmax.
47369         (nextafter_test): Likewise.
47371         * math/libm-test.inc (acos_towardzero_test_data): New variable.
47372         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47373         (acos_downward_test_data): New variable.
47374         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47375         (acos_upward_test_data): New variable.
47376         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47377         (acosh_test_data): New variable.
47378         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
47379         (asin_test_data): New variable.
47380         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
47381         (asin_tonearest_test_data): New variable.
47382         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47383         (asin_towardzero_test_data): New variable.
47384         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47385         (asin_downward_test_data): New variable.
47386         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47387         (asin_upward_test_data): New variable.
47388         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47389         (asinh_test_data): New variable.
47390         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
47391         (atan_test_data): New variable.
47392         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
47393         (atanh_test_data): New variable.
47394         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
47395         (cbrt_test_data): New variable.
47396         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
47397         (ceil_test_data): New variable.
47398         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
47399         (cos_test_data): New variable.
47400         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
47401         (cos_tonearest_test_data): New variable.
47402         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47403         (cos_towardzero_test_data): New variable.
47404         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47405         (cos_downward_test_data): New variable.
47406         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47407         (cos_upward_test_data): New variable.
47408         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47409         (cosh_test_data): New variable.
47410         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
47411         (cosh_tonearest_test_data): New variable.
47412         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47413         (cosh_towardzero_test_data): New variable.
47414         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47415         (cosh_downward_test_data): New variable.
47416         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47417         (cosh_upward_test_data): New variable.
47418         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47419         (erf_test_data): New variable.
47420         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
47421         (erfc_test_data): New variable.
47422         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
47423         (exp_test_data): New variable.
47424         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
47425         (exp_tonearest_test_data): New variable.
47426         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47427         (exp_towardzero_test_data): New variable.
47428         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47429         (exp_downward_test_data): New variable.
47430         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47431         (exp_upward_test_data): New variable.
47432         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47433         (exp10_test_data): New variable.
47434         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
47435         (exp2_test_data): New variable.
47436         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
47437         (expm1_test_data): New variable.
47438         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
47439         (fabs_test_data): New variable.
47440         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
47441         (floor_test_data): New variable.
47442         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
47443         (j0_test_data): New variable.
47444         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
47445         (j1_test_data): New variable.
47446         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
47447         (log_test_data): New variable.
47448         (log_test): Run tests with RUN_TEST_LOOP_f_f.
47449         (log10_test_data): New variable.
47450         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
47451         (log1p_test_data): New variable.
47452         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
47453         (log2_test_data): New variable.
47454         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
47455         (logb_test_data): New variable.
47456         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
47457         (logb_downward_test_data): New variable.
47458         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47459         (nearbyint_test_data): New variable.
47460         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
47461         (rint_test_data): New variable.
47462         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
47463         (rint_tonearest_test_data): New variable.
47464         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47465         (rint_towardzero_test_data): New variable.
47466         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47467         (rint_downward_test_data): New variable.
47468         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47469         (rint_upward_test_data): New variable.
47470         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47471         (round_test_data): New variable.
47472         (round_test): Run tests with RUN_TEST_LOOP_f_f.
47473         (sin_test_data): New variable.
47474         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
47475         (sin_tonearest_test_data): New variable.
47476         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47477         (sin_towardzero_test_data): New variable.
47478         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47479         (sin_downward_test_data): New variable.
47480         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47481         (sin_upward_test_data): New variable.
47482         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47483         (sinh_test_data): New variable.
47484         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
47485         (sinh_tonearest_test_data): New variable.
47486         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47487         (sinh_towardzero_test_data): New variable.
47488         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47489         (sinh_downward_test_data): New variable.
47490         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47491         (sinh_upward_test_data): New variable.
47492         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47493         (sqrt_test_data): New variable.
47494         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
47495         (tan_test_data): New variable.
47496         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
47497         (tan_tonearest_test_data): New variable.
47498         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47499         (tan_towardzero_test_data): New variable.
47500         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47501         (tan_downward_test_data): New variable.
47502         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47503         (tan_upward_test_data): New variable.
47504         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47505         (tanh_test_data): New variable.
47506         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
47507         (tgamma_test_data): New variable.
47508         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
47509         (trunc_test_data): New variable.
47510         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
47511         (y0_test_data): New variable.
47512         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
47513         (y1_test_data): New variable.
47514         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
47515         (significand_test_data): New variable.
47516         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
47518 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
47520         [BZ #12387]
47521         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
47523 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
47525         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
47527 2013-05-10  Andreas Jaeger  <aj@suse.de>
47529         [BZ #15448]
47530         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
47531         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
47533 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
47535         * math/gen-libm-test.pl (adjust_arg): New function.
47536         (special_functions): Handle generating output in both functions
47537         and arrays.
47538         (parse_args): Likewise.
47539         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
47540         $in_func argument to parse_args.
47541         * math/libm-test.inc (struct test_f_f_data): New type.
47542         (IF_ROUND_INIT_): New macro.
47543         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
47544         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
47545         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
47546         (IF_ROUND_INIT_FE_UPWARD): Likewise.
47547         (ROUND_RESTORE_): Likewise.
47548         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
47549         (ROUND_RESTORE_FE_TONEAREST): Likewise.
47550         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
47551         (ROUND_RESTORE_FE_UPWARD): Likewise.
47552         (RUN_TEST_LOOP_f_f): New macro.
47553         (acos_test_data): New variable.
47554         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
47555         (acos_tonearest_test_data): New variable.
47556         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47558 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
47560         * benchtests/bench-skeleton.c (startup): Fix coding style.
47562 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
47564         [BZ #6809]
47565         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
47566         negative infinity argument.
47567         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
47568         negative infinity argument.
47569         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
47570         negative infinity argument.
47571         * math/libm-test.inc (tgamma_test): Expect errno to be set for
47572         domain errors.
47574 2013-05-10  Florian Weimer  <fweimer@redhat.com>
47576         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
47577         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
47578         * iconv/iconv_prog.c (main): Likewise.
47579         * locale/programs/charmap-dir.c (charmap_readdir)
47580         (fopen_uncompressed): Likewise.
47581         * locale/programs/locfile.c (siblings_uncached)
47582         (write_locale_data): Use lstat64 instead of lstat.
47583         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
47584         stat.
47586 2013-05-10  Andreas Jaeger  <aj@suse.de>
47588         [BZ #15395]
47589         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
47590         localization.
47591         Include <locale.h>.
47593 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
47595         * elf/dl-close.c (_dl_close_worker): Add comments.
47597 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
47599         [BZ #15359]
47600         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
47601         high part of pi/2.
47602         (__ieee754_rem_pio2l): Update comments.
47604         [BZ #15429]
47605         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
47606         high part of pi/2.
47607         (__ieee754_rem_pio2l): Update comments.
47609         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
47610         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
47612         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
47613         M_PI_4l.
47615         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
47616         (M_PI_34_LOG10El): Likewise.
47617         (M_PI2_LOG10El): Likewise.
47618         (M_PI4_LOG10El): Likewise.
47619         (M_PI_LOG10El): Likewise.
47621 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47623         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47625 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
47627         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
47628         (MINUS_ZERO_INIT): Likewise.
47629         (PLUS_INFTY_INIT): Likewise.
47630         (MINUS_INFTY_INIT): Likewise.
47631         (QNAN_VALUE_INIT): Likewise.
47632         (MAX_VALUE_INIT): Likewise.
47633         (MIN_VALUE_INIT): Likewise.
47634         (MIN_SUBNORM_VALUE_INIT): Likewise.
47635         (plus_zero): Initialize with PLUS_ZERO_INIT.
47636         (minus_zero): Initialize with MINUS_ZERO_INIT.
47637         (plus_infty): Initialize with PLUS_INFTY_INIT.
47638         (minus_infty): Initialize with MINUS_INFTY_INIT.
47639         (qnan_value): Initialize with QNAN_VALUE_INIT.
47640         (max_value): Initialize with MAX_VALUE_INIT.
47641         (min_value): Initialize with MIN_VALUE_INIT.
47642         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
47644         * math/libm-test.inc (RUN_TEST_if_f): New macro.
47645         (jn_test): Use TEST_if_f instead of TEST_ff_f.
47646         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
47647         (yn_test): Use TEST_if_f instead of TEST_ff_f.
47649         * math/libm-test.inc (RUN_TEST_f_f): New macro.
47650         (RUN_TEST_2_f): Likewise.
47651         (RUN_TEST_ff_f): Likewise.
47652         (RUN_TEST_fi_f): Likewise.
47653         (RUN_TEST_fl_f): Likewise.
47654         (RUN_TEST_fff_f): Likewise.
47655         (RUN_TEST_c_f): Likewise.
47656         (RUN_TEST_f_f1): Likewise.
47657         (RUN_TEST_fF_f1): Likewise.
47658         (RUN_TEST_fI_f1): Likewise.
47659         (RUN_TEST_ffI_f1): Likewise.
47660         (RUN_TEST_c_c): Likewise.
47661         (RUN_TEST_cc_c): Likewise.
47662         (RUN_TEST_f_i): Likewise.
47663         (RUN_TEST_f_i_tg): Likewise.
47664         (RUN_TEST_ff_i_tg): Likewise.
47665         (RUN_TEST_f_b): Likewise.
47666         (RUN_TEST_f_b_tg): Likewise.
47667         (RUN_TEST_f_l): Likewise.
47668         (RUN_TEST_f_L): Likewise.
47669         (RUN_TEST_sincos): Likewise.
47670         * math/gen-libm-test.pl (new_test): Take new argument to indicate
47671         whether to show exceptions.  Do not include ");\n" in return
47672         value.
47673         (special_functions): Output call to RUN_TEST_sincos instead of
47674         check_float calls.  Update calls to new_test.
47675         (parse_args): Output call to single RUN_TEST_* macro instead of
47676         check_* calls and other assignments.  Update calls to new_test.
47678         [BZ #2546]
47679         [BZ #2560]
47680         [BZ #5159]
47681         [BZ #15426]
47682         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
47683         input to result for tgamma overflow.
47684         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
47685         (gamma_coeff): New variable.
47686         (NCOEFF): New macro.
47687         (gamma_positive): New function.
47688         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
47689         underflow here.  Use gamma_positive instead of exp (lgamma) for
47690         other arguments.
47691         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
47692         (gamma_coeff): New variable.
47693         (NCOEFF): New macro.
47694         (gammaf_positive): New function.
47695         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
47696         underflow here.  Use gamma_positive instead of exp (lgamma) for
47697         other arguments.
47698         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
47699         (gamma_coeff): New variable.
47700         (NCOEFF): New macro.
47701         (gammal_positive): New function.
47702         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
47703         underflow here.  Use gamma_positive instead of exp (lgamma) for
47704         other arguments.
47705         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
47706         (gamma_coeff): New variable.
47707         (NCOEFF): New macro.
47708         (gammal_positive): New function.
47709         (__ieee754_gammal_r): Handle positive infinity, overflow and
47710         underflow here.  Handle NaN the same as positive infinity.  Remove
47711         check x < 0xffffffff for negative integers.  Use gamma_positive
47712         instead of exp (lgamma) for other arguments.
47713         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
47714         (gamma_coeff): New variable.
47715         (NCOEFF): New macro.
47716         (gammal_positive): New function.
47717         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
47718         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
47719         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
47720         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
47721         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
47722         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
47723         * sysdeps/generic/math_private.h (__gamma_productf): New
47724         prototype.
47725         (__gamma_product): Likewise.
47726         (__gamma_productl): Likewise.
47727         * math/Makefile (libm-calls): Add gamma_product.
47728         * math/libm-test.inc (tgamma_test): Add more tests.
47729         * sysdeps/i386/fpu/libm-test-ulps: Update.
47730         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47732 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
47734         * benchtests/bench-skeleton.c (main): Preheat CPU.
47736 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
47738         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
47740 2013-05-07  Roland McGrath  <roland@hack.frob.com>
47742         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
47743         and _dl_skip_args_internal.
47745 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
47747         * manual/message.texi (Message Translation): Talk about users.
47748         Message to key mapping impacts design.
47750 2013-05-06  Roland McGrath  <roland@hack.frob.com>
47752         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
47754         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
47756         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
47757         * sysdeps/wordsize-64/glob64.c: ... here.
47759         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
47760         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
47761         New macros.
47763         * debug/getlogin_r_chk.c: Moved to ...
47764         * login/getlogin_r_chk.c: ... here.
47765         * debug/Makefile (routines): Move getlogin_r_chk to ...
47766         * login/Makefile (routines): ... here.
47767         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
47768         * login/Versions (libc: GLIBC_2.4): ... here.
47770         * io/poll.c (__poll): Renamed from poll.
47771         Add libc_hidden_def.
47772         (poll): Define as weak alias.
47774         * debug/ptsname_r_chk.c: Moved to ...
47775         * login/ptsname_r_chk.c: ... here.
47776         * debug/Makefile (routines): Move ptsname_r_chk to ...
47777         * login/Makefile (routines): ... here.
47778         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
47779         * login/Versions (libc: GLIBC_2.4): ... here.
47781         * posix/getlogin.c: Moved to ...
47782         * login/getlogin.c: ... here.
47783         * posix/getlogin_r.c: Moved to ...
47784         * login/getlogin_r.c: ... here.
47785         * posix/getlogin_r.c: Moved to ...
47786         * login/getlogin_r.c: ... here.
47787         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
47788         * login/Makefile (routines): ... here.
47789         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
47790         * login/Versions (libc: GLIBC_2.0): ... here.
47792         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
47793         (setrlimit): Define as weak alias.
47795         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
47796         Call __ names for open, ftruncate, and close.
47797         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
47798         (truncate): Define as weak alias.
47800 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
47802         * math/gen-libm-test.pl (parse_args): Initialize x before each
47803         test of frexp, modf and remquo.
47805         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
47806         test signgam value.
47808 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47810         [BZ #15418]
47811         [BZ #15419]
47812         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
47813         internal tests.
47814         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
47816 2013-05-06  Roland McGrath  <roland@hack.frob.com>
47818         * elf/dl-writev.h: New file.
47819         * elf/dl-misc.c: Include it.
47820         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
47821         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
47823 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
47825         * math/libm-test.inc (noXFails): Remove variable.
47826         (noXPasses): Likewise.
47827         (BUILD_COMPLEX_INT): Remove macro.
47828         (print_screen): Remove xfail argument.
47829         (print_screen_max_error): Likewise.
47830         (update_stats): Likewise.
47831         (print_max_error): Likewise.  Update calls to other affected
47832         functions.
47833         (print_complex_max_error): Likewise.
47834         (test_single_exception): Update calls to print_screen.
47835         (test_single_errno): Likewise.
47836         (check_float_internal): Remove xfail argument.  Update calls to
47837         other affected functions.
47838         (check_float): Likewise.
47839         (check_complex): Likewise.
47840         (check_int): Likewise.
47841         (check_long): Likewise.
47842         (check_bool): Likewise.
47843         (check_longlong): Likewise.
47844         (main): Don't print noXFails and noXPasses.
47845         * math/gen-libm-test.pl (top level): Don't mention expected
47846         failure handling in comment.
47847         (new_test): Don't handle expected failures.
47848         (parse_args): Don't mention expected failure handling in comment.
47849         (generate_testfile): Don't handle expected failures.
47850         (parse_ulps): Likewise.
47851         (print_ulps_file): Likewise.
47852         (get_failure): Remove function.
47853         (output_test): Don't handle expected failures.
47854         * make/README.libm-test: Don't mention expected failure handling.
47856         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
47857         (minus_zero): Likewise.
47858         (plus_infty): Likewise.
47859         (minus_infty): Likewise.
47860         (qnan_value): Likewise.
47861         (max_value): Likewise.
47862         (min_value): Likewise.
47863         (min_subnorm_value): Likewise.
47864         (initialize): Do not initialize those variables dynamically.
47866 2013-05-03  Roland McGrath  <roland@hack.frob.com>
47868         * io/open.c (__open_2): Moved to ...
47869         * io/open_2.c: ... this new file.
47870         * io/open64.c (__open64_2): Moved to ...
47871         * io/open64_2.c: ... this new file.
47872         * io/openat.c (__openat_2): Moved to ...
47873         * io/openat_2.c: ... this new file.
47874         * io/openat64.c (__openat64_2): Moved to ...
47875         * io/openat64_2.c: ... this new file.
47876         * io/Makefile (routines): Add them.
47877         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
47878         * sysdeps/unix/sysv/linux/open_2.c: File removed.
47879         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
47880         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
47881         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
47882         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
47883         (__openat64): Add hidden_ver.
47884         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
47885         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
47887         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
47888         Separately conditionalize setting of GLRO(dl_sysinfo) so
47889         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
47890         as well, but the actual setting is only under [NEED_DL_SYSINFO].
47892 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47894         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
47895         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
47896         definition.
47897         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
47898         * sysdeps/unix/sysv/linux/powerpc/init-first.c
47899         (_libc_vdso_platform_setup): Add __vdso_time initialization.
47900         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
47901         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
47903 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
47905         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
47906         test signgam value.
47908         * math/libm-test.inc (hypot_test): Do not use
47909         IGNORE_ZERO_INF_SIGN.
47911 2013-05-03  Andreas Jaeger  <aj@suse.de>
47913         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
47914         Linux 3.9.
47915         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
47916         (PF_MAX): Adjust for VSOCK change.
47918 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47920         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47922 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
47924         [BZ #15264]
47925         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
47926         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
47927         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
47929 2013-05-02  David S. Miller  <davem@davemloft.net>
47931         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47933 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
47935         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
47937 2013-05-01  Roland McGrath  <roland@hack.frob.com>
47939         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
47941 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
47943         [BZ #14952]
47944         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
47945         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
47946         Use __attribute__ ((__gnu_inline__)).
47947         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
47948         Don't use __attribute__ ((__gnu_inline__)).
47950 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
47952         [BZ #15423]
47953         * math/s_catan.c (__catan): Handle small real or imaginary part of
47954         input specially to avoid spurious underflow.
47955         * math/s_catanf.c (__catanf): Likewise.
47956         * math/s_catanh.c (__catanh): Likewise.
47957         * math/s_catanhf.c (__catanhf): Likewise.
47958         * math/s_catanhl.c (__catanhl): Likewise.
47959         * math/s_catanl.c (__catanl): Likewise.
47960         * math/libm-test.inc (catan_test): Add more tests.
47961         (catanh_test): Likewise.
47962         * sysdeps/i386/fpu/libm-test-ulps: Update.
47963         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47965 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47967         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47969 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
47971         [BZ #15416]
47972         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
47973         accurately for denominator in atan2.
47974         * math/s_catanf.c (__catanf): Likewise.
47975         * math/s_catanh.c (__catanh): Likewise.
47976         * math/s_catanhf.c (__catanhf): Likewise.
47977         * math/s_catanhl.c (__catanhl): Likewise.
47978         * math/s_catanl.c (__catanl): Likewise.
47979         * math/libm-test.inc (catan_test): Add more tests.
47980         (catanh_test): Likewise.
47981         * sysdeps/i386/fpu/libm-test-ulps: Update.
47982         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47984 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
47986         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
47988         * benchtests/Makefile (bench): Remove slow benchmarks.
47989         * benchtests/atan-inputs: Add slow benchmark inputs.
47990         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
47991         (BENCH_FUNC): Accept variant offset.
47992         (VARIANT): Define.
47993         * benchtests/bench-skeleton.c (main): Run benchmark for each
47994         variant.
47995         * benchtests/cos-inputs: Add slow benchmark inputs.
47996         * benchtests/exp-inputs: Likewise.
47997         * benchtests/pow-inputs: Likewise.
47998         * benchtests/sin-inputs: Likewise.
47999         * benchtests/slowatan-inputs: Remove.
48000         * benchtests/slowatan.c: Remove.
48001         * benchtests/slowcos-inputs: Remove.
48002         * benchtests/slowcos.c: Remove.
48003         * benchtests/slowexp-inputs: Remove.
48004         * benchtests/slowexp.c: Remove.
48005         * benchtests/slowpow-inputs: Remove.
48006         * benchtests/slowpow.c: Remove.
48007         * benchtests/slowsin-inputs: Remove.
48008         * benchtests/slowsin.c: Remove.
48009         * benchtests/slowtan-inputs: Remove.
48010         * benchtests/slowtan.c: Remove.
48011         * benchtests/tan-inputs: Add slow benchmark inputs.
48012         * scripts/bench.pl: Parse comments and directives.
48014         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
48015         in CPPFLAGS.
48016         ($(objpfx)bench-%.c): Remove *-ITER.
48017         * benchtests/bench-modf.c: Remove definition of ITER.
48018         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
48019         (main): Loop for DURATION seconds instead of fixed number of
48020         iterations.
48021         * scripts/bench.pl: Don't expect iterations in parameters.
48023 2013-04-29  Roland McGrath  <roland@hack.frob.com>
48025         * io/fchdir.c (__fchdir): Renamed from fchdir.
48026         (fchdir): Define as weak alias.
48028 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
48030         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
48031         (ERRNO_EDOM): Likewise.
48032         (ERRNO_ERANGE): Likewise.
48033         (noErrnoTests): New variable.
48034         (init_max_error): Set errno to 0.
48035         (test_single_errno): New function.
48036         (test_errno): Likewise.
48037         (check_float_internal): Call test_errno.  Set errno to 0.
48038         (check_complex): Refer to errno tests in comment.
48039         (check_int): Call test_errno.  Set errno to 0.
48040         (check_long): Likewise.
48041         (check_bool): Likewise.
48042         (check_longlong): Likewise.
48043         (cos_test): Use ERRNO_* flags for errno tests instead of
48044         check_int.
48045         (expm1_test): Likewise.
48046         (fmod_test): Likewise.
48047         (ilogb_test): Likewise.
48048         (lgamma_test): Likewise.
48049         (pow_test): Likewise.
48050         (remainder_test): Likewise.
48051         (sin_test): Likewise.
48052         (tan_test): Likewise.
48053         (yn_test): Likewise.
48054         (initialize): Set errno to 0.
48055         (main): Print number of errno tests.
48056         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
48058 2013-04-29  Andreas Jaeger  <aj@suse.de>
48060         [BZ #15084]
48061         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
48062         and RES_USEVC.
48064         [BZ #15085]
48065         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
48066         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
48067         unimplemented.
48069         [BZ #15380]
48070         * stdlib/random.c (__initstate): Return NULL if
48071         __initstate fails.
48073         [BZ #15086]
48074         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
48075         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
48076         RES_SNGLKUPREOP.
48078 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48080         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48082 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
48084         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
48085         of individual tests.
48086         (casin_test): Likewise.
48087         (casinh_test): Likewise.
48089 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
48091         [BZ #15409]
48092         * math/s_catan.c (__catan): Handle arguments with large real or
48093         imaginary part separately without squaring.
48094         * math/s_catanf.c (__catanf): Likewise.
48095         * math/s_catanh.c (__catanh): Likewise.
48096         * math/s_catanhf.c (__catanhf): Likewise.
48097         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
48098         and redefine.
48099         (__catanhl): Handle arguments with large real or imaginary part
48100         separately without squaring.
48101         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
48102         and redefine.
48103         (__catanl): Handle arguments with large real or imaginary part
48104         separately without squaring.
48105         * math/libm-test.inc (catan_test): Add more tests.
48106         (catanh_test): Likewise.
48107         * sysdeps/i386/fpu/libm-test-ulps: Update.
48108         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48110 2013-04-27  Andreas Jaeger  <aj@suse.de>
48112         [BZ #15007]
48113         * stdlib/stdlib.h: Update guards for qecvt.
48114         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
48115         <stdlib.h>.
48117 2013-04-27  Allan McRae  <allan@archlinux.org>
48119         * sysdeps/i386/fpu/libm-test-ulps: Update.
48121 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
48123         [BZ #15406]
48124         * math/s_catan.c: Include <float.h>.
48125         (__catan): Ensure underflow exception occurs for underflowed
48126         result.
48127         * math/s_catanf.c: Include <float.h>.
48128         (__catanf): Ensure underflow exception occurs for underflowed
48129         result.
48130         * math/s_catanh.c: Include <float.h>.
48131         (__catanh): Ensure underflow exception occurs for underflowed
48132         result.
48133         * math/s_catanhf.c: Include <float.h>.
48134         (__catanhf): Ensure underflow exception occurs for underflowed
48135         result.
48136         * math/s_catanhl.c: Include <float.h>.
48137         (__catanhl): Ensure underflow exception occurs for underflowed
48138         result.
48139         * math/s_catanl.c: Include <float.h>.
48140         (__catanl): Ensure underflow exception occurs for underflowed
48141         result.
48142         * math/libm-test.inc (catan_test): Add more tests.
48143         (catanh_test): Likewise.
48145         [BZ #15405]
48146         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
48147         underflowed result.
48148         * math/s_ccoshf.c (__ccoshf): Likewise.
48149         * math/s_ccoshl.c (__ccoshl): Likewise.
48150         * math/s_csin.c (__csin): Likewise.
48151         * math/s_csinf.c (__csinf): Likewise.
48152         * math/s_csinh.c (__csinh): Likewise.
48153         * math/s_csinhf.c (__csinhf): Likewise.
48154         * math/s_csinhl.c (__csinhl): Likewise.
48155         * math/s_csinl.c (__csinl): Likewise.
48156         * math/libm-test.inc (ccos_test): Add more tests.
48157         (ccosh_test): Likewise.
48158         (csin_test): Likewise.
48159         (csinh_test): Likewise.
48161 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48163         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
48164         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
48165         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
48166         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
48167         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
48168         powerpc/power5+/fpu folders.
48169         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
48172 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
48174         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48176 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
48178         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
48179         additions to variable.
48180         [$(config-machine) = x86_64] (modules-names): Likewise.
48181         ($(objpfx)tst-audit3): Remove dependency.
48182         ($(objpfx)tst-audit3.out): Likewise.
48183         ($(objpfx)tst-audit4): Likewise.
48184         ($(objpfx)tst-audit4.out): Likewise.
48185         ($(objpfx)tst-audit5): Likewise.
48186         ($(objpfx)tst-audit5.out): Likewise.
48187         ($(objpfx)tst-audit6): Likewise.
48188         ($(objpfx)tst-audit6.out): Likewise.
48189         ($(objpfx)tst-audit7): Likewise.
48190         ($(objpfx)tst-audit7.out): Likewise.
48191         (tst-audit3-ENV): Remove variable.
48192         (tst-audit4-ENV): Likewise.
48193         (tst-audit5-ENV): Likewise.
48194         (tst-audit6-ENV): Likewise.
48195         (tst-audit7-ENV): Likewise.
48196         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
48197         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
48198         addition to variable.
48199         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
48200         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
48201         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
48202         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
48203         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
48204         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
48205         tst-audit3, tst-audit4 and tst-audit5.
48206         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
48207         tst-audit6 and tst-audit7.
48208         [$(subdir) = elf] (modules-names): Add audit modules for those
48209         tests.
48210         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
48211         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
48212         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
48213         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
48214         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
48215         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
48216         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
48217         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
48218         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
48219         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
48220         [$(subdir) = elf] (tst-audit3-ENV): New variable.
48221         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
48222         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
48223         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
48224         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
48225         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
48226         Likewise.
48227         [$(subdir) = elf && $(config-cflags-avx) = yes]
48228         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
48229         [$(subdir) = elf && $(config-cflags-avx) = yes]
48230         (CFLAGS-tst-auditmod4a.c): Likewise.
48231         [$(subdir) = elf && $(config-cflags-avx) = yes]
48232         (CFLAGS-tst-auditmod4b.c): Likewise.
48233         [$(subdir) = elf && $(config-cflags-avx) = yes]
48234         (CFLAGS-tst-auditmod6b.c): Likewise.
48235         [$(subdir) = elf && $(config-cflags-avx) = yes]
48236         (CFLAGS-tst-auditmod6c.c): Likewise.
48237         [$(subdir) = elf && $(config-cflags-avx) = yes]
48238         (CFLAGS-tst-auditmod7b.c): Likewise.
48239         * elf/tst-audit3.c: Move to ...
48240         * sysdeps/x86_64/tst-audit3.c: ... here.
48241         * elf/tst-audit4.c: Move to ...
48242         * sysdeps/x86_64/tst-audit4.c: ... here.
48243         * elf/tst-audit5.c: Move to ...
48244         * sysdeps/x86_64/tst-audit5.c: ... here.
48245         * elf/tst-audit6.c: Move to ...
48246         * sysdeps/x86_64/tst-audit6.c: ... here.
48247         * elf/tst-audit7.c: Move to ...
48248         * sysdeps/x86_64/tst-audit7.c: ... here.
48249         * elf/tst-auditmod3a.c: Move to ...
48250         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
48251         * elf/tst-auditmod3b.c: Move to ...
48252         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
48253         * elf/tst-auditmod4a.c: Move to ...
48254         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
48255         * elf/tst-auditmod4b.c: Move to ...
48256         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
48257         * elf/tst-auditmod5a.c: Move to ...
48258         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
48259         * elf/tst-auditmod5b.c: Move to ...
48260         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
48261         * elf/tst-auditmod6a.c: Move to ...
48262         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
48263         * elf/tst-auditmod6b.c: Move to ...
48264         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
48265         * elf/tst-auditmod6c.c: Move to ...
48266         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
48267         * elf/tst-auditmod7a.c: Move to ...
48268         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
48269         * elf/tst-auditmod7b.c: Move to ...
48270         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
48272 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
48274         [BZ #15366]
48275         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
48276         define unconditionally.
48277         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
48278         define unconditionally.
48279         (INT8_C, INT16_C, etc.): Likewise.
48281 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
48283         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
48284         __ehdr_start with hidden visibility.
48286         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
48288 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
48290         * math/libm-test.inc (cos_test): Use accurate hex constants.
48291         (sincost_test): Likewise.
48293 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
48295         * math/libm-test.inc (catan_test): Add more tests.
48296         (catanh_test): Likewise.
48298         * math/s_catanf.c (__catanf): Use suffixed floating-point
48299         constants.
48300         * math/s_catanhf.c (__catanhf): Likewise.
48301         * math/s_catanhl.c (__catanhl): Likewise.
48302         * math/s_catanl.c (__catanl): Likewise.
48304         [BZ #15394]
48305         * math/s_catan.c (__catan): Calculate imaginary part of result
48306         with log1p not log unless computing log of number close to 0.
48307         * math/s_catanf.c (__catanf): Likewise.
48308         * math/s_catanl.c (__catanl): Likewise.
48309         * math/s_catanh.c (__catanh): Calculate real part of result with
48310         log1p not log unless computing log of number close to 0.
48311         * math/s_catanhf.c (__catanhf): Likewise.
48312         * math/s_catanhl.c (__catanhl): Likewise.
48313         * math/libm-test.inc (catan_test): Add more tests.
48314         (catanh_test): Likewise.
48315         * sysdeps/i386/fpu/libm-test-ulps: Update.
48316         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48318 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
48320         * benchtests/Makefile: Mention files in which fast and slow
48321         paths of math functions are implemented.
48323 2013-04-23  Roland McGrath  <roland@hack.frob.com>
48325         * sysdeps/posix/timespec_get.c: New file.
48327 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48329         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
48330         POWER.
48331         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
48332         for POWER.
48333         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
48334         powerpc/power5/fpu folders.
48335         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
48336         * benchtests/Makefile: Add modf testcase.
48337         * benchtests/bench-modf.c: New file: Benchmark test for mo
48339 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
48341         [BZ #14888]
48342         * time/Makefile (tests): Add tst-strptime-whitespace.
48343         * time/strptime_l.c (get_number): Use ISSPACE.
48344         (__strptime_internal): Likewise.
48345         * time/tst-strptime-whitespace.c: New test case.
48347 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
48349         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
48350         member.
48351         (_nss_files_init): Set it here.
48353 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
48355         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
48356         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
48357         unsigned.
48359 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
48361         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
48363 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
48365         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
48366         size just once.
48368 2013-04-21  David S. Miller  <davem@davemloft.net>
48370         * po/ru.po: Update Russion translation from translation project.
48372 2013-04-17  Adam Conrad  <adconrad@0c3.net>
48374         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
48375         and setfsgid.
48377 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
48379         * configure.in: Remove i386 configure warning. Remove i386 case.
48380         * configure: Regenerate.
48381         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
48382         Add example to error message.
48383         * sysdeps/i386/configure: Regenerate.
48385 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
48387         * benchtests/Makefile (bench): Add cos, tan, slowcos and
48388         slowtan.
48389         * benchtests/cos-inputs: New file.
48390         * benchtests/slowcos-inputs: New file.
48391         * benchtests/slowcos.c: New file.
48392         * benchtests/slowtan-inputs: New file.
48393         * benchtests/slowtan.c: New file.
48394         * benchtests/tan-inputs: New file.
48396 2013-04-16  Roland McGrath  <roland@hack.frob.com>
48398         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
48399         considered kosher.
48401 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
48403         * benchtests/Makefile: Include cppflags-iterator.mk to add
48404         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
48406         * Makefile.in (bench-clean): New target.
48407         * benchtests/Makefile (bench-clean): Likewise.
48409 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
48411         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
48413 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
48415         * stdio-common/tstdiomisc.c: Fix coding-style violation.
48417 2013-04-15  Andreas Schwab  <schwab@suse.de>
48419         * nscd/grpcache.c (cache_addgr): Properly check for short write.
48420         * nscd/initgrcache.c (addinitgroupsX): Likewise.
48421         * nscd/pwdcache.c (cache_addpw): Likewise.
48422         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
48423         more than recsize.
48425 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
48427         * benchtests/Makefile (bench): Write all output to
48428         bench-out.tmp together.
48430 2013-04-15  Andreas Schwab  <schwab@suse.de>
48432         * nscd/nscd.c (main): Don't fork again after closing files.
48434 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
48436         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
48438         * benchtests/Rules (bench-deps): Collect dependencies into a
48439         single variable.  Add Makefile to dependencies.
48440         ($(objpfx)bench-%.c): Depend on bench-deps.
48442 2013-04-12  Roland McGrath  <roland@hack.frob.com>
48443             Xavier Roche  <roche+kml2@exalead.com>
48445         [BZ #15361]
48446         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
48447         just that it's a file descriptor.
48448         * manual/llio.texi (Synchronizing AIO Operations): Update description
48449         for EBADF error from aio_fsync.
48451 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
48453         * Rules (bench): Move target definition...
48454         * benchtests/Makefile: ... here.
48456 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
48458         * math/libm-test.inc (cos_test): Fix PI/2 test.
48459         (sincos_test): Likewise.
48460         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
48461         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
48463 2013-04-11  Andreas Schwab  <schwab@suse.de>
48465         [BZ #13988]
48466         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
48467         accept exponent character only when digits were seen.
48468         * stdio-common/Makefile (tests): Add bug26.
48469         * stdio-common/bug26.c: New file.
48471         [BZ #14293]
48472         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
48473         non-freeable.
48475 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48477         * Makeconfig (rtld-prefix): Define built linker prefix.
48478         * Rules (run-bench): Use it.
48479         * math/Makefile (run-regen-ulps): Likewise.
48481         * Rules (bench): Remove eval.
48483 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
48484             Roland McGrath  <roland@hack.frob.com>
48485             Ondrej Bilka  <neleai@seznam.cz>
48487         [BZ #15346]
48488         * time/getdate.c: Include ctype.h and alloca.h.
48489         (__getdate_r): Trim leading and trailing spaces of input.
48490         * time/tst-getdate.c (tests): Add tests with leading and
48491         trailing spaces.
48493 2013-04-08  Roland McGrath  <roland@hack.frob.com>
48495         [BZ #14280]
48496         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
48497         when computing value.
48499 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
48501         * math/README.libm-test (How can I generate "libm-test-ulps"?):
48502         Use testrun.sh to run libm tests.
48504         [BZ #15309]
48505         * elf/dl-open.c (dl_open_worker): memset all of seen array.
48507 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
48509         [BZ #15264]
48510         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
48512 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
48514         * Makefile.in (regen-ulps): New target.
48515         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
48516         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
48517         [ifneq (no,$(PERL)] (regen-ulps): New target.
48518         [ifeq (no,$(PERL)] (regen-ulps): New target.
48519         * math/libm-test.inc (ulps_file_name): Define.
48520         (output_dir): New variable.
48521         (options): Add "output-dir" option.
48522         (parse_opt): Handle 'o' case.
48523         (main): If output_dir is non-NULL use it as a prefix
48524         otherwise use "".
48525         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
48527 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
48529         [BZ #10060, #10062]
48530         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
48531         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
48532         fail configure if __sync_val_compare_and_swap is not inlined.
48533         * sysdeps/i386/configure: Regenerate.
48534         * configure.in: Build for i686 when configured for i386.
48535         * configure: Regenerate.
48536         * README: Remove i386 reference.
48538 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
48540         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
48541         * sysdeps/s390/s390-64/sysdep.h: Likewise.
48543 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
48545         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
48546         (lmsnanval): New variables.
48547         (F): Add conversion tests.
48548         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
48549         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
48551         * stdio-common/tstdiomisc.c (F): Properly collect individual
48552         tests' results.
48554         [BZ #14686, #15336]
48555         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
48556         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
48557         Instead, use input NaN values or generate a qNaN by arithmetic
48558         operation.  Also fix bugs to comply with the standard.
48559         * math/libm-test.inc (remainder_test): Add more tests.
48561         [BZ #15335, #15342]
48562         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
48563         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
48564         input NaN values or generate a qNaN by arithmetic operation.
48566         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
48567         unreachable code.
48569         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
48570         definitions.
48572 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
48574         [BZ #14478]
48575         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
48576         underflowed result.
48577         * math/s_cexpf.c (__cexpf): Likewise.
48578         * math/s_cexpl.c (__cexpl): Likewise.
48579         * math/libm-test.inc (cexp_test): Add more tests.
48581 2013-04-03  Andreas Schwab  <schwab@suse.de>
48583         [BZ #15330]
48584         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
48585         order arrays from heap if bigger than alloca cutoff.
48587 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
48589         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
48590         (SNAN_TESTS_double): Refer to GCC PR56831.
48591         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
48592         GCC PR56828.
48594 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
48596         * Rules (bench): Move bench.out after the run is complete.
48598         * Rules (bench): Echo currently running benchmark.
48600         * benchtests/Makefile (bench): Add atan and slowatan.
48601         * benchtests/atan-inputs: New file.
48602         * benchtests/slowatan-inputs: New file.
48603         * benchtests/slowatan.c: New file.
48605         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
48606         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
48607         its value.
48609         [BZ #15305]
48610         * sysdeps/unix/sysv/linux/kernel-features.h
48611         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
48612         __ASSUME_XFS_RESTRICTED_CHOWN.
48613         * sysdeps/unix/sysv/linux/pathconf.c
48614         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
48615         Save and restore errno.
48617 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
48619         [BZ #15327]
48620         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
48621         arguments using __kernel_casinh.
48622         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
48623         arguments using __kernel_casinhf.
48624         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
48625         arguments using __kernel_casinhl.
48626         * math/libm-test.inc (cacosh_test): Add more tests.
48627         * sysdeps/i386/fpu/libm-test-ulps: Update.
48628         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48630 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
48632         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
48633         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
48635         * bench/Makefile (bench): Add sin and slowsin.
48636         * benchtests/sin-inputs: New file.
48637         * benchtests/slowsin-inputs: New file.
48638         * benchtests/slowsin.c: New file.
48640         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
48641         (bench): Add slowexp and slowpow.
48642         (exp-ITER): Increase iterations.
48643         (pow-ITER): Likewise.
48644         * benchtests/exp-inputs: Change input.
48645         * benchtests/pow-inputs: Likewise.
48646         * benchtests/slowexp-inputs: New file.
48647         * benchtests/slowexp.c: New file.
48648         * benchtests/slowpow-inputs: New file.
48649         * benchtests/slowpow.c: New file.
48651 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48653         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
48654         instructions.
48655         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
48656         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
48657         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
48658         * benchtests/Makefile: Add rint benchtest.
48659         * benchtests/rint-inputs: Input for rint benchtest.
48661 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
48663         * Versions.def (libm): Add GLIBC_2.18.
48664         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
48665         hidden libm prototypes.
48666         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
48667         * math/Makefile (libm-calls): Add s_issignaling.
48668         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
48669         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
48670         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
48671         declaration.
48672         * math/math.h [__USE_GNU] (issignaling): New macro.
48673         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
48674         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
48675         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
48676         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
48677         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
48678         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
48679         * manual/arith.texi (issignaling): New section.
48680         * manual/libm-err-tab.pl (@all_functions): Update comment.
48681         * math/gen-libm-test.pl (parse_args): Apply special handling for
48682         issignaling.
48683         * math/libm-test.inc (print_float, issignaling_test): New
48684         functions.
48685         (check_float_internal): Add issignaling checks.
48686         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
48687         default definition.
48688         * sysdeps/powerpc/math-tests.h: New file.
48689         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
48690         tests.
48691         * math/test-snan.c (TEST_FUNC): Likewise.
48693 2013-03-30  David S. Miller  <davem@davemloft.net>
48695         * po/de.po: Update from translation team.
48697 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
48699         [BZ #10357]
48700         * math/k_casinh.c (__kernel_casinh): Handle arguments with
48701         imaginary part less than 1.0 and real part less than 0.5
48702         specially.
48703         * math/k_casinhf.c (__kernel_casinhf): Likewise.
48704         * math/k_casinhl.c (__kernel_casinhl): Likewise.
48705         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
48706         (cacos_test): Add more tests.
48707         (casin_test): Likewise.
48708         (casinh_test): Likewise.
48709         * sysdeps/i386/fpu/libm-test-ulps: Update.
48710         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48712 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
48714         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
48715         ONE with its value.
48717         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
48718         (__pow_mp): Replace ONE and MONE with their values.
48719         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
48720         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
48721         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
48722         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
48723         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
48724         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
48726         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
48728         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
48729         (__pow_mp): Replace ZERO and MZERO with their values.
48730         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
48731         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
48732         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
48733         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
48734         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
48735         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
48736         (__sqr): Likewise.
48738         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
48740         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
48742 2013-03-28  Roland McGrath  <roland@hack.frob.com>
48744         * include/stdlib.h [!SHARED] (__call_tls_dtors):
48745         Declare with __attribute__ ((weak)).
48746         * stdlib/exit.c (__libc_atexit) [!SHARED]:
48747         Call __call_tls_dtors only if it's not NULL.
48749 2013-03-28  Roland McGrath  <roland@hack.frob.com>
48751         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
48752         didn't do it already, then set _dl_phdr and _dl_phnum based on the
48753         magic __ehdr_start linker symbol if it's defined.
48754         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
48755         them up here if it was already done.
48757         * elf/dl-support.c (_dl_phdr): Make pointer to const.
48758         (_dl_aux_init): Use const in cast when setting it.
48759         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
48760         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
48761         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
48763         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
48764         Declare them here.
48765         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
48766         * csu/libc-tls.c: Nor here.
48767         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
48769         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
48770         (__libc_message): Never call vsyslog.
48772 2013-03-28  Alan Modra  <amodra@gmail.com>
48774         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
48775         Define as empty.
48776         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
48777         Likewise.
48779 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48781         [BZ #15214]
48782         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
48783         underflow.
48784         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48786 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48788         [BZ #15304]
48789         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
48790         Don't add gid passed as argument.
48792         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
48794 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
48796         [BZ #15307]
48797         * math/k_casinh.c (__kernel_casinh): Handle arguments with
48798         imaginary part between 1.0 and 1.5 and real part less than 0.5
48799         specially.
48800         * math/k_casinhf.c (__kernel_casinhf): Likewise.
48801         * math/k_casinhl.c (__kernel_casinhl): Likewise.
48802         * math/libm-test.inc (cacos_test): Add more tests.
48803         (casin_test): Likewise.
48804         (casinh_test): Likewise.
48805         * sysdeps/i386/fpu/libm-test-ulps: Update.
48806         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48808 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48810         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
48811         constants.
48812         (norm): Likewise.
48813         (denorm): Likewise.
48814         (__dbl_mp): Likewise.
48815         (add_magnitudes): Likewise.
48816         (sub_magnitudes): Likewise.
48817         (__add): Likewise.
48818         (__sub): Likewise.
48819         (__mul): Likewise.
48820         (__sqr): Likewise.
48821         (__inv): Likewise.
48822         (__dvd): Likewise.
48824         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
48825         commented code.
48826         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
48827         (__dubcos): Likewise.
48828         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
48829         (__ieee754_acos): Likewise.
48830         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
48831         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
48832         (__exp1): Likewise.
48833         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
48834         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
48835         (log1): Likewise.
48836         (my_log2): Likewise.
48837         (checkint): Likewise.
48838         * sysdeps/ieee754/dbl-64/e_remainder.c
48839         (__ieee754_remainder): Likewise.
48840         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
48841         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
48842         (bsloww): Likewise.
48843         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
48845         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
48846         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
48847         MANTISSA_STORE_T to store computations on mantissa.  Use
48848         macros for rounding and division.
48849         (denorm): Likewise.
48850         (__dbl_mp): Likewise.
48851         (add_magnitudes): Likewise.
48852         (sub_magnitudes): Likewise.
48853         (__mul): Likewise.
48854         (__sqr): Likewise.
48855         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
48856         powers of two in terms of TWOPOW macro.
48857         (mp_no): Make type of mantissa as MANTISSA_T.
48858         [!RADIXI]: Define RADIXI.
48859         [!TWO52]: Define TWO52.
48860         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
48862 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48864         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
48865         llroundl symbol when building for PPC32.
48867 2013-03-24  Mark H Weaver  <mhw@netris.org>
48869         * manual/arith.texi (Normalization Functions): Fix prototypes for
48870         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
48872 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48874         [BZ #13889]
48875         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
48876         high value to check if expl overflow.
48877         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
48878         to check for underflow and overflow.
48879         * math/libm-test.inc: Add exp test.
48881 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
48883         [BZ #11120]
48884         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
48885         with NOT_IN_libc.
48887 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48889         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
48890         symbol.
48892 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
48894         * math/gen-libm-test.pl (parse_args, special_functions): Properly
48895         wrap blocks consisting of several statements.
48897         * sysdeps/generic/math-tests.h: New file.
48898         * sysdeps/i386/fpu/math-tests.h: Likewise.
48899         * math/test-snan.c: Include it.
48900         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
48902 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
48904         [BZ #15285]
48905         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
48906         (__ieee754_j0l): Do not improve calculations using cos of twice
48907         input for inputs above LDBL_MAX / 2.0L.
48908         (__ieee754_y0l): Likewise.
48909         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
48910         (__ieee754_j1l): Do not improve calculations using cos of twice
48911         input for inputs above LDBL_MAX / 2.0L.
48912         (__ieee754_y1l): Likewise.
48913         * math/libm-test.inc (j0_test): Add another test.
48914         (j1_test): Likewise.
48915         (y0_test): Likewise.
48916         (y1_test): Likewise.
48917         * sysdeps/i386/fpu/libm-test-ulps: Update.
48919 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
48921         * Rules ($(objpfx)bench-%.c): Include code from a C source
48922         file.
48924 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
48926         [BZ #15287]
48927         * math/k_casinh.c (__kernel_casinh): Handle arguments with
48928         imaginary part 1.0 and real part less than 0.5 specially.
48929         * math/k_casinhf.c (__kernel_casinhf): Likewise.
48930         * math/k_casinhl.c (__kernel_casinhl): Likewise.
48931         * math/libm-test.inc (cacos_test): Add more tests.
48932         (casin_test): Likewise.
48933         (casinh_test): Likewise.
48934         * sysdeps/i386/fpu/libm-test-ulps: Update.
48935         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48937 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
48939         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
48940         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
48942 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
48944         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
48945         * config.make.in (config-cflags-sse4): Remove variable.
48946         (config-cflags-avx): Likewise.
48947         (config-cflags-sse2avx): Likewise.
48948         (config-cflags-novzeroupper): Likewise.
48949         (config-asflags-i686): Likewise.
48950         (have-mfma4): Likewise.
48951         (have-as-vis3): Likewise.
48952         (MIG): Likewise.
48953         * configure.in (MIG): Do not AC_SUBST.
48954         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
48955         (libc_cv_cc_sse4): Do not AC_SUBST.
48956         (libc_cv_cc_avx): Likewise.
48957         (libc_cv_cc_sse2avx): Likewise.
48958         (libc_cv_cc_novzeroupper): Likewise.
48959         (libc_cv_cc_fma4): Likewise.
48960         (libc_cv_as_i686): Likewise.
48961         (libc_cv_sparc_as_vis3): Likewise.
48962         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
48963         LIBC_CONFIG_VAR.
48964         (config-asflags-i686): Likewise.
48965         (config-cflags-avx): Likewise.
48966         (config-cflags-sse2avx): Likewise.
48967         (have-mfma4): Likewise.
48968         (config-cflags-novzeroupper): Likewise.
48969         * sysdeps/mach/configure.in (MIG): Likewise.
48970         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
48971         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
48972         LIBC_CONFIG_VAR.
48973         (config-cflags-avx): Likewise.
48974         (config-cflags-sse2avx): Likewise.
48975         (have-mfma4): Likewise.
48976         (config-cflags-novzeroupper): Likewise.
48977         * configure: Regenerated.
48978         * sysdeps/i386/configure: Likewise.
48979         * sysdeps/mach/configure: Likewise.
48980         * sysdeps/sparc/configure: Likewise.
48981         * sysdeps/x86_64/configure: Likewise.
48983 2013-03-20  Roland McGrath  <roland@hack.frob.com>
48985         [BZ #14812]
48986         * locale/programs/localedef.c (options): Put N_ translation marker
48987         on argument names, not just descriptions.
48989 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48991         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
48993 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
48995         [BZ #14176]
48996         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
48998 2013-03-19  Roland McGrath  <roland@hack.frob.com>
49000         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
49001         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
49002         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
49003         [!BEFORE_ABORT] (before_abort): New function.
49004         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
49005         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
49006         (writev_for_fatal): New function.
49007         (WRITEV_FOR_FATAL): New macro; call that.
49008         (backtrace_and_maps): New function.
49009         (BEFORE_ABORT): New macro; call that.
49010         (struct str_list): Type removed.
49011         (__libc_message, __libc_fatal): Functions removed.
49012         Include <sysdeps/posix/libc_fatal.c> instead.
49014 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
49016         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
49017         constants.
49018         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
49019         double constants.
49021 2013-03-19  Andreas Schwab  <schwab@suse.de>
49023         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
49024         * sysdeps/gnu/configure: Regenerate.
49026         * configure.in: Substitute libc_cv_rtlddir.
49027         * configure: Regenerate.
49028         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
49029         * Makeconfig (rtlddir, inst_rtlddir): New variables.
49030         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
49031         * elf/Makefile (install-others, CFLAGS-interp.c)
49032         (ldso_install, common-ldd-rewrite): Likewise.
49033         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
49034         $(inst_slibdir)/$(rtld-installed-name).
49035         * scripts/rellns-sh: Add -p option.
49036         * Makerules (make-shlib-link): Use rellns-sh to get relative name
49037         for source.
49039 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
49041         * manual/nptl.texi: Renamed to ...
49042         * manual/threads.texi: ... this.
49043         * manual/Makefile (chapters): Update.
49045 2013-03-18  Roland McGrath  <roland@hack.frob.com>
49047         [BZ #14812]
49048         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
49049         on argument names, not just descriptions.
49050         * malloc/memusagestat.c (options): Likewise.
49051         * nss/getent.c (options): Likewise.
49053 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
49055         [BZ #14812]
49056         * iconv/iconv_prog.c (options): Put N_ translation marker
49057         on argument names, not just descriptions.
49058         * iconv/iconvconfig.c (options): Likewise.
49060 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
49062         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
49063         implementation which is faster on all x86_64 architectures.
49064         Tested on AMD, Intel Nehalem, SNB, IVB.
49065         * sysdeps/x86_64/strnlen.S: Likewise.
49067         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
49068         Remove all multiarch strlen and strnlen versions.
49069         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
49070         Remove strlen and strnlen related parts.
49072         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
49073         Inline strlen part.
49074         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
49076         * sysdeps/x86_64/multiarch/strlen.S: Remove.
49077         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
49078         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
49079         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
49080         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
49081         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
49083 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
49085         * manual/memory.texi (Malloc Tunable Parameters):
49086         Sort parameters alphabetically. Add comments for missing entries.
49088 2013-03-17  David S. Miller  <davem@davemloft.net>
49090         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49092 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
49094         [BZ #15283]
49095         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
49096         for arguments at most half maximum finite value.
49097         * math/libm-test.inc (j0_test): Add more tests.
49098         (j1_test): Likewise.
49099         (y0_test): Likewise.
49100         (y1_test): Likewise.
49101         * sysdeps/i386/fpu/libm-test-ulps: Update.
49102         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49104         [BZ #14155]
49105         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
49106         1 / x and functions P and Q for arguments above 0x1p256L.
49107         (__ieee754_y0l): Likewise.
49108         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
49109         (__ieee754_y1l): Likewise.
49110         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
49111         (j1_test): Likewise.
49112         (y0_test): Likewise.
49113         (y1_test): Likewise.
49115 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
49117         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
49118         variable.
49120 2013-03-15  Roland McGrath  <roland@hack.frob.com>
49122         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
49123         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
49124         zero since it's initialized to EXEC_PAGESIZE.
49126         * sysdeps/unix/sysv/linux/ldsodefs.h
49127         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
49128         * sysdeps/generic/ldsodefs.h: ... here.
49130 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
49132         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
49134         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
49135         math/test-snan.c.
49136         * math/test-snan.c: Renamed from
49137         sysdeps/powerpc/fpu/test-powerpc-snan.c.
49138         * math/Makefile (tests): Add test-snan.
49139         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
49140         test-powerpc-snan.
49142         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
49143         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
49144         functions.
49145         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
49146         __builtin_nan family of functions.
49147         * math/libm-test.inc (initialize): Initialize qnan_value with
49148         __builtin_nan family of functions.
49149         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
49150         Remove variables.
49151         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
49152         Remove functions.
49153         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
49154         storage class.  Initialize qNaN_var and sNaN_var with
49155         __builtin_nan and __builtin_nans families of functions,
49156         respectively.
49158         * math/libm-test.inc (acosh_test): Also test with qNaN input.
49159         (sqrt_test): Remove duplicate test with qNaN input.
49160         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
49161         (round_test, signbit_test, significand_test): Note missing +/-Inf
49162         as well as qNaN tests.
49164         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
49165         qNaN_var.  Fix a few strings, too.
49166         * math/libm-test.inc (nan_value): Rename to qnan_value.
49167         * math/gen-libm-test.pl (%beautify): Adjust to that.
49168         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
49169         * math/test-misc.c (main): Likewise.
49170         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
49171         to __qnan_bytes, and __qnan_union, respectively.
49172         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
49173         Likewise.
49174         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
49175         and lqnanval, respectively.
49176         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
49177         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
49178         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
49179         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
49181         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
49182         * math/test-misc.c (main) [__x86_64__]: Enable test for long
49183         doubles.
49185         * math/test-misc.c (main): Fix copy'n'pastos.
49186         * misc/tst-efgcvt.c (special): Likewise.
49188         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
49189         Remove declarations.
49191 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
49193         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
49194         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
49195         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
49196         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
49198 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49200         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
49201         macro to return vdso values correctly in IFUNC implementations.
49202         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
49203         Optimization by using IFUNC.
49205 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
49206             Richard Henderson  <rth@redhat.com>
49207             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
49209         * Makefile.in (bench): New target.
49210         * NEWS: Mention the benchmark framework.
49211         * Rules (bench): Likewise.
49212         (binaries-bench): Generate binaries for functions to
49213         benchmark.
49214         * benchtests/Makefile: New makefile for benchmark tests.
49215         * benchtests/bench-skeleton.c: New skeleton file for benchmark
49216         programs.
49217         * benchtests/exp-inputs: New input file for EXP function.
49218         * benchtests/pow-inputs: New input file for POW function.
49219         * scripts/bench.pl: New script to generate source files for
49220         benchmark programs.
49222 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
49224         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
49225         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
49226         computations on mantissa.  Use macros for rounding and
49227         division.
49228         (denorm): Likewise.
49229         (__dbl_mp): Likewise.
49230         (add_magnitudes): Likewise.
49231         (sub_magnitudes): Likewise.
49232         (__mul): Likewise.
49233         (__sqr): Likewise.
49234         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
49235         powers of two in terms of TWOPOW macro.
49236         (mp_no): Make type of mantissa as MANTISSA_T.
49237         [!RADIXI]: Define RADIXI.
49238         [!TWO52]: Define TWO52.
49239         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
49241         * manual/nptl.texi (cindex): Modify threads to pthreads.
49243 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
49245         * sysdeps/x86_64/preconfigure: Regenerated.
49247 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
49249         [BZ #14155]
49250         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
49251         0x1p28 and above.
49252         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
49253         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
49254         0x1p28 and above.
49255         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
49256         * math/libm-test.inc (j0_test): Do not allow one spurious
49257         underflow exception.
49258         (y1_test): Likewise.
49260 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
49262         * manual/Makefile (chapters): Add nptl.
49263         * manual/debug.texi (Debugging Support): Add link to Threads
49264         chapter.
49265         * manual/nptl.texi: New file.
49267         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
49269 2013-03-14  Petr Baudis  <pasky@ucw.cz>
49271         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
49272         for non-NULL pointer before the memory validity test. Pointed
49273         out by Holger Brunck <holger.brunck@keymile.com>.
49275 2013-03-13  Andreas Schwab  <schwab@suse.de>
49277         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
49278         instead of .os.
49280 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
49282         * timezone/zic.c: Update from tzcode 2013b.
49284 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
49286         * manual/install.texi (Configuring and compiling):
49287         Mention i686 and i586.
49288         * INSTALL: Regenerate.
49290 2013-03-12  Roland McGrath  <roland@hack.frob.com>
49292         * sysdeps/init_array/elf-init.c: New file.
49293         * csu/elf-init.c
49294         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
49295         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
49297         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
49298         __gmon_start__ as global, but as static with a .preinit_array pointer.
49299         * sysdeps/init_array/gmon-start.c: New file.  Use that.
49300         * sysdeps/init_array/crti.S: New file, empty except for comments.
49301         * sysdeps/init_array/crtn.S: Likewise.
49303 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
49305         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
49306         definining bcopy.
49307         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49308         Remove Prefer_SSE_for_memop.
49309         * sysdeps/x86_64/multiarch/init-arch.h: Remove
49310         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
49311         HAS_PREFER_SSE_FOR_MEMOP.
49312         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
49313         memset-x86-64.
49314         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
49315         Remove bzero, memset ifunc support.
49316         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
49317         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
49318         * sysdeps/x86_64/multiarch/memset.S: Likewise.
49319         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
49321 2013-03-11  Andreas Schwab  <schwab@suse.de>
49323         [BZ #15234]
49324         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
49325         by SHLIB_COMPAT.
49326         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
49327         (GLIBC_2.16): Remove pthread_atfork.
49329 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
49331         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
49332         (ptestcases.h): Likewise.
49334 2013-03-08  Roland McGrath  <roland@hack.frob.com>
49336         * Makeconfig ($(common-objpfx)config.status): Depend on
49337         sysdeps/*/preconfigure{,.in} too.
49339 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
49341         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
49342         (__free_hook): Use void * instead of __malloc_ptr_t.
49343         (__malloc_hook): Likewise.
49344         (__realloc_hook): Likewise.
49345         (__memalign_hook): Likewise.
49346         (__after_morecore_hook): Likewise.
49347         * malloc/arena.c (save_malloc_hook): Likewise.
49348         (save_free_hook): Likewise.
49349         * malloc/hooks.c (malloc_hook_ini): Likewise.
49350         (realloc_hook_ini): Likewise.
49351         (memalign_hook_ini): Likewise.
49352         * malloc/malloc.c (malloc_hook_ini): Likewise.
49353         (realloc_hook_ini): Likewise.
49354         (memalign_hook_ini): Likewise.
49355         (__free_hook): Likewise.
49356         (__malloc_hook): Likewise.
49357         (__realloc_hook): Likewise.
49358         (__memalign_hook): Likewise.
49359         (__libc_malloc): Likewise.
49360         (__libc_free): Likewise.
49361         (__libc_realloc): Likewise.
49362         (__libc_memalign): Likewise.
49363         (__libc_valloc): Likewise.
49364         (__libc_pvalloc): Likewise.
49365         (__libc_calloc): Likewise.
49366         (__posix_memalign): Likewise.
49367         * malloc/morecore.c (__sbrk): Likewise.
49368         (__default_morecore): Likewise.
49370         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
49372         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
49373         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
49374         __malloc_ptrdiff_t.
49376         * malloc/malloc.h (__malloc_size_t): Remove macro.
49377         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
49378         __malloc_size_t.
49379         (old_memalign_hook): Likewise.
49380         (old_realloc_hook): Likewise.
49381         (struct hdr): Likewise.
49382         (flood): Likewise.
49383         (mallochook): Likewise.
49384         (memalignhook): Likewise.
49385         (reallochook): Likewise.
49386         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
49387         (tr_old_realloc_hook): Likewise.
49388         (tr_old_memalign_hook): Likewise.
49389         (tr_mallochook): Likewise.
49390         (tr_reallochook): Likewise.
49391         (tr_memalignhook): Likewise.
49393 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49395         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
49396         default_ldbl_pack and using as default implementation.
49397         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
49398         implementation.
49399         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
49400         redundant definition.
49401         (ldbl_insert_mantissa): Likewise.
49402         (ldbl_canonicalize): Likewise.
49403         (ldbl_nearbyint): Likewise.
49404         (ldbl_pack): Rename to ldbl_pack_ppc.
49405         (ldbl_unpack): Rename to ldbl_unpack_ppc.
49406         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
49407         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
49409 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
49411         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
49412         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
49413         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
49414         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
49415         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
49416         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
49417         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
49418         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
49420 2013-03-07  Andreas Jaeger  <aj@suse.de>
49422         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49423         bits/mman-linux.h.
49425 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
49427         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
49428         Include mpa.h and declare __MPEXP.
49429         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
49430         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
49431         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
49432         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
49433         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
49434         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
49435         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
49437         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
49438         (__slowpow): Use long double EXPL and LOGL functions to
49439         compute POW.
49440         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
49441         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
49442         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
49443         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
49444         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
49445         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
49447         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
49448         intermediate variable to calculate exponent.
49449         (__sqr): Likewise.
49450         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
49451         Likewise.
49452         (__sqr): Likewise.
49454         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
49455         [!NO__SQR]: Define __sqr.
49456         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
49457         and NO__SQR.  Remove all code except __mul and __sqr.  Include
49458         sysdeps/ieee754/dbl-64/mpa.c.
49459         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
49461         [BZ #12723]
49462         * posix/Makefile (tests): Add tst-pathconf.
49463         * posix/tst-pathconf.c: New test case.
49464         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
49465         _PC_PIPE_BUF.
49466         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
49468 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
49470         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
49472 2013-03-06  Andreas Jaeger  <aj@suse.de>
49474         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
49475         definition via __MAP_ANONYMOUS.
49477         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
49478         it's not part of Linux headers.
49480         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
49481         (MAP_HUGE_MASK): Define.
49483         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
49484         Define.
49485         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
49486         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
49487         Define.
49488         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
49489         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
49490         Define.
49491         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
49492         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
49493         Define.
49494         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
49496         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
49497         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
49498         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
49499         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
49500         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
49501         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
49503         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
49504         Handle f2fs.
49506         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49507         Handle f2fs and efivarfs.
49509         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
49510         f2fs.
49512         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
49513         (EFIVARFS_MAGIC): Add.
49514         (F2FS_LINK_MAX): Add.
49516 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
49518         * stdio-common/vfprintf.c: Replace __builtin_expect with
49519         __glibc_unlikely.
49521 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
49523         [BZ #13550]
49524         * sysdeps/generic/bp-sym.h: Remove file.
49525         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
49526         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
49527         <bp-sym.h> and <bp-asm.h>.
49528         (__longjmp): Don't use BP_SYM.
49529         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
49530         and <bp-asm.h>.
49531         (memcpy): Don't use BP_SYM.
49532         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
49533         <bp-sym.h> and <bp-asm.h>.
49534         (memcpy): Don't use BP_SYM.
49535         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
49536         <bp-asm.h>.
49537         (memcpy): Don't use BP_SYM.
49538         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
49539         <bp-asm.h>.
49540         (memset): Don't use BP_SYM.
49541         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
49542         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
49543         (__bzero): Don't use BP_SYM.
49544         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
49545         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
49546         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
49547         <bp-sym.h> and <bp-asm.h>.
49548         (memcmp): Don't use BP_SYM.  Remove comment about bounded
49549         pointers.
49550         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
49551         <bp-sym.h> and <bp-asm.h>.
49552         (memcpy): Don't use BP_SYM.
49553         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
49554         <bp-sym.h> and <bp-asm.h>.
49555         (memset): Don't use BP_SYM.
49556         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
49557         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
49558         (__bzero): Don't use BP_SYM.
49559         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
49560         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
49561         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
49562         <bp-sym.h> and <bp-asm.h>.
49563         (strncmp): Don't use BP_SYM.  Remove comment about bounded
49564         pointers.
49565         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
49566         <bp-sym.h> and <bp-asm.h>.
49567         (memcpy): Don't use BP_SYM.
49568         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
49569         <bp-sym.h> and <bp-asm.h>.
49570         (memset): Don't use BP_SYM.
49571         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
49572         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
49573         (__bzero): Don't use BP_SYM.
49574         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
49575         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
49576         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
49577         <bp-sym.h> and <bp-asm.h>.
49578         (__memchr): Don't use BP_SYM.
49579         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
49580         <bp-sym.h> and <bp-asm.h>.
49581         (memcmp): Don't use BP_SYM.  Remove comment about bounded
49582         pointers.
49583         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
49584         <bp-sym.h> and <bp-asm.h>.
49585         (memcpy): Don't use BP_SYM.
49586         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
49587         <bp-sym.h> and <bp-asm.h>.
49588         (__mempcpy): Don't use BP_SYM.
49589         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
49590         <bp-sym.h> and <bp-asm.h>.
49591         (__memrchr): Don't use BP_SYM.
49592         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
49593         <bp-sym.h> and <bp-asm.h>.
49594         (memset): Don't use BP_SYM.
49595         (__bzero): Likewise.
49596         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
49597         <bp-sym.h> and <bp-asm.h>.
49598         (__rawmemchr): Don't use BP_SYM.
49599         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
49600         <bp-sym.h> and <bp-asm.h>.
49601         (__STRCMP): Don't use BP_SYM.
49602         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
49603         <bp-sym.h> and <bp-asm.h>.
49604         (strchr): Don't use BP_SYM.
49605         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
49606         <bp-sym.h> and <bp-asm.h>.
49607         (__strchrnul): Don't use BP_SYM.
49608         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
49609         <bp-sym.h> and <bp-asm.h>.
49610         (strlen): Don't use BP_SYM.
49611         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
49612         <bp-sym.h> and <bp-asm.h>.
49613         (strncmp): Don't use BP_SYM.  Remove comment about bounded
49614         pointers.
49615         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
49616         <bp-sym.h> and <bp-asm.h>.
49617         (__strnlen): Don't use BP_SYM.
49618         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
49619         <bp-sym.h> and <bp-asm.h>.
49620         (__GI__setjmp): Don't use BP_SYM.
49621         (_setjmp): Likewise.
49622         (__sigsetjmp): Likewise.
49623         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
49624         (L(start_addresses)): Don't use BP_SYM.
49625         (_start): Likewise.
49626         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
49627         <bp-asm.h>.
49628         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
49629         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
49630         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
49631         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
49632         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
49633         <bp-asm.h>.
49634         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
49635         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
49636         about bounded pointers.
49637         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
49638         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
49639         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
49640         <bp-asm.h>.
49641         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
49642         about bounded pointers.  Remove GKM FIXME comments.
49643         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
49644         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
49645         <bp-asm.h>.
49646         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
49647         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
49648         Remove GKM FIXME comments.
49649         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
49650         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
49651         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
49652         <bp-asm.h>.
49653         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
49654         about bounded pointers.  Remove GKM FIXME comment.
49655         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
49656         and <bp-asm.h>.
49657         (strncmp): Don't use BP_SYM.  Remove comment about bounded
49658         pointers.
49659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
49660         <bp-sym.h> and <bp-asm.h>.
49661         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
49662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
49663         <bp-sym.h> and <bp-asm.h>.
49664         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
49665         comment.
49667 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
49669         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
49670         call free(NULL).
49672 2013-03-05  David S. Miller  <davem@davemloft.net>
49674         * po/es.po: Update from translation team.
49676 2013-03-05  Andreas Jaeger  <aj@suse.de>
49678         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
49679         <bits/mman-linux.h>.
49680         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
49681         is fine.
49682         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
49683         <bits/mman-linux.h> to end of file.
49684         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
49685         is fine.
49686         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
49687         <bits/mman-linux.h> to end of file.
49688         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
49689         is fine.
49690         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
49691         <bits/mman-linux.h> to end of file.
49693         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
49694         (MCL_CURRENT, MCL_FUTURE): Define here.
49696 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49698         [BZ #15232]
49699         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
49700         attribute_hidden.
49701         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
49703 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49705         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
49706         fourth parameter needed for rt_sigprocmask syscall.
49707         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
49708         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
49709         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
49710         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
49711         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
49712         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
49714 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
49716         [BZ #13550]
49717         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
49718         comment about bounded pointers.
49719         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
49720         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
49722 2013-03-04  Andreas Jaeger  <aj@suse.de>
49724         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
49725         common definitions.
49727         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
49728         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
49729         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
49730         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
49731         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
49732         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
49734 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49736         [BZ #15055]
49737         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
49738         __ieee754_sqrl instead of __sqrl.
49740 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
49742         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
49743         * sysdeps/powerpc/fpu_control.h: ... here.
49744         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
49745         * sysdeps/powerpc/bits/fenvinline.h: ... here.
49746         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
49747         * sysdeps/powerpc/bits/mathinline.h: ... here.
49749 2013-03-01  Roland McGrath  <roland@hack.frob.com>
49751         * elf/dl-hwcaps.c (_dl_important_hwcaps):
49752         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
49753         to just [NEED_DL_SYSINFO_DSO].
49754         * elf/dl-support.c: Likewise.
49755         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
49756         * elf/rtld.c (dl_main): Likewise.
49757         * elf/setup-vdso.h (setup_vdso): Likewise.
49758         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
49759         * sysdeps/unix/sysv/linux/dl-sysdep.c
49760         (_dl_discover_osversion): Likewise.
49762 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
49764         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
49765         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
49767 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
49769         * NEWS: Mention libm performance improvements and non-x86 PI
49770         futex support.
49772         * csu/libc-start.c (__pthread_initialize_minimal): Change
49773         function arguments.
49774         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
49776 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
49778         [BZ #13550]
49779         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
49780         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
49781         <bp-sym.h> and <bp-asm.h>.
49782         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
49783         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
49784         and <bp-asm.h>.
49785         (memcpy): Don't use BP_SYM.
49786         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
49787         <bp-asm.h>.
49788         (__mpn_add_n): Don't use BP_SYM.
49789         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
49790         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
49791         and <bp-asm.h>.
49792         (__mpn_addmul_1): Don't use BP_SYM.
49793         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49794         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
49795         <bp-sym.h>.
49796         (_setjmp): Don't use BP_SYM.
49797         (__novmx_setjmp): Likewise.
49798         (__GI__setjmp): Likewise.
49799         (__vmx_setjmp): Likewise.
49800         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
49801         <bp-sym.h>.
49802         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
49803         (__bzero): Don't use BP_SYM.
49804         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
49805         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
49806         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
49807         <bp-sym.h> and <bp-asm.h>.
49808         (memcpy): Don't use BP_SYM.
49809         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
49810         <bp-sym.h> and <bp-asm.h>.
49811         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
49812         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
49813         <bp-sym.h> and <bp-asm.h>.
49814         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
49815         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
49816         <bp-asm.h>.
49817         (__mpn_lshift): Don't use BP_SYM.
49818         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
49819         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
49820         <bp-asm.h>.
49821         (memset): Don't use BP_SYM.
49822         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
49823         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
49824         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
49825         <bp-asm.h>.
49826         (__mpn_mul_1): Don't use BP_SYM.
49827         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49828         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
49829         <bp-sym.h> and <bp-asm.h>.
49830         (memcmp): Don't use BP_SYM.
49831         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
49832         <bp-sym.h> and <bp-asm.h>.
49833         (memcpy): Don't use BP_SYM.
49834         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
49835         <bp-sym.h> and <bp-asm.h>.
49836         (memset): Don't use BP_SYM.
49837         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
49838         <bp-sym.h> and <bp-asm.h>.
49839         (strncmp): Don't use BP_SYM.
49840         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
49841         <bp-sym.h> and <bp-asm.h>.
49842         (memcpy): Don't use BP_SYM.
49843         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
49844         <bp-sym.h> and <bp-asm.h>.
49845         (memset): Don't use BP_SYM.
49846         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
49847         <bp-sym.h> and <bp-asm.h>.
49848         (__memchr): Don't use BP_SYM.
49849         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
49850         <bp-sym.h> and <bp-asm.h>.
49851         (memcmp): Don't use BP_SYM.
49852         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
49853         <bp-sym.h> and <bp-asm.h>.
49854         (memcpy): Don't use BP_SYM.
49855         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
49856         <bp-sym.h> and <bp-asm.h>.
49857         (__mempcpy): Don't use BP_SYM.
49858         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
49859         <bp-sym.h> and <bp-asm.h>.
49860         (__memrchr): Don't use BP_SYM.
49861         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
49862         <bp-sym.h> and <bp-asm.h>.
49863         (memset): Don't use BP_SYM.
49864         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
49865         <bp-sym.h> and <bp-asm.h>.
49866         (__rawmemchr): Don't use BP_SYM.
49867         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
49868         <bp-sym.h> and <bp-asm.h>.
49869         (__STRCMP): Don't use BP_SYM.
49870         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
49871         <bp-sym.h> and <bp-asm.h>.
49872         (strchr): Don't use BP_SYM.
49873         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
49874         <bp-sym.h> and <bp-asm.h>.
49875         (__strchrnul): Don't use BP_SYM.
49876         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
49877         <bp-sym.h> and <bp-asm.h>.
49878         (strlen): Don't use BP_SYM.
49879         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
49880         <bp-sym.h> and <bp-asm.h>.
49881         (strncmp): Don't use BP_SYM.
49882         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
49883         <bp-sym.h> and <bp-asm.h>.
49884         (__strnlen): Don't use BP_SYM.
49885         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
49886         <bp-asm.h>.
49887         (__mpn_rshift): Don't use BP_SYM.
49888         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
49889         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
49890         <bp-sym.h> and <bp-asm.h>.
49891         (__sigsetjmp): Don't use BP_SYM.
49892         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
49893         (L(start_addresses)): Don't use BP_SYM.
49894         (_start): Likewise.
49895         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
49896         <bp-asm.h>.
49897         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
49898         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
49899         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
49900         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
49901         <bp-asm.h>.
49902         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
49903         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
49904         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
49905         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
49906         <bp-asm.h>.
49907         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
49908         comments.
49909         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
49910         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
49911         <bp-asm.h>.
49912         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
49913         FIXME comments.
49914         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
49915         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
49916         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
49917         <bp-asm.h>.
49918         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
49919         comment.
49920         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
49921         and <bp-asm.h>.
49922         (strncmp): Don't use BP_SYM,
49923         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
49924         <bp-asm.h>.
49925         (__mpn_sub_n): Don't use BP_SYM.
49926         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
49927         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
49928         and <bp-asm.h>.
49929         (__mpn_submul_1): Don't use BP_SYM.
49930         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
49932         <bp-sym.h> and <bp-asm.h>.
49933         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
49934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
49935         <bp-sym.h> and <bp-asm.h>.
49936         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
49937         comment.
49939 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49941         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
49942         Use ZK to minimize writes to Z.
49943         (sub_magnitudes): Simplify code a bit.
49944         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
49945         Use ZK to minimize writes to Z.
49946         (sub_magnitudes): Simplify code a bit.
49948 2013-02-27  Roland McGrath  <roland@hack.frob.com>
49950         * csu/gmon-start.c: Add special exception to license text.
49952 2013-02-27  Richard Henderson  <rth@redhat.com>
49954         * scripts/config.guess: Update from config.git.
49955         * scripts/config.sub: Likewise.
49957 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
49959         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
49961         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
49963         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
49965         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
49967         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
49969 2013-02-26  Roland McGrath  <roland@hack.frob.com>
49971         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
49972         [$(build-shared = yes].
49974 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
49976         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
49977         (__mul): Reduce iterations for calculating mantissa.
49979         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
49980         MPTWO.
49981         (__mpranred): Likewise.
49983         [BZ #15160]
49984         * malloc/memusagestat.c (main): Draw graphs for heap and stack
49985         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
49987 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
49989         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
49990         Define __attribute__.
49992 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
49994         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
49995         unused.
49996         * posix/regex_internal.h (__attribute): Remove.
49997         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
49998         (re_string_context_at): Likewise.
49999         (bitset_not): Use __attribute__ and mark function as possibly
50000         unused.
50001         (bitset_merge): Likewise.
50002         (bitset_mask): Likewise.
50003         (re_string_char_size_at): Likewise.
50004         (re_string_wchar_at): Likewise.
50005         (re_string_elem_size_at): Likewise.
50007 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
50009         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
50010         code.
50011         (cc32): Likewise.
50013         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
50014         (__acr): Likewise.
50015         (__cpy): Likewise.
50016         (norm): Likewise.
50017         (denorm): Likewise.
50018         (__dbl_mp): Likewise.
50019         (add_magnitudes): Likewise.
50020         (sub_magnitudes): Likewise.
50021         (__mul): Likewise.
50022         (__inv): Likewise.
50024         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
50025         style.
50027         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
50028         style.
50030         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
50031         code.
50033         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
50034         up changes with default code.
50035         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
50036         Likewise.
50038 2013-02-24  Allan McRae  <allan@archlinux.org>
50040         * manual/socket.texi (The Internet Namespace): Order menu items
50041         to match that in the file.
50043         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
50044         node listing of the info page menu.
50046 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
50048         [BZ #13550]
50049         * sysdeps/i386/bp-asm.h: Remove file.
50050         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
50051         (PARMS): Do not use macros from bp-asm.h.
50052         (S1): Likewise.
50053         (S2): Likewise.
50054         (SIZE): Likewise.
50055         (__mpn_add_n): Do not use BP_SYM
50056         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
50057         "bp-asm.h".
50058         (PARMS): Do not use macros from bp-asm.h.
50059         (S1): Likewise.
50060         (SIZE): Likewise.
50061         (__mpn_addmul_1): Do not use BP_SYM
50062         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
50063         "bp-asm.h".
50064         (PARMS): Do not use macros from bp-asm.h.
50065         (SIGMSK): Likewise.
50066         (_setjmp): Likewise.  Do not use BP_SYM.
50067         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
50068         "bp-asm.h".
50069         (PARMS): Do not use macros from bp-asm.h.
50070         (SIGMSK): Likewise.
50071         (setjmp): Likewise.  Do not use BP_SYM.
50072         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
50073         "bp-asm.h".
50074         (PARMS): Do not use macros from bp-asm.h.
50075         (__frexp): Do not use BP_SYM.
50076         (frexp): Likewise.
50077         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
50078         "bp-asm.h".
50079         (PARMS): Do not use macros from bp-asm.h.
50080         (__frexpf): Do not use BP_SYM.
50081         (frexpf): Likewise.
50082         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
50083         "bp-asm.h".
50084         (PARMS): Do not use macros from bp-asm.h.
50085         (__frexpl): Do not use BP_SYM.
50086         (frexpl): Likewise.
50087         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
50088         "bp-asm.h".
50089         (PARMS): Do not use macros from bp-asm.h.
50090         (__remquo): Do not use BP_SYM.
50091         (remquo): Likewise.
50092         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
50093         "bp-asm.h".
50094         (PARMS): Do not use macros from bp-asm.h.
50095         (__remquof): Do not use BP_SYM.
50096         (remquof): Likewise.
50097         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
50098         "bp-asm.h".
50099         (PARMS): Do not use macros from bp-asm.h.
50100         (__remquol): Do not use BP_SYM.
50101         (remquol): Likewise.
50102         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
50103         "bp-asm.h".
50104         (PARMS): Do not use macros from bp-asm.h.
50105         (DEST): Likewise.
50106         (SRC): Likewise.
50107         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
50108         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
50109         "bp-asm.h".
50110         (PARMS): Do not use macros from bp-asm.h.
50111         (strlen): Do not use BP_SYM.
50112         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
50113         "bp-asm.h".
50114         (PARMS): Do not use macros from bp-asm.h.
50115         (S1): Likewise.
50116         (S2): Likewise.
50117         (SIZE): Likewise.
50118         (__mpn_add_n): Do not use BP_SYM.
50119         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
50120         "bp-asm.h".
50121         (PARMS): Do not use macros from bp-asm.h.
50122         (S1): Likewise.
50123         (SIZE): Likewise.
50124         (__mpn_addmul_1): Do not use BP_SYM.
50125         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
50126         weak_alias.
50127         (bzero): Likewise.
50128         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
50129         "bp-asm.h".
50130         (PARMS): Do not use macros from bp-asm.h.
50131         (S): Likewise.
50132         (SIZE): Likewise.
50133         (__mpn_lshift): Do not use BP_SYM.
50134         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
50135         "bp-asm.h".
50136         (PARMS): Do not use macros from bp-asm.h.
50137         (DEST): Likewise.
50138         (SRC): Likewise.
50139         (LEN): Likewise.
50140         (memcpy): Likewise.  Do not use BP_SYM.
50141         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
50142         libc_hidden_def and weak_alias.
50143         (mempcpy): Do not use BP_SYM in weak_alias.
50144         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
50145         "bp-asm.h".
50146         (PARMS): Do not use macros from bp-asm.h.
50147         (DEST): Likewise.
50148         (LEN): Likewise.
50149         [!BZERO_P] (CHR): Likewise.
50150         (memset): Likewise.  Do not use BP_SYM.
50151         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
50152         "bp-asm.h".
50153         (PARMS): Do not use macros from bp-asm.h.
50154         (S1): Likewise.
50155         (SIZE): Likewise.
50156         (__mpn_mul_1): Do not use BP_SYM.
50157         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
50158         "bp-asm.h".
50159         (PARMS): Do not use macros from bp-asm.h.
50160         (S): Likewise.
50161         (SIZE): Likewise.
50162         (__mpn_rshift): Do not use BP_SYM.
50163         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
50164         "bp-asm.h".
50165         (PARMS): Do not use macros from bp-asm.h.
50166         (STR): Likewise.
50167         (CHR): Likewise.
50168         (strchr): Likewise.  Do not use BP_SYM.
50169         (index): Do not use BP_SYM in weak_alias.
50170         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
50171         "bp-asm.h".
50172         (PARMS): Do not use macros from bp-asm.h.
50173         (DEST): Likewise.
50174         (SRC): Likewise.
50175         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
50176         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
50177         "bp-asm.h".
50178         (PARMS): Do not use macros from bp-asm.h.
50179         (strlen): Do not use BP_SYM.
50180         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
50181         "bp-asm.h".
50182         (PARMS): Do not use macros from bp-asm.h.
50183         (S1): Likewise.
50184         (S2): Likewise.
50185         (SIZE): Likewise.
50186         (__mpn_sub_n): Do not use BP_SYM.
50187         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
50188         "bp-asm.h".
50189         (PARMS): Do not use macros from bp-asm.h.
50190         (S1): Likewise.
50191         (SIZE): Likewise.
50192         (__mpn_submul_1): Do not use BP_SYM.
50193         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
50194         "bp-asm.h".
50195         (PARMS): Do not use macros from bp-asm.h.
50196         (S1): Likewise.
50197         (S2): Likewise.
50198         (SIZE): Likewise.
50199         (__mpn_add_n): Do not use BP_SYM.
50200         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
50201         weak_alias.
50202         (bzero): Likewise.
50203         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
50204         "bp-asm.h".
50205         (PARMS): Do not use macros from bp-asm.h.
50206         (BLK2): Likewise.
50207         (LEN): Likewise.
50208         (memcmp): Do not use BP_SYM.
50209         (bcmp): Do not use BP_SYM in weak_alias.
50210         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
50211         "bp-asm.h".
50212         (PARMS): Do not use macros from bp-asm.h.
50213         (DEST): Likewise.
50214         (SRC): Likewise.
50215         (LEN): Likewise.
50216         (memcpy): Likewise.  Do not use BP_SYM.
50217         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
50218         "bp-asm.h".
50219         (PARMS): Do not use macros from bp-asm.h.
50220         (DEST): Likewise.
50221         (SRC): Likewise.
50222         (LEN): Likewise.
50223         (memmove): Likewise.  Do not use BP_SYM.
50224         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
50225         "bp-asm.h".
50226         (PARMS): Do not use macros from bp-asm.h.
50227         (DEST): Likewise.
50228         (SRC): Likewise.
50229         (LEN): Likewise.
50230         (__mempcpy): Likewise.  Do not use BP_SYM.
50231         (mempcpy): Do not use BP_SYM in weak_alias.
50232         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
50233         "bp-asm.h".
50234         (PARMS): Do not use macros from bp-asm.h.
50235         (DEST): Likewise.
50236         (LEN): Likewise.
50237         [!BZERO_P] (CHR): Likewise.
50238         (memset): Likewise.  Do not use BP_SYM.
50239         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
50240         "bp-asm.h".
50241         (PARMS): Do not use macros from bp-asm.h.
50242         (STR2): Likewise.
50243         (strcmp): Do not use BP_SYM.
50244         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
50245         "bp-asm.h".
50246         (PARMS): Do not use macros from bp-asm.h.
50247         (STR): Likewise.
50248         (DELIM): Likewise.
50249         [USE_AS_STRTOK_R] (SAVE): Likewise.
50250         (FUNCTION): Likewise.  Do not use BP_SYM.
50251         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
50252         aliases.
50253         (strtok_r): Likewise.
50254         (__GI___strtok_r): Likewise.
50255         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
50256         (PARMS): Do not use macros from bp-asm.h.
50257         (S): Likewise.
50258         (SIZE): Likewise.
50259         (__mpn_lshift): Do not use BP_SYM.
50260         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
50261         (PARMS): Do not use macros from bp-asm.h.
50262         (STR): Likewise.
50263         (CHR): Likewise.
50264         (__memchr): Do not use BP_SYM.
50265         (memchr): Do not use BP_SYM in weak_alias.
50266         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
50267         (PARMS): Do not use macros from bp-asm.h.
50268         (BLK2): Likewise.
50269         (LEN): Likewise.
50270         (memcmp): Do not use BP_SYM.
50271         (bcmp): Do not use BP_SYM in weak_alias.
50272         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
50273         (PARMS): Do not use macros from bp-asm.h.
50274         (S1): Likewise.
50275         (SIZE): Likewise.
50276         (__mpn_mul_1): Do not use BP_SYM.
50277         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
50278         "bp-asm.h".
50279         (PARMS): Do not use macros from bp-asm.h.
50280         (STR): Likewise.
50281         (CHR): Likewise.
50282         (__rawmemchr): Do not use BP_SYM.
50283         (rawmemchr): Do not use BP_SYM in weak_alias.
50284         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
50285         (PARMS): Do not use macros from bp-asm.h.
50286         (S): Likewise.
50287         (SIZE): Likewise.
50288         (__mpn_rshift): Do not use BP_SYM.
50289         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
50290         (PARMS): Do not use macros from bp-asm.h.
50291         (SIGMSK): Likewise.
50292         (__sigsetjmp): Likewise.  Do not use BP_SYM.
50293         * sysdeps/i386/start.S: Do not include "bp-sym.h".
50294         (_start): Do not use BP_SYM.
50295         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
50296         (PARMS): Do not use macros from bp-asm.h.
50297         (DEST): Likewise.
50298         (SRC): Likewise.
50299         (__stpcpy): Likewise.  Do not use BP_SYM.
50300         (stpcpy): Do not use BP_SYM in weak_alias.
50301         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
50302         "bp-asm.h".
50303         (PARMS): Do not use macros from bp-asm.h.
50304         (DEST): Likewise.
50305         (SRC): Likewise.
50306         (LEN): Likewise.
50307         (__stpncpy): Likewise.  Do not use BP_SYM.
50308         (stpncpy): Do not use BP_SYM in weak_alias.
50309         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
50310         (PARMS): Do not use macros from bp-asm.h.
50311         (STR): Likewise.
50312         (CHR): Likewise.
50313         (strchr): Likewise.  Do not use BP_SYM.
50314         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
50315         "bp-asm.h".
50316         (PARMS): Do not use macros from bp-asm.h.
50317         (STR): Likewise.
50318         (CHR): Likewise.
50319         (__strchrnul): Likewise.  Do not use BP_SYM.
50320         (strchrnul): Do not use BP_SYM in weak_alias.
50321         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
50322         "bp-asm.h".
50323         (PARMS): Do not use macros from bp-asm.h.
50324         (STOP): Likewise.
50325         (strcspn): Do not use BP_SYM.
50326         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
50327         "bp-asm.h".
50328         (PARMS): Do not use macros from bp-asm.h.
50329         (STR): Likewise.
50330         (STOP): Likewise.
50331         (strpbrk): Likewise.  Do not use BP_SYM.
50332         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
50333         "bp-asm.h".
50334         (PARMS): Do not use macros from bp-asm.h.
50335         (STR): Likewise.
50336         (CHR): Likewise.
50337         (strrchr): Likewise.  Do not use BP_SYM.
50338         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
50339         (PARMS): Do not use macros from bp-asm.h.
50340         (SKIP): Likewise.
50341         (strspn): Do not use BP_SYM.
50342         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
50343         (PARMS): Do not use macros from bp-asm.h.
50344         (STR): Likewise.
50345         (DELIM): Likewise.
50346         (SAVE): Likewise.
50347         (FUNCTION): Likewise.  Do not use BP_SYM.
50348         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
50349         aliases.
50350         (strtok_r): Likewise.
50351         (__GI___strtok_r): Likewise.
50352         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
50353         (PARMS): Do not use macros from bp-asm.h.
50354         (S1): Likewise.
50355         (S2): Likewise.
50356         (SIZE): Likewise.
50357         (__mpn_sub_n): Do not use BP_SYM.
50358         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
50359         "bp-asm.h".
50360         (PARMS): Do not use macros from bp-asm.h.
50361         (S1): Likewise.
50362         (SIZE): Likewise.
50363         (__mpn_submul_1): Do not use BP_SYM.
50364         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
50365         <bp-sym.h>.
50366         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
50367         and <bp-asm.h>.
50368         (PARMS): Do not use macros from bp-asm.h.
50369         (FLAGS): Likewise.
50370         (PTID): Likewise.
50371         (TLS): Likewise.
50372         (CTID): Likewise.
50373         (__clone): Do not use BP_SYM.
50374         (clone): Do not use BP_SYM in weak_alias.
50375         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
50376         and <bp-asm.h>.
50377         (PARMS): Do not use macros from bp-asm.h.
50378         (LEN): Likewise.
50379         (__mmap64): Do not use BP_SYM.
50380         (mmap64): Do not use BP_SYM in weak_alias.
50381         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
50382         <bp-sym.h> and <bp-asm.h>.
50383         (PARMS): Do not use macros from bp-asm.h.
50384         (__posix_fadvise64_l64): Do not use BP_SYM.
50385         * sysdeps/unix/sysv/linux/i386/semtimedop.S
50386         (PARMS): Do not use macros from bp-asm.h.
50387         (NSOPS): Likewise.
50388         (semtimedop): Do not use BP_SYM.
50389         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
50390         and <bp-asm.h>.
50392 2013-02-21  Allan McRae  <allan@archlinux.org>
50394         * manual/message.texi (Charset conversion in gettext):
50395         Move @end statement to beginning of line.
50397 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50399         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
50400         static.
50401         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
50402         Likewise.
50404         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
50405         (denorm): Likewise.
50406         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
50407         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
50409 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50411         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
50412         tail-call to the resolved function if pltexit isn't needed.
50414 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50416         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
50417         or Y being zero as being unlikely.
50418         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
50419         Likewise.
50421 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
50423         * manual/nss.texi (System Databases and Name Service Switch):
50424         Remove frobnicate @pxref.
50426 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
50428         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
50429         __attribute__ ((unused)) to __attribute__ ((__unused__)).
50431 2013-02-20  Petr Machata  <pmachata@redhat.com>
50433         * elf/elf.h (R_ARM_TARGET1): New macro.
50434         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
50435         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
50436         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
50437         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
50438         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
50439         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
50440         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
50441         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
50442         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
50443         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
50444         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
50445         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
50446         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
50447         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
50448         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
50449         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
50450         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
50451         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
50452         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
50453         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
50454         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
50455         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
50456         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
50457         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
50458         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
50459         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
50460         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
50461         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
50462         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
50463         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
50464         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
50465         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
50466         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
50467         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
50468         (R_ARM_THM_GOT_BREL12): Likewise.
50469         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
50470         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
50471         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
50472         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
50473         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
50474         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
50475         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
50476         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
50477         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
50479 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
50481         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
50482         __attribute_used__ to __attribute__ ((unused)).
50484 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
50486         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
50487         powerpc mpa.c.
50488         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
50489         comment formatting.
50490         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
50492 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
50494         [BZ #13550]
50495         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
50496         Remove macro.
50497         (ENTER): Remove both macro definitions.
50498         (LEAVE): Likewise.
50499         (CHECK_BOUNDS_LOW): Likewise.
50500         (CHECK_BOUNDS_HIGH): Likewise.
50501         (CHECK_BOUNDS_BOTH): Likewise.
50502         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
50503         (RETURN_BOUNDED_POINTER): Likewise.
50504         (RETURN_NULL_BOUNDED_POINTER): Likewise.
50505         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
50506         (POP_ERRNO_LOCATION_RETURN): Likewise.
50507         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
50508         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
50509         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
50510         macros.
50511         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50512         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
50513         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
50514         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
50515         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
50516         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
50517         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
50518         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
50519         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
50520         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
50521         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
50522         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
50523         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
50524         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
50525         removed macros.
50526         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50527         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
50528         macros.
50529         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
50530         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
50531         * sysdeps/i386/i586/memset.S (memset): Likewise.
50532         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
50533         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50534         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
50535         macros.
50536         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
50537         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
50538         Change uses of L(2) to L(out).
50539         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
50540         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
50541         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
50542         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
50543         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
50544         removed macros.
50545         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50546         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
50547         macros.
50548         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
50549         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
50550         (RETURN): Do not use macro LEAVE.
50551         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
50552         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
50553         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
50554         * sysdeps/i386/i686/memset.S (memset): Likewise.
50555         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
50556         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
50557         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
50558         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
50559         Likewise.
50560         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
50561         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
50562         L(1_2) and L(1_3) into L(1).
50563         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
50564         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
50565         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
50566         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
50567         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
50568         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
50569         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
50570         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50571         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
50572         macros.
50573         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
50574         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
50575         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
50576         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
50577         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
50578         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
50579         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
50580         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
50581         * sysdeps/i386/strcspn.S (strcspn): Likewise.
50582         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
50583         * sysdeps/i386/strrchr.S (strrchr): Likewise.
50584         * sysdeps/i386/strspn.S (strspn): Likewise.
50585         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
50586         conditional code.
50587         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
50588         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
50589         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
50590         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
50591         L(1_3) into L(1_1).
50592         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
50593         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
50594         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
50595         macros.
50596         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50598 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
50600         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
50601         macro.
50603 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
50605         * math/atest-exp.c (exp_mpn): Remove ROUND.
50606         * math/atest-exp2.c (exp_mpn): Likewise.
50607         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
50609         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
50610         * stdlib/tst-tls-atexit-lib.c: Likewise.
50611         * stdlib/tst-tls-atexit.c: Likewise.
50613 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
50615         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
50616         and __attribute_alloc_size__.
50618 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
50620         * include/programs/xmalloc.h: Change __attribute_alloc_size to
50621         __attribute_alloc_size__.
50622         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
50623         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
50625 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
50627         * include/programs/xmalloc.h: New file.
50628         * catgets/gencat.c: Include it.
50629         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
50630         * elf/pldd.c: Likewise.
50631         * iconv/iconv_charmap.c: Likewise.
50632         * iconv/iconvconfig.c: Likewise.
50633         * iconv/strtab.c: Likewise.
50634         * locale/programs/locale.c: Likewise.
50635         * locale/programs/localedef.h: Likewise.
50636         * locale/programs/simple-hash.c: Likewise.
50637         * nscd/nscd.h: Likewise.
50638         * nss/makedb.c: Likewise.
50639         * sysdeps/generic/ldconfig.h: Likewise.
50641 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
50643         * Versions.def: Add GLIBC_2.18.
50644         * include/link.h (struct link_map): New member l_tls_dtor_count.
50645         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
50646         (__call_tls_dtors): Likewise.
50647         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
50648         __cxa_thread_atexit_impl.
50649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
50650         Likewise.
50651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
50652         Likewise.
50653         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
50654         Likewise.
50655         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
50656         Likewise.
50657         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
50658         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
50659         Likewise.
50660         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
50661         Likewise.
50662         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
50663         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
50664         Likewise.
50665         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
50666         (tests): Add test case tst-tls-atexit.
50667         (modules-names): Add shared library for tst-tls-atexit.
50668         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
50669         (GLIBC_PRIVATE): Add __call_tls_dtors.
50670         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
50671         for libstdc++.
50672         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
50673         * stdlib/tst-tls-atexit.c: New test case.
50674         * stdlib/tst-tls-atexit-lib.c: New test case.
50676         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
50678         * elf/Versions (ld): Add _dl_find_dso_for_object.
50679         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
50680         * elf/dl-open.c (_dl_find_dso_for_object): New function.
50681         (dl_open_worker): Use _dl_find_dso_for_object.
50682         * elf/dl-sym.c (do_sym): Likewise.
50683         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
50685 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50687         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
50688         Syntactic changes only.
50689         (_dl_runtime_profile): Do a tail-call to the resolved function.
50691 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
50693         [BZ #13550]
50694         * sysdeps/x86_64/bp-asm.h: Remove file.
50695         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
50696         <bp-sym.h> and <bp-asm.h>.
50697         (__clone): Do not use BP_SYM.
50698         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
50699         <bp-sym.h> and <bp-asm.h>.
50700         * sysdeps/unix/x86_64/sysdep.S: Likewise.
50701         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
50702         "bp-asm.h".
50703         (_setjmp): Do not use BP_SYM.
50704         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
50705         "bp-asm.h".
50706         (setjmp): Do not use BP_SYM.
50707         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
50708         libc_hidden_def.
50709         (mempcpy): Do not use BP_SYM in weak_alias.
50710         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
50711         "bp-asm.h".
50712         (strchr): Do not use BP_SYM.
50713         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
50714         "bp-asm.h".
50715         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
50716         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
50717         (_start): Do not use BP_SYM.
50718         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
50719         "bp-asm.h".
50720         (strcat): Do not use BP_SYM.
50721         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
50722         "bp-asm.h".
50723         (STRCMP): Do not use BP_SYM.
50724         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
50725         "bp-asm.h".
50726         (STRCPY): Do not use BP_SYM.
50727         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
50728         "bp-asm.h".
50729         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
50730         "bp-asm.h".
50731         (FUNCTION): Do not use BP_SYM.
50732         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
50733         weak_alias.
50734         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
50736 2013-02-17  Andreas Jaeger  <aj@suse.de>
50738         * time/Versions: Sort entries.
50739         * string/Versions: Likewise.
50740         * resolv/Versions: Likewise.
50741         * posix/Versions: Likewise.
50742         * iconv/Versions: Likewise.
50743         * elf/Versions: Likewise.
50744         * wcsmbs/Versions: Likewise.
50746 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50748         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
50749         loop termination condition.
50751         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
50752         variable to calculate EZ.
50753         (__sqr): Likewise.
50755         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
50756         the lower precision input.
50758 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
50760         [BZ #13550]
50761         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
50762         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
50763         (run-via-rtld-prefix): Do not handle %-bp tests.
50764         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
50765         (all-object-suffixes): Remove .ob.
50766         (bppfx): Remove variable.
50767         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
50768         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
50769         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
50770         [$(build-bounded) = yes] (libtype.ob): Likewise.
50771         * Makerules (elide-routines.ob): Remove variable.
50772         (do-tests-clean): Do not handle *-bp.out.
50773         (common-mostlyclean): Do not handle *-bp and *-bp.out.
50774         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
50775         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
50776         (tests): Do not include $(tests-bp.out).
50777         (xtests): Do not include $(xtests-bp.out).
50778         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
50779         [$(build-bounded) = yes] ($(addprefix
50780         $(objpfx),$(binaries-bounded))): Remove rule.
50781         ($(objpfx)%-bp.out): Remove rule.
50782         * config.make.in (build-bounded): Remove variable.
50783         * crypt/Makefile [$(build-bounded) = yes]
50784         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
50785         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
50786         append to variable.
50787         [$(build-bounded) = yes] (install-lib): Likewise.
50788         [$(build-bounded) = yes] (generated): Likewise.
50789         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
50790         Remove rule.
50791         * intl/Makefile [$(build-bounded) = yes]
50792         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
50793         * math/Makefile [$(build-bounded) = yes]
50794         ($(tests:%=$(objpfx)%-bp): Likewise.
50795         * misc/Makefile [$(build-bounded) = yes]
50796         ($(objpfx)tst-tsearch-bp): Likewise.
50797         * nptl/Makeconfig (bounded-thread-library): Remove variable.
50798         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
50799         Remove dependency.
50800         * string/Makefile (o-objects.ob): Remove variable.
50801         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
50802         (CFLAGS-.ob): Remove variable.
50803         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
50804         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
50805         both definitions of variable.
50806         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
50807         (ASFLAGS-.ob): Remove variable.
50809 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
50811         [BZ #13550]
50812         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
50813         Remove __BOUNDED_POINTERS__ from condition.
50814         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
50815         * string/bits/string2.h [!__NO_STRING_INLINES &&
50816         !__BOUNDED_POINTERS__]: Likewise.
50817         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
50818         Likewise.
50819         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
50820         Remove conditional code.
50821         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
50822         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
50823         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
50824         condition.
50826         [BZ #13550]
50827         * csu/libc-start.c: Do not include <bp-sym.h>.
50828         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
50829         * elf/dl-open.c: Do not include <bp-sym.h>.
50830         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
50831         * math/fegetenv.c: Do not include <bp-sym.h>.
50832         (fegetenv): Do not use BP_SYM in versioned symbols.
50833         * nptl/sysdeps/pthread/bits/libc-lockP.h
50834         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
50835         <bp-sym.h>.
50836         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50837         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
50838         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50839         (__pthread_mutex_destroy): Likewise.
50840         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50841         (__pthread_mutex_lock): Likewise.
50842         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50843         (__pthread_mutex_trylock): Likewise.
50844         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50845         (__pthread_mutex_unlock): Likewise.
50846         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50847         (__pthread_mutexattr_init): Likewise.
50848         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50849         (__pthread_mutexattr_destroy): Likewise.
50850         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50851         (__pthread_mutexattr_settype): Likewise.
50852         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50853         (__pthread_rwlock_init): Likewise.
50854         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50855         (__pthread_rwlock_destroy): Likewise.
50856         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50857         (__pthread_rwlock_rdlock): Likewise.
50858         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50859         (__pthread_rwlock_tryrdlock): Likewise.
50860         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50861         (__pthread_rwlock_wrlock): Likewise.
50862         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50863         (__pthread_rwlock_trywrlock): Likewise.
50864         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50865         (__pthread_rwlock_unlock): Likewise.
50866         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50867         (__pthread_key_create): Likewise.
50868         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50869         (__pthread_setspecific): Likewise.
50870         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50871         (__pthread_getspecific): Likewise.
50872         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
50873         Likewise.
50874         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50875         (_pthread_cleanup_push_defer): Likewise.
50876         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50877         (_pthread_cleanup_pop_restore): Likewise.
50878         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50879         (pthread_setcancelstate): Likewise.
50880         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
50881         <bp-sym.h>.
50882         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
50883         (memchr): Do not use BP_SYM in weak_alias.
50884         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
50885         (fegetenv): Do not use BP_SYM in versioned symbols.
50886         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
50887         (fesetenv): Do not use BP_SYM in versioned symbols.
50888         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
50889         (feupdateenv): Do not use BP_SYM in versioned symbols.
50890         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
50891         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
50892         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
50893         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
50894         (open64): Do not use BP_SYM in weak_alias.
50895         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
50896         (fegetenv): Do not use BP_SYM in versioned symbols.
50897         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
50898         (fesetenv): Do not use BP_SYM in versioned symbols.
50899         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
50900         (feupdateenv): Do not use BP_SYM in versioned symbols.
50901         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
50902         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
50903         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
50904         (feraiseexcept): Do not use BP_SYM in versioned symbols.
50905         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
50906         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
50907         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
50908         <bp-sym.h>.
50909         (__libc_start_main): Do not use BP_SYM.
50911 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
50913         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
50914         redundant return line.
50915         (norm): Likewise.
50916         (denorm): Likewise.
50917         (dbl_mp): Likewise.
50918         (sub_magnitudes): Likewise.
50919         (__add): Likewise.
50920         (__sub): Likewise.
50921         (__mul): Likewise.
50922         (__inv): Likewise.
50923         (__dvd): Likewise.
50924         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
50925         (norm): Likewise.
50926         (denorm): Likewise.
50927         (dbl_mp): Likewise.
50928         (sub_magnitudes): Likewise.
50929         (__add): Likewise.
50930         (__sub): Likewise.
50931         (__mul): Likewise.
50932         (__inv): Likewise.
50933         (__dvd): Likewise.
50935         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
50936         instead of __mul.
50937         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
50938         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
50939         (cc32): Likewise.
50941         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
50942         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
50943         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
50944         of __mul for squares.
50945         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
50946         function
50947         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
50948         Likewise.
50949         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
50950         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
50952 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
50954         [BZ #13550]
50955         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
50956         code.
50957         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
50958         prototype or function definition.  Rename ubp_* variables and
50959         parameters.  Remove argv definitions conditional on
50960         [__BOUNDED_POINTERS__].
50961         * debug/backtrace.c (__backtrace): Do not use __unbounded.
50962         * elf/dl-runtime.c (_dl_fixup): Likewise.
50963         * include/set-hooks.h (RUN_HOOK): Likewise.
50964         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
50965         definition.
50966         * string/strcpy.c (strcpy): Do not use __unbounded.
50967         * sysdeps/generic/frame.h (struct layout): Likewise.
50968         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
50969         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
50970         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
50971         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
50972         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
50973         (__backtrace): Likewise.
50974         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
50975         use __ptrvalue.
50976         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
50977         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
50978         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
50979         Likewise.
50980         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
50981         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
50982         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
50983         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
50984         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
50985         Do not use __unbounded.
50986         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
50987         Rename __unboundedrlimits parameter to rlimits in prototype.
50988         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
50989         Do not use __unbounded.
50990         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
50991         not use __ptrvalue.
50992         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
50993         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
50994         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
50995         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
50996         __ptrvalue or __unbounded.
50997         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
50998         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
50999         use __unbounded.
51000         (__new_msgctl): Do not use __ptrvalue.
51001         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
51002         __unbounded.
51003         (__libc_msgrcv): Do not use __ptrvalue.
51004         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
51005         startup_info): Do not use __unbounded.
51006         (__libc_start_main): Likewise.  Rename ubp_* variables and
51007         parameters.  Remove argv definitions conditional on
51008         [__BOUNDED_POINTERS__].
51009         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
51010         __ptrvalue.
51011         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
51012         use __unbounded.
51013         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
51014         or __ptrvalue.
51015         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
51016         use __unbounded.
51017         (__new_shmctl): Do not use __ptrvalue.
51018         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
51019         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
51020         Likewise.
51021         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
51022         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
51023         (__libc_sigaction): Likewise.
51024         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
51025         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
51026         Likewise.
51027         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
51029 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
51031         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
51033         * string/mempcpy.c: Implement by calling memcpy.
51035 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
51037         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
51039         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
51040         evaluation.
51042         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
51043         values in the mantissa.
51045         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
51046         minimize writes to Z.
51047         (sub_magnitudes): Simplify code a bit.
51049 2013-02-12  Roland McGrath  <roland@hack.frob.com>
51051         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
51052         from the message.  The linker prefixes all warnings with that already.
51054 2013-02-12  Andreas Schwab  <schwab@suse.de>
51056         [BZ #15078]
51057         * posix/regexec.c (extend_buffers): Add parameter min_len.
51058         (check_matching): Pass minimum needed length.
51059         (clean_state_log_if_needed): Likewise.
51060         (get_subexp): Likewise.
51061         * posix/Makefile (tests): Add bug-regex34.
51062         (bug-regex34-ENV): Define.
51063         * posix/bug-regex34.c: New file.
51065         [BZ #11561]
51066         * posix/regcomp.c (parse_bracket_exp): When looking up collating
51067         elements compare against the byte sequence of it, not its name.
51068         * posix/Makefile (tests): Add bug-regex35.
51069         (bug-regex35-ENV): Define.
51070         * posix/bug-regex35.c: New file.
51072 2013-02-11  Tom de Vries  <tom@codesourcery.com>
51074         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
51075         comment.
51076         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
51077         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
51078         (CHECK_EOL): Add undef.
51080 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
51082         * bits/stdlib-bsearch.h: New file.
51083         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
51084         * stdlib/stdlib.h: Likewise.
51086 2013-02-11  Roland McGrath  <roland@hack.frob.com>
51088         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
51089         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
51090         declaration.
51091         * manual/search.texi (Array Search Function): Add missing const in
51092         lfind prototype.
51093         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
51094         declaration to use rlim_t.
51095         (Basic Scheduling Functions): Remove erroneous const from
51096         sched_getparam prototype.  Remove erroneous * from
51097         sched_get_priority_max and sched_get_priority_min prototypes.
51098         (Resource Usage): Fix summary @comment on vtimes to refer to
51099         sys/vtimes.h rather than vtimes.h.
51100         Add missing *s in vtimes prototype.
51101         (Limits on Resources): Fix ulimit prototype to return long int.
51102         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
51103         prototypes to use long int rather than double.
51104         (BSD Random): Fix initstate and setstate to use char *, not void *.
51105         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
51106         prototype to make second argument 'struct aiocb64 *const[]'.
51107         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
51108         (Status of AIO Operations): Remove erroneous const in aio_return and
51109         aio_return64 prototypes.
51110         (Synchronizing I/O): Fix sync prototype to return void.
51111         * manual/startup.texi (Suboptions): Remove an erroneous const in
51112         getsubopt prototype.
51113         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
51114         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
51115         use size_t rather than int.
51116         (Scanning All Users): Likewise for getpwent_r.
51117         (Setting Groups): Add missing const to setgroups prototype.
51118         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
51119         * manual/socket.texi (Host Names): Fix gethostbyaddr and
51120         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
51121         'const void *' rather than 'const char *'.
51122         (Host Address Functions): Likewise for inet_ntop.
51123         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
51124         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
51125         ssize_t for return value.
51126         (Sending Data): Likewise for send, sendto, sendmsg.
51127         (Socket Option Functions): Add a missing const in setsockopt prototype.
51128         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
51129         use wchar_t for the argument.
51130         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
51131         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
51132         take no arguments.
51133         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
51134         double/float/long double for second argument.
51135         Fix return types of significand, significandf, significandl.
51136         * manual/filesys.texi (Setting Permissions): Use mode_t for second
51137         argument in fchmod prototype.
51138         (File Owner): Use uid_t and gid_t in fchown prototype.
51139         (File Times): Add const to utimes, futimes, and lutimes prototypes.
51140         (Making Special Files): Use mode_t and dev_t in mknod prototype.
51141         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
51142         use 'const struct dirent **' as argument types to CMP function pointer
51143         argument.
51144         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
51145         (File Times): Fix summary magic @comment for struct utimbuf and utime
51146         to refer to utime.h, not time.h.
51147         * manual/string.texi (Argz Functions): Add missing const in
51148         argz_extract and argz_next prototypes.
51149         (Finding Tokens in a String): Likewise for basename.
51150         (String/Array Comparison): Fix typo in wcscasecmp prototype.
51151         (Copying and Concatenation): Fix typo in wmemmove prototype.
51152         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
51153         (Signal Stack): Remove erroneous const in sigstack prototype.
51154         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
51155         prototype.
51156         (Simple Calendar Time): Likewise for stime.
51157         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
51158         prototype.
51159         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
51160         say sys/sysctl.h instead.
51161         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
51162         and vsyslog prototypes.
51164 2013-02-11  Tom de Vries  <tom@codesourcery.com>
51166         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
51167         Remove.
51169 2013-02-11  Roland McGrath  <roland@hack.frob.com>
51171         * misc/sys/mman.h: Fix typo in mremap comment.
51173 2013-02-08  Roland McGrath  <roland@hack.frob.com>
51175         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
51176         the '\0' terminator.
51178 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
51180         [BZ #13550]
51181         * debug/segfault.c: Don't include <bp-checks.h>.
51182         * sysdeps/generic/bp-checks.h: Remove file.
51183         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
51184         (__GETDENTS): Don't use CHECK_N.
51185         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
51186         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
51187         (__getgroups): Don't use CHECK_N.
51188         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
51189         (setgroups): Don't use CHECK_N.
51190         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
51191         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
51192         (__libc_msgrcv): Don't use CHECK_N.
51193         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
51194         (__libc_msgsnd): Don't use CHECK_N.
51195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
51196         <bp-checks.h>.
51197         (__libc_pread): Don't use CHECK_N.
51198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
51199         include <bp-checks.h>.
51200         (__libc_pread64): Don't use CHECK_N.
51201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
51202         include <bp-checks.h>.
51203         (__libc_pwrite): Don't use CHECK_N.
51204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
51205         include <bp-checks.h>.
51206         (__libc_pwrite64): Don't use CHECK_N.
51207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
51208         <bp-checks.h>.
51209         (__libc_pread): Don't use CHECK_N.
51210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
51211         include <bp-checks.h>.
51212         (__libc_pread64): Don't use CHECK_N.
51213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
51214         include <bp-checks.h>.
51215         (__libc_pwrite): Don't use CHECK_N.
51216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
51217         include <bp-checks.h>.
51218         (__libc_pwrite64): Don't use CHECK_N.
51219         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
51220         (do_pread): Don't use CHECK_N.
51221         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
51222         (do_pread64): Don't use CHECK_N.
51223         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
51224         (do_pwrite): Don't use CHECK_N.
51225         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
51226         (do_pwrite64): Don't use CHECK_N.
51227         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
51228         (__libc_readv): Don't use CHECK_N.
51229         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
51230         (semop): Don't use CHECK_N.
51231         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
51232         <bp-checks.h>.
51233         (semtimedop): Don't use CHECK_N.
51234         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
51235         (__libc_pread): Don't use CHECK_N.
51236         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
51237         <bp-checks.h>.
51238         (__libc_pread64): Don't use CHECK_N.
51239         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
51240         <bp-checks.h>.
51241         (__libc_pwrite): Don't use CHECK_N.
51242         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
51243         <bp-checks.h>.
51244         (__libc_pwrite64): Don't use CHECK_N.
51245         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
51246         <bp-checks.h>.
51247         (__libc_msgrcv): Don't use CHECK_N.
51248         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
51249         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
51250         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
51251         (__libc_writev): Don't use CHECK_N.
51253 2013-02-08  Roland McGrath  <roland@hack.frob.com>
51255         * string/strcpy.c: Removed unused variable.
51257         * Makeconfig (+sysdep-includes): Define with := rather than =.
51258         Use an existing include/ subdir of each sysdeps dir before it.
51260 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
51262         * nscd/connection.c (register_traced_file): Comment function.
51263         [HAVE_INOTIFY] (union __inev): Define.
51264         [HAVE_INOTIFY] (inotify_check_files): New function.
51265         [HAVE_INOTIFY] (clear_db_cache): Likewise.
51266         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
51267         clear_db_cache.
51268         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
51270 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
51272         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
51273         loaded if not already and that a failure is permanent.
51275 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
51277         [BZ #15006]
51278         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
51279         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
51281 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
51283         [BZ #13550]
51284         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
51285         (CHECK_1_NULL_OK): Likewise.
51286         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
51287         (__fxstat): Do not use CHECK_1.
51288         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
51289         <bp-checks.h>.
51290         (___fxstat64): Do not use CHECK_1.
51291         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
51292         <bp-checks.h>.
51293         (__fxstatat): Do not use CHECK_1.
51294         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
51295         <bp-checks.h>.
51296         (__fxstatat64): Do not use CHECK_1.
51297         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
51298         <bp-checks.h>.
51299         (__fxstat): Do not use CHECK_1.
51300         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
51301         <bp-checks.h>.
51302         (__fxstatat): Do not use CHECK_1.
51303         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
51304         <bp-checks.h>.
51305         (__getresgid): Do not use CHECK_1.
51306         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
51307         <bp-checks.h>.
51308         (__getresuid): Do not use CHECK_1.
51309         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
51310         <bp-checks.h>.
51311         (__lxstat): Do not use CHECK_1.
51312         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
51313         <bp-checks.h>.
51314         (__old_msgctl): Do not use CHECK_1.
51315         (__new_msgctl): Likewise.
51316         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
51317         <bp-checks.h>.
51318         (__new_setrlimit): Do not use CHECK_1.
51319         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
51320         <bp-checks.h>.
51321         (__old_shmctl): Do not use CHECK_1.
51322         (__new_shmctl): Likewise.
51323         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
51324         <bp-checks.h>.
51325         (__xstat): Do not use CHECK_1.
51326         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
51327         (__lxstat): Do not use CHECK_1.
51328         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
51329         <bp-checks.h>.
51330         (___lxstat64): Do not use CHECK_1.
51331         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
51332         (__old_msgctl): Do not use CHECK_1.
51333         (__new_msgctl): Likewise.
51334         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
51335         <bp-checks.h>.
51336         (__gettimeofday): Do not use CHECK_1.
51337         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
51338         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
51339         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
51340         <bp-checks.h>.
51341         (__gettimeofday): Do not use CHECK_1.
51342         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
51343         (__old_shmctl): Do not use CHECK_1_NULL_OK.
51344         (__new_shmctl): Do not use CHECK_1.
51345         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
51346         <bp-checks.h>.
51347         (do_sigtimedwait): Do not use CHECK_1.
51348         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
51349         <bp-checks.h>.
51350         (do_sigwaitinfo): Do not use CHECK_1.
51351         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
51352         <bp-checks.h>.
51353         (msgctl): Do not use CHECK_1.
51354         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
51355         <bp-checks.h>.
51356         (shmctl): Do not use CHECK_1.
51357         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
51358         (ustat): Do not use CHECK_1.
51359         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
51360         <bp-checks.h>.
51361         (__fxstat): Do not use CHECK_1.
51362         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
51363         <bp-checks.h>.
51364         (__fxstatat): Do not use CHECK_1.
51365         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
51366         <bp-checks.h>.
51367         (__lxstat): Do not use CHECK_1.
51368         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
51369         <bp-checks.h>.
51370         (__xstat): Do not use CHECK_1.
51371         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
51372         (__xstat): Do not use CHECK_1.
51373         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
51374         (___xstat64): Do not use CHECK_1.
51376         [BZ #13550]
51377         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
51378         definitions.
51379         (CHECK_BOUNDS_HIGH): Likewise.
51380         * string/strcpy.c: Do not include <bp-checks.h>.
51381         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
51383 2013-02-07  Roland McGrath  <roland@hack.frob.com>
51385         * nscd/nscd-client.h (__nscd_drop_map_ref):
51386         Add __attribute__ ((unused)).
51387         * nis/nss-nisplus.h (niserr2nss): Likewise.
51389         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
51390         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
51392         * csu/libc-tls.c (init_static_tls, init_slotinfo):
51393         Remove inline keyword.
51394         * include/rounding-mode.h (round_away): Likewise.
51395         * libio/wfileops.c (adjust_wide_data): Likewise.
51396         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
51397         (__m128i_strloadu_tolower): Likewise.
51398         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
51399         (__m128i_strloadu_tolower): Likewise.
51400         * time/mktime.c (ydhms_diff): Likewise.
51401         * locale/elem-hash.h (elem_hash): Likewise.
51402         * locale/setlocale.c (setdata): Likewise.
51403         * posix/regex_internal.h (re_string_char_size_at): Likewise.
51404         (re_string_wchar_at): Likewise.
51405         (bitset_not, bitset_merge, bitset_mask): Likewise.
51406         [!(__GNUC__ > 3)] (inline): Remove macro.
51407         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
51408         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
51409         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
51410         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
51411         * string/memcmp.c (memcmp_bytes): Likewise.
51412         * locale/programs/locarchive.c (compute_hashval): Likewise.
51413         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
51414         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
51415         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
51416         * nss/getent.c (print_rpc, print_protocols): Likewise.
51417         (print_passwd, print_group, print_aliases): Likewise.
51418         * nis/nss-nisplus.h (niserr2nss): Likewise.
51419         * nscd/connections.c (restart_p): Likewise.
51420         Change return type to bool.
51422 2013-02-05  Roland McGrath  <roland@hack.frob.com>
51424         * Makeconfig (all-Depend-files): Add existing
51425         $(sorted-subdirs:=/Depend) files.
51426         (all-subdirs): Remove nss.
51427         * sysdeps/unix/inet/Subdirs: Add it here instead.
51428         * hesiod/Depend: New file.
51430         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
51431         instead of calling alloca.
51433         * io/lseek.c (__lseek): Rename to __libc_lseek.
51434         Define __lseek as an alias.
51436         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
51438 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
51440         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
51441         else clause and remove check for non-standard endianness.
51443 2013-02-04  David S. Miller  <davem@davemloft.net>
51445         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51447 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
51449         [BZ #13550]
51450         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
51451         (__ubp_memchr): Remove prototype.
51452         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
51453         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
51454         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
51455         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
51456         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
51457         Remove alias.
51458         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
51459         (__ubp_memchr): Likewise.
51460         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
51461         (__ubp_memchr): Likewise.
51462         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
51463         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
51464         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
51465         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
51466         CHECK_STRING.
51467         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
51468         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
51469         (__getcwd): Do not use CHECK_STRING.
51470         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
51471         <bp-checks.h>.
51472         (__real_chown): Do not use CHECK_STRING.
51473         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
51474         <bp-checks.h>.
51475         (fchownat): Do not use CHECK_STRING.
51476         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
51477         CHECK_STRING.
51478         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
51479         <bp-checks.h>.
51480         (__lchown): Do not use CHECK_STRING.
51481         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
51482         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
51483         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
51484         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
51485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
51486         include <bp-checks.h>.
51487         (truncate64): Do not use CHECK_STRING.
51488         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
51489         <bp-checks.h>.
51490         (__real_chown): Do not use CHECK_STRING.
51491         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
51492         <bp-checks.h>.
51493         (__lchown): Do not use CHECK_STRING.
51494         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
51495         <bp-checks.h>.
51496         (__chown): Do not use CHECK_STRING.
51497         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
51498         <bp-checks.h>.
51499         (truncate64): Do not use CHECK_STRING.
51500         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
51501         Likewise.
51502         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
51503         (__xmknod): Do not use CHECK_STRING.
51504         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
51505         <bp-checks.h>.
51506         (__xmknodat): Do not use CHECK_STRING.
51507         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
51508         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
51510 2013-02-04  Andreas Schwab  <schwab@suse.de>
51512         [BZ #14142]
51513         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
51514         * include/netdb.h: Likewise for h_errno.
51515         * elf/tst-stackguard1.c: Include <tls.h>.
51517 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
51519         * elf/link.h (struct link_map): Extend the l_addr comment.
51520         * include/link.h (struct link_map): Likewise.
51522 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
51524         [BZ #13550]
51525         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
51526         (BOUNDED_1): Remove macro.
51527         * debug/backtrace.c: Don't include <bp-checks.h>.
51528         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
51529         (__backtrace): Likewise.
51530         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
51531         <bp-checks.h>.
51532         (__backtrace): Don't use BOUNDED_1.
51533         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
51534         <bp-checks.h>.
51535         (__backtrace): Don't use BOUNDED_1.
51536         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
51537         (__backtrace): Don't use BOUNDED_1.
51538         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
51539         (shmat): Don't use BOUNDED_N.
51541 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
51543         [BZ #13550]
51544         * sysdeps/generic/bp-start.h: Remove file.
51545         * csu/libc-start.c: Don't include <bp-start.h>.
51546         (LIBC_START_MAIN): Set up __environ directly instead of using
51547         INIT_ARGV_and_ENVIRON.
51548         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
51549         <bp-start.h>.
51551         [BZ #13550]
51552         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
51553         definitions.
51554         (CHECK_FCNTL): Likewise.
51555         (CHECK_N_PAGES): Likewise.
51557         [BZ #13550]
51558         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
51559         definitions.
51560         (CHECK_SIGSET_NULL_OK): Likewise.
51561         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
51562         <bp-checks.h>.
51563         (sigpending): Don't use CHECK_SIGSET.
51564         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
51565         <bp-checks.h>.
51566         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
51567         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
51568         <bp-checks.h>.
51569         (do_sigsuspend): Don't use CHECK_SIGSET.
51570         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
51571         use CHECK_SIGSET.
51572         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
51573         (do_sigwait): Don't use CHECK_SIGSET.
51574         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
51575         use CHECK_SIGSET.
51576         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
51577         include <bp-checks.h>.
51578         (sigpending): Don't use CHECK_SIGSET.
51579         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
51580         include <bp-checks.h>.
51581         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
51582         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
51583         <bp-checks.h>.
51584         (sigpending): Don't use CHECK_SIGSET.
51585         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
51586         <bp-checks.h>.
51587         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
51589         [BZ #13550]
51590         * sysdeps/generic/bp-semctl.h: Remove file.
51591         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
51592         <bp-checks.h> and <bp-semctl.h>.
51593         (__old_semctl): Don't use CHECK_SEMCTL.
51594         (__new_semctl): Likewise.
51595         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
51596         and <bp-semctl.h>.
51597         (__old_semctl): Don't use CHECK_SEMCTL.
51598         (__new_semctl): Likewise.
51599         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
51600         <bp-checks.h> and <bp-semctl.h>.
51601         (__old_semctl): Don't use CHECK_SEMCTL.
51602         (__new_semctl): Likewise.
51603         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
51604         <bp-checks.h> and <bp-semctl.h>.
51605         (semctl): Don't use CHECK_SEMCTL.
51607         [BZ #13550]
51608         * Makerules (elide-bp-thunks): Remove variable.
51609         (elide-routines.oS): Don't use $(elide-bp-thunks).
51610         (elide-routines.os): Likewise.
51611         (elide-routines.o): Likewise.
51612         (elide-routines.op): Likewise.
51613         (elide-routines.og): Likewise.
51614         (objects): Don't use $(bp-thunks).
51615         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
51616         include.
51617         (common-generated): Do not add s-proto-bp.d.
51618         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
51619         (int): Likewise.
51620         (typ): Likewise.
51621         Do not generate makefile rules for bounded-pointer thunks.
51622         * sysdeps/generic/bp-thunks.h: Remove file.
51623         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
51624         * sysdeps/unix/s-proto-bp.S: Likewise.
51626         [BZ #15062]
51627         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
51628         parts of result separately when argument is not close to line from
51629         -i to i and one part of argument is small.
51630         * math/k_casinhf.c (__kernel_casinhf): Likewise.
51631         * math/k_casinhl.c (__kernel_casinhl): Likewise.
51632         * math/libm-test.inc (cacos_test): Add more tests.
51633         (casin_test): Likewise.
51634         (casinh_test): Likewise.
51635         * sysdeps/i386/fpu/libm-test-ulps: Update.
51636         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51638 2013-01-31  David S. Miller  <davem@davemloft.net>
51640         * po/de.po: Update from translation team.
51642 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
51644         * time/tzfile.c: Include stdint.h for SIZE_MAX.
51646 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
51648         * configure.in (_AC_PROG_CC_C89): New definition.
51649         * configure: Regenerate.
51651         * configure.in (AC_PROG_CPP): New definition.
51652         * configure: Regenerate.
51654 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
51656         * debug/tst-backtrace.h: New file.
51657         * debug/tst-backtrace2.c: Include tst-backtrace.h.
51658         (ret): Remove variable.
51659         (x): Likewise.
51660         (FAIL): Remove macro.
51661         (NO_INLINE): Likewise.
51662         (fn1): Use match function instead of strstr.
51663         * debug/tst-backtrace3.c: Include tst-backtrace.h.
51664         (ret): Remove variable.
51665         (x): Likewise.
51666         (FAIL): Remove macro.
51667         (NO_INLINE): Likewise.
51668         (fn): Use match function instead of strstr.
51669         * debug/tst-backtrace4.c: Include tst-backtrace.h.
51670         (ret): Remove variable.
51671         (x): Likewise.
51672         (FAIL): Remove macro.
51673         (NO_INLINE): Likewise.
51674         (handle_signal): Use match function instead of strstr.
51675         * debug/tst-backtrace5.c: Include tst-backtrace.h.
51676         (ret): Remove variable.
51677         (x): Likewise.
51678         (FAIL): Remove macro.
51679         (NO_INLINE): Likewise.
51680         (handle_signal): Use match function instead of strstr.
51682 2013-01-23  Roland McGrath  <roland@hack.frob.com>
51684         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
51686 2013-01-23  David S. Miller  <davem@davemloft.net>
51688         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
51689         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
51690         argument of CAS if possible.
51691         * sysdeps/sparc/sparc64/bits/atomic.h
51692         (__arch_compare_and_exchange_val_32_acq): Likewise.
51693         (__arch_compare_and_exchange_val_64_acq): Likewise.
51695 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
51697         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
51698         * sysdeps/posix/ulimit.c: ... this.
51699         Include <limits.h>.
51700         * sysdeps/unix/bsd/ulimit.c: Remove file.
51702 2013-01-23  Adam Conrad  <adconrad@0c3.net>
51704         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
51705         (LDFLAGS-tst-array5): Likewise.
51707 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
51709         [BZ #15036]
51710         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
51711         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
51712         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
51713         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
51715 2013-01-21  David S. Miller  <davem@davemloft.net>
51717         * sysdeps/sparc/backtrace.c: New file.
51718         * sysdeps/sparc/sparc32/backtrace.h: New file.
51719         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
51720         * sysdeps/sparc/sparc64/backtrace.h: New file.
51721         * sysdeps/sparc/sparc64/backtrace.c: Delete.
51722         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
51723         -funwind-tables.
51725 2013-01-21  Andreas Schwab  <schwab@suse.de>
51727         [BZ #15020]
51728         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
51729         closed its stdout.
51731 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
51733         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
51734         "mpa2.h".
51735         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
51737 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
51738             Mark Mitchell  <mark@codesourcery.com>
51739             Tom de Vries  <tom@codesourcery.com>
51740             Paul Pluzhnikov  <ppluzhnikov@google.com>
51742         * debug/tst-backtrace2.c: New file.
51743         * debug/tst-backtrace3.c: Likewise.
51744         * debug/tst-backtrace4.c: Likewise.
51745         * debug/tst-backtrace5.c: Likewise.
51746         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
51747         (CFLAGS-tst-backtrace3.c): Likewise.
51748         (CFLAGS-tst-backtrace4.c): Likewise.
51749         (CFLAGS-tst-backtrace5.c): Likewise.
51750         (LDFLAGS-tst-backtrace2): Likewise.
51751         (LDFLAGS-tst-backtrace3): Likewise.
51752         (LDFLAGS-tst-backtrace4): Likewise.
51753         (LDFLAGS-tst-backtrace5): Likewise.
51754         (tests): Add new tests tst-backtrace2, tst-backtrace3,
51755         tst-backtrace4 and tst-backtrace5.
51757 2013-01-18  Anton Blanchard  <anton@samba.org>
51758             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51760         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
51761         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
51762         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
51763         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
51764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
51765         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
51766         "+r" and remove output regs list as redundant.  Add explicit inline
51767         asm to specify register of return val to work around compiler codegen
51768         bug.  Remove (int) cast on return value.  Add return type parameter to
51769         use in macro so that this macro does not truncate return value for
51770         64-bit values.
51771         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
51772         pass to INTERNAL_VSYSCALL_NCS.
51773         (INLINE_VSYSCALL): Add 'long int' as return type to
51774         INTERNAL_VSYSCALL_NCS macro invocation.
51775         (INTERNAL_VSYSCALL): Add 'long int' as return type to
51776         INTERNAL_VSYSCALL_NCS macro invocation.
51777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
51779 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
51781         [BZ #14496]
51782         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
51783         Fix application of SIMD FP exception mask.
51785         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
51786         mp_no from a power of two.
51787         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
51788         __mpexp_twomm1.  Use __pow_mp.
51790         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
51791         multiplication.
51793 2013-01-17  David S. Miller  <davem@davemloft.net>
51795         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51797 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
51799         [BZ #15023]
51800         * include/complex.h: Condition contents on [!_COMPLEX_H].
51801         (__kernel_casinhf): New prototype.
51802         (__kernel_casinh): Likewise.
51803         (__kernel_casinhl): Likewise.
51804         * math/Makefile (libm_calls): Add k_casinh.
51805         * math/k_casinh.c: New file.
51806         * math/k_casinhf.c: Likewise.
51807         * math/k_casinhl.c: Likewise.
51808         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
51809         finite nonzero arguments.
51810         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
51811         finite nonzero arguments.
51812         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
51813         finite nonzero arguments.
51814         * math/s_casinh.c: Do not include <float.h>.
51815         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
51816         * math/s_casinhf.c: Do not include <float.h>.
51817         (__casinhf): Move code for finite nonzero arguments to
51818         k_casinhf.c.
51819         * math/s_casinhl.c: Do not include <float.h>.
51820         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
51821         redefine.
51822         (__casinhl): Move code for finite nonzero arguments to
51823         k_casinhl.c.
51824         * math/libm-test.inc (cacos_test): Add more tests.
51825         * sysdeps/i386/fpu/libm-test-ulps: Update.
51826         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51828 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
51830         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
51831         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
51832         [!HAVE_MREMAP]: Remove [defined linux] case.
51833         * malloc/arena.c: Do not include <malloc-sysdep.h>.
51835 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
51837         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
51839 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
51841         * elf/elf.h (R_386_SIZE32): New relocation.
51842         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
51843         R_386_SIZE32.
51844         (elf_machine_rela): Likewise.
51845         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
51846         R_X86_64_SIZE64 and R_X86_64_SIZE32.
51848 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
51850         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
51851         (FP_FAST_FMA): Do not define.
51852         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
51853         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
51854         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
51855         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
51856         !_SOFT_FLOAT]: Likewise.
51857         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
51858         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
51859         value.
51860         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
51861         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
51862         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
51863         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
51864         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
51865         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
51866         file.
51868 2013-01-16  Andreas Schwab  <schwab@suse.de>
51870         [BZ #14327]
51871         * include/stdlib.h (__mktemp): Add declaration.
51872         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
51873         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
51875 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
51877         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
51878         definitions.
51879         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
51880         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
51881         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
51882         definitions here.
51883         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
51884         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
51885         definitions.
51886         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
51887         and ONE.
51888         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
51889         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
51890         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
51891         definitions.
51892         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
51893         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
51894         definitions.
51895         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
51897         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
51899 2013-01-15  David S. Miller  <davem@davemloft.net>
51901         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
51902         trunc{,f} to libm-sysdep_routes.
51903         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
51904         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
51905         file.
51906         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
51907         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
51908         file.
51909         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
51910         file.
51911         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
51912         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
51913         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
51914         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
51915         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
51916         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
51917         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
51918         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
51920         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
51921         nearbyint{,f} to libm-sysdep_routes.
51922         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
51923         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
51924         New file.
51925         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
51926         file.
51927         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
51928         New file.
51929         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
51930         file.
51931         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
51932         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
51933         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
51934         file.
51935         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
51936         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
51937         file.
51938         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
51939         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
51940         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
51942         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
51943         libc_feholdexcept and libc_fesetenv.
51945 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
51947         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
51949 2013-01-14  David S. Miller  <davem@davemloft.net>
51951         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
51952         (SPARC_ASM_VIS2_IFUNC): Likewise.
51953         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
51954         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
51955         use of 'siam' instruction.
51956         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
51957         Likewise.
51958         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
51959         Likewise.
51960         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
51961         Likewise.
51962         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
51963         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
51964         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
51965         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
51966         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
51967         file.
51968         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
51969         file.
51970         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
51971         file.
51972         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
51973         file.
51974         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
51975         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
51976         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
51977         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
51978         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
51979         new VIS2 routines.
51980         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
51981         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
51982         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
51983         Likewise.
51984         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
51985         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
51986         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
51987         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
51988         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
51989         routines to libm-sysdep_routines.
51990         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
51992         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
51993         fdim/fdimf to libm-sysdep_routines.
51994         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
51995         file.
51996         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
51997         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
51998         file.
51999         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
52000         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
52001         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
52002         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
52003         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
52004         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
52005         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
52007 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
52009         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
52010         to optimize copies.
52012         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
52013         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
52014         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
52016         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
52017         local variable MPTWO.
52018         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
52019         Likewise.
52021 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
52023         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
52024         GLOB_NOESCAPE.
52026 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
52028         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
52030 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
52032         * manual/pattern.texi (glob_t): Document gl_flags.
52033         (glob64_t): Likewise.
52035 2013-01-11  David S. Miller  <davem@davemloft.net>
52037         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
52038         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
52039         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
52040         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
52041         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
52042         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
52043         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
52044         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
52045         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
52046         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
52047         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
52048         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
52049         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
52051         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
52052         sparc V9 rather than using V8 code.
52053         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
52054         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
52056         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
52057         Move to...
52058         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
52059         Here.
52061 2013-01-11  Roland McGrath  <roland@hack.frob.com>
52063         [BZ #14941]
52064         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
52065         not in the main loop.
52066         * configure: Regenerated.
52068 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
52070         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
52071         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
52072         to just #else.
52073         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
52074         [!__GLIBC_HAVE_LONG_LONG] case.
52075         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
52076         condition to just #else.
52077         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
52078         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
52079         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
52080         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
52081         unconditional.
52082         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
52083         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
52084         #elif condition to just #else.
52085         * sysdeps/unix/sysv/linux/sys/sysmacros.h
52086         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
52087         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
52088         #elif condition to just #else.
52090 2013-01-11  Steve Ellcey  <sellcey@mips.com>
52092         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
52093         (EF_MIPS_ARCH_64): Fix value.
52094         (EF_MIPS_ARCH_32R2): New.
52095         (EF_MIPS_ARCH_64R2): New.
52097 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
52099         * Makeconfig (+link-pie-before-libc): New.
52100         (+link-pie-after-libc): Likewise.
52101         (+link-pie-tests): Likewise.
52102         (+link-pie): Rewritten.
52103         (link-before-libc): Remove $(config-LDFLAGS).
52104         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
52105         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
52106         (config-LDFLAGS): Renamed to ...
52107         (rtld-LDFLAGS): This.
52108         (rtld-tests-LDFLAGS): New macro.
52109         (link-libc-rpath-link): Likewise.
52110         (link-libc-tests-rpath-link): Likewise.
52111         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
52112         (link-libc): Prepand $(link-libc-rpath-link).
52113         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
52114         (test-program-prefix): New macro.
52115         (test-via-rtld-prefix): Likewise.
52116         (test-program-cmd): Likewise.
52117         (host-test-program-cmd): Likewise.
52118         * Makefile ($(common-objpfx)testrun.sh): Replace
52119         $(run-program-prefix) with $(test-program-prefix).
52120         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
52121         $(rtld-LDFLAGS).
52122         ($(common-objpfx)shlib.lds): Likewise.
52123         (build-module-helper): Likewise.
52124         ($(common-objpfx)format.lds): Likewise.
52125         * Rules (binaries-pie-tests): New.
52126         (binaries-pie-notests): Likewise.
52127         (binaries-pie): Rewritten.
52128         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
52129         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
52130         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
52131         (make-test-out): Replace $(host-built-program-cmd) with
52132         $(host-test-program-cmd).
52133         * config.make.in (build-hardcoded-path-in-tests): New variable.
52134         * configure.in (--enable-hardcoded-path-in-tests): New configure
52135         option.
52136         (hardcoded_path_in_tests): New AC_SUBST.
52137         * configure: Regenerated.
52138         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
52139         $(built-program-cmd) with $(test-program-cmd).
52140         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
52141         (test_program_cmd): This.
52142         * elf/Makefile ($(objpfx)order.out): Run test with
52143         $(test-program-prefix).
52144         ($(objpfx)order2.out): Likewise.
52145         ($(objpfx)tst-initorder.out): Likewise.
52146         ($(objpfx)tst-initorder2.out): Likewise.
52147         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
52148         $(test-program-cmd).
52149         ($(objpfx)tst-array1-static.out): Likewise.
52150         ($(objpfx)tst-array2.out): Likewise.
52151         ($(objpfx)tst-array3.out): Likewise.
52152         ($(objpfx)tst-array4.out): Likewise.
52153         ($(objpfx)tst-array5.out): Likewise.
52154         ($(objpfx)tst-array5-static.out): Likewise.
52155         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
52156         $(test-program-cmd).
52157         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
52158         $(run-program-prefix) with $(test-program-prefix).
52159         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
52160         (test_program_prefix): This.
52161         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
52162         $(run-program-prefix) with $(test-program-prefix).
52163         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
52164         (test_program_prefix): This.
52165         * iconvdata/tst-tables.sh: Likewise.
52166         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
52167         $(run-program-prefix) with $(test-program-prefix).
52168         ($(objpfx)tst-translit.out): Likewise.
52169         ($(objpfx)tst-gettext2.out): Likewise.
52170         ($(objpfx)tst-gettext4.out): Likewise.
52171         ($(objpfx)tst-gettext6.out): Likewise.
52172         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
52173         (test_program_prefix): This.
52174         * intl/tst-gettext2.sh: Likewise.
52175         * intl/tst-gettext4.sh  Likewise.
52176         * intl/tst-gettext6.sh: Likewise.
52177         * intl/tst-translit.sh: Likewise.
52178         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
52179         with $(test-program-cmd).
52180         * libio/Makefile ($(objpfx)test-freopen.out): Replace
52181         $(run-program-prefix) with $(test-program-prefix).
52182         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
52183         (test_program_prefix): This.
52184         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
52185         $(run-program-prefix) with $(test-program-prefix).
52186         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
52187         (test_program_prefix): This.
52188         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
52189         * posix/Makefile ($(objpfx)globtest.out): Replace
52190         $(run-via-rtld-prefix) and $(test-wrapper) with
52191         $(test-program-prefix) and $(test-via-rtld-prefix).
52192         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
52193         $(test-program-prefix).
52194         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
52195         $(host-test-program-cmd).
52196         (tst-spawn-ARGS): Likewise.
52197         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
52198         $(test-program-prefix).
52199         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
52200         (test_via_rtld_prefix): This.
52201         (test_wrapper): Renamed to ...
52202         (test_program_prefix): This.
52203         (run_program_prefix): Replaced by test_program_prefix.
52204         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
52205         (test_program_prefix): This.
52206         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
52207         with $(host-test-program-cmd).
52208         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
52209         $(run-program-prefix) with $(test-program-prefix).
52210         ($(objpfx)tst-printf.out): Likewise.
52211         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
52212         $(test-program-cmd).
52213         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
52214         (test_program_prefix): This.
52215         * stdio-common/tst-unbputc.sh: Likewise.
52216         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
52217         $(run-program-prefix) with $(test-program-prefix).
52218         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
52219         (test_program_prefix): This.
52220         * string/Makefile ($(objpfx)tst-svc.out):  Replace
52221         $(built-program-cmd) with $(test-program-cmd).
52223 2013-01-11  Andreas Jaeger  <aj@suse.de>
52225         [BZ #15003]
52226         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
52227         value. Sync with Linux 3.7.
52229 2013-01-10  David S. Miller  <davem@davemloft.net>
52231         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
52232         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
52233         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
52235 2013-01-10  Roland McGrath  <roland@hack.frob.com>
52237         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
52238         never set.
52239         * configure: Regenerated.
52241 2013-01-10  David S. Miller  <davem@davemloft.net>
52243         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
52244         sparc V9 rather than using V8 code.
52245         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
52246         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
52248 2013-01-10  Roland McGrath  <roland@hack.frob.com>
52250         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
52251         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
52252         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
52253         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
52254         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
52255         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
52256         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
52257         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
52258         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
52259         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
52260         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
52261         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
52262         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
52263         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
52264         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
52265         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
52266         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
52267         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
52268         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
52269         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
52270         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
52271         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
52272         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
52273         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
52274         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
52275         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
52276         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
52278 2013-01-10  David S. Miller  <davem@davemloft.net>
52280         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52282 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
52284         * posix/Makefile (tests-static): New variable.
52285         (tests): Add $(tests-static).
52286         (tst-exec-static-ARGS): New variable.
52287         (tst-spawn-static-ARGS): Likewise.
52288         * posix/tst-exec-static.c: New file.
52289         * posix/tst-spawn-static.c: Likewise.
52290         * posix/tst-exec.c: Support run directly.
52291         * posix/tst-spawn.c: Likewise.
52293 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
52295         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
52296         long.
52297         * math/bits/mathcalls.h (llrint): Likewise.
52298         (llround): Likewise.
52299         * stdlib/stdlib.h (struct drand48_data): Likewise.
52300         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
52301         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
52302         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
52303         Likewise.
52304         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
52305         Likewise.
52306         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
52307         (elf_greg_t): Likewise.
52308         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
52309         (__jmp_buf): Likewise.
52310         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
52311         definitions.
52312         (llrint): Likewise, for all definitions.
52313         (llrintl): Likewise.
52315         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
52316         Remove [__GNUC__] condition.
52317         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
52318         condition to just [__USE_ISOC99].
52319         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
52321 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
52323         [BZ #14200]
52324         * sysdeps/unix/sysv/linux/x86/bits/environments.h
52325         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
52326         defined.
52327         (_POSIX_V6_ILP32_OFF32): Likewise.
52328         (_XBS5_ILP32_OFF32): Likewise.
52329         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
52330         (__ILP32_OFFBIG_LDFLAGS): Likewise.
52332 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
52334         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
52336         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
52337         doubles __mpexp_twomm1.  Adjust usage.
52338         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
52339         Remove.
52341 2013-01-10  Andreas Schwab  <schwab@suse.de>
52343         [BZ #14964]
52344         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
52345         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
52347 2013-01-09  David S. Miller  <davem@davemloft.net>
52349         [BZ #15003]
52350         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
52351         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
52352         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
52353         (TCP_FASTOPEN): Define.
52354         (tcp_repair_opt): New structure.
52355         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
52356         enum values.
52357         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
52358         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
52359         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
52360         (tcp_cookie_transactions): New structure.
52362 2013-01-09  Anton Blanchard  <anton@samba.org>
52364         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
52365         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
52366         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
52367         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
52369 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
52371         * include/features.h (__USE_ANSI): Remove.
52373 2013-01-09  Roland McGrath  <roland@hack.frob.com>
52375         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
52377         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
52379 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
52381         * sysdeps/s390/fpu/libm-test-ulps: Update.
52383         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52385         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
52386         (__acr): Likewise.
52387         (__cpy): Likewise.
52388         (norm): Likewise.
52389         (denorm): Likewise.
52390         (__mp_dbl): Likewise.
52391         (__dbl_mp): Likewise.
52392         (add_magnitudes): Likewise.
52393         (sub_magnitudes): Likewise.
52394         (__add): Likewise.
52395         (__sub): Likewise.
52396         (__mul): Likewise.
52397         (__inv): Likewise.
52398         (__dvd): Likewise.
52399         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
52400         (__acr): Likewise.
52401         (__cpy): Likewise.
52402         (norm): Likewise.
52403         (denorm): Likewise.
52404         (__mp_dbl): Likewise.
52405         (__dbl_mp): Likewise.
52406         (add_magnitudes): Likewise.
52407         (sub_magnitudes): Likewise.
52408         (__add): Likewise.
52409         (__sub): Likewise.
52410         (__mul): Likewise.
52411         (__inv): Likewise.
52412         (__dvd): Likewise.
52413         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
52414         (__acr): Likewise.
52415         (__cpy): Likewise.
52416         (norm): Likewise.
52417         (denorm): Likewise.
52418         (__mp_dbl): Likewise.
52419         (__dbl_mp): Likewise.
52420         (add_magnitudes): Likewise.
52421         (sub_magnitudes): Likewise.
52422         (__add): Likewise.
52423         (__sub): Likewise.
52424         (__mul): Likewise.
52425         (__inv): Likewise.
52426         (__dvd): Likewise.
52428 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
52430         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
52431         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
52432         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
52433         2 && __USE_EXTERN_INLINES]: Likewise.
52435 2013-01-08  Andreas Jaeger  <aj@suse.de>
52437         [BZ# 14985]
52438         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
52439         Remove.
52440         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
52441         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
52443 2013-01-07  Anton Blanchard  <anton@samba.org>
52445         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
52446         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
52447         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
52448         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
52449         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
52450         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
52451         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
52452         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
52453         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
52454         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
52455         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
52456         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
52457         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
52458         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
52459         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
52460         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
52461         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
52462         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
52463         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
52464         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
52465         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
52466         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
52467         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
52468         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
52469         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
52470         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
52471         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
52472         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
52473         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
52474         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
52475         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
52476         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
52477         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
52478         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
52479         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
52480         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
52481         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
52482         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
52483         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
52484         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
52485         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
52486         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
52487         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
52489 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
52491         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
52492         (__MALLOC_PMT): Likewise.
52493         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
52494         [__GNUC__], only on [_LIBC].
52495         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
52496         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
52497         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
52498         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
52499         forward declaration.
52500         (realloc_hook_ini): Likewise.
52501         (memalign_hook_ini): Likewise.
52502         (__libc_memalign): Do not use __MALLOC_PMT in variable
52503         declaration.
52504         (__libc_valloc): Likewise.
52505         (__libc_pvalloc): Likewise.
52506         (__libc_calloc): Likewise.
52507         (__posix_memalign): Likewise.
52509         [BZ #14996]
52510         * math/s_casinh.c: Include <float.h>.
52511         (__casinh): Do not do computation with squaring and square root
52512         for large arguments.
52513         * math/s_casinhf.c: Include <float.h>.
52514         (__casinhf): Do not do computation with squaring and square root
52515         for large arguments.
52516         * math/s_casinhl.c: Include <float.h>.
52517         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
52518         (__casinhl): Do not do computation with squaring and square root
52519         for large arguments.
52520         * math/libm-test.inc (casin_test): Add more tests.
52521         (casinh_test): Likewise.
52522         * sysdeps/i386/fpu/libm-test-ulps: Update.
52523         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52525 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
52527         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
52528         (__x86_64_raw_data_cache_size): Likewise.
52529         (__x86_64_data_cache_size_half): Likewise.
52530         (__x86_64_raw_data_cache_size_half): Likewise.
52531         (__x86_64_shared_cache_size): Likewise.
52532         (__x86_64_raw_shared_cache_size): Likewise.
52533         (__x86_64_shared_cache_size_half): Likewise.
52534         (__x86_64_raw_shared_cache_size_half): Likewise.
52535         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
52536         to ...
52537         (__x86_data_cache_size): This.
52538         (__x86_64_raw_data_cache_size): Renamed to ...
52539         (__x86_raw_data_cache_size): This.
52540         (__x86_64_data_cache_size_half): Renamed to ...
52541         (__x86_data_cache_size_half): This.
52542         (__x86_64_raw_data_cache_size_half): Renamed to ...
52543         (__x86_raw_data_cache_size_half): This.
52544         (__x86_64_shared_cache_size): Renamed to ...
52545         (__x86_shared_cache_size): This.
52546         (__x86_64_raw_shared_cache_size): Renamed to ...
52547         (__x86_raw_shared_cache_size): This.
52548         (__x86_64_shared_cache_size_half): Renamed to ...
52549         (__x86_shared_cache_size_half): This.
52550         (__x86_64_raw_shared_cache_size_half): Renamed to ...
52551         (__x86_raw_shared_cache_size_half): This.
52552         * sysdeps/x86_64/memcpy.S: Updated.
52553         * sysdeps/x86_64/memset.S: Likewise.
52554         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
52555         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
52556         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
52558 2013-01-04  David S. Miller  <davem@davemloft.net>
52560         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52562 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
52564         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
52565         1 to avoid redefinition warning.
52566         (__USE_GNU): Don't define.
52567         (init_signaling_nan): Protoize.
52569         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52571 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
52573         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
52574         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
52575         (__cpymn): Likewise.
52576         (norm): Remove commented code.
52577         (denorm): Likewise.
52578         (__mp_dbl): Likewise.
52579         (__inv): Likewise.
52580         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
52581         (__cpymn): Likewise.
52582         (norm): Remove commented code.
52583         (denorm): Likewise.
52584         (__mp_dbl): Likewise.
52585         (__inv): Likewise.
52587         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
52588         mp_no value for 1.0 and 2.0.
52589         (norm): Use RADIXI instead of radixi.d.
52590         (denorm): Likewise.
52591         (__mul): Use 0.0 instead of zero.d.
52592         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
52593         mp_no value for 1.0 and 2.0.
52594         (norm): Use RADIXI instead of radixi.d.
52595         (denorm): Likewise.
52596         (__mul): Use 0.0 instead of zero.d.
52598 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
52600         [BZ #14994]
52601         * math/s_casinh.c (__casinh): Reduce finite argument to first
52602         quadrant then set signs of results at the end.
52603         * math/s_casinhf.c (__casinhf): Likewise.
52604         * math/s_casinhl.c (__casinhl): Likewise.
52605         * math/libm-test.inc (casin_test): Add more tests.
52606         (casinh_test): Likewise.
52607         * sysdeps/i386/fpu/libm-test-ulps: Update.
52608         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52610 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
52612         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
52614         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
52616         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
52617         declarations.
52618         (denorm): Likewise.
52619         (__mp_dbl): Likewise.
52620         (__inv): Likewise.
52622         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
52623         and adjust the header comment.
52625         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
52626         variable name from declaration.
52628 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
52630         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52631         Initialize COMMON_CPUID_INDEX_7 element.
52632         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
52633         (CPUID_RTM): Likewise.
52634         (HAS_RTM): Likewise.
52635         (COMMON_CPUID_INDEX_7): New enum.
52637 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
52639         [BZ #14981]
52640         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
52641         size is zero, record memory as freed.
52643 2013-01-03  Andreas Jaeger  <aj@suse.de>
52645         * po/ia.po: Add new Interlingua translation.
52647 2012-01-03  Allan McRae  <allan@archlinux.org>
52649         * locale/programs/localedef.c: Fix description of '--posix' flag.
52651 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
52653         * NEWS: Update dates in second copyright notice.
52654         * README: Update copyright dates in example.
52655         * manual/libc.texinfo: Update copyright dates.
52656         * scripts/test-installation.pl: Update copyright date in --version
52657         output.
52659         * hurd/ctty-input.c: Fix copyright notice formatting.
52660         * hurd/ctty-output.c: Likewise.
52661         * hurd/dtable.c: Likewise.
52662         * hurd/hurd-raise.c: Likewise.
52663         * hurd/hurdprio.c: Likewise.
52664         * hurd/msgportdemux.c: Likewise.
52665         * misc/sys/file.h: Likewise.
52666         * misc/sys/ioctl.h: Likewise.
52667         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
52668         * sysdeps/mach/hurd/chdir.c: Likewise.
52669         * sysdeps/mach/hurd/fchdir.c: Likewise.
52670         * sysdeps/mach/hurd/rename.c: Likewise.
52671         * sysdeps/mach/hurd/rmdir.c: Likewise.
52672         * sysdeps/mach/hurd/seekdir.c: Likewise.
52673         * sysdeps/mach/hurd/setsid.c: Likewise.
52674         * sysdeps/posix/wait3.c: Likewise.
52676         * All files with FSF copyright notices: Update copyright dates
52677         using scripts/update-copyrights.
52678         * intl/plural.c: Regenerated.
52679         * locale/programs/charmap-kw.h: Likewise.
52680         * locale/programs/locfile-kw.h: Likewise.
52682 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
52684         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
52685         four values.
52687         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
52688         calculation loop and add branch prediction.
52690         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
52691         check access beyond bounds of m1np.
52693         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
52694         MPTWO.
52695         (__inv): Remove local variable MPTWO to use the global
52696         constant.
52697         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
52698         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
52699         variable MPTWO.
52700         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
52701         MP3HALFS static const.
52703 2013-01-01  David S. Miller  <davem@davemloft.net>
52705         * po/ca.po: Update from translation team.
52707 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
52709         * scripts/update-copyrights: New file.
52710         * Makeconfig: Reformat copyright notice.
52711         * ctype/ctype.h: Likewise.
52712         * debug/swprintf_chk.c: Likewise.
52713         * elf/dl-cache.c: Likewise.
52714         * elf/dl-debug.c: Likewise.
52715         * elf/dl-object.c: Likewise.
52716         * grp/initgroups.c: Likewise.
52717         * hurd/Makefile: Likewise.
52718         * hurd/hurd/signal.h: Likewise.
52719         * hurd/hurdfault.c: Likewise.
52720         * hurd/hurdioctl.c: Likewise.
52721         * hurd/hurdlookup.c: Likewise.
52722         * hurd/intr-msg.c: Likewise.
52723         * iconv/gconv_open.c: Likewise.
52724         * libio/swprintf.c: Likewise.
52725         * locale/lc-ctype.c: Likewise.
52726         * locale/nl_langinfo.c: Likewise.
52727         * mach/Machrules: Likewise.
52728         * mach/Makefile: Likewise.
52729         * malloc/obstack.h: Likewise.
52730         * manual/Makefile: Likewise.
52731         * manual/tsort.awk: Likewise.
52732         * misc/bits/stab.def: Likewise.
52733         * nis/nis_print_group_entry.c: Likewise.
52734         * nis/nis_table.c: Likewise.
52735         * nis/nss_compat/compat-pwd.c: Likewise.
52736         * nis/nss_compat/compat-spwd.c: Likewise.
52737         * po/Makefile: Likewise.
52738         * posix/fnmatch.c: Likewise.
52739         * posix/regex.h: Likewise.
52740         * resolv/Makefile: Likewise.
52741         * resolv/nss_dns/dns-network.c: Likewise.
52742         * resolv/res_hconf.c: Likewise.
52743         * scripts/gen-sorted.awk: Likewise.
52744         * soft-fp/soft-fp.h: Likewise.
52745         * stdio-common/printf.h: Likewise.
52746         * stdlib/monetary.h: Likewise.
52747         * stdlib/random.c: Likewise.
52748         * stdlib/random_r.c: Likewise.
52749         * sysdeps/generic/Makefile: Likewise.
52750         * sysdeps/gnu/Makefile: Likewise.
52751         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
52752         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52753         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52754         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52755         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52756         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52757         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52758         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
52759         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52760         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52761         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
52762         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
52763         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
52764         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
52765         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
52766         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
52767         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
52768         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52769         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
52770         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52771         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
52772         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
52773         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
52774         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
52775         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
52776         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
52777         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
52778         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
52779         * sysdeps/mach/hurd/errnos.awk: Likewise.
52780         * sysdeps/mach/hurd/fork.c: Likewise.
52781         * sysdeps/mach/hurd/getcwd.c: Likewise.
52782         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
52783         * sysdeps/mach/hurd/mmap.c: Likewise.
52784         * sysdeps/mach/hurd/utimes.c: Likewise.
52785         * sysdeps/mach/hurd/xmknod.c: Likewise.
52786         * sysdeps/posix/profil.c: Likewise.
52787         * sysdeps/posix/readdir_r.c: Likewise.
52788         * sysdeps/powerpc/bits/mathdef.h: Likewise.
52789         * sysdeps/powerpc/bits/setjmp.h: Likewise.
52790         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
52791         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
52792         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
52793         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
52794         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
52795         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
52796         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
52797         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
52798         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
52799         * sysdeps/pthread/lio_listio.c: Likewise.
52800         * sysdeps/sparc/dl-procinfo.h: Likewise.
52801         * sysdeps/unix/i386/sysdep.S: Likewise.
52802         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
52803         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
52804         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
52805         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
52806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
52807         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
52808         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
52809         * sysdeps/unix/sysv/linux/speed.c: Likewise.
52810         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
52811         * sysdeps/wordsize-32/divdi3.c: Likewise.
52812         * time/sys/time.h: Likewise.
52813         * wcsmbs/Makefile: Likewise.
52815 2013-01-01  David S. Miller  <davem@davemloft.net>
52817         * po/fr.po: Update from translation team.
52819         * catgets/gencat.c: Update copyright year.
52820         * csu/version.c: Likewise.
52821         * debug/catchsegv.sh: Likewise.
52822         * debug/pcprofiledump.c: Likewise.
52823         * debug/xtrace.sh: Likewise.
52824         * elf/ldconfig.c: Likewise.
52825         * elf/ldd.bash.in: Likewise.
52826         * elf/pldd.c: Likewise.
52827         * elf/sotruss.ksh: Likewise.
52828         * elf/sprof.c: Likewise.
52829         * iconv/iconv_prog.c: Likewise.
52830         * iconv/iconvconfig.c: Likewise.
52831         * locale/programs/locale.c: Likewise.
52832         * locale/programs/localedef.c: Likewise.
52833         * login/programs/pt_chown.c: Likewise.
52834         * malloc/memusage.sh: Likewise.
52835         * malloc/memusagestat.c: Likewise.
52836         * malloc/mtrace.pl: Likewise.
52837         * nscd/nscd.c: Likewise.
52838         * nss/getent.c: Likewise.
52839         * nss/makedb.c: Likewise.
52840         * posix/getconf.c: Likewise.
52842 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
52844         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
52845         numbers.
52847 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
52849         * math/bits/mathcalls.h (modf): Use __nonnull.
52851 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
52853         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
52854         (split): Use macro CN instead of the bare value.
52855         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
52856         could be used.
52857         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
52858         instead of the bare value.
52859         (power1): Likewise.
52861 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52863         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
52864         __ATAN_TWOM.
52865         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
52867         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
52868         their values.
52869         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
52870         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
52871         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
52872         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
52874 2012-12-28  Andreas Jaeger  <aj@suse.de>
52876         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
52877         values are from Linux 3.7.
52879         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
52880         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
52882 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52884         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
52885         TRUE case.
52887         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
52888         (norm): Likewise.
52889         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
52890         variables with preprocessor constants.
52891         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
52892         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
52893         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
52895 2012-12-27  Bruno Haible  <bruno@clisp.org>
52897         [BZ #14317]
52898         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
52899         only if needed.
52901 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
52903         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
52904         and use variable directly.
52905         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
52907         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
52908         MPONE.
52909         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
52910         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
52911         variable MPONE.
52912         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
52913         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
52914         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
52915         include directive.  Remove local variable MPONE.
52916         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
52917         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
52918         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
52920 2012-12-25  David S. Miller  <davem@davemloft.net>
52922         * version.h (RELEASE): Set to "development".
52923         (VERSION): Set to "2.17.90".
52924         * NEWS: Add 2.18 section.
52926 2012-12-21  David S. Miller  <davem@davemloft.net>
52928         * po/hr.po: Update from translation team.
52930 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52932         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
52934 2012-12-19  Steve Ellcey  <sellcey@mips.com>
52936         * NEWS:  Mention new memcpy for MIPS.
52938 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52940         * manual/contrib.texi (Contributors): Spelling correction.
52942 2012-12-15  David S. Miller  <davem@davemloft.net>
52944         * po/ru.po: Update from translation team.
52946 2012-12-13  David S. Miller  <davem@davemloft.net>
52948         * NEWS: Mention IFUNC testsuite enhancements.
52950         * po/pl.po: Update from translation team.
52951         * po/bg.po: Likewise.
52953         * manual/contrib.texi (Contributors): Update entries for Hongjiu
52954         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
52956 2012-12-11  David S. Miller  <davem@davemloft.net>
52958         * po/sv.po: Update from translation team.
52960         * po/vi.po: Update from translation team.
52962         * po/cs.po: Update from translation team.
52964         * po/de.po: Update from translation team.
52965         * po/eo.po: Likewise.
52966         * po/nl.po: Likewise.
52968 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
52970         [BZ #14246]
52971         * manual/argp.texi (Argp Helper Functions): Move node to follow
52972         Argp Parsing State.
52974         [BZ #14872]
52975         * manual/conf.texi (Limits on File System Capacity): Mention if
52976         terminating null is included in the max size.
52978 2012-12-10  Andreas Jaeger  <aj@suse.de>
52980         * po/cs.po: Update from translation team.
52982 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
52984         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
52985         void pointer and cast to uintptr_t.
52986         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
52987         path.
52988         * sysdeps/s390/s390-64/memcpy.S: Likewise.
52989         * sysdeps/s390/s390-64/memset.S: Likewise.
52991 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
52993         [BZ #14833]
52994         * menual/message.texi (Message Translation): Fix typos.
52995         (Helper programs for gettext): Likewise.
52997 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
52999         [BZ #14898]
53000         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
53001         Change to -1.
53003 2012-12-07  David S. Miller  <davem@davemloft.net>
53005         * po/libc.pot: Update.
53007 2012-12-07  Richard Henderson  <rth@redhat.com>
53009         [BZ #10114]
53010         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
53011         normal/normal case to before the switch.
53012         (_FP_DIV): Likewise.
53014 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
53015             Mike Frysinger  <vapier@gentoo.org>
53017         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
53018         check for __NR_fadvise64_64.
53020 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
53022         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
53023         0, not just to plain "0" as a statement.
53024         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
53025         with cw.
53027 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
53029         * NEWS: Use sourceware.org in Bugzilla URL.
53031 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
53033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
53034         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
53036         * stdio-common/tst-put-error.c (do_test): Add newline to the
53037         padded test to ensure flush.
53039 2012-12-05  Jeff Law  <law@redhat.com>
53041         * sunrpc/etc.rpc (fedfs_admin): Add entry.
53043 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
53045         * README: Don't refer to ports add-on as distributed separately.
53046         Mention AArch64 in list of systems supported in the ports add-on.
53048         * LICENSES: Add more non-FSF copyright and license notices.
53050         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
53051         ((unused)).
53053         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
53055         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
53056         10000 as width of padded output.
53058 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
53060         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
53062         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
53063         variable LX with __attribute__ ((unused)).
53064         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
53065         Likewise.
53066         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
53067         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
53068         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
53069         with __attribute__ ((unused)).
53071 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
53073         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
53075 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
53077         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
53078         (CFLAGS-nldbl-acos.c): New variable.
53079         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
53080         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
53081         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
53082         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
53083         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
53084         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
53085         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
53086         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
53087         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
53088         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
53089         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
53090         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
53091         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
53092         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
53093         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
53094         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
53095         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
53096         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
53097         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
53098         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
53099         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
53100         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
53101         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
53102         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
53103         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
53104         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
53105         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
53106         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
53107         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
53108         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
53109         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
53110         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
53111         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
53112         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
53113         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
53114         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
53115         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
53116         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
53117         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
53118         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
53119         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
53120         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
53121         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
53122         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
53123         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
53124         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
53125         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
53126         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
53127         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
53128         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
53129         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
53130         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
53131         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
53132         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
53133         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
53134         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
53135         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
53136         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
53137         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
53138         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
53139         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
53140         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
53141         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
53142         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
53143         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
53144         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
53145         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
53146         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
53147         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
53148         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
53149         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
53150         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
53151         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
53152         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
53153         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
53154         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
53155         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
53156         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
53157         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
53158         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
53159         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
53160         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
53161         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
53162         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
53163         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
53164         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
53165         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
53166         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
53167         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
53168         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
53169         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
53170         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
53171         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
53172         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
53173         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
53174         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
53175         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
53177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
53178         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
53180         [BZ #14914]
53181         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
53182         whole low double instead of just low 47 bits when splitting values
53183         into two parts.
53185 2012-12-03  Allan McRae  <allan@archlinux.org>
53187         * manual/stdio.texi (Predefined Printf Handlers): Remove
53188         @hsep and @vsep usage.
53190 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
53192         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
53193         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
53195 2012-12-03  Jeff Law  <law@redhat.com>
53197         * time/sys/time.h (settimeofday): Do not mark TV argument
53198         as __nonnull.
53200 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
53202         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
53203         when currently writing and seek to current position when not.
53204         * libio/Makefile (tests): Remove bug-fclose1.
53205         * libio/bug-fclose1.c: Delete.
53207 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
53209         * manual/arith.texi (feenableexcept): Fix typo.
53210         (fedisableexcept): Likewise.
53212 2012-11-30  Roland McGrath  <roland@hack.frob.com>
53214         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
53215         second, differently-typed declaration, rather than a cast.
53217 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
53219         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
53220         * include/rpc/svc.h: ... here.
53222 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
53224         [BZ #13013]
53225         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
53226         depending n and resplen2 to catch cases where answer
53227         equals answerp2.
53229 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
53231         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
53232         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
53234 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
53236         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
53238 2012-11-29  Roland McGrath  <roland@hack.frob.com>
53240         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
53242 2012-11-28  Jeff Law  <law@redhat.com>
53244         [BZ #13761]
53245         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
53246         dataset_temporary.  Track alloca usage into alloca_used.
53247         If dataset is large allocate and release it via malloc/free.
53249 2012-06-04  Florian Weimer  <fweimer@redhat.com>
53251         [BZ #14197]
53252         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
53254 2012-11-28  David S. Miller  <davem@davemloft.net>
53256         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53258 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
53260         [BZ #14803]
53261         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
53262         of pi/2 rounded to nearest to 64 bits.
53263         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
53264         nearest to 64 bits.
53265         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
53266         bits.
53268 2012-11-28  Jeff Law <law@redhat.com>
53269             Martin Osvald <mosvald@redhat.com>
53271         [BZ #14889]
53272         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
53273         * sunrpc/svc.c: Include time.h.
53274         (__svc_accept_failed): New function.
53275         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
53276         any reason other than EINTR, call __svc_accept_failed.
53277         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
53278         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
53280 2012-11-28  Andreas Schwab  <schwab@suse.de>
53282         * scripts/abilist.awk: Also handle indirect functions in .opd
53283         section.
53285 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
53287         [BZ #13881]
53288         * sysdeps/x86/fpu/powl_helper.c: New file.
53289         * sysdeps/x86/fpu/Makefile: Likewise.
53290         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
53291         (p3): New object.
53292         (__ieee754_powl): Use __powl_helper for finite arguments except
53293         integer exponents below 8.
53294         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
53295         (p3): New object.
53296         (__ieee754_powl): Use __powl_helper for finite arguments except
53297         integer exponents below 8.
53298         * math/libm-test.inc (pow_test): Add more tests and enable some
53299         previously disabled tests.
53300         * sysdeps/i386/fpu/libm-test-ulps: Update.
53301         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53303 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53304             Carlos O'Donell  <carlos_odonell@mentor.com>
53306         * nss/makedb.c (is_prime): Assert that input is odd and greater
53307         than 4.  Note that fact in a comment too.
53308         (next_prime): Add 4 to input.
53310 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
53312         [BZ #11741]
53313         * libio/Makefile (tests): Add test case tst-fwrite-error.
53314         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
53315         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
53316         * libio/tst-fwrite-error.c: New test case.
53318 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
53320         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
53321         before casting to void *.
53322         * include/libc-internal.h (__pointer_type): New macro.
53323         (__integer_if_pointer_type_sub): Likewise.
53324         (__integer_if_pointer_type): Likewise.
53325         (cast_to_integer): Likewise.
53326         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
53327         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
53328         before casting to atomic64_t.
53329         (atomic_exchange_acq): Likewise.
53330         (__arch_exchange_and_add_body): Likewise.
53331         (__arch_add_body): Likewise.
53332         (atomic_add_negative): Likewise.
53333         (atomic_add_zero): Likewise.
53335 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
53337         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
53338         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
53339         (add_fdes): Likewise.
53340         (linear_search_fdes): Likewise.
53341         (binary_search_unencoded_fdes): Likewise.
53343 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
53345         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
53347 2012-11-24  Adam Conrad  <adconrad@0c3.net>
53349         * configure.in: Autodetect C++ header directories.
53350         * configure: Regenerated.
53352 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
53354         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
53356 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
53358         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53360 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
53362         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
53363         LDBL_MANT_DIG == 106]: Disable some tests.
53364         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
53365         Likewise.
53366         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
53367         Likewise.
53369         [BZ #14871]
53370         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
53371         input for small inputs.  Return +/- pi/2 for large inputs.
53372         * math/libm-test.inc (atan_test): Add more tests.
53374         * sysdeps/generic/unwind-dw2-fde-glibc.c
53375         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
53376         __attribute__ ((unused)).
53378         [BZ #14645]
53379         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
53380         x * y if x and y are nonzero and z is zero.
53382         [BZ #14811]
53383         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
53384         nonzero exponents with absolute value below 0x1p-117 to +/-
53385         0x1p-117.
53387         [BZ #14869]
53388         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
53389         up arguments below 2**-450, not just those below 2**-500.
53390         * math/libm-test.inc (hypot_test): Add another test.
53392         [BZ #14868]
53393         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
53394         Return a+b for ratio over 2**120, not 2**60.
53395         * math/libm-test.inc (hypot_test): Add another test.
53397         * math/libm-test.inc (clog_test): Use
53398         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
53399         (clog10_test): Likewise.
53401         [BZ #6778]
53402         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
53404 2012-11-22  Andreas Schwab  <schwab@suse.de>
53406         * sysdeps/i386/fpu/libm-test-ulps: Update.
53408 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
53410         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
53411         printf output with newline.
53413 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
53415         [BZ #14865]
53416         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
53417         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
53418         -z nodlopen, -z initfirst and -z execstack support.
53419         * configure: Regenerated.
53421         * elf/elf.h (DF_1_NODIRECT): New macro.
53422         (DF_1_IGNMULDEF): Likewise.
53423         (DF_1_NOKSYMS): Likewise.
53424         (DF_1_NOHDR): Likewise.
53425         (DF_1_EDITED): Likewise.
53426         (DF_1_NORELOC): Likewise.
53427         (DF_1_SYMINTPOSE): Likewise.
53428         (DF_1_GLOBAUDIT): Likewise.
53429         (DF_1_SINGLETON): Likewise.
53430         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
53431         DT_1_SUPPORTED_MASK bits.
53432         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
53434 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
53436         * sysdeps/unix/make-syscalls.sh: Document prefixes.
53438 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
53440         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
53441         macro.
53443         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
53444         (sendmmsg): Move declarations...
53445         * socket/sys/socket.h: ... here.
53446         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
53447         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
53448         include it from...
53449         * socket/recvmmsg.c: ... this new file.
53450         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
53451         (sendmmsg): Rename to __sendmmsg, create weak alias and make
53452         definition of __sendmmsg hidden.
53453         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
53454         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
53455         Move ENOSYS stub into and include it from...
53456         * socket/sendmmsg.c: ... this new file.
53457         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
53458         (sysdep_routines): Move recvmmsg and sendmmsg...
53459         * socket/Makefile (routines): ... here.
53460         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
53461         (GLIBC_PRIVATE): Add __sendmmsg.
53462         * include/sys/socket.h (__sendmmsg): Add declarations.
53463         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
53464         sendmmsg.
53466 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
53468         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
53469         variable I1 with __attribute__ ((unused)).
53470         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
53472 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
53474         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
53475         DUMMY variables with __attribute__ ((unused)).
53477         * bits/byteswap.h: Include <bits/types.h>.
53478         (__bswap_64): Use __uint64_t instead of unsigned long long int.
53480 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
53482         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
53483         string_t.  Do not manually set errno.
53484         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
53485         length with __strnlen.  Make sure to both set errno and return it on
53486         failure.
53488 2012-11-19  David S. Miller  <davem@davemloft.net>
53490         With help from Joseph Myers.
53491         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
53492         very large arguments properly.
53493         * math/libm-test.inc (atan_test): New tests.
53494         (atan2_test): New tests.
53495         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53496         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53498 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
53500         [BZ #14856]
53501         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
53502         Define to 3.
53504         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
53505         [POSIX] (EADDRNOTAVAIL): Likewise.
53506         [POSIX] (EAFNOSUPPORT): Likewise.
53507         [POSIX] (EALREADY): Likewise.
53508         [POSIX] (ECONNABORTED): Likewise.
53509         [POSIX] (ECONNREFUSED): Likewise.
53510         [POSIX] (ECONNRESET): Likewise.
53511         [POSIX] (EDESTADDRREQ): Likewise.
53512         [POSIX] (EDQUOT): Likewise.
53513         [POSIX] (EHOSTUNREACH): Likewise.
53514         [POSIX] (EIDRM): Likewise.
53515         [POSIX] (EISCONN): Likewise.
53516         [POSIX] (ELOOP): Likewise.
53517         [POSIX] (EMULTIHOP): Likewise.
53518         [POSIX] (ENETDOWN): Likewise.
53519         [POSIX] (ENETUNREACH): Likewise.
53520         [POSIX] (ENOBUFS): Likewise.
53521         [POSIX] (ENODATA): Likewise.
53522         [POSIX] (ENOLINK): Likewise.
53523         [POSIX] (ENOMSG): Likewise.
53524         [POSIX] (ENOPROTOOPT): Likewise.
53525         [POSIX] (ENOSR): Likewise.
53526         [POSIX] (ENOSTR): Likewise.
53527         [POSIX] (ENOTCONN): Likewise.
53528         [POSIX] (ENOTSOCK): Likewise.
53529         [POSIX] (EOPNOTSUPP): Likewise.
53530         [POSIX] (EOVERFLOW): Likewise.
53531         [POSIX] (EPROTO): Likewise.
53532         [POSIX] (EPROTONOSUPPORT): Likewise.
53533         [POSIX] (EPROTOTYPE): Likewise.
53534         [POSIX] (ESTALE): Likewise.
53535         [POSIX] (ETIME): Likewise.
53536         [POSIX] (ETXTBSY): Likewise.
53537         [POSIX] (EWOULDBLOCK): Likewise.
53538         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
53539         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
53540         [POSIX] (SEEK_CUR): Likewise.
53541         [POSIX] (SEEK_END): Likewise.
53542         [POSIX || UNIX98] (mode_t): Do not require.
53543         [POSIX] (off_t): Likewise.
53544         [POSIX] (pid_t): Likewise.
53545         [POSIX] (sys/stat.h): Do not allow header.
53546         [POSIX] (unistd.h): Likewise.
53547         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
53548         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
53549         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
53550         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
53551         require.
53552         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
53553         sigevent): Specify elements.
53554         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
53555         entry.
53556         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
53557         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
53559         * conform/data/cpio.h-data [POSIX]: Disable whole file.
53560         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
53561         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
53562         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
53563         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
53564         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
53565         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
53566         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
53567         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
53568         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
53569         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
53570         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
53571         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
53572         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
53573         Likewise.
53574         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
53575         Likewise.
53576         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
53577         Likewise.
53578         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
53579         Likewise.
53580         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
53581         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
53582         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
53583         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
53584         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
53585         Specify lower bound on value.
53586         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
53587         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
53588         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
53589         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
53590         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
53591         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
53592         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
53593         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
53594         value.
53595         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
53596         as optional.
53597         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
53598         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
53599         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
53600         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
53601         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
53602         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
53603         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
53604         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
53605         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
53606         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
53607         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
53608         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
53609         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
53610         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
53611         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
53612         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
53613         entry.
53614         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
53615         optional.
53616         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
53617         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
53618         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
53619         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
53620         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
53621         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
53622         Likewise.
53623         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
53624         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
53625         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
53626         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
53627         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
53628         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
53629         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
53630         as optional.
53631         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
53632         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
53633         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
53634         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
53635         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
53636         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
53637         specify as optional.
53638         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
53639         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
53640         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
53641         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
53642         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
53643         [XPG3] (NL_LANGMAX): Likewise.
53644         [POSIX || XPG3] (NL_MSGMAX): Likewise.
53645         [POSIX || XPG3] (NL_NMAX): Likewise.
53646         [POSIX || XPG3] (NL_SETMAX): Likewise.
53647         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
53648         [XPG3] (NZERO): Likewise.
53649         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
53650         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
53651         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
53652         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
53653         (REG_ERANGE): Expect.
53654         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
53655         optional-constant.
53656         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
53657         Use (void) in prototype.
53658         [POSIX] (*_t): Allow.
53659         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
53660         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
53661         (WRDE_BADVAL): Expect.
53663         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
53664         expect.
53665         [XPG3 || XPG4] (O_RSYNC): Likewise.
53666         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
53667         Likewise.
53668         [XPG3 || XPG4] (pthread_sigmask): Likewise.
53669         [XPG3 || XPG4] (sigqueue): Likewise.
53670         [XPG3 || XPG4] (sigtimedwait): Likewise.
53671         [XPG3 || XPG4] (sigwaitinfo): Likewise.
53672         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
53673         [XPG3 || XPG4] (vsnprintf): Likewise.
53674         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
53675         Likewise.
53676         [XPG3 || XPG4] (blksize_t): Likewise.
53677         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
53678         Likewise.
53679         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
53680         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
53681         [XPG3 || XPG4] (struct itimerspec): Likewise.
53682         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
53683         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
53684         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
53685         [XPG3 || XPG4] (clockid_t): Likewise.
53686         [XPG3 || XPG4] (timer_t): Likewise.
53687         [XPG3 || XPG4] (clock_getres): Likewise.
53688         [XPG3 || XPG4] (clock_gettime): Likewise.
53689         [XPG3 || XPG4] (clock_settime): Likewise.
53690         [XPG3 || XPG4] (nanosleep): Likewise.
53691         [XPG3 || XPG4] (timer_create): Likewise.
53692         [XPG3 || XPG4] (timer_delete): Likewise.
53693         [XPG3 || XPG4] (timer_gettime): Likewise.
53694         [XPG3 || XPG4] (timer_getoverrun): Likewise.
53695         [XPG3 || XPG4] (timer_settime): Likewise.
53696         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
53697         [XPG3 || XPG4] (getlogin_r): Likewise.
53698         [XPG3 || XPG4] (pread): Likewise.
53699         [XPG3 || XPG4] (pthread_atfork): Likewise.
53700         [XPG3 || XPG4] (pwrite): Likewise.
53702         [BZ #14835]
53703         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
53704         <bits/siginfo.h>.
53706 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
53708         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
53709         finalizing MALLSTREAM.
53711         * sysdeps/mach/hurd/syncfs.c: New file.
53713 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
53715         [BZ #14719]
53716         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
53717         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
53718         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
53719         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
53720         (_nss_dns_gethostbyname4_r): Likewise.
53721         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
53722         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
53724 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
53726         [BZ #13763]
53727         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
53729 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
53731         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
53732         * elf/cache.c (print_entry): Print ",AArch64" for
53733         FLAG_AARCH64_LIB64
53735         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
53736         * elf/cache.c (print_entry): Print ",hard-float" for
53737         FLAG_ARM_LIBHF.
53739 2012-11-18  David S. Miller  <davem@davemloft.net>
53741         With help from Joseph Myers.
53742         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
53743         cutoff to 2**-13.
53744         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
53745         cutoff to 2**-25.
53746         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
53747         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
53748         small.
53749         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
53750         * math/libm-test.inc (y0_test): New tests.
53751         (y1_test): New tests.
53752         * sysdeps/i386/fpu/libm-test-ulps: Update.
53753         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53754         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53756 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
53758         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
53759         64-bit targets.
53760         * configure: Regenerated.
53762 2012-11-17  David S. Miller  <davem@davemloft.net>
53764         [BZ #14811]
53765         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
53766         nonzero exponents with absolute value below 0x1p-128 to +/-
53767         0x1p-128.
53769 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
53771         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
53773         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
53775         * posix/getconf-speclist.c: New file.
53776         * posix/posix-envs.def: Likewise.
53777         * posix/confstr.c (START_ENV_GROUP): New macro.
53778         (END_ENV_GROUP): Likewise.
53779         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
53780         (KNOWN_PRESENT_ENV_STRING): Likewise.
53781         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
53782         (UNKNOWN_ENVIRONMENT): Likewise.
53783         (confstr): Include posix-envs.def instead of handling
53784         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
53785         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
53786         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
53787         (END_ENV_GROUP): Likewise.
53788         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
53789         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
53790         (UNKNOWN_ENVIRONMENT): Likewise.
53791         (__sysconf): Include posix-envs.def instead of handling associated
53792         cases directly here.
53793         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
53794         preprocessing getconf-speclist.c rather than running getconf or
53795         generating empty file.
53797 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
53799         * scripts/check-local-headers.sh: Ignore 'mach' headers.
53801 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
53803         [BZ #14672]
53804         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
53806 2012-11-16  David S. Miller  <davem@davemloft.net>
53808         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
53809         smaller than LDBL_EPSILON/2.0L, just return xm1.
53811 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
53813         * elf/tst-array1.c (init): Set constructor priority to 1000.
53814         (fini): Set destructor priority to 1000.
53815         * elf/tst-array2dep.c: Likewise.
53817 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
53819         [BZ #11741]
53820         * libio/fileops.c (_IO_new_file_write): Correctly return error.
53821         (_IO_new_file_xsputn): Also return EOF if none of the input
53822         data was written when overflow failed.
53823         * libio/iopadn.c (_IO_padn): Likewise.
53824         * libio/iowpadn.c (_IO_wpadn): Likewise.
53825         * stdio-common/tst-put-error.c: Add copyright notice.
53826         (do_test): Add case for printing padded string.
53827         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
53828         _IO_padn returned error.
53829         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
53830         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
53831         return EOF.
53833 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
53835         * libio/libioP.h: Add comment note that the references to C++
53836         bits are now obsolete.
53838 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53840         * math/libm-test.inc (check_complex): Use asprintf.
53842 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
53844         * debug/pcprofiledump.c (print_version): Update copyright year.
53845         * malloc/memusagestat.c (print_version): Likewise.
53847 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
53849         [BZ #14831]
53850         * elf/Makefile (tests): Add tst-audit8.
53851         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
53852         ($(objpfx)tst-audit8.out): New target.
53853         (tst-audit8-ENV): New variable.
53854         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
53855         audit if l_reloc_result is NULL.
53856         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
53857         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
53858         * elf/tst-audit8.c: New file.
53860 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53862         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
53863         * misc/Makefile (CFLAGS-select.c): Define.
53864         * posix/Makefile (CFLAGS-pause.c): Define.
53866 2012-11-13  David S. Miller  <davem@davemloft.net>
53868         * crypt/Makefile: Move test targets after toplevel Rules
53869         inclusion.  Grab any necessary sysdep routines when linking.
53870         * crypt/md5.c (md5_process_block): Remove define, we will always
53871         name it __md5_process_block.
53872         (md5_finish_ctx): Update md5_process_block call.
53873         (md5_stream): Likewise.
53874         (md5_process_bytes): Likewise.
53875         (md5_process_block): Rename to __md5_process_block and move to ...
53876         * crypt/md5-block.c: ... here.
53877         * crypt/sha256.c (sha256_process_block): Move to ...
53878         * crypt/sha256-block.c: ... here.
53879         * crypt/sha512.c (sha512_process_block): Move to ...
53880         * crypt/sha512-block.c: ... here.
53881         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
53882         path.
53883         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
53884         * sysdeps/sparc/sparc64/multiarch/Makefile
53885         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
53886         crypt subdir.
53887         (localedef-aux): Add md5 crypto assembler when in locale subdir.
53888         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
53889         multiarch changes.
53890         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
53891         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
53892         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
53893         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
53894         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
53895         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
53896         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
53897         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
53898         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
53899         file.
53900         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
53901         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
53902         file.
53903         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
53905 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
53907         * timezone/tzselect.ksh: Update from tzcode git revision
53908         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
53909         * timezone/zdump.c: Likewise.
53910         * timezone/zic.c: Likewise.
53911         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
53912         in TZVERSION setting, not $(PKGVERSION).
53913         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
53914         REPORT_BUGS_TO settings.
53916         [BZ #14838]
53917         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
53918         macro.
53920 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53922         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
53923         detection to immediately after _FP_ROUND().
53924         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
53925         bits are 0.
53927 2012-11-11  David S. Miller  <davem@davemloft.net>
53929         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
53930         inttypes.h
53931         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
53932         __close rather than their public counterparts.
53934 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
53936         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
53937         file.
53938         [UNIX98] (sem_timedwait): Do not expect.
53939         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
53940         [XPG4 || UNIX98] (sockatmark): Do not expect.
53941         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
53942         (clock_getcpuclockid): Do not expect.
53943         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
53944         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
53945         Do not expect.
53946         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
53947         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
53948         [UNIX98] (vwscanf): Likewise.
53949         [UNIX98] (vswscanf): Likewise.
53951 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
53953         * timezone/version.h: Remove file.
53954         * timezone/README: Do not refer to version.h.
53955         * timezone/Makefile ($(objpfx)zic.o): New dependency on
53956         $(objpfx)version.h.
53957         ($(objpfx)zdump.o): Likewise.
53958         ($(objpfx)version.h): New target.
53960         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
53961         2012i.
53962         * timezone/README: Don't mention modification to tzselect.ksh.
53963         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
53964         work on unmodified tzselect.ksh.  Substitute version numbers in
53965         tzselect.ksh.
53967         * Makefile (format-me): Remove.
53968         (INSTALL): Adjust indentation.  Use commands directly instead of
53969         using $(format-me).
53971         * aclocal.m4 (ACX_PKGVERSION): New macro.
53972         (ACX_BUGURL): Likewise.
53973         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
53974         (PKGVERSION): New AC_DEFINE_UNQUOTED.
53975         (REPORT_BUGS_TO): Likewise.
53976         * configure: Regenerated.
53977         * config.h.in (PKGVERSION): New macro.
53978         (REPORT_BUGS_TO): Likewise.
53979         * config.make.in (PKGVERSION): New variable.
53980         (PKGVERSION_TEXI): Likewise.
53981         (REPORT_BUGS_TO): Likewise.
53982         (REPORT_BUGS_TEXI): Likewise.
53983         * Makefile (format-me): Use -I$(common-objpfx)manual.
53984         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
53985         ($(common-objpfx)manual/%): New target.
53986         (manual/%): Remove target.
53987         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
53988         (print_version): Use PKGVERSION.
53989         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
53990         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
53991         and REPORT_BUGS_TO.
53992         ($(objpfx)xtrace): Likewise.
53993         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
53994         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
53995         (print_version): Use PKGVERSION.
53996         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
53997         (do_version): Use PKGVERSION.
53998         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
53999         REPORT_BUGS_TO.
54000         (common-ldd-rewrite): Likewise.
54001         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
54002         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
54003         (print_version): Use PKGVERSION.
54004         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
54005         * elf/pldd.c (argp_program_bug_address): Remove variable.
54006         (more_help): New function.
54007         (argp): Use more_help.
54008         (print_version): Use PKGVERSION.
54009         * elf/sln.c (main): Use PKGVERSION.
54010         (usage): Use REPORT_BUGS_TO.
54011         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
54012         (top level): Use PKGVERSION.
54013         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
54014         (print_version): Use PKGVERSION.
54015         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
54016         (print_version): Use PKGVERSION.
54017         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
54018         (print_version): Use PKGVERSION.
54019         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
54020         (print_version): Use PKGVERSION.
54021         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
54022         (print_version): Use PKGVERSION.
54023         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
54024         (print_version): Use PKGVERSION.
54025         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
54026         and BUGURL.
54027         ($(objpfx)memusage): Likewise.
54028         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
54029         (do_version): Use PKGVERSION.
54030         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
54031         (print_version): Use PKGVERSION.
54032         * malloc/mtrace.pl ($PACKAGE): Remove variable.
54033         ($PKGVERSION): New variable.
54034         ($REPORT_BUGS_TO): Likewise.
54035         (usage): Use $REPORT_BUGS_TO.
54036         (top level): Use $PKGVERSION.
54037         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
54038         ($(objpfx)pkgvers.texi): New rule.
54039         ($(objpfx)stamp-pkgvers): Likewise.
54040         * manual/install.texi: Include pkgvers.texi.
54041         (--with-pkgversion): Document new configure option.
54042         (--with-bugurl): Likewise.
54043         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
54044         than necessarily for this particular distribution.  Use
54045         REPORT_BUGS_TO for where to report bugs.
54046         * INSTALL: Regenerated.
54047         * manual/libc.texinfo: Include pkgvers.texi.
54048         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
54049         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
54050         (print_version): Use PKGVERSION.
54051         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
54052         (print_version): Use PKGVERSION.
54053         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
54054         (print_version): Use PKGVERSION.
54055         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
54056         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
54057         macro.
54058         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
54059         (print_version): Use PKGVERSION.
54060         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
54061         (print_version): Use PKGVERSION.
54062         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
54063         and PKGVERSION.
54065         * timezone/checktab.awk: Update from tzcode 2012i.
54066         * timezone/ialloc.c: Likewise.
54067         * timezone/private.h: Likewise.
54068         * timezone/scheck.c: Likewise.
54069         * timezone/tzfile.h: Likewise.
54070         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
54071         (TZVERSION): Hardcode tzcode version number.
54072         * timezone/zdump.c: Update from tzcode 2012i.
54073         * timezone/zic.c: Likewise.
54074         * timezone/version.h: New file.
54075         * timezone/README: Describe version.h.  Update upstream location.
54077         [BZ #14824]
54078         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
54079         (mktemp): Enable declaration.
54080         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
54081         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
54082         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
54083         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
54084         Likewise.
54085         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
54086         Likewise.
54087         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
54088         Likewise.
54089         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
54090         Likewise.
54091         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
54092         Likewise.
54093         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
54094         Likewise.
54096         [BZ #14821]
54097         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
54098         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
54099         for copies of such integer values.
54100         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
54101         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
54103 2012-11-09  Andreas Jaeger  <aj@suse.de>
54105         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
54106         definitions and declarations that are provided by
54107         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
54109 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54111         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
54112         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
54113         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
54114         definition.
54116 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54118         * elf/elf.h: Update comment before AArch64 relocations.
54120 2012-11-07  David S. Miller  <davem@davemloft.net>
54122         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
54123         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
54124         (__start_context): Declare.
54125         (__makecontext_ret): Delete.
54126         (__makecontext): Hook up __start_context instead of
54127         __makecontext_ret.
54128         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
54129         (sysdep_routines): Add __start_context when in stdlib.
54131 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
54133         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
54134         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
54135         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
54136         hardcoded "nm".
54137         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
54138         (READELF): New variable.  Use it instead of hardcoded "readelf".
54140 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
54142         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
54143         * sysdeps/x86/Makefile: Here.
54144         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
54145         * sysdeps/x86/tst-xmmymm.sh: This.
54147 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
54149         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
54150         expectations.
54151         [UNIX98] (pthread_barrier_t): Do not expect.
54152         [UNIX98] (pthread_barrierattr_t): Likewise.
54153         [UNIX98] (pthread_spinlock_t): Likewise.
54154         [UNIX98] (pthread_barrier_destroy): Likewise.
54155         [UNIX98] (pthread_barrier_init): Likewise.
54156         [UNIX98] (pthread_barrier_wait): Likewise.
54157         [UNIX98] (pthread_barrierattr_destroy): Likewise.
54158         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
54159         [UNIX98] (pthread_barrierattr_init): Likewise.
54160         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
54161         [UNIX98] (pthread_getcpuclockid): Likewise.
54162         [UNIX98] (pthread_mutex_timedlock): Likewise.
54163         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
54164         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
54165         [UNIX98] (pthread_sigmask): Likewise.
54166         [UNIX98] (pthread_spin_destroy): Likewise.
54167         [UNIX98] (pthread_spin_init): Likewise.
54168         [UNIX98] (pthread_spin_lock): Likewise.
54169         [UNIX98] (pthread_spin_trylock): Likewise.
54170         [UNIX98] (pthread_spin_unlock): Likewise.
54171         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
54172         Do not expect.
54173         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
54174         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
54175         [XPG3 || XPG4] (pthread_cond_t): Likewise.
54176         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
54177         [XPG3 || XPG4] (pthread_key_t): Likewise.
54178         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
54179         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
54180         [XPG3 || XPG4] (pthread_once_t): Likewise.
54181         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
54182         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
54183         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
54184         [XPG3 || XPG4] (pthread_t): Likewise.
54186         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
54187         not expect.
54188         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
54190         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
54191         Change function return type to int.
54193         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
54194         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
54195         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
54196         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
54197         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
54198         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
54199         [!POSIX] (posix_madvise): Likewise.
54200         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
54201         && !UNIX98].
54202         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
54203         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
54204         (mode_t): Likewise.
54205         (posix_mem_offset): Likewise.
54206         (posix_typed_mem_get_info): Likewise.
54207         (posix_typed_mem_open): Likewise.
54209         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
54210         Change condition to [XOPEN2K8].
54212         * conform/conformtest.pl: Preprocess allow-header data with -x c
54213         instead of from stdin.
54214         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
54215         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
54216         [C99-based standards] (cerfc): Likewise.
54217         [C99-based standards] (cexp2): Likewise.
54218         [C99-based standards] (cexpm1): Likewise.
54219         [C99-based standards] (clog10): Likewise.
54220         [C99-based standards] (clog1p): Likewise.
54221         [C99-based standards] (clog2): Likewise.
54222         [C99-based standards] (clgamma): Likewise.
54223         [C99-based standards] (ctgamma): Likewise.
54224         [C99-based standards] (cerff): Likewise.
54225         [C99-based standards] (cerfcf): Likewise.
54226         [C99-based standards] (cexp2f): Likewise.
54227         [C99-based standards] (cexpm1f): Likewise.
54228         [C99-based standards] (clog10f): Likewise.
54229         [C99-based standards] (clog1pf): Likewise.
54230         [C99-based standards] (clog2f): Likewise.
54231         [C99-based standards] (clgammaf): Likewise.
54232         [C99-based standards] (ctgammaf): Likewise.
54233         [C99-based standards] (cerfl): Likewise.
54234         [C99-based standards] (cerfcl): Likewise.
54235         [C99-based standards] (cexp2l): Likewise.
54236         [C99-based standards] (cexpm1l): Likewise.
54237         [C99-based standards] (clog10l): Likewise.
54238         [C99-based standards] (clog1pl): Likewise.
54239         [C99-based standards] (clog2l): Likewise.
54240         [C99-based standards] (clgammal): Likewise.
54241         [C99-based standards] (ctgammal): Likewise.
54242         * conform/data/inttypes.h-data [C99-based standards]: Include
54243         stdint.h-data.  Remove all expectations for stdint.h contents.
54244         [C99-based standards] (PRI*): Do not allow.
54245         [C99-based standards] (SCN*): Likewise.
54246         [C99-based standards] (*_t): Likewise.
54247         [C99-based-standards] (PRId8): Expect macro.
54248         [C99-based-standards] (PRIi8): Likewise.
54249         [C99-based-standards] (PRIo8): Likewise.
54250         [C99-based-standards] (PRIu8): Likewise.
54251         [C99-based-standards] (PRIx8): Likewise.
54252         [C99-based-standards] (PRIX8): Likewise.
54253         [C99-based-standards] (SCNd8): Likewise.
54254         [C99-based-standards] (SCNi8): Likewise.
54255         [C99-based-standards] (SCNo8): Likewise.
54256         [C99-based-standards] (SCNu8): Likewise.
54257         [C99-based-standards] (SCNx8): Likewise.
54258         [C99-based-standards] (PRIdLEAST8): Likewise.
54259         [C99-based-standards] (PRIiLEAST8): Likewise.
54260         [C99-based-standards] (PRIoLEAST8): Likewise.
54261         [C99-based-standards] (PRIuLEAST8): Likewise.
54262         [C99-based-standards] (PRIxLEAST8): Likewise.
54263         [C99-based-standards] (PRIXLEAST8): Likewise.
54264         [C99-based-standards] (SCNdLEAST8): Likewise.
54265         [C99-based-standards] (SCNiLEAST8): Likewise.
54266         [C99-based-standards] (SCNoLEAST8): Likewise.
54267         [C99-based-standards] (SCNuLEAST8): Likewise.
54268         [C99-based-standards] (SCNxLEAST8): Likewise.
54269         [C99-based-standards] (PRIdFAST8): Likewise.
54270         [C99-based-standards] (PRIiFAST8): Likewise.
54271         [C99-based-standards] (PRIoFAST8): Likewise.
54272         [C99-based-standards] (PRIuFAST8): Likewise.
54273         [C99-based-standards] (PRIxFAST8): Likewise.
54274         [C99-based-standards] (PRIXFAST8): Likewise.
54275         [C99-based-standards] (SCNdFAST8): Likewise.
54276         [C99-based-standards] (SCNiFAST8): Likewise.
54277         [C99-based-standards] (SCNoFAST8): Likewise.
54278         [C99-based-standards] (SCNuFAST8): Likewise.
54279         [C99-based-standards] (SCNxFAST8): Likewise.
54280         [C99-based-standards] (PRId16): Likewise.
54281         [C99-based-standards] (PRIi16): Likewise.
54282         [C99-based-standards] (PRIo16): Likewise.
54283         [C99-based-standards] (PRIu16): Likewise.
54284         [C99-based-standards] (PRIx16): Likewise.
54285         [C99-based-standards] (PRIX16): Likewise.
54286         [C99-based-standards] (SCNd16): Likewise.
54287         [C99-based-standards] (SCNi16): Likewise.
54288         [C99-based-standards] (SCNo16): Likewise.
54289         [C99-based-standards] (SCNu16): Likewise.
54290         [C99-based-standards] (SCNx16): Likewise.
54291         [C99-based-standards] (PRIdLEAST16): Likewise.
54292         [C99-based-standards] (PRIiLEAST16): Likewise.
54293         [C99-based-standards] (PRIoLEAST16): Likewise.
54294         [C99-based-standards] (PRIuLEAST16): Likewise.
54295         [C99-based-standards] (PRIxLEAST16): Likewise.
54296         [C99-based-standards] (PRIXLEAST16): Likewise.
54297         [C99-based-standards] (SCNdLEAST16): Likewise.
54298         [C99-based-standards] (SCNiLEAST16): Likewise.
54299         [C99-based-standards] (SCNoLEAST16): Likewise.
54300         [C99-based-standards] (SCNuLEAST16): Likewise.
54301         [C99-based-standards] (SCNxLEAST16): Likewise.
54302         [C99-based-standards] (PRIdFAST16): Likewise.
54303         [C99-based-standards] (PRIiFAST16): Likewise.
54304         [C99-based-standards] (PRIoFAST16): Likewise.
54305         [C99-based-standards] (PRIuFAST16): Likewise.
54306         [C99-based-standards] (PRIxFAST16): Likewise.
54307         [C99-based-standards] (PRIXFAST16): Likewise.
54308         [C99-based-standards] (SCNdFAST16): Likewise.
54309         [C99-based-standards] (SCNiFAST16): Likewise.
54310         [C99-based-standards] (SCNoFAST16): Likewise.
54311         [C99-based-standards] (SCNuFAST16): Likewise.
54312         [C99-based-standards] (SCNxFAST16): Likewise.
54313         [C99-based-standards] (PRId32): Likewise.
54314         [C99-based-standards] (PRIi32): Likewise.
54315         [C99-based-standards] (PRIo32): Likewise.
54316         [C99-based-standards] (PRIu32): Likewise.
54317         [C99-based-standards] (PRIx32): Likewise.
54318         [C99-based-standards] (PRIX32): Likewise.
54319         [C99-based-standards] (SCNd32): Likewise.
54320         [C99-based-standards] (SCNi32): Likewise.
54321         [C99-based-standards] (SCNo32): Likewise.
54322         [C99-based-standards] (SCNu32): Likewise.
54323         [C99-based-standards] (SCNx32): Likewise.
54324         [C99-based-standards] (PRIdLEAST32): Likewise.
54325         [C99-based-standards] (PRIiLEAST32): Likewise.
54326         [C99-based-standards] (PRIoLEAST32): Likewise.
54327         [C99-based-standards] (PRIuLEAST32): Likewise.
54328         [C99-based-standards] (PRIxLEAST32): Likewise.
54329         [C99-based-standards] (PRIXLEAST32): Likewise.
54330         [C99-based-standards] (SCNdLEAST32): Likewise.
54331         [C99-based-standards] (SCNiLEAST32): Likewise.
54332         [C99-based-standards] (SCNoLEAST32): Likewise.
54333         [C99-based-standards] (SCNuLEAST32): Likewise.
54334         [C99-based-standards] (SCNxLEAST32): Likewise.
54335         [C99-based-standards] (PRIdFAST32): Likewise.
54336         [C99-based-standards] (PRIiFAST32): Likewise.
54337         [C99-based-standards] (PRIoFAST32): Likewise.
54338         [C99-based-standards] (PRIuFAST32): Likewise.
54339         [C99-based-standards] (PRIxFAST32): Likewise.
54340         [C99-based-standards] (PRIXFAST32): Likewise.
54341         [C99-based-standards] (SCNdFAST32): Likewise.
54342         [C99-based-standards] (SCNiFAST32): Likewise.
54343         [C99-based-standards] (SCNoFAST32): Likewise.
54344         [C99-based-standards] (SCNuFAST32): Likewise.
54345         [C99-based-standards] (SCNxFAST32): Likewise.
54346         [C99-based-standards] (PRId64): Likewise.
54347         [C99-based-standards] (PRIi64): Likewise.
54348         [C99-based-standards] (PRIo64): Likewise.
54349         [C99-based-standards] (PRIu64): Likewise.
54350         [C99-based-standards] (PRIx64): Likewise.
54351         [C99-based-standards] (PRIX64): Likewise.
54352         [C99-based-standards] (SCNd64): Likewise.
54353         [C99-based-standards] (SCNi64): Likewise.
54354         [C99-based-standards] (SCNo64): Likewise.
54355         [C99-based-standards] (SCNu64): Likewise.
54356         [C99-based-standards] (SCNx64): Likewise.
54357         [C99-based-standards] (PRIdLEAST64): Likewise.
54358         [C99-based-standards] (PRIiLEAST64): Likewise.
54359         [C99-based-standards] (PRIoLEAST64): Likewise.
54360         [C99-based-standards] (PRIuLEAST64): Likewise.
54361         [C99-based-standards] (PRIxLEAST64): Likewise.
54362         [C99-based-standards] (PRIXLEAST64): Likewise.
54363         [C99-based-standards] (SCNdLEAST64): Likewise.
54364         [C99-based-standards] (SCNiLEAST64): Likewise.
54365         [C99-based-standards] (SCNoLEAST64): Likewise.
54366         [C99-based-standards] (SCNuLEAST64): Likewise.
54367         [C99-based-standards] (SCNxLEAST64): Likewise.
54368         [C99-based-standards] (PRIdFAST64): Likewise.
54369         [C99-based-standards] (PRIiFAST64): Likewise.
54370         [C99-based-standards] (PRIoFAST64): Likewise.
54371         [C99-based-standards] (PRIuFAST64): Likewise.
54372         [C99-based-standards] (PRIxFAST64): Likewise.
54373         [C99-based-standards] (PRIXFAST64): Likewise.
54374         [C99-based-standards] (SCNdFAST64): Likewise.
54375         [C99-based-standards] (SCNiFAST64): Likewise.
54376         [C99-based-standards] (SCNoFAST64): Likewise.
54377         [C99-based-standards] (SCNuFAST64): Likewise.
54378         [C99-based-standards] (SCNxFAST64): Likewise.
54379         [C99-based-standards] (PRIdMAX): Likewise.
54380         [C99-based-standards] (PRIiMAX): Likewise.
54381         [C99-based-standards] (PRIoMAX): Likewise.
54382         [C99-based-standards] (PRIuMAX): Likewise.
54383         [C99-based-standards] (PRIxMAX): Likewise.
54384         [C99-based-standards] (PRIXMAX): Likewise.
54385         [C99-based-standards] (SCNdMAX): Likewise.
54386         [C99-based-standards] (SCNiMAX): Likewise.
54387         [C99-based-standards] (SCNoMAX): Likewise.
54388         [C99-based-standards] (SCNuMAX): Likewise.
54389         [C99-based-standards] (SCNxMAX): Likewise.
54390         [C99-based-standards] (PRIdPTR): Likewise.
54391         [C99-based-standards] (PRIiPTR): Likewise.
54392         [C99-based-standards] (PRIoPTR): Likewise.
54393         [C99-based-standards] (PRIuPTR): Likewise.
54394         [C99-based-standards] (PRIxPTR): Likewise.
54395         [C99-based-standards] (PRIXPTR): Likewise.
54396         [C99-based-standards] (SCNdPTR): Likewise.
54397         [C99-based-standards] (SCNiPTR): Likewise.
54398         [C99-based-standards] (SCNoPTR): Likewise.
54399         [C99-based-standards] (SCNuPTR): Likewise.
54400         [C99-based-standards] (SCNxPTR): Likewise.
54401         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
54402         allow.
54403         * conform/data/stdint.h-data: Update comments to clarify
54404         requirements.
54405         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
54406         type.
54407         [C99-based standards] (INT8_MAX): Likewise.
54408         [C99-based standards] (INT16_MIN): Likewise.
54409         [C99-based standards] (INT16_MAX): Likewise.
54410         [C99-based standards] (INT32_MIN): Likewise.
54411         [C99-based standards] (INT32_MAX): Likewise.
54412         [C99-based standards] (INT64_MIN): Likewise.
54413         [C99-based standards] (INT64_MAX): Likewise.
54414         [C99-based standards] (UINT8_MAX): Likewise.
54415         [C99-based standards] (UINT16_MAX): Likewise.
54416         [C99-based standards] (UINT32_MAX): Likewise.
54417         [C99-based standards] (UINT64_MAX): Likewise.
54418         [C99-based standards] (INT_LEAST8_MIN): Likewise.
54419         [C99-based standards] (INT_LEAST8_MAX): Likewise.
54420         [C99-based standards] (INT_LEAST16_MIN): Likewise.
54421         [C99-based standards] (INT_LEAST16_MAX): Likewise.
54422         [C99-based standards] (INT_LEAST32_MIN): Likewise.
54423         [C99-based standards] (INT_LEAST32_MAX): Likewise.
54424         [C99-based standards] (INT_LEAST64_MIN): Likewise.
54425         [C99-based standards] (INT_LEAST64_MAX): Likewise.
54426         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
54427         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
54428         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
54429         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
54430         [C99-based standards] (INT_FAST8_MIN): Likewise.
54431         [C99-based standards] (INT_FAST8_MAX): Likewise.
54432         [C99-based standards] (INT_FAST16_MIN): Likewise.
54433         [C99-based standards] (INT_FAST16_MAX): Likewise.
54434         [C99-based standards] (INT_FAST32_MIN): Likewise.
54435         [C99-based standards] (INT_FAST32_MAX): Likewise.
54436         [C99-based standards] (INT_FAST64_MIN): Likewise.
54437         [C99-based standards] (INT_FAST64_MAX): Likewise.
54438         [C99-based standards] (UINT_FAST8_MAX): Likewise.
54439         [C99-based standards] (UINT_FAST16_MAX): Likewise.
54440         [C99-based standards] (UINT_FAST32_MAX): Likewise.
54441         [C99-based standards] (UINT_FAST64_MAX): Likewise.
54442         [C99-based standards] (INTPTR_MIN): Likewise.
54443         [C99-based standards] (INTPTR_MAX): Likewise.
54444         [C99-based standards] (UINTPTR_MAX): Likewise.
54445         [C99-based standards] (INTMAX_MIN): Likewise.
54446         [C99-based standards] (INTMAX_MAX): Likewise.
54447         [C99-based standards] (UINTMAX_MAX): Likewise.
54448         [C99-based standards] (PTRDIFF_MIN): Likewise.
54449         [C99-based standards] (PTRDIFF_MAX): Likewise.
54450         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
54451         [C99-based standards] (SIZE_MAX): Likewise.
54452         [C99-based standards] (WCHAR_MAX): Likewise.
54453         [C99-based standards] (WINT_MAX): Likewise.
54454         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
54455         constraint on value.
54456         [C99-based standards] (WCHAR_MIN): Likewise.
54457         [C99-based standards] (WINT_MIN): Likewise.
54458         [C99-based standards] (*_t): Allow.
54459         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
54460         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
54461         Include math.h-data and complex.h-data.  Remove all expectations
54462         of math.h and complex.h contents.
54463         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
54464         at end of line.
54465         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
54466         (struct tm): Expect tag.
54467         [C99-based-standards] (wcstof): Expect function.
54468         [C99-based-standards] (wcstold): Likewise.
54469         [C99-based-standards] (wcstoll): Likewise.
54470         [C99-based-standards] (wcstoull): Likewise.
54471         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
54472         macro-int-constant.  Specify type.
54473         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
54474         constraint on value.
54475         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
54476         Specify type.
54477         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
54478         Specify value.
54479         [ISO C standards]: Do not allow headers.
54480         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
54481         wcs[abcdefghijklmnopqrstuvwxyz]*.
54482         [ISO C standards] (*_t): Do not allow.
54483         * conform/data/wctype.h-data [C99-based standards] (iswblank):
54484         Expect function.
54485         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
54486         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
54487         Specify type.
54488         [ISO C standards]: Do not allow headers.
54489         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
54490         is[abcdefghijklmnopqrstuvwxyz]*.
54491         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
54492         to[abcdefghijklmnopqrstuvwxyz]*.
54493         [ISO C standards] (*_t): Do not allow.
54494         * conform/data/stdalign.h-data: New file.
54495         * conform/data/stdbool.h-data: Likewise.
54496         * conform/data/stdnoreturn.h-data: Likewise.
54498 2012-11-07  Roland McGrath  <roland@hack.frob.com>
54500         [BZ #14815]
54501         * manual/filesys.texi (Directory Entries): Typo fix.
54502         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
54504 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54506         * elf/elf.h (EM_AARCH64): New macro.
54507         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
54508         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
54509         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
54510         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
54511         (R_AARCH64_TLSDESC): Likewise.
54512         (NT_ARM_TLS): Likewise.
54513         (NT_ARM_HW_BREAK): Likewise.
54514         (NT_ARM_HW_WATCH): Likewise.
54516 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
54518         [BZ #14811]
54519         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
54520         (__ieee754_powl): Saturate nonzero exponents with absolute value
54521         below 0x1p-79 to +/- 0x1p-79.
54522         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
54523         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
54524         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
54525         nonzero exponents with absolute value below 0x1p-32 to +/-
54526         0x1p-32.
54527         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
54528         (__ieee754_powl): Saturate nonzero exponents with absolute value
54529         below 0x1p-79 to +/- 0x1p-79.
54530         * math/libm-test.inc (pow_test): Add more tests.
54532 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54534         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
54535         _dl_s390_cap_flags with kernel. Increase string length.
54536         (_dl_s390_platforms): Add z196 and zEC12.
54538 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
54540         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
54541         Change XOPEN21K to XOPEN2K.
54543 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
54545         * string/memmove.c: Use memcpy when possible.
54547 2012-11-06  Andreas Jaeger  <aj@suse.de>
54549         * po/eo.po: Update from translation team.
54551 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
54553         [BZ #14793]
54554         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
54555         exponent and small x and y exponents, scale x or y up.  Increase
54556         by 2 the exponent used in scaling up.
54557         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
54558         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
54559         * math/libm-test.inc (fma_test): Add more tests.
54560         (fma_test_towardzero): Likewise.
54561         (fma_test_downward): Likewise.
54562         (fma_test_upward): Likewise.
54564 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
54566         [BZ #14805]
54567         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
54568         fenv_t *.
54570         [BZ #14801]
54571         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
54572         namespace for names of struct fields.
54573         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
54574         fenv_t fields.
54575         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
54576         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
54578 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54580         [BZ #3665]
54581         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
54583 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
54585         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
54586         PTR_DEMANGLE.
54588         [BZ #5246]
54589         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
54590         PTR_DEMANGLE.
54592 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
54594         [BZ #14797]
54595         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
54596         definitely overflow as x * y not x * y + z.
54597         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
54598         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
54599         * math/libm-test.inc (fma_test): Add more tests.
54600         (fma_test_towardzero): Likewise.
54601         (fma_test_downward): Likewise.
54602         (fma_test_upward): Likewise.
54604 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
54606         [BZ #157]
54608         * include/stub-tag.h: Remove file.
54609         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
54610         '#include' of it.
54611         * manual/maint.texi (Porting): Don't reference it.
54612         * Makerules ($(objpfx)stubs): Likewise.
54613         * dirent/closedir.c: Don't include <stub-tag.h>.
54614         * dirent/dirfd.c: Likewise.
54615         * dirent/fdopendir.c: Likewise.
54616         * dirent/getdents.c: Likewise.
54617         * dirent/getdents64.c: Likewise.
54618         * dirent/opendir.c: Likewise.
54619         * dirent/readdir.c: Likewise.
54620         * dirent/readdir64.c: Likewise.
54621         * dirent/readdir64_r.c: Likewise.
54622         * dirent/readdir_r.c: Likewise.
54623         * dirent/rewinddir.c: Likewise.
54624         * dirent/seekdir.c: Likewise.
54625         * dirent/telldir.c: Likewise.
54626         * gmon/profil.c: Likewise.
54627         * grp/setgroups.c: Likewise.
54628         * inet/if_index.c: Likewise.
54629         * io/access.c: Likewise.
54630         * io/chdir.c: Likewise.
54631         * io/chmod.c: Likewise.
54632         * io/chown.c: Likewise.
54633         * io/close.c: Likewise.
54634         * io/dup.c: Likewise.
54635         * io/dup2.c: Likewise.
54636         * io/dup3.c: Likewise.
54637         * io/euidaccess.c: Likewise.
54638         * io/faccessat.c: Likewise.
54639         * io/fchdir.c: Likewise.
54640         * io/fchmod.c: Likewise.
54641         * io/fchmodat.c: Likewise.
54642         * io/fchown.c: Likewise.
54643         * io/fchownat.c: Likewise.
54644         * io/fcntl.c: Likewise.
54645         * io/flock.c: Likewise.
54646         * io/fstatfs.c: Likewise.
54647         * io/fstatfs64.c: Likewise.
54648         * io/fstatvfs.c: Likewise.
54649         * io/fstatvfs64.c: Likewise.
54650         * io/futimens.c: Likewise.
54651         * io/fxstat.c: Likewise.
54652         * io/fxstat64.c: Likewise.
54653         * io/fxstatat.c: Likewise.
54654         * io/fxstatat64.c: Likewise.
54655         * io/getcwd.c: Likewise.
54656         * io/isatty.c: Likewise.
54657         * io/lchmod.c: Likewise.
54658         * io/lchown.c: Likewise.
54659         * io/link.c: Likewise.
54660         * io/linkat.c: Likewise.
54661         * io/lseek.c: Likewise.
54662         * io/lseek64.c: Likewise.
54663         * io/lxstat64.c: Likewise.
54664         * io/mkdir.c: Likewise.
54665         * io/mkdirat.c: Likewise.
54666         * io/mkfifo.c: Likewise.
54667         * io/mkfifoat.c: Likewise.
54668         * io/open.c: Likewise.
54669         * io/open64.c: Likewise.
54670         * io/openat.c: Likewise.
54671         * io/openat64.c: Likewise.
54672         * io/pipe.c: Likewise.
54673         * io/pipe2.c: Likewise.
54674         * io/poll.c: Likewise.
54675         * io/posix_fadvise.c: Likewise.
54676         * io/posix_fadvise64.c: Likewise.
54677         * io/posix_fallocate.c: Likewise.
54678         * io/posix_fallocate64.c: Likewise.
54679         * io/read.c: Likewise.
54680         * io/readlink.c: Likewise.
54681         * io/readlinkat.c: Likewise.
54682         * io/rmdir.c: Likewise.
54683         * io/sendfile.c: Likewise.
54684         * io/sendfile64.c: Likewise.
54685         * io/statfs.c: Likewise.
54686         * io/statfs64.c: Likewise.
54687         * io/statvfs.c: Likewise.
54688         * io/statvfs64.c: Likewise.
54689         * io/symlink.c: Likewise.
54690         * io/symlinkat.c: Likewise.
54691         * io/ttyname.c: Likewise.
54692         * io/ttyname_r.c: Likewise.
54693         * io/umask.c: Likewise.
54694         * io/unlink.c: Likewise.
54695         * io/unlinkat.c: Likewise.
54696         * io/utime.c: Likewise.
54697         * io/utimensat.c: Likewise.
54698         * io/write.c: Likewise.
54699         * io/xmknod.c: Likewise.
54700         * io/xmknodat.c: Likewise.
54701         * io/xstat.c: Likewise.
54702         * io/xstat64.c: Likewise.
54703         * login/getpt.c: Likewise.
54704         * login/grantpt.c: Likewise.
54705         * login/unlockpt.c: Likewise.
54706         * math/e_acoshl.c: Likewise.
54707         * math/e_acosl.c: Likewise.
54708         * math/e_asinl.c: Likewise.
54709         * math/e_atan2l.c: Likewise.
54710         * math/e_atanhl.c: Likewise.
54711         * math/e_coshl.c: Likewise.
54712         * math/e_expl.c: Likewise.
54713         * math/e_fmodl.c: Likewise.
54714         * math/e_gammal_r.c: Likewise.
54715         * math/e_hypotl.c: Likewise.
54716         * math/e_j0l.c: Likewise.
54717         * math/e_j1l.c: Likewise.
54718         * math/e_jnl.c: Likewise.
54719         * math/e_lgammal_r.c: Likewise.
54720         * math/e_log10l.c: Likewise.
54721         * math/e_log2l.c: Likewise.
54722         * math/e_logl.c: Likewise.
54723         * math/e_powl.c: Likewise.
54724         * math/e_rem_pio2l.c: Likewise.
54725         * math/e_sinhl.c: Likewise.
54726         * math/e_sqrtl.c: Likewise.
54727         * math/fclrexcpt.c: Likewise.
54728         * math/fedisblxcpt.c: Likewise.
54729         * math/feenablxcpt.c: Likewise.
54730         * math/fegetenv.c: Likewise.
54731         * math/fegetexcept.c: Likewise.
54732         * math/fegetround.c: Likewise.
54733         * math/feholdexcpt.c: Likewise.
54734         * math/fesetenv.c: Likewise.
54735         * math/fesetround.c: Likewise.
54736         * math/feupdateenv.c: Likewise.
54737         * math/fgetexcptflg.c: Likewise.
54738         * math/fraiseexcpt.c: Likewise.
54739         * math/fsetexcptflg.c: Likewise.
54740         * math/ftestexcept.c: Likewise.
54741         * math/k_cosl.c: Likewise.
54742         * math/k_rem_pio2l.c: Likewise.
54743         * math/k_sinl.c: Likewise.
54744         * math/k_tanl.c: Likewise.
54745         * math/s_asinhl.c: Likewise.
54746         * math/s_atanl.c: Likewise.
54747         * math/s_cbrtl.c: Likewise.
54748         * math/s_erfl.c: Likewise.
54749         * math/s_expm1l.c: Likewise.
54750         * math/s_log1pl.c: Likewise.
54751         * math/s_tanhl.c: Likewise.
54752         * misc/acct.c: Likewise.
54753         * misc/brk.c: Likewise.
54754         * misc/chflags.c: Likewise.
54755         * misc/chroot.c: Likewise.
54756         * misc/fchflags.c: Likewise.
54757         * misc/fgetxattr.c: Likewise.
54758         * misc/flistxattr.c: Likewise.
54759         * misc/fremovexattr.c: Likewise.
54760         * misc/fsetxattr.c: Likewise.
54761         * misc/fsync.c: Likewise.
54762         * misc/ftruncate.c: Likewise.
54763         * misc/futimes.c: Likewise.
54764         * misc/futimesat.c: Likewise.
54765         * misc/getdomain.c: Likewise.
54766         * misc/getdtsz.c: Likewise.
54767         * misc/gethostid.c: Likewise.
54768         * misc/gethostname.c: Likewise.
54769         * misc/getloadavg.c: Likewise.
54770         * misc/getpagesize.c: Likewise.
54771         * misc/getsysstats.c: Likewise.
54772         * misc/getxattr.c: Likewise.
54773         * misc/gtty.c: Likewise.
54774         * misc/ioctl.c: Likewise.
54775         * misc/lgetxattr.c: Likewise.
54776         * misc/listxattr.c: Likewise.
54777         * misc/llistxattr.c: Likewise.
54778         * misc/lremovexattr.c: Likewise.
54779         * misc/lsetxattr.c: Likewise.
54780         * misc/lutimes.c: Likewise.
54781         * misc/madvise.c: Likewise.
54782         * misc/mincore.c: Likewise.
54783         * misc/mlock.c: Likewise.
54784         * misc/mlockall.c: Likewise.
54785         * misc/mmap.c: Likewise.
54786         * misc/mprotect.c: Likewise.
54787         * misc/msync.c: Likewise.
54788         * misc/munlock.c: Likewise.
54789         * misc/munlockall.c: Likewise.
54790         * misc/munmap.c: Likewise.
54791         * misc/preadv.c: Likewise.
54792         * misc/preadv64.c: Likewise.
54793         * misc/ptrace.c: Likewise.
54794         * misc/pwritev.c: Likewise.
54795         * misc/pwritev64.c: Likewise.
54796         * misc/readv.c: Likewise.
54797         * misc/reboot.c: Likewise.
54798         * misc/remap_file_pages.c: Likewise.
54799         * misc/removexattr.c: Likewise.
54800         * misc/revoke.c: Likewise.
54801         * misc/select.c: Likewise.
54802         * misc/setdomain.c: Likewise.
54803         * misc/setegid.c: Likewise.
54804         * misc/seteuid.c: Likewise.
54805         * misc/sethostid.c: Likewise.
54806         * misc/sethostname.c: Likewise.
54807         * misc/setregid.c: Likewise.
54808         * misc/setreuid.c: Likewise.
54809         * misc/setxattr.c: Likewise.
54810         * misc/sstk.c: Likewise.
54811         * misc/stty.c: Likewise.
54812         * misc/swapoff.c: Likewise.
54813         * misc/swapon.c: Likewise.
54814         * misc/sync.c: Likewise.
54815         * misc/syncfs.c: Likewise.
54816         * misc/syscall.c: Likewise.
54817         * misc/truncate.c: Likewise.
54818         * misc/ualarm.c: Likewise.
54819         * misc/usleep.c: Likewise.
54820         * misc/ustat.c: Likewise.
54821         * misc/utimes.c: Likewise.
54822         * misc/vhangup.c: Likewise.
54823         * misc/writev.c: Likewise.
54824         * posix/_exit.c: Likewise.
54825         * posix/alarm.c: Likewise.
54826         * posix/execve.c: Likewise.
54827         * posix/fexecve.c: Likewise.
54828         * posix/fork.c: Likewise.
54829         * posix/fpathconf.c: Likewise.
54830         * posix/getaddrinfo.c: Likewise.
54831         * posix/getegid.c: Likewise.
54832         * posix/geteuid.c: Likewise.
54833         * posix/getgid.c: Likewise.
54834         * posix/getgroups.c: Likewise.
54835         * posix/getlogin.c: Likewise.
54836         * posix/getlogin_r.c: Likewise.
54837         * posix/getpgid.c: Likewise.
54838         * posix/getpid.c: Likewise.
54839         * posix/getppid.c: Likewise.
54840         * posix/getresgid.c: Likewise.
54841         * posix/getresuid.c: Likewise.
54842         * posix/getsid.c: Likewise.
54843         * posix/getuid.c: Likewise.
54844         * posix/glob64.c: Likewise.
54845         * posix/nanosleep.c: Likewise.
54846         * posix/pathconf.c: Likewise.
54847         * posix/pause.c: Likewise.
54848         * posix/posix_madvise.c: Likewise.
54849         * posix/pread.c: Likewise.
54850         * posix/pread64.c: Likewise.
54851         * posix/pwrite.c: Likewise.
54852         * posix/pwrite64.c: Likewise.
54853         * posix/sched_getaffinity.c: Likewise.
54854         * posix/sched_getp.c: Likewise.
54855         * posix/sched_gets.c: Likewise.
54856         * posix/sched_primax.c: Likewise.
54857         * posix/sched_primin.c: Likewise.
54858         * posix/sched_rr_gi.c: Likewise.
54859         * posix/sched_setaffinity.c: Likewise.
54860         * posix/sched_setp.c: Likewise.
54861         * posix/sched_sets.c: Likewise.
54862         * posix/sched_yield.c: Likewise.
54863         * posix/setgid.c: Likewise.
54864         * posix/setlogin.c: Likewise.
54865         * posix/setpgid.c: Likewise.
54866         * posix/setresgid.c: Likewise.
54867         * posix/setresuid.c: Likewise.
54868         * posix/setsid.c: Likewise.
54869         * posix/setuid.c: Likewise.
54870         * posix/sleep.c: Likewise.
54871         * posix/spawni.c: Likewise.
54872         * posix/sysconf.c: Likewise.
54873         * posix/times.c: Likewise.
54874         * posix/wait.c: Likewise.
54875         * posix/wait3.c: Likewise.
54876         * posix/wait4.c: Likewise.
54877         * posix/waitpid.c: Likewise.
54878         * resolv/gai_sigqueue.c: Likewise.
54879         * resource/getpriority.c: Likewise.
54880         * resource/getrlimit.c: Likewise.
54881         * resource/getrusage.c: Likewise.
54882         * resource/nice.c: Likewise.
54883         * resource/setpriority.c: Likewise.
54884         * resource/setrlimit.c: Likewise.
54885         * resource/ulimit.c: Likewise.
54886         * rt/aio_cancel.c: Likewise.
54887         * rt/aio_fsync.c: Likewise.
54888         * rt/aio_read.c: Likewise.
54889         * rt/aio_sigqueue.c: Likewise.
54890         * rt/aio_suspend.c: Likewise.
54891         * rt/aio_write.c: Likewise.
54892         * rt/clock_getres.c: Likewise.
54893         * rt/clock_gettime.c: Likewise.
54894         * rt/clock_nanosleep.c: Likewise.
54895         * rt/clock_settime.c: Likewise.
54896         * rt/lio_listio.c: Likewise.
54897         * rt/mq_close.c: Likewise.
54898         * rt/mq_getattr.c: Likewise.
54899         * rt/mq_notify.c: Likewise.
54900         * rt/mq_open.c: Likewise.
54901         * rt/mq_receive.c: Likewise.
54902         * rt/mq_send.c: Likewise.
54903         * rt/mq_setattr.c: Likewise.
54904         * rt/mq_timedreceive.c: Likewise.
54905         * rt/mq_timedsend.c: Likewise.
54906         * rt/mq_unlink.c: Likewise.
54907         * rt/shm_open.c: Likewise.
54908         * rt/shm_unlink.c: Likewise.
54909         * rt/timer_create.c: Likewise.
54910         * rt/timer_delete.c: Likewise.
54911         * rt/timer_getoverr.c: Likewise.
54912         * rt/timer_gettime.c: Likewise.
54913         * rt/timer_settime.c: Likewise.
54914         * setjmp/__longjmp.c: Likewise.
54915         * setjmp/setjmp.c: Likewise.
54916         * signal/kill.c: Likewise.
54917         * signal/killpg.c: Likewise.
54918         * signal/raise.c: Likewise.
54919         * signal/sigaction.c: Likewise.
54920         * signal/sigaltstack.c: Likewise.
54921         * signal/sigblock.c: Likewise.
54922         * signal/sigignore.c: Likewise.
54923         * signal/sigintr.c: Likewise.
54924         * signal/signal.c: Likewise.
54925         * signal/sigpause.c: Likewise.
54926         * signal/sigpending.c: Likewise.
54927         * signal/sigqueue.c: Likewise.
54928         * signal/sigreturn.c: Likewise.
54929         * signal/sigset.c: Likewise.
54930         * signal/sigsetmask.c: Likewise.
54931         * signal/sigstack.c: Likewise.
54932         * signal/sigsuspend.c: Likewise.
54933         * signal/sigtimedwait.c: Likewise.
54934         * signal/sigvec.c: Likewise.
54935         * signal/sigwait.c: Likewise.
54936         * signal/sigwaitinfo.c: Likewise.
54937         * signal/sysv_signal.c: Likewise.
54938         * socket/accept.c: Likewise.
54939         * socket/accept4.c: Likewise.
54940         * socket/bind.c: Likewise.
54941         * socket/connect.c: Likewise.
54942         * socket/getpeername.c: Likewise.
54943         * socket/getsockname.c: Likewise.
54944         * socket/getsockopt.c: Likewise.
54945         * socket/isfdtype.c: Likewise.
54946         * socket/listen.c: Likewise.
54947         * socket/recv.c: Likewise.
54948         * socket/recvfrom.c: Likewise.
54949         * socket/recvmsg.c: Likewise.
54950         * socket/send.c: Likewise.
54951         * socket/sendmsg.c: Likewise.
54952         * socket/sendto.c: Likewise.
54953         * socket/setsockopt.c: Likewise.
54954         * socket/shutdown.c: Likewise.
54955         * socket/sockatmark.c: Likewise.
54956         * socket/socket.c: Likewise.
54957         * socket/socketpair.c: Likewise.
54958         * stdio-common/ctermid.c: Likewise.
54959         * stdio-common/cuserid.c: Likewise.
54960         * stdio-common/remove.c: Likewise.
54961         * stdio-common/rename.c: Likewise.
54962         * stdio-common/renameat.c: Likewise.
54963         * stdio-common/tempname.c: Likewise.
54964         * stdlib/getcontext.c: Likewise.
54965         * stdlib/makecontext.c: Likewise.
54966         * stdlib/setcontext.c: Likewise.
54967         * stdlib/swapcontext.c: Likewise.
54968         * stdlib/system.c: Likewise.
54969         * streams/fattach.c: Likewise.
54970         * streams/fdetach.c: Likewise.
54971         * streams/getmsg.c: Likewise.
54972         * streams/getpmsg.c: Likewise.
54973         * streams/putmsg.c: Likewise.
54974         * streams/putpmsg.c: Likewise.
54975         * sysdeps/unix/bsd/getpt.c: Likewise.
54976         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
54977         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
54978         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
54979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
54980         Likewise.
54981         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
54982         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
54983         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
54984         * sysvipc/msgctl.c: Likewise.
54985         * sysvipc/msgget.c: Likewise.
54986         * sysvipc/msgrcv.c: Likewise.
54987         * sysvipc/msgsnd.c: Likewise.
54988         * sysvipc/semctl.c: Likewise.
54989         * sysvipc/semget.c: Likewise.
54990         * sysvipc/semop.c: Likewise.
54991         * sysvipc/semtimedop.c: Likewise.
54992         * sysvipc/shmat.c: Likewise.
54993         * sysvipc/shmctl.c: Likewise.
54994         * sysvipc/shmdt.c: Likewise.
54995         * sysvipc/shmget.c: Likewise.
54996         * termios/tcdrain.c: Likewise.
54997         * termios/tcflow.c: Likewise.
54998         * termios/tcflush.c: Likewise.
54999         * termios/tcgetattr.c: Likewise.
55000         * termios/tcgetpgrp.c: Likewise.
55001         * termios/tcsendbrk.c: Likewise.
55002         * termios/tcsetattr.c: Likewise.
55003         * termios/tcsetpgrp.c: Likewise.
55004         * time/adjtime.c: Likewise.
55005         * time/clock.c: Likewise.
55006         * time/getitimer.c: Likewise.
55007         * time/gettimeofday.c: Likewise.
55008         * time/setitimer.c: Likewise.
55009         * time/settimeofday.c: Likewise.
55010         * time/stime.c: Likewise.
55011         * time/time.c: Likewise.
55013 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
55015         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
55016         /usr/old/bin.
55018         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
55019         instead of spaces.
55020         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
55022 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
55024         [BZ #14796]
55025         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
55026         FE_TONEAREST before applying Dekker multiplication and Knuth
55027         addition.  Clear inexact exceptions and check for exact zero
55028         results afterwards.
55029         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
55030         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
55031         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
55032         * math/libm-test.inc (fma_test): Add more tests.
55033         (fma_test_towardzero): Likewise.
55034         (fma_test_downward): Likewise.
55035         (fma_test_upward): Likewise.
55036         * sysdeps/generic/math_private.h (default_libc_fesetround): New
55037         function.
55038         (libc_fesetround): New macro.
55039         (libc_fesetroundf): Likewise.
55040         (libc_fesetroundl): Likewise.
55041         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
55042         function.
55043         (libc_fesetround_387): Likewise.
55044         (libc_fesetroundf): New macro.
55045         (libc_fesetround): Likewise.
55046         (libc_fesetroundl): Likewise.
55047         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
55048         function.
55049         (libc_fesetroundf): New macro.
55050         (libc_fesetround): Likewise.
55051         (libc_fesetroundl): Likewise.
55052         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
55053         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
55054         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
55055         libm_hidden_ver.
55056         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
55057         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
55058         libm_hidden_def.
55059         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
55060         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
55061         libm_hidden_ver.
55062         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
55063         libm_hidden_def.
55065         [BZ #3439]
55066         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
55067         integer constant usable in #if and use that to give value to enum
55068         constant.
55069         (FE_DIVBYZERO): Likewise.
55070         (FE_UNDERFLOW): Likewise.
55071         (FE_OVERFLOW): Likewise.
55072         (FE_INVALID): Likewise.
55073         (FE_INVALID_SNAN): Likewise.
55074         (FE_INVALID_ISI): Likewise.
55075         (FE_INVALID_IDI): Likewise.
55076         (FE_INVALID_ZDZ): Likewise.
55077         (FE_INVALID_IMZ): Likewise.
55078         (FE_INVALID_COMPARE): Likewise.
55079         (FE_INVALID_SOFTWARE): Likewise.
55080         (FE_INVALID_SQRT): Likewise.
55081         (FE_INVALID_INTEGER_CONVERSION): Likewise.
55082         (FE_TONEAREST): Likewise.
55083         (FE_TOWARDZERO): Likewise.
55084         (FE_UPWARD): Likewise.
55085         (FE_DOWNWARD): Likewise.
55086         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
55087         (FE_DIVBYZERO): Likewise.
55088         (FE_OVERFLOW): Likewise.
55089         (FE_UNDERFLOW): Likewise.
55090         (FE_INEXACT): Likewise.
55091         (FE_TONEAREST): Likewise.
55092         (FE_DOWNWARD): Likewise.
55093         (FE_UPWARD): Likewise.
55094         (FE_TOWARDZERO): Likewise.
55095         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
55096         (FE_UNDERFLOW): Likewise.
55097         (FE_OVERFLOW): Likewise.
55098         (FE_DIVBYZERO): Likewise.
55099         (FE_INVALID): Likewise.
55100         (FE_TONEAREST): Likewise.
55101         (FE_TOWARDZERO): Likewise.
55102         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
55103         (FE_OVERFLOW): Likewise.
55104         (FE_UNDERFLOW): Likewise.
55105         (FE_DIVBYZERO): Likewise.
55106         (FE_INEXACT): Likewise.
55107         (FE_TONEAREST): Likewise.
55108         (FE_TOWARDZERO): Likewise.
55109         (FE_UPWARD): Likewise.
55110         (FE_DOWNWARD): Likewise.
55111         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
55112         (FE_DIVBYZERO): Likewise.
55113         (FE_OVERFLOW): Likewise.
55114         (FE_UNDERFLOW): Likewise.
55115         (FE_INEXACT): Likewise.
55116         (FE_TONEAREST): Likewise.
55117         (FE_DOWNWARD): Likewise.
55118         (FE_UPWARD): Likewise.
55119         (FE_TOWARDZERO): Likewise.
55121 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
55123         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
55125 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
55127         * scripts/cross-test-ssh.sh (command): Use newlines to separate
55128         commands.  Quote $PWD.
55129         (blacklist_exports): Don't use remove_newlines.  Replace "declare
55130         -x" by "export".
55131         (remove_newlines): Remove.
55133 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
55135         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
55136         * stdlib/stdlib.h (atof): Moved to ...
55137         * include/bits/stdlib-float.h: Here.  New file.
55138         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
55139         * stdlib/bits/stdlib-float.h: New file.
55140         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
55141         -mno-sse -mno-mmx.
55142         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
55143         <xmmintrin.h>.
55145 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
55147         * conform/conformtest.pl (@headers): Add fenv.h.
55148         * conform/data/fenv.h-data: New file.
55149         * include/fenv.h [_ISOMAC]: Disable all contents of file except
55150         include of <math/fenv.h>.
55152         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
55153         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
55154         && !UNIX98].  Enables tests for XOPEN2K8.
55155         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
55156         POSIX2008]: Likewise.
55158         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
55159         (struct rusage): Do not expect type or its members.
55161         [BZ #3439]
55162         * math/math.h (FP_NAN): Define macro to integer constant usable in
55163         #if and use that to give value to enum constant.
55164         (FP_INFINITE): Likewise.
55165         (FP_ZERO): Likewise.
55166         (FP_SUBNORMAL): Likewise.
55167         (FP_NORMAL): Likewise.
55169 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
55171         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
55172         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
55173         arguments.
55175 2012-11-02  Roland McGrath  <roland@hack.frob.com>
55177         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
55178         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
55179         autoconf-time if not.
55180         * configure.in: Remove AC_PREREQ.
55182 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
55184         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
55185         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
55186         of the internal implementation.
55188 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
55190         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
55191         except include of <misc/sys/syslog.h>.
55193 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
55195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
55196         function returns with a NULL context exit with zero.
55198 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
55200         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
55202 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
55204         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
55205         (run_program_cmd): This.
55206         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
55207         (tst_langinfo): New variable.  Use it.
55209 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
55211         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
55212         floating point opcodes.
55214 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
55216         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
55217         variable.
55219         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
55221         * sysdeps/mach/hurd/powerpc: Remove directory.
55222         * sysdeps/mach/powerpc: Likewise.
55224 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
55226         * scripts/check-local-headers.sh: Ignore c++ headers.
55228 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
55230         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
55231         __libc_cleanup_region_start argument.
55233 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
55235         [BZ #14784]
55236         [BZ #14785]
55237         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
55238         x * y using scaling, not as x * y + z.
55239         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
55240         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
55241         * math/libm-test.inc (fma_test): Add more tests.
55242         (fma_test_towardzero): Likewise.
55243         (fma_test_downward): Likewise.
55244         (fma_test_upward): Likewise.
55246 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
55248         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
55250 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
55252         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
55253         New variable.
55255 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
55257         * rt/tst-shm.c (worker): Correct checking for mmap failure.
55259 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
55261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
55262         Fix sort order.
55263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
55264         Likewise.
55266 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
55268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
55269         Fix the order of the list for glibc 2.17.
55270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
55271         Likewise.
55273 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
55275         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55277 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
55279         [BZ #14610]
55280         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
55281         for low part of x being zero before using __atanl (y).
55282         * math/libm-test.inc (atan2_test): Add another test.
55284         * manual/install.texi (Configuring and compiling): Document
55285         general use of test-wrapper and test-wrapper-env.
55286         * INSTALL: Regenerated.
55288         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
55289         (__fma): Do not extract and scale down low bits on after-rounding
55290         systems when result rounded to normal precision would have normal
55291         exponent.
55292         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
55293         (__fmal): Do not extract and scale down low bits on after-rounding
55294         systems when result rounded to normal precision would have normal
55295         exponent.
55296         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
55297         (__fmal): Do not extract and scale down low bits on after-rounding
55298         systems when result rounded to normal precision would have normal
55299         exponent.
55300         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
55301         macro.
55302         (fma_test): Add more tests.
55303         (fma_test_towardzero): Likewise.
55304         (fma_test_downward): Likewise.
55305         (fma_test_upward): Likewise.
55307 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
55309         * sysdeps/i386/tininess.h: Renamed to ...
55310         * sysdeps/x86/tininess.h: This.
55311         * sysdeps/x86_64/tininess.h: Removed.
55313 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
55315         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
55316         input.  Use $(build-program-cmd).
55317         ($(objpfx)tst-array1-static.out): Likewise.
55318         ($(objpfx)tst-array2.out): Likewise.
55319         ($(objpfx)tst-array3.out): Likewise.
55320         ($(objpfx)tst-array4.out): Likewise.
55321         ($(objpfx)tst-array5.out): Likewise.
55322         ($(objpfx)tst-array5-static.out): Likewise.
55324 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
55326         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
55327         if defined.
55329         * nss/nsswitch.h (nss_interface_function): Provide new
55330         macro for use with NSS functions.
55331         * grp/initgroups.c: Use new macro.
55332         * nss/getXXbyYY.c: Likewise.
55333         * nss/getXXbyYY_r.c: Likewise.
55334         * nss/getXXent.c: Likewise.
55335         * nss/getXXent_r.c: Likewise.
55336         * sysdeps/posix/getaddrinfo.c: Likewise.
55338 2012-10-30  Andreas Jaeger  <aj@suse.de>
55340         * po/ru.po: Update Russion translation from translation project.
55342 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
55344         [BZ #14152]
55345         [BZ #14783]
55346         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
55347         result and shift together with sticky bit instead of replicating
55348         round-to-nearest rounding.
55349         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
55350         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
55351         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
55352         missing underflow exceptions.
55353         (fma_test_towardzero): Add more tests.
55354         (fma_test_downward): Likewise.
55355         (fma_test_upward): Likewise.
55357         [BZ #14047]
55358         * sysdeps/generic/tininess.h: New file.
55359         * sysdeps/i386/tininess.h: Likewise.
55360         * sysdeps/sh/tininess.h: Likewise.
55361         * sysdeps/x86_64/tininess.h: Likewise.
55362         * stdlib/tst-strtod-underflow.c: Likewise.
55363         * stdlib/tst-tininess.c: Likewise.
55364         * stdlib/strtod_l.c: Include <tininess.h>.
55365         (round_and_return): Do not set errno for exact underflow cases.
55366         Force an underflow exception when setting errno for underflow.
55367         Determine underflow based on rounding to normal precision if
55368         TININESS_AFTER_ROUNDING.
55369         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
55370         ERANGE for exact underflow cases.
55371         * stdlib/Makefile (tests): Add tst-tininess and
55372         tst-strtod-underflow.
55373         ($(objpfx)tst-tininess): Use $(link-libm).
55374         ($(objpfx)tst-strtod-underflow): Likewise.
55376 2012-10-30  Andreas Jaeger  <aj@suse.de>
55378         [BZ#14767]
55379         * elf/Makefile (tests): Remove conditional for have-initfini-array
55380         since this is now always required and the variable does not exist
55381         anymore.
55382         (tests-static): Likewise.
55383         (modules-names): Likewise.
55385         * po/eo.po: Add Esperanto translation from translation project.
55387         * elf/tst-array1.c (fini_array): Make writeable so that it can be
55388         merged with constructor/destructor.
55389         (init_array): Likewise.
55390         * elf/tst-array2dep.c (fini_array): Likewise.
55391         (init_array): Likewise.
55393 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
55395         * manual/message.texi: Delete @cartouche tags.
55397 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
55399         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
55400         EOPNOTSUPP.
55401         * sysdeps/mach/hurd/fsync.c: Likewise.
55403         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
55404         [_POSIX_REALTIME_SIGNALS]: Change condition to
55405         [_POSIX_REALTIME_SIGNALS > 0].
55407 2012-10-27  Andreas Jaeger  <aj@suse.de>
55409         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
55410         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
55411         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
55412         [__WORDSIZE != 64]: Likewise.
55414 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
55416         *  iconvdata/tst-table.sh: Remove ${SHELL}.
55417         *  iconvdata/tst-tables.sh: Likewise.
55419 2012-10-25  David S. Miller  <davem@davemloft.net>
55421         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
55422         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
55423         of strtoull.
55425         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
55426         ifunc-impl-list.c
55427         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
55428         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
55429         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
55430         file.
55432 2012-10-25  Roland McGrath  <roland@hack.frob.com>
55434         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
55435         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
55436         __getdirentries.
55438 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
55439             Jim Blandy  <jimb@codesourcery.com>
55441         * scripts/cross-test-ssh.sh: New file.
55442         * manual/install.texi (Configuring and compiling): Document use of
55443         cross-test-ssh.sh.
55444         * INSTALL: Regenerated.
55446 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
55448         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
55449         EOPNOTSUPP.
55451 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
55453         * Makeconfig (run-program-prefix): Fix comment.
55455 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
55456             Jim Blandy  <jimb@codesourcery.com>
55458         * Makeconfig (test-wrapper): New variable,
55459         (test-wrapper-env): Likewise.
55460         [$(cross-compiling) = yes && $(test-wrapper) != ""]
55461         (run-built-tests): Define to yes.
55462         (run-program-prefix): Use $(test-wrapper).
55463         (built-program-cmd): Likewise.
55464         * Rules (make-test-out): Use $(test-wrapper-env) and
55465         $(host-built-program-cmd).
55466         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
55467         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
55468         tst-pathopt.sh.
55469         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
55470         $(test-wrapper-env) to tst-rtld-load-self.sh.
55471         ($(objpfx)order2.out): Use $(test-wrapper).
55472         ($(objpfx)tst-initorder.out): Likewise.
55473         ($(objpfx)tst-initorder2.out): Likewise.
55474         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
55475         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
55476         (test_wrapper_env): New variable.  Use it to run ld.so.
55477         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
55478         Use it to run ld.so.
55479         (test_wrapper_env): Likewise.
55480         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
55481         $(test-wrapper) to run-iconv-test.sh.
55482         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
55483         (ICONV): Use $test_wrapper.
55484         * posix/Makefile ($(objpfx)globtest.out): Pass
55485         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
55486         globtest.sh, not $(run-program-prefix).
55487         * posix/globtest.sh (run_via_rtld_prefix): New variable.
55488         (test_wrapper): Likewise.
55489         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
55490         set together with run_via_rtld_prefix.
55491         (run_program_prefix): Define in terms of test_wrapper and
55492         run_via_rtld_prefix.
55494 2012-10-24  Roland McGrath  <roland@hack.frob.com>
55496         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
55497         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
55498         Targets removed.
55500         [BZ #14743]
55501         * include/time.h: Remove librt_hidden_proto (clock_gettime).
55502         Declare __clock_getres, __clock_gettime, __clock_settime,
55503         __clock_nanosleep, and __clock_getcpuclockid.
55504         * rt/clock_gettime.c: Define __clock_gettime as an alias.
55505         Remove librt_hidden_def (clock_gettime).
55506         * sysdeps/unix/clock_gettime.c: Likewise.
55507         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
55508         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
55509         * rt/clock_getres.c: Define __clock_getres as an alias.
55510         * sysdeps/posix/clock_getres.c: Likewise.
55511         * rt/clock_settime.c: Define __clock_settime as an alias.
55512         * sysdeps/unix/clock_settime.c: Likewise.
55513         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
55514         * sysdeps/unix/clock_nanosleep.c: Likewise.
55515         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
55516         * rt/clock-compat.c: New file.
55517         * rt/Makefile (librt-routines): Add clock-compat and move
55518         $(clock-routines) to ...
55519         (routines): ... here, new variable.
55520         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
55521         Don't add get_clockfreq here.
55522         * rt/Versions (libc: GLIBC_2.17): New version set.
55523         Add clock_* symbols here.
55524         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
55525         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
55526         (GLIBC_2.17): Add clock_* symbols.
55527         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
55528         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
55529         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
55530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
55531         Likewise.
55532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
55533         Likewise.
55534         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
55535         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
55536         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
55537         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
55538         * NEWS: Mention the move.
55540         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
55541         Use __open, __read, __close rather than their public counterparts.
55542         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
55543         (__get_clockfreq_via_cpuinfo): Likewise.
55544         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
55545         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
55547         * config.h.in (HAVE_IFUNC): New #undef.
55548         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
55549         was successful.
55550         * configure: Regenerated.
55552 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
55554         * configure.in: Move READELF check to start of file.
55555         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
55556         libc_cv_asm_gnu_indirect_function in the process.
55557         * configure: Regenerated.
55559 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
55561         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
55562         send the output to /dev/null.
55563         (libc_cv_cc_with_libunwind): Likewise.
55564         (libc_cv_as_noexecstack): Likewise.
55565         * configure: Regenerate.
55567 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
55569         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
55571         * posix/globtest.sh (TMPDIR): Do not set.
55572         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
55573         (testout): Likewise.
55575 2012-10-24  Andreas Jaeger  <aj@suse.de>
55577         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
55578         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
55579         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
55580         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
55581         posix_fadvise64, posix_fallocate64.
55583         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
55584         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
55585         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
55586         Likewise.
55587         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
55588         Likewise.
55589         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
55591         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
55592         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
55593         <bits/fcntl-linux.h>.
55594         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
55596         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
55597         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
55598         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
55599         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
55600         [__WORDSIZE != 64]: Likewise.
55602 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
55604         * Makeconfig (run-built-tests): New variable.
55605         * Rules [$(cross-compiling) = yes]: Change condition to
55606         [$(run-built-tests) = no].
55607         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
55608         to [$(run-built-tests) = yes].
55609         * elf/Makefile [$(cross-compiling) = no]: Likewise.
55610         * grp/Makefile [$(cross-compiling) = no]: Likewise.
55611         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
55612         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
55613         * intl/Makefile [$(cross-compiling) = no]: Likewise.
55614         * io/Makefile [$(cross-compiling) = no]: Likewise.
55615         * libio/Makefile [$(cross-compiling) = no]: Likewise.
55616         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
55617         * misc/Makefile [$(cross-compiling) = no]: Likewise.
55618         * posix/Makefile [$(cross-compiling) = no]: Likewise.
55619         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
55620         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
55621         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
55622         * string/Makefile [$(cross-compiling) = no]: Likewise.
55624         * posix/Makefile ($(objpfx)globtest.out): Pass
55625         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
55626         $(rtld-installed-name).
55627         * posix/globtest.sh (elf_objpfx): Remove variable.
55628         (rtld_installed_name): Likewise.
55629         (library_path): Likewise.
55630         (run_program_prefix): New variable.  Use for running globtest
55631         binary.
55633 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
55634             Joseph Myers  <joseph@codesourcery.com>
55636         * Makeconfig (host-built-program-cmd): New variable.
55637         * elf/Makefile (tst-stackguard1-ARGS): Use
55638         $(host-built-program-cmd).
55639         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
55640         (tst-spawn-ARGS): Likewise.
55641         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
55643 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
55644             Jim Blandy  <jimb@codesourcery.com>
55646         * Makeconfig (run-via-rtld-prefix): New variable.
55647         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
55648         (built-program-cmd): Likewise.
55650 2012-10-22  Andreas Jaeger  <aj@suse.de>
55652         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
55653         __O_RSYNC if it exists, otherwise to O_SYNC.
55655 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
55656             Joseph Myers  <joseph@codesourcery.com>
55658         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
55659         /dev/null.
55660         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
55661         from /dev/null
55662         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
55663         /dev/null.
55665 2012-10-22  Andreas Jaeger  <aj@suse.de>
55667         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
55668         Define always.
55669         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
55671         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55672         bits/fcntl-linux.h.
55674         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
55675         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
55677         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
55678         to __O_LARGEFILE.
55679         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
55680         to __O_LARGEFILE.
55682 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
55683             Joseph Myers  <joseph@codesourcery.com>
55685         * config.make.in (NM): New variable.
55687 2012-10-21  Andreas Jaeger  <aj@suse.de>
55689         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
55690         definitions and declarations that are provided by
55691         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
55693 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
55695         [BZ #14683]
55696         * elf/Makefile (tests-static): Add tst-leaks1-static.
55697         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
55698         ($(objpfx)tst-leaks1-static): New rule.
55699         ($(objpfx)tst-leaks1-static-mem): Likewise.
55700         (tst-leaks1-static-ENV): New macro.
55701         * elf/dl-open.c (dl_open_worker): Check the main application
55702         only if SHARED is defined.
55703         * elf/tst-leaks1-static.c: New file.
55705 2012-10-20  Andreas Jaeger  <aj@suse.de>
55707         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
55708         generic values for Linux.
55709         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
55710         and declarations that are provided by <bits/fcntl-linux.h> and
55711         include <bits/fcntl-linux.h>.
55712         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55713         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55715 2012-10-20  Roland McGrath  <roland@hack.frob.com>
55717         * io/fcntl.h: Move include of <bits/types.h> to the top and
55718         include it unconditionally.
55720 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
55722         * wcsmbs/Makefile (tests-ifunc): New variable.
55723         (tests): Add $(tests-ifunc).
55724         * wcsmbs/test-wcschr-ifunc.c: New file.
55725         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
55726         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
55727         * wcsmbs/test-wcslen-ifunc.c: Likewise.
55728         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
55729         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
55731         * string/Makefile (tests-ifunc): New variable.
55732         (tests): Add $(tests-ifunc).
55733         * string/test-memccpy.c (TEST_NAME): New macro.
55734         * string/test-memchr.c (TEST_NAME): Likewise.
55735         * string/test-memcmp.c (TEST_NAME): Likewise.
55736         * string/test-memcpy.c (TEST_NAME): Likewise.
55737         * string/test-memmem.c (TEST_NAME): Likewise.
55738         * string/test-memmove.c (TEST_NAME): Likewise.
55739         * string/test-memset.c (TEST_NAME): Likewise.
55740         * string/test-rawmemchr.c (TEST_NAME): Likewise.
55741         * string/test-stpcpy.c (TEST_NAME): Likewise.
55742         * string/test-stpncpy.c (TEST_NAME): Likewise.
55743         * string/test-strcasecmp.c (TEST_NAME): Likewise.
55744         * string/test-strcasestr.c (TEST_NAME): Likewise.
55745         * string/test-strcat.c (TEST_NAME): Likewise.
55746         * string/test-strchr.c (TEST_NAME): Likewise.
55747         * string/test-strcmp.c(TEST_NAME): Likewise.
55748         * string/test-strcpy.c (TEST_NAME): Likewise.
55749         * string/test-strcspn.c (TEST_NAME): Likewise.
55750         * string/test-strlen.c (TEST_NAME): Likewise.
55751         * string/test-strncasecmp.c (TEST_NAME): Likewise.
55752         * string/test-strncmp.c (TEST_NAME): Likewise.
55753         * string/test-strncpy.c (TEST_NAME): Likewise.
55754         * string/test-strnlen.c (TEST_NAME): Likewise.
55755         * string/test-strpbrk.c (TEST_NAME): Likewise.
55756         * string/test-strrchr.c (TEST_NAME): Likewise.
55757         * string/test-strspn.c (TEST_NAME): Likewise.
55758         * string/test-strstr.c (TEST_NAME): Likewise.
55759         * string/test-bcopy-ifunc.c: New file.
55760         * string/test-bzero-ifunc.c: Likewise.
55761         * string/test-memccpy-ifunc.c: Likewise.
55762         * string/test-memchr-ifunc.c: Likewise.
55763         * string/test-memcmp-ifunc.c: Likewise.
55764         * string/test-memcpy-ifunc.c: Likewise.
55765         * string/test-memmem-ifunc.c: Likewise.
55766         * string/test-memmove-ifunc.c: Likewise.
55767         * string/test-mempcpy-ifunc.c: Likewise.
55768         * string/test-memset-ifunc.c: Likewise.
55769         * string/test-rawmemchr-ifunc.c: Likewise.
55770         * string/test-stpcpy-ifunc.c: Likewise.
55771         * string/test-stpncpy-ifunc.c: Likewise.
55772         * string/test-strcasecmp-ifunc.c: Likewise.
55773         * string/test-strcasestr-ifunc.c: Likewise.
55774         * string/test-strcat-ifunc.c: Likewise.
55775         * string/test-strchr-ifunc.c: Likewise.
55776         * string/test-strchrnul-ifunc.c: Likewise.
55777         * string/test-strcmp-ifunc.c: Likewise.
55778         * string/test-strcpy-ifunc.c: Likewise.
55779         * string/test-strcspn-ifunc.c: Likewise.
55780         * string/test-strlen-ifunc.c: Likewise.
55781         * string/test-strncasecmp-ifunc.c: Likewise.
55782         * string/test-strncat-ifunc.c: Likewise.
55783         * string/test-strncmp-ifunc.c: Likewise.
55784         * string/test-strncpy-ifunc.c: Likewise.
55785         * string/test-strnlen-ifunc.c: Likewise.
55786         * string/test-strpbrk-ifunc.c: Likewise.
55787         * string/test-strrchr-ifunc.c: Likewise.
55788         * string/test-strspn-ifunc.c: Likewise.
55789         * string/test-strstr-ifunc.c: Likewise.
55791         * debug/Makefile (tests-ifunc): New variable.
55792         (tests): Add $(tests-ifunc).
55793         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
55794         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
55795         * debug/test-stpcpy_chk-ifunc.c: New file.
55796         * debug/test-strcpy_chk-ifunc.c: Likewise.
55798 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
55800         [BZ #13601]
55801         * elf/dl-load.c (open_verify): Retry read if the entire ELF
55802         header is not read in.
55804 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
55806         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
55807         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
55808         directly.  Pass built executable to script as
55809         $(built-program-cmd).
55810         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
55811         $testprogram without using LD_LIBRARY_PATH and $ldso.
55813         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
55814         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
55815         $(rtld-installed-name).
55816         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
55817         (rtld_installed_name): Likewise.
55818         (library_path): Likewise.
55819         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
55820         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
55821         $(run-program-prefix) to tst-tables.sh.
55822         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
55823         it to run tst-table-from and tst-table-to.
55824         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
55825         Pass it to tst-table.sh.
55826         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
55827         $(run-program-prefix) to tst-gettext.sh.
55828         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
55829         tst-translit.sh.
55830         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
55831         tst-gettext2.sh.
55832         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
55833         to run tst-gettext.
55834         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
55835         to run tst-gettext2.
55836         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
55837         to run tst-translit.
55838         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
55839         $(run-program-prefix) to tst-mtrace.sh.
55840         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
55841         to run tst-mtrace.
55842         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
55843         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
55844         $(rtld-installed-name).
55845         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
55846         (rtld_installed_name): Likewise.
55847         (run_program_prefix): New variable.  Use it to run wordexp-test.
55849         * Makeconfig (ARCH): Remove all definitions.
55850         (machine): Likewise.
55851         [ARCH]: Remove conditional code.
55852         [!objdir]: Give error.
55853         [!objdir] (objpfx): Remove.
55854         [!objdir] (common-objpfx): Likewise.
55855         [!objdir] (common-objdir): Likewise.
55856         * configure.in (config_makefile): Remove.  Hardcode Makefile in
55857         AC_CONFIG_FILES call.
55858         * configure: Regenerated.
55860         [BZ #13888]
55861         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
55862         or TMPDIR.
55863         (testout): Likewise.
55865         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
55866         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
55867         $(rtld-installed-name).
55868         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
55869         (rtld_installed_name): Likwise.
55870         (runit): Remove function.
55871         (run_getconf): New variable,  Use it for running getconf binary.
55873 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
55875         [BZ #14716]
55876         * string/test-memmem.c (check_result): New function.
55877         (do_one_test): Use it.
55878         (check1): New function.
55879         (test_main): Use it.
55881 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
55883         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
55885 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
55887         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
55888         (_G_LSEEK64): Likewise.
55889         (_G_MMAP64): Likewise.
55890         (_G_FSTAT64): Likewise.
55891         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
55892         (_G_LSEEK64): Likewise.
55893         (_G_MMAP64): Likewise.
55894         (_G_FSTAT64): Likewise.
55895         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
55896         unconditional.  Call __mmap64 directly.
55897         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
55898         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
55899         __lseek64 directly.
55900         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
55901         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
55902         __mmap64 directly.
55903         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
55904         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
55905         __lseek64 directly.
55906         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
55907         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
55908         __lseek64 directly.
55909         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
55910         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
55911         __lseek64 directly.
55912         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
55913         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
55914         __fxstat64 directly.
55915         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
55916         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
55917         unconditional.
55918         (freopen64) [!_G_OPEN64]: Remove conditional code.
55919         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
55920         unconditional.
55921         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
55922         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
55923         unconditional.
55924         (ftello64) [!_G_LSEEK64]: Remove conditional code.
55925         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
55926         unconditional.
55927         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
55928         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
55929         unconditional.
55930         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
55931         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
55932         unconditional.
55933         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
55934         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
55935         unconditional.
55936         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
55937         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
55938         unconditional.
55939         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
55941 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
55943         [BZ #12140]
55944         * manual/memory.texi (Malloc Tunable Parameters): Add note
55945         about free list pointers overwriting some perturb bytes.
55946         Wording suggested by Roland McGrath.
55948 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
55950         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
55951         (lgamma_test): Likewise.
55952         (tgamma_test): Likewise.
55954 2012-10-16  Florian Weimer  <fweimer@redhat.com>
55956         [BZ #14700]
55957         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
55958         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
55960 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
55962         * NEWS: Mention BZ #14716.
55963         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
55964         when removing AVAILABLE1_USES_J macro.
55966 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
55968         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
55969         (__bswap_64): __uint64_t for unsigned 64-bit int.
55971 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
55973         * include/string.h (memmem): Declare libc hidden alias.
55974         * string/memmem.c (memmem): Define libc hidden alias.
55975         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
55976         __read, __close instead of open, read, close.
55978 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
55980         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
55981         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
55982         global and hidden.
55983         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
55984         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
55985         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
55986         Likewise.
55987         (__rawmemchr_sse2): Likewise.
55988         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
55989         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
55990         (__strchr_sse2): Likewise.
55991         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
55992         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
55993         (__strcasecmp_sse2): Likewise.
55994         (__strncasecmp_sse2): Likewise.
55995         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
55996         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
55997         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
55998         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
55999         (__strrchr_sse2): Likewise.
56000         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
56001         ifunc-impl-list.c.
56002         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
56003         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
56004         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
56005         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
56006         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
56007         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
56008         * sysdeps/x86_64/multiarch/memset.S: Likewise.
56009         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
56010         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
56011         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
56012         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
56013         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
56014         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
56015         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
56016         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
56017         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
56018         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
56019         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
56020         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
56021         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
56022         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
56023         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
56024         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
56025         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
56026         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
56027         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
56028         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
56029         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
56030         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
56031         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
56033         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
56034         global and hidden.
56035         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
56036         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
56037         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
56038         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
56039         Likewise.
56040         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
56041         Likewise.
56042         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
56043         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
56044         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
56045         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
56046         ifunc-impl-list.c.
56047         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
56048         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
56049         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
56050         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
56051         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
56052         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
56053         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
56054         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
56055         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
56056         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
56057         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
56058         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
56059         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
56060         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
56061         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
56062         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
56063         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
56064         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
56065         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
56066         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
56067         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
56068         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
56069         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
56070         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
56071         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
56072         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
56073         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
56074         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
56075         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
56076         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
56077         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
56078         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
56079         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
56080         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
56081         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
56082         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
56083         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
56084         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
56085         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
56086         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
56087         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
56089         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
56090         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
56091         * include/ifunc-impl-list.h: New file.
56092         * misc/ifunc-impl-list.c: Likewise.
56093         * misc/Makefile (routines): Add ifunc-impl-list.
56094         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
56095         * string/test-string.h: Include <ifunc-impl-list.h>.
56096         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
56097         TEST_NAME]: New variables.
56098         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
56099         are defined.
56100         (test_init): Call __libc_ifunc_impl_list to initialize
56101         func_list if TEST_IFUNC and TEST_NAME are defined.
56103         * string/Makefile (strop-tests): Add bcopy and bzero.
56104         * string/test-bcopy.c: New file.
56105         * string/test-bzero.c: Likewise.
56106         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
56107         defined.
56108         * string/test-memset.c: Support bzero test if TEST_BZERO is
56109         defined.
56110         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
56111         __libc_memmove.
56112         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
56113         __libc_memset.
56114         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
56115         of memset.
56117 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
56119         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
56120         * configure: Regenerated.
56122         * Makeconfig (+link-static-before-libc): Don't include
56123         $(link-static-libc).
56125         * libio/libio.h (_IO_pos_t): Remove.
56127 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
56129         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
56130         McGrath.
56132 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
56134         * crypt/crypt-entry.c: Include fips-private.h.
56135         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
56136         * crypt/md5c-test.c (main): Tolerate disabled MD5.
56137         * sysdeps/unix/sysv/linux/fips-private.h: New file.
56138         * sysdeps/generic/fips-private.h: New file, dummy fallback.
56140 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
56142         * crypt/crypt-private.h: Include stdbool.h.
56143         (_ufc_setup_salt_r): Return bool.
56144         * crypt/crypt-entry.c: Include errno.h.
56145         (__crypt_r): Return NULL with EINVAL for bad salt.
56146         * crypt/crypt_util.c (bad_for_salt): New.
56147         (_ufc_setup_salt_r): Check that salt is long enough and within
56148         the specified alphabet.
56149         * crypt/badsalttest.c: New file.
56150         * crypt/Makefile (tests): Add it.
56151         ($(objpfx)badsalttest): New.
56153 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
56155         * NEWS: Add entry for BZ #14602.
56157 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
56159         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
56160         type-generic.
56161         * math/libm-test.inc: Update comment listing what functions and
56162         macros are tested.
56163         (isgreater_test): New function.
56164         (isgreaterequal_test): Likewise.
56165         (isless_test): Likewise.
56166         (islessequal_test): Likewise.
56167         (islessgreater_test): Likewise.
56168         (isunordered_test): Likewise.
56169         (main): Call the new functions.
56171 2012-10-09  Roland McGrath  <roland@hack.frob.com>
56173         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
56174         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
56175         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
56176         * sysdeps/i386/configure: Regenerated.
56177         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
56178         * sysdeps/mach/configure: Regenerated.
56179         * sysdeps/mach/hurd/configure: Regenerated.
56180         * sysdeps/powerpc/configure: Regenerated.
56181         * sysdeps/powerpc/powerpc32/configure: Regenerated.
56182         * sysdeps/powerpc/powerpc64/configure: Regenerated.
56183         * sysdeps/s390/s390-32/configure: Regenerated.
56184         * sysdeps/s390/s390-64/configure: Regenerated.
56185         * sysdeps/sh/configure: Regenerated.
56186         * sysdeps/sparc/configure: Regenerated.
56187         * sysdeps/unix/sysv/linux/configure: Regenerated.
56188         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
56189         * sysdeps/x86_64/configure: Regenerated.
56191         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
56192         defined.  Don't check if MAP is NULL.
56194 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
56196         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
56197         (_G_stat64): Likewise.
56198         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
56199         (_G_stat64): Likewise.
56200         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
56201         instead of struct _G_stat64.
56202         * libio/fileops.c (mmap_remap_check): Likewise.
56203         (decide_maybe_mmap): Likewise.
56204         (_IO_new_file_seekoff): Likewise.
56205         (_IO_file_stat): Likewise.
56206         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
56207         _G_off64_t.
56208         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
56209         instead of struct _G_stat64.
56210         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
56212 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
56214         [BZ #14602]
56215         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
56216         Replace with ...
56217         (CHECK_EOL): New macro.
56218         (two_way_short_needle): Check beginning of haystack for EOL.  Use
56219         CHECK_EOL.
56220         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
56221         Replace with CHECK_EOL.
56222         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
56223         Replace with CHECK_EOL.
56225 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
56227         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
56228         type-generic.
56229         * math/libm-test.inc: Update comment listing what functions and
56230         macros are tested.
56231         (finite_test): New function.
56232         (isinf_test): Likewise.
56233         (isnan_test): Likewise.
56234         (fpclassify_test): Test subnormal input.
56235         (isfinite_test): Likewise.
56236         (isnormal_test): Likewise.
56237         (main): Call the new functions.
56239 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
56241         [BZ #14660]
56242         * Makerules (%.dynsym): Force C locale when running
56243         $(OBJDUMP) --dynamic-syms.
56245 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
56247         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
56248         <stdint.h>.
56250 2012-10-06  David S. Miller  <davem@davemloft.net>
56252         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
56253         upper 32-bits of the length value in %o2 since we use branch-on-register
56254         tests which consider the entire 64-bit register.
56256 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
56258         * string/test-strstr.c (check2): Add a test for page boundary.
56260 2012-10-05  David S. Miller  <davem@davemloft.net>
56262         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
56263         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
56264         file.
56265         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
56266         sysdep_routines.
56267         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
56268         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
56269         and bzero when HWCAP_SPARC_CRYPTO is present.
56271 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
56273         [BZ #14602]
56274         * string/test-strstr.c (check2): New function.
56275         (test_main): Call check2.
56277         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
56278         and bug-strchr1.
56279         * string/bug-strcasestr1.c (do_test): Moved to ...
56280         * string/test-strcasestr.c (check1): Here.  New function.
56281         (do_one_test): Break out result checking code into ...
56282         (check_result): This.  New function.
56283         (do_one_test): Call check_result.
56284         (test_main): Call check1.
56285         * string/bug-strchr1.c (do_test): Moved to ...
56286         * string/test-strchr.c (check1): Here.  New function.
56287         (do_one_test): Break out result checking code into ...
56288         (check_result): This.  New function.
56289         (do_one_test): Call check_result.
56290         (test_main): Call check1.
56291         * string/bug-strstr1.c (main): Moved to ...
56292         * string/test-strstr.c (check1): Here.  New function.
56293         (do_one_test): Break out result checking code into ...
56294         (check_result): This.  New function.
56295         (do_one_test): Call check_result.
56296         (test_main): Call check1.
56297         * string/bug-strcasestr1.c: Removed.
56298         * string/bug-strchr1.c: Likewise.
56299         * string/bug-strstr1.c: Likewise.
56301         * elf/Makefile (dl-routines): Add hwcaps.
56302         * elf/dl-support.c (_dl_important_hwcaps): Removed.
56303         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
56304         (_dl_important_hwcaps): Moved to ...
56305         * elf/dl-hwcaps.c: Here.  New file.
56306         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
56308         [BZ #14557]
56309         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
56310         if IS_IN_rtld isn't defined.
56312         * elf/dl-support.c (_dl_sysinfo_map): New.
56313         Include "get-dynamic-info.h" and "setup-vdso.h".
56314         (_dl_non_dynamic_init): Call setup_vdso.
56315         * elf/dynamic-link.h: Don't include <assert.h>.
56316         (elf_get_dynamic_info): Moved to ...
56317         * elf/get-dynamic-info.h: Here.  New file.
56318         * elf/dynamic-link.h: Include "get-dynamic-info.h".
56319         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
56320         * elf/setup-vdso.h: Here.  New file.
56321         * elf/rtld.c: Include "setup-vdso.h".
56322         (dl_main): Call setup_vdso.
56324 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
56326         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
56327         creal in comment listing functions tested.  List finite, isinf,
56328         isnan, isless, islessequal, isgreater, isgreaterequal,
56329         islessgreater, isunordered, lgamma_r and pow10 as functions and
56330         macros not tested.  Mention which functions not tested are aliases
56331         for other functions.  Fix typo.  Note that signs of NaNs are not
56332         tested.
56334         * scripts/config.guess: Update from config.git.
56335         * scripts/config.sub: Likewise.
56337 2012-10-04  Roland McGrath  <roland@hack.frob.com>
56339         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
56340         * misc/madvise.c (madvise): Renamed to __madvise.
56341         Make madvise a weak alias.
56342         * include/sys/mman.h: Declare __madvise.
56343         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
56344         * sysdeps/unix/syscalls.list
56345         (madvise): Make __madvise the strong name, and madvise a weak alias.
56346         * sysdeps/unix/sysv/linux/syscalls.list
56347         (madvise, mmap): Remove redundant entries.
56348         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
56349         * malloc/malloc.c (mtrim): Likewise.
56350         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
56352 2012-10-03  Roland McGrath  <roland@hack.frob.com>
56354         * sysdeps/mach/hurd/dl-cache.c: File removed.
56355         * config.h.in (USE_LDCONFIG): New #undef.
56356         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
56357         * configure: Regenerated.
56358         * elf/Makefile (dl-routines): Add dl-cache only under
56359         [$(use-ldconfig) = yes].
56360         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
56361         cache on [USE_LDCONFIG].
56362         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
56363         [USE_LDCONFIG].
56364         * elf/rtld.c (dl_main): Likewise.
56366 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
56368         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
56369         _SC_LEVEL4_CACHE_LINESIZE.
56371 2012-10-03  Roland McGrath  <roland@hack.frob.com>
56373         * sysdeps/unix/bsd/confstr.h: File removed.
56375 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
56377         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
56378         sys/sdt-config.h.
56380 2012-10-02  Roland McGrath  <roland@hack.frob.com>
56382         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
56383         Make 'mapoff' field ElfW(Off) rather than off_t.
56385 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
56387         * nscd/Makefile: Remove nscd-cflags and all its users.
56388         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
56389         (CFLAGS-nonlib): Add compiler flags for nscd modules.
56391         [BZ #10631]
56392         * malloc.c (malloc_printerr): Clarify error message.
56394 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
56396         [BZ #14648]
56397         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56398         Set bit_FMA_Usable if FMA is supported.
56399         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
56400         macro.
56401         (bit_FMA4_Usable): Updated.
56402         (index_FMA_Usable): New macro.
56403         (CPUID_FMA): Likewise.
56404         (HAS_FMA): Defined with bit_FMA_Usable.
56406 2012-10-01  Roland McGrath  <roland@hack.frob.com>
56408         * bits/types.h (__swblk_t): Type removed.
56409         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
56410         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
56411         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
56412         (__SWBLK_T_TYPE): Likewise.
56413         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
56414         (__SWBLK_T_TYPE): Likewise.
56415         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
56416         (__SWBLK_T_TYPE): Likewise.
56417         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
56418         (__SWBLK_T_TYPE): Likewise.
56420 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
56421             Honza Horak <hhorak@redhat.com>
56423         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
56424         (xdr_mapname): Use YPMAXMAP as maxsize.
56425         (xdr_peername): Use YPMAXPEER as maxsize.
56426         (xdr_keydat): Use YPAXRECORD as maxsize.
56427         (xdr_valdat): Use YPMAXRECORD as maxsize.
56429 2012-10-01  Roland McGrath  <roland@hack.frob.com>
56431         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
56433         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
56434         * csu/init-first.c: ... here.
56435         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
56436         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
56437         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
56438         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
56439         * sysdeps/i386/init-first.c: File removed.
56440         * sysdeps/sh/init-first.c: File removed.
56442 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
56444         [BZ #14645]
56445         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
56446         if x * y might underflow to zero and z is zero.
56447         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56448         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56449         * math/libm-test.inc (min_subnorm_value): New variable.
56450         (fma_test): Add more tests.
56451         (fma_test_towardzero): Likewise.
56452         (fma_test_downward): Likewise.
56453         (fma_test_upward): Likewise.
56454         (initialize): Set min_subnorm_value.
56456 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
56458         [BZ #14638]
56459         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
56460         0 + 0.
56461         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
56462         mode for addition resulting in exact zero.
56463         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
56464         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
56465         exact 0 + 0.
56466         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
56467         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56468         * math/libm-test.inc (fma_test): Add more tests.
56469         (fma_test_towardzero): New function.
56470         (fma_test_downward): Likewise.
56471         (fma_test_upward): Likewise.
56472         (main): Call the new functions.
56474 2012-09-28  David S. Miller  <davem@davemloft.net>
56476         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
56478 2012-09-28  Roland McGrath  <roland@hack.frob.com>
56480         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
56481         instead of SIGALRM.
56483         * sysdeps/gnu/_G_config.h: Moved to ...
56484         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
56485         * sysdeps/mach/hurd/_G_config.h: Moved to ...
56486         * sysdeps/generic/_G_config.h: ... here.
56488         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
56490         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
56492         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
56493         Conditionalize target on [libnss_test1.so-version].
56495         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
56497         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
56498         (elfobjdir): Move out of conditionals.
56500         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
56501         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
56502         (__nss_lookup_function): Conditionalize label remove_from_tree on
56503         [!DO_STATIC_NSS || SHARED], matching its only use.
56505 2012-09-28  David S. Miller  <davem@davemloft.net>
56507         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
56508         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
56509         file.
56510         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
56511         sysdep_routines.
56512         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
56513         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
56514         when HWCAP_SPARC_CRYPTO is present.
56516 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
56518         * io/tst-mknodat.c: Create a FIFO instead of a socket.
56520 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
56522         [BZ #6530]
56523         * stdio-common/vfprintf.c (process_string_arg): Revert
56524         2000-07-22 change.
56526 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
56528         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
56529         for testcase.
56530         * stdio-common/tst-sprintf.c: Include <locale.h>
56531         (main): Test sprintf's handling of incomplete multibyte
56532         characters.
56534 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
56536         * elf/dl-runtime.c (VERSYMIDX): Removed.
56537         * elf/dl-version.c (VERSYMIDX): Likewise.
56538         * elf/do-rel.h (VERSYMIDX): Likewise.
56539         (VALIDX): Likewise.
56540         * elf/dynamic-link.h (VERSYMIDX): Likewise.
56541         * elf/rtld.c (VALIDX): Likewise.
56542         (ADDRIDX): Likewise.
56543         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
56544         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
56545         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
56546         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
56547         (VALIDX): Likewise.
56548         (ADDRIDX): Likewise.
56550 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
56552         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
56554 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
56556         [BZ #11438]
56557         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
56558         to global scope.
56559         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
56560         addresses are in the same scope as 192.0.2/24.
56561         * posix/gai.conf: Document new scope table defaults.
56563 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56565         [BZ #5298]
56566         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
56567         for ftell.  Compute offsets from write pointers instead.
56568         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
56570 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56572         [BZ #14543]
56573         * libio/Makefile (tests): New test case tst-fseek.
56574         * libio/tst-fseek.c: New test case to verify that fseek/ftell
56575         combination works in wide mode.
56576         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
56577         state when the external buffer state changes.
56579 2012-09-27  David S. Miller  <davem@davemloft.net>
56581         [BZ #14376]
56582         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
56583         pass reloc->r_addend in as the 'high' argument to
56584         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
56586         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56588 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
56590         * rt/tst-aio2.c: Include <pthread.h>.
56591         * rt/tst-aio3.c: Likewise.
56593 2012-09-27  Steve Ellcey  <sellcey@mips.com>
56595         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
56597 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
56599         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
56600         contents on [SHARED].
56602 2012-09-26  Marek Polacek  <polacek@redhat.com>
56604         [BZ #14530]
56605         [BZ #13741]
56606         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
56607         for C++ and GCC <4.3 as well as for non GCC compilers.
56609 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
56611         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56613 2012-09-25  Roland McGrath  <roland@hack.frob.com>
56615         * Makefile.in (all, install): Declare with .PHONY.
56616         Reported by Michael Hope <michael.hope@linaro.org>.
56618 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
56620         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
56621         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
56622         system header.
56623         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
56624         Likewise.
56625         (sydep_routines): Add the new and the internal functions.
56626         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
56627         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
56628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
56629         (GLIBC_2.17): Add the new function.
56630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
56631         (GLIBC_2.17): Likewise.
56632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
56633         (GLIBC_2.17): Likewise.
56634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
56635         (GLIBC_2.17): Likewise.
56636         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
56638 2012-09-25  Alan Modra  <amodra@gmail.com>
56640         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
56641         Add release barrier before setting once_control to say
56642         initialisation is done.  Add hints on lwarx.  Use macro in
56643         place of isync.
56644         (clear_once_control): Add release barrier.
56646 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
56648         [BZ #13629]
56649         * math/s_clog.c (__clog): Handle more values close to |z| = 1
56650         specially.
56651         * math/s_clog10.c (__clog10): Likewise.
56652         * math/s_clog10f.c (__clog10f): Likewise.
56653         * math/s_clog10l.c (__clog10l): Likewise.
56654         * math/s_clogf.c (__clogf): Likewise.
56655         * math/s_clogl.c (__clogl): Likewise.
56656         * math/Makefile (libm-calls): Add x2y2m1.
56657         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
56658         (__x2y2m1): Likewise.
56659         (__x2y2m1l): Likewise.
56660         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
56661         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
56662         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
56663         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
56664         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
56665         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
56666         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
56667         * sysdeps/i386/fpu/libm-test-ulps: Update.
56668         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56670         [BZ #14621]
56671         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
56672         int as type of variable DEPTH.
56673         (glob): Use size_t instead of int as type of variables NEWCOUNT
56674         and OLD_PATHC.
56676 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56678         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
56679         Add s_sincosf-sse2.
56680         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
56681         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
56682         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
56683         macros for using routine as __sincosf_ia32.
56684         Use macro for function declaration and weak_alias.
56685         * sysdeps/i386/fpu/libm-test-ulps: Update.
56687         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
56688         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56690         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
56691         subnormal argument.
56692         * math/s_cexpf.c (__cexpf): Likewise.
56693         * math/s_csinf.c (__csinf): Likewise.
56694         * math/s_csinhf.c (__csinhf): Likewise.
56695         * math/s_ctanf.c (__ctanf): Likewise.
56696         * math/s_ctanhf.c (__ctanhf): Likewise.
56697         * math/s_ccosh.c (__ccoshf): Likewise.
56698         * math/s_cexp.c (__cexpl): Likewise.
56699         * math/s_csin.c (__csin): Likewise.
56700         * math/s_csinh.c (__csinh): Likewise.
56701         * math/s_ctan.c (__ctan): Likewise.
56702         * math/s_ctanh.c (ctanh): Likewise.
56703         * math/s_ccoshl.c (__ccoshl): Likewise.
56704         * math/s_cexpl.c (__cexpl): Likewise.
56705         * math/s_csinl.c (__csinl): Likewise.
56706         * math/s_csinhl.c (__csinhl): Likewise.
56707         * math/s_ctanl.c (__ctanl): Likewise.
56708         * math/s_ctanhl.c (__ctanhl): Likewise.
56710 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
56712         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
56713         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
56714         (_IO_off_t): Define to __off_t, not _G_off_t.
56715         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
56716         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
56717         (_IO_wint_t): Define to wint_t, not _G_wint_t.
56718         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
56719         type of __dummy and __dummy2 fields.
56720         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
56721         (_G_ssize_t): Likewise.
56722         (_G_off_t): Likewise.
56723         (_G_pid_t): Likewise.
56724         (_G_uid_t): Likewise.
56725         (_G_wchar_t): Likewise.
56726         (_G_wint_t): Likewise.
56727         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
56728         (_G_ssize_t): Likewise.
56729         (_G_off_t): Likewise.
56730         (_G_pid_t): Likewise.
56731         (_G_uid_t): Likewise.
56732         (_G_wchar_t): Likewise.
56733         (_G_wint_t): Likewise.
56734         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
56735         (_G_ssize_t): Likewise.
56736         (_G_off_t): Likewise.
56737         (_G_pid_t): Likewise.
56738         (_G_uid_t): Likewise.
56739         (_G_wchar_t): Likewise.
56740         (_G_wint_t): Likewise.
56742 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
56744         * malloc/arena.c: Include malloc-sysdep.h.
56745         (shrink_heap): Use check_may_shrink_heap to decide if madvise
56746         is sufficient to shrink the heap or an unmap is needed.
56747         * sysdeps/generic/malloc-sysdep.h: New file.  Define
56748         new function check_may_shrink_heap.
56749         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
56750         new function check_may_shrink_heap.
56752 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
56754         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
56755         comments.
56757 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
56759         * catgets/test-gencat.sh: Add "set -e".
56760         * elf/tst-pathopt.sh: Likewise.
56761         * grp/tst_fgetgrent.sh: Likewise.
56762         * iconvdata/run-iconv-test.sh: Likewise.
56763         * intl/tst-gettext.sh: Likewise.
56764         * intl/tst-gettext2.sh: Likewise.
56765         * intl/tst-gettext4.sh: Likewise.
56766         * intl/tst-gettext6.sh: Likewise.
56767         * intl/tst-translit.sh: Likewise.
56768         * io/ftwtest-sh: Likewise.
56769         * libio/test-freopen.sh: Likewise.
56770         * malloc/tst-mtrace.sh: Likewise.
56771         * posix/globtest.sh: Likewise.
56772         * posix/tst-getconf.sh: Likewise.
56773         * posix/wordexp-tst.sh: Likewise.
56774         * stdio-common/tst-printf.sh: Likewise.
56775         * stdio-common/tst-unbputc.sh: Likewise.
56776         * stdlib/tst-fmtmsg.sh: Likewise.
56777         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
56778         * catgets/Makefile: Do not specify -e option when running
56779         testsuite shell scripts.
56780         * elf/Makefile: Likewise.
56781         * grp/Makefile: Likewise.
56782         * iconvdata/Makefile: Likewise.
56783         * intl/Makefile: Likewise.
56784         * io/Makefile: Likewise.
56785         * libio/Makefile: Likewise.
56786         * malloc/Makefile: Likewise.
56787         * posix/Makefile: Likewise.
56788         * stdio-common/Makefile: Likewise.
56789         * stdlib/Makefile: Likewise.
56790         * sysdeps/x86_64/Makefile: Likewise.
56792         * io/ftwtest-sh: Add copyright header.
56793         * posix/globtest.sh: Likewise.
56794         * posix/tst-getconf.sh: Likewise.
56795         * posix/wordexp-tst.sh: Likewise.
56796         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
56798 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
56800         [BZ #13679]
56801         * Makeconfig (+link): Defined as $(+link-static) if
56802         $(build-shared) isn't yes.
56803         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
56804         isn't yes.
56805         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
56807         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
56809         [BZ #14562]
56810         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
56811         new chunk size with MALLOC_ALIGN_MASK.
56813 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
56815         [BZ #5044]
56816         * stdio-common/printf_fphex.c: Include <stdbool.h> and
56817         <rounding-mode.h>.
56818         (__printf_fphex): Determine rounding using get_rounding_mode and
56819         round_away.
56820         * stdio-common/tst-printf-round.c (struct hex_test): New
56821         structure.
56822         (hex_tests): New variable.
56823         (test_hex_in_one_mode): New function.
56824         (do_test): Also run tests for hex float output.
56826 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
56828         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
56829         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
56830         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
56831         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
56832         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
56833         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
56834         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
56835         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
56837 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
56839         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
56840         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
56841         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
56842         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
56844 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
56846         [BZ #14579]
56847         * elf/rtld.c (dl_main): Limit the check for self loading to normal
56848         mode only.
56849         * elf/tst-rtld-load-self.sh: New test.
56850         * elf/Makefile: Run it.
56852 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
56854         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
56855         (tst-writev-ENV): Remove.
56856         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
56858 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
56860         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
56862 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
56864         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
56865         unconditional.
56866         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
56867         Likewise.
56868         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
56869         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
56870         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
56871         Likewise.
56873 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
56875         [BZ #14587]
56876         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
56877         * config.make.in (have-cpp-asm-debuginfo): Removed.
56878         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
56879         * configure: Regenerated.
56881 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
56883         [BZ #5044]
56884         * stdio-common/printf_fp.c: Include <stdbool.h> and
56885         <rounding-mode.h>.
56886         (___printf_fp): Determine rounding using get_rounding_mode and
56887         round_away.
56888         * stdio-common/tst-printf-round.c: New file.
56889         * stdio-common/Makefile (tests): Add tst-printf-round.
56890         (link-libm): New variable.
56891         ($(objpfx)tst-printf-round): Depend in $(link-libm).
56893 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
56895         [BZ #14576]
56896         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
56897         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
56898         Likewise.
56899         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
56900         Likewise.
56902 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
56904         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
56905         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
56906         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
56907         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
56909 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
56911         [BZ #14518]
56912         * include/rounding-mode.h: New file.
56913         * sysdeps/generic/get-rounding-mode.h: Likewise.
56914         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
56915         * stdlib/strtod_l.c: Include <rounding-mode.h>.
56916         (MAX_VALUE): New macro.
56917         (MIN_VALUE): Likewise.
56918         (overflow_value): New function.
56919         (underflow_value): Likewise.
56920         (round_and_return): Use overflow_value and underflow_value to
56921         determine return values in overflow and underflow cases.  Use
56922         round_away to determine rounding depending on rounding mode.
56923         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
56924         determine return values in overflow and underflow cases.
56925         * stdlib/tst-strtod-round.c: Include <fenv.h>.
56926         (struct test_results): New structure.
56927         (struct test): Use struct test_results to store expected results
56928         for all rounding modes.
56929         (TEST): Include expected results for all rounding modes.
56930         (test_in_one_mode): New function.
56931         (do_test): Use test_in_one_mode to compute and check results.
56932         Check results for all rounding modes.
56933         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
56934         $(link-libm).
56936 2012-12-09  Allan McRae  <allan@archlinux.org>
56938         * sysdeps/i386/fpu/libm-test-ulps: Update
56940 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
56942         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
56943         (_G_int32_t): Likewise.
56944         (_G_uint16_t): Likewise.
56945         (_G_uint32_t): Likewise.
56946         (_G_HAVE_BOOL): Likewise.
56947         (_G_HAVE_ATEXIT): Likewise.
56948         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
56949         (_G_HAVE_IO_FILE_OPEN): Likewise.
56950         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
56951         (_G_int32_t): Likewise.
56952         (_G_uint16_t): Likewise.
56953         (_G_uint32_t): Likewise.
56954         (_G_HAVE_BOOL): Likewise.
56955         (_G_HAVE_ATEXIT): Likewise.
56956         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
56957         (_G_HAVE_IO_FILE_OPEN): Likewise.
56958         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
56959         (_G_int32_t): Likewise.
56960         (_G_uint16_t): Likewise.
56961         (_G_uint32_t): Likewise.
56962         (_G_HAVE_BOOL): Likewise.
56963         (_G_HAVE_ATEXIT): Likewise.
56964         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
56965         (_G_HAVE_IO_FILE_OPEN): Likewise.
56967 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
56969         * csu/libc-tls.c: Update copyright years.
56971 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
56973         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
56974         [!_G_USING_THUNKS]: Remove conditional code.
56975         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
56976         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
56978         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
56979         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
56980         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
56981         (_G_VTABLE_LABEL_PREFIX): Likewise.
56982         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
56983         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
56984         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
56985         (_G_VTABLE_LABEL_PREFIX): Likewise.
56986         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
56987         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
56988         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
56989         (_G_VTABLE_LABEL_PREFIX): Likewise.
56990         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
56992 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
56994         * libio/Makefile: Include ../Makeconfig before tests.
56995         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
56996         only if $(build-shared) is yes.
56998         * iconv/gconv_db.c: Update copyright years.
57000 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57002         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
57003         unwind info if defined PIC. Fix special cases description.
57004         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
57006         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
57007         DP_HI_MASK entry.
57008         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
57010 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
57012         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
57014         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
57015         is NULL.
57017         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
57018         (LDLIBS-tst-chk4): This.
57019         (LDFLAGS-tst-chk5): Renamed to ...
57020         (LDLIBS-tst-chk5): This.
57021         (LDFLAGS-tst-chk6): Renamed to ...
57022         (LDLIBS-tst-chk6): This.
57023         (LDFLAGS-tst-lfschk4): Renamed to ...
57024         (LDLIBS-tst-lfschk4): This.
57025         (LDFLAGS-tst-lfschk5): Renamed to ...
57026         (LDLIBS-tst-lfschk5): This.
57027         (LDFLAGS-tst-lfschk6): Renamed to ...
57028         (LDLIBS-tst-lfschk6): This.
57030         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
57031         on $(common-objpfx)soversions.mk.
57033 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
57035         [BZ #10014]
57036         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
57037         example host name.
57039 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
57041         * malloc/arena.c (arena_get_retry): New function that gets
57042         another arena for the caller to try its request on.
57043         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
57044         current arena cannot fulfill the request.
57045         (__libc_memalign): Likewise.
57046         (__libc_memalign): Likewise.
57047         (__libc_pvalloc): Likewise.
57048         (__libc_calloc): Likewise.
57050 2012-09-05  John Tobey  <john.tobey@gmail.com>
57052         [BZ #13542]
57053         * manual/arith.texi (Operations on Complex): Fix description
57054         of carg branch cut.
57056 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
57058         [BZ #10014]
57059         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
57060         host name.
57062         [BZ #10038]
57063         * manual/memory.texi (Memory): Make order of menu items match
57064         order of sections.
57066 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
57068         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
57069         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
57070         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
57072 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
57074         * csu/libc-tls.c (static_dtv): Renamed to ...
57075         (_dl_static_dtv): This.  Make it global.
57076         (_dl_initial_dtv): Removed.
57077         (__libc_setup_tls): Updated.
57078         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
57079         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
57080         DL_INITIAL_DTV.
57082 2012-09-06  Petr Machata  <pmachata@redhat.com>
57084         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
57085         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
57086         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
57087         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
57089 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
57091         [BZ #14545]
57092         * csu/libc-tls.c (_dl_initial_dtv): New variable.
57093         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
57094         freeing dtv[-1].
57096 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
57098         [BZ #14544]
57099         * Makeconfig (link-static-before-libc): Replace $(+prector)
57100         with $(+prectorT).
57101         (link-static-after-libc): Replace $(+postctor) with
57102         $(+postctorT).
57103         (link-bounded): Replace $(+prector)/$(+postctor) with
57104         $(+prectorT)/$(+postctorT).
57105         (+prectorT): New macro.
57106         (+postctorT): Likewise.
57108 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
57110         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
57111         (round_str): Handle values above the maximum for IBM long double
57112         as inexact.
57113         * stdlib/tst-strtod-round.c (tests): Regenerated.
57115 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57117         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
57118         assembler flag.
57119         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
57120         zarch_nohighgprs around the zarch optimized routines.
57121         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
57122         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
57123         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
57124         for zarch.
57126 2012-09-05  David S. Miller  <davem@davemloft.net>
57128         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57130         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
57131         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
57132         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
57133         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
57134         entries.
57136 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
57138         * malloc/arena.c: Fold copyright years.
57139         * malloc/mcheck.c, malloc/memusage.c: Likewise.
57141 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
57143         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
57145 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
57147         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
57149 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
57151         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
57152         change internal state upon failure.
57154 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
57156         * malloc/mcheck.c (mcheck_check_all): Fix typo.
57157         * malloc/memusage.c (mmap): Likewise.
57158         (mmap64, mremap): Likewise.  Adjust name in comment.
57160 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
57162         * libio/fileops.c: Fix typos in comments.
57163         * libio/oldfileops.c: Likewise.
57164         * libio/wfileops.c: Likewise.
57166 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
57168         [BZ #1349]
57169         * malloc/Makefile (tests): Add tst-malloc-usable test case.
57170         (tst-malloc-usable-ENV): Set environment for test case.
57171         * malloc/hooks.c (malloc_check_get_size): New function to get
57172         requested size.
57173         * malloc/malloc.c (musable): Use malloc_check_get_size.
57174         * malloc/tst-malloc-usable.c: New test case.
57176 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
57178         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
57180 2012-09-05  Allan McRae  <allan@archlinux.org>
57182         [BZ #13966]
57183         * configure.in (CXX_SYSINCLUDES): Use compiler output to
57184         determine header location.
57185         * configure: Regenerated.
57187 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
57189         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
57190         float format.
57191         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
57192         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
57193         format.
57194         (test): Regenerate.
57196 2012-09-04  David S. Miller  <davem@davemloft.net>
57198         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
57199         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
57200         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
57202 2012-09-04  Florian Weimer  <fweimer@redhat.com>
57204         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
57205         failures.
57207         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
57209 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
57211         [BZ #9914]
57212         * libio/iogetdelim.c: Include <limits.h>.
57213         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
57214         + len + 1 would overflow.
57216 2012-09-03  Andreas Jaeger  <aj@suse.de>
57218         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57219         * sysdeps/i386/fpu/libm-test-ulps: Update.
57221 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57223         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
57224         Add s_sinf-sse2, s_conf-sse2.
57226         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
57227         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
57228         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
57229         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
57231         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
57232         for using routine as __sinf_ia32.
57233         Use macro for function declaration and weak_alias.
57234         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
57235         for using routine as __cosf_ia32.
57236         Use macro for function declaration and weak_alias.
57238         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
57239         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
57241         * sysdeps/x86_64/fpu/s_sinf.S: New file.
57242         * sysdeps/x86_64/fpu/s_cosf.S: New file.
57243         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57245         * math/libm-test.inc (cos_test): Add more test cases.
57246         (sin_test): Likewise.
57247         (sincos_test): Likewise.
57249 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57251         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
57252         (IFUNC_RESOLVE): Make pointers to the specialized implementations
57253         hidden.
57254         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
57256 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
57258         [BZ #14538]
57259         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
57260         first element of the GOT.
57261         (elf_machine_load_address): Return the difference between
57262         the runtime address of _DYNAMIC and elf_machine_dynamic ().
57264 2012-09-01  Allan McRae  <allan@archlinux.org>
57266         [BZ #13412]
57267         * configure.in (AWK): Require gawk version 3.0 or later.
57268         * configure: Regenerated.
57270 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
57272         * sysdeps/unix/sysv/linux/kernel-features.h
57273         (__ASSUME_POSIX_CPU_TIMERS): Remove.
57274         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
57275         [__NR_clock_getres]: Make code unconditional.
57276         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
57277         (clock_getcpuclockid): Remove code left unreachable by removal of
57278         conditionals.
57279         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
57280         code unconditional.
57281         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
57282         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
57283         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
57284         Make code unconditional.
57285         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
57286         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
57287         * sysdeps/unix/sysv/linux/clock_settime.c
57288         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
57289         conditional code.
57290         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
57291         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
57293 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
57295         [BZ #14476]
57296         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
57297         scripts/test-installation.pl.
57299         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
57300         and $ld_so_version if it is set.
57302 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
57304         [BZ #14516]
57305         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
57306         failure if reading from procfs failed.
57307         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
57309 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
57311         * sysdeps/unix/sysv/linux/kernel-features.h
57312         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
57313         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
57314         Remove conditional code.
57315         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
57316         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
57317         Remove conditional code.
57318         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
57319         * sysdeps/unix/sysv/linux/i386/fxstat.c
57320         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
57321         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
57322         * sysdeps/unix/sysv/linux/i386/fxstatat.c
57323         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
57324         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
57325         * sysdeps/unix/sysv/linux/i386/lxstat.c
57326         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
57327         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
57328         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
57329         Remove conditional code.
57330         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
57331         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
57332         Remove conditional code.
57333         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
57334         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
57335         <kernel-features.h>.
57336         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
57337         Remove.
57338         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
57339         Remove conditional code.
57340         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
57341         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
57342         Remove conditional.
57344 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
57346         [BZ #5400]
57347         * NEWS: Add fixed bug number.
57349 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
57351         [BZ #14519]
57352         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
57353         underflowing exponent in case of negative sign.
57354         * stdlib/tst-strtod-round-data: Add more tests.
57355         * stdlib/tst-strtod-round.c (tests): Regenerated.
57357         [BZ #3479]
57358         * stdlib/strtod_l.c (NDIG): Remove.
57359         (HEXNDIG): Likewise.
57360         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
57361         smallest representable value.
57362         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
57363         lie within an exact representation of 1/2 ulp of the result.
57364         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
57365         unconditionally.
57366         (TENS_P9_IDX): Define unconditionally.
57367         (TENS_P9_SIZE): Likewise.
57368         (TENS_P10_IDX): Likewise.
57369         (TENS_P10_SIZE): Likewise.
57370         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
57371         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
57372         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
57373         entries for 10^2^13 and 10^2^14.
57374         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
57375         (TENS_P13_IDX): Define.
57376         (TENS_P13_SIZE): Likewise.
57377         (TENS_P14_IDX): Likewise.
57378         (TENS_P14_SIZE): Likewise.
57379         (_fpioconst_pow10): Change array size to
57380         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
57381         unconditional.
57382         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
57383         1024]: Add entries for 10^2^13 and 10^2^14.
57384         [LAST_POW10 > _LAST_POW10]: Remove #error.
57385         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
57386         (_fpioconst_pow10): Change array size to
57387         FPIOCONST_POW10_ARRAY_SIZE.
57388         * stdlib/gen-fpioconst.c: New file.
57389         * stdlib/gen-tst-strtod-round.c: Likewise.
57390         * stdlib/tst-strtod-round-data: Likewise.
57391         * stdlib/tst-strtod-round.c: Likewise.
57392         * stdlib/Makefile (tests): Add tst-strtod-round.
57394         [BZ #14459]
57395         * stdlib/strtod_l.c: Include <stdint.h>.
57396         (NDEBUG): Do not define.
57397         (round_and_return): Change EXPONENT parameter to type intmax_t.
57398         Rearrange calculations to avoid internal overflow possibilities.
57399         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
57400         Rearrange calculations to avoid internal overflow possibilities.
57401         Assert that number fits inside MPNSIZE limbs.
57402         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
57403         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
57404         calculations and add assertions to avoid internal overflow
57405         possibilities.  Add casts to avoid signed/unsigned operations.
57406         * stdlib/tst-strtod-overflow.c: New file.
57407         * stdlib/Makefile (tests): Add tst-strtod-overflow.
57409 2012-08-25  Marek Polacek  <polacek@redhat.com>
57411         * time/time.h: Fix some typos in comments.
57413 2012-08-23  Roland McGrath  <roland@hack.frob.com>
57415         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
57416         * posix/tst-rfc3484-2.c: Likewise.
57417         * posix/tst-rfc3484-3.c: Likewise.
57419 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
57421         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
57422         (EF_ARM_ABI_FLOAT_HARD): Likewise.
57424 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
57426         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
57427         #include of fxstatat64.c.
57429 2012-08-22  Roland McGrath  <roland@hack.frob.com>
57431         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
57432         * shadow/getspent_r.c: Likewise.
57433         * shadow/getspnam.c: Likewise.
57434         * shadow/getspnam_r.c: Likewise.
57435         * gshadow/getsgent.c: Likewise.
57436         * gshadow/getsgent_r.c: Likewise.
57437         * gshadow/getsgnam.c: Likewise.
57438         * gshadow/getsgnam_r.c: Likewise.
57439         * inet/getnetbyad.c: Likewise.
57440         * inet/getnetbyad_r.c: Likewise.
57441         * inet/getnetbynm.c: Likewise.
57442         * inet/getnetbynm_r.c: Likewise.
57443         * inet/getnetent.c: Likewise.
57444         * inet/getnetent_r.c: Likewise.
57445         * inet/getproto.c: Likewise.
57446         * inet/getproto_r.c: Likewise.
57447         * inet/getprtent.c: Likewise.
57448         * inet/getprtent_r.c: Likewise.
57449         * inet/getprtname.c: Likewise.
57450         * inet/getprtname_r.c: Likewise.
57451         * inet/getrpcbyname.c: Likewise.
57452         * inet/getrpcbyname_r.c: Likewise.
57453         * inet/getrpcbynumber.c: Likewise.
57454         * inet/getrpcbynumber_r.c: Likewise.
57455         * inet/getrpcent.c: Likewise.
57456         * inet/getrpcent_r.c: Likewise.
57457         * inet/getaliasent.c: Likewise.
57458         * inet/getaliasent_r.c: Likewise.
57459         * inet/getaliasname.c: Likewise.
57460         * inet/getaliasname_r.c: Likewise.
57461         * nscd/getgrgid_r.c: Likewise.
57462         * nscd/getgrnam_r.c: Likewise.
57463         * nscd/gethstbyad_r.c: Likewise.
57464         * nscd/gethstbynm3_r.c: Likewise.
57465         * nscd/getpwnam_r.c: Likewise.
57466         * nscd/getpwuid_r.c: Likewise.
57467         * nscd/getsrvbynm_r.c: Likewise.
57468         * nscd/getsrvbypt_r.c: Likewise.
57469         * nscd/gai.c: Likewise.
57471         * configure.in (build_nscd): New substituted variable, set
57472         by --disable-build-nscd and defaults to $use_nscd.
57473         * configure: Regenerated.
57474         * config.make.in (build-nscd): New substituted variable.
57475         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
57476         Change conditional to require [$(build-nscd) = yes] as well.
57477         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
57479         [BZ# 13696]
57480         * configure.in (use_nscd): New substituted variable, set by
57481         --disable-nscd.  If enabled, define USE_NSCD.
57482         * configure: Regenerated.
57483         * config.h.in: Add USE_NSCD.
57484         * config.make.in (use-nscd): New substituted variable.
57485         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
57486         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
57487         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
57488         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
57489         (CFLAGS-getgrnam_r.c): Likewise.
57490         (CFLAGS-initgroups.c): Likewise.
57491         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
57492         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
57493         Variables removed.
57494         * inet/getnetgrent_r.c
57495         (nscd_setnetgrent): New function, broken out of ...
57496         (setnetgrent): ... here.  Call it.
57497         (innetgr): Conditionalize nscd bits on [USE_NSCD].
57498         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
57499         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
57500         * nscd/Makefile (routines, aux): Move definitions after include of
57501         Makeconfig.  Conditionalize on [$(use-nscd) != no].
57502         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
57503         Conditionalize on [USE_NSCD].
57504         (is_nscd, nscd_init_cb): Likewise.
57505         (nss_load_library): Conditionalize init callback on [USE_NSCD].
57506         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
57507         * nss/nss_db/db-init.c: Likewise.
57508         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
57509         [USE_NSCD].
57510         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
57511         (make_request): Use it.
57512         (cache_valid_p): New function.
57513         (__check_pf): Use it.
57514         * NEWS: Add item for --disable-nscd.
57516 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
57518         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
57519         to support sed >= 4.2.1-20-ga9bf076.
57520         * configure: Regenerated.
57522 2012-08-22  Roland McGrath  <roland@hack.frob.com>
57524         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
57525         Conditionalize whole body on [IREL].
57527 2012-08-22  Jeff Law <law@redhat.com>
57529         [BZ #14505]
57530         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
57531         if the family is PF_UNSPEC.
57533 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
57535         * Makerules (lib-version): Rename from V.
57536         (install-lib-nosubdir): Change V to lib-version.
57538 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
57540         [BZ #14252]
57541         * powerpc32/power6/wcschr.c: New file.
57542         * powerpc32/power6/wcscpy.c: New file.
57543         * powerpc32/power6/wcsrchr.c: New file.
57544         * powerpc64/power6/wcschr.c: New file.
57545         * powerpc64/power6/wcscpy.c: New file.
57546         * powerpc64/power6/wcsrchr.c: New file.
57548 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
57550         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
57551         (two_way_short_needle): Use it.
57552         * string/strstr.c (AVAILABLE1_USES_J): Define.
57553         * string/strcasestr.c: Likewise.
57555         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
57556         array references.
57557         * string/strcasestr.c (TOLOWER): Make side-effect safe.
57559         [BZ #11607]
57560         * NEWS: Add an entry.
57561         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
57562         define their defaults.
57563         (two_way_short_needle): Detect end-of-string on-the-fly.
57564         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
57565         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
57566         * string/bug-strcasestr1.c: New test.
57567         * string/Makefile: Run it.
57569 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
57571         [BZ #11607]
57572         * string/str-two-way.h (two_way_short_needle): Optimize matching of
57573         the first character.
57575 2012-08-21  Roland McGrath  <roland@hack.frob.com>
57577         * csu/elf-init.c (__libc_csu_irel): Function removed.
57578         * csu/libc-start.c (apply_irel): New function.
57579         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
57581 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
57583         * sysdeps/unix/sysv/linux/kernel-features.h
57584         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
57585         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
57586         <kernel-features.h>.
57587         [__NR_fadvise64_64]: Make code unconditional.
57588         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
57589         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
57590         !__NR_fadvise64_64)]: Likewise.
57591         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
57592         !__NR_fadvise64_64))]: Likewise.
57593         [__NR_fadvise64]: Make code unconditional.
57594         [!__NR_fadvise64]: Remove conditional code.
57595         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
57596         <kernel-features.h>.
57597         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
57598         unconditional.
57599         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
57600         conditional code.
57601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
57602         not include <kernel-features.h>.
57603         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
57604         unconditional.
57605         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
57606         conditional code.
57607         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
57608         include <kernel-features.h>.
57609         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
57610         unconditional.
57611         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
57612         conditional code.
57614 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
57616         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
57617         slight instruction rearrangements per scrollpipe analysis.
57618         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
57620 2012-08-20  Roland McGrath  <roland@hack.frob.com>
57622         * manual/syslog.texi (syslog; vsyslog, closelog):
57623         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
57624         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
57626         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
57627         DSOCAPS to match condition on defining it.
57629 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
57631         * sysdeps/unix/sysv/linux/kernel-features.h
57632         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
57633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
57634         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
57635         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
57636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
57637         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
57638         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
57639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
57640         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
57641         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
57643         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
57644         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
57646         * sysdeps/unix/sysv/linux/kernel-features.h
57647         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
57648         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
57649         unconditional.
57650         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
57651         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
57652         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
57653         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
57654         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
57655         Make code unconditional.
57656         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
57657         (__mmap64) [!__NR_mmap2]: Likewise.
57658         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
57659         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
57660         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
57661         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
57662         [__NR_mmap2]: Make code unconditional.
57663         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
57664         (__mmap64) [!__NR_mmap2]: Likewise.
57666 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57668         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
57670 2012-08-18  Andreas Jaeger  <aj@suse.de>
57672         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
57674 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
57676         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
57677         * include/unistd.h (__have_sock_cloexec): Likewise.
57678         (__have_pipe2): Likewise.
57679         (__have_dup3): Likewise.
57681 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
57683         [BZ #9685]
57684         * include/unistd.h (__have_pipe2): Change define into an extern int.
57685         (__have_dup3): Likewise.
57686         * socket/have_sock_cloexec.c: Include fcntl.h.
57687         (__have_pipe2): New variable.
57688         (__have_dup3): Likewise.
57690 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
57692         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
57694 2012-08-17  Marek Polacek  <polacek@redhat.com>
57696         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
57697         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
57699 2012-08-17  Roland McGrath  <roland@hack.frob.com>
57701         * configure.in: Add AC_SUBST for sysheaders.
57702         * configure: Regenerated.
57703         * config.make.in (sysheaders): New substituted variable.
57705         * sysdeps/unix/mkfifo.c: Moved ...
57706         * sysdeps/posix/mkfifo.c: ... here.
57707         * sysdeps/unix/mkfifoat.c: Moved ...
57708         * sysdeps/posix/mkfifoat.c: ... here.
57710         * sysdeps/unix/utime.c: Moved ...
57711         * sysdeps/posix/utime.c: ... here.
57713         * sysdeps/unix/time.c: Moved ...
57714         * sysdeps/posix/time.c: ... here.
57715         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
57716         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
57718         * sysdeps/unix/nice.c: Moved ...
57719         * sysdeps/posix/nice.c: ... here.
57721         * sysdeps/unix/alarm.c: Moved ...
57722         * sysdeps/posix/alarm.c: ... here.
57724         * intl/Makefile ($(codeset_mo)): Depend on the input file.
57726 2012-08-17  Jeff Law <law@redhat.com>
57728         * intl/Makefile (codeset_mo): New variable.
57729         ($(codeset_mo)): New target.
57730         (tst-codeset.out): Depend on that.  Remove explicit rule.
57731         (tst-gettext3.out, tst-gettext5.out): Likewise.
57732         (LOCPATH-ENV, tst-codeset-ENV): New variables.
57733         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
57734         * intl/tst-codeset.sh: Remove.
57735         * intl/tst-gettext3.sh: Likewise.
57736         * intl/tst-gettext5.sh: Likewise.
57738 2012-08-17  Roland McGrath  <roland@hack.frob.com>
57740         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
57741         * sysdeps/unix/syscalls.list: ... here.
57743         * sysdeps/posix/getaddrinfo.c
57744         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
57745         (gaiconf_init, gaiconf_reload): Use them.
57746         [!_STATBUF_ST_NSEC]
57747         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
57748         Define using time_t rather than struct timespec.
57750         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
57751         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
57752         Macros removed.
57753         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
57754         [!NO_THREADS].
57755         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
57756         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
57757         Likewise.
57759         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
57760         __libc_cleanup_push argument.
57762         * bits/param.h: New file.
57763         * misc/sys/param.h: New file.
57764         * include/sys/param.h: New file.
57765         * misc/Makefile (headers): Add bits/param.h.
57766         * sysdeps/generic/sys/param.h: File removed.
57767         * sysdeps/unix/sysv/linux/bits/param.h: New file.
57768         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
57769         * sysdeps/mach/hurd/bits/param.h: New file.
57770         * sysdeps/mach/hurd/sys/param.h: File removed.
57772         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
57773         last change.
57775         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
57776         [_IO_MTSAFE_IO].
57777         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
57778         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
57779         New macros.
57781         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
57782         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
57783         rather than -D_IO_MTSAFE_IO conditionally.
57784         * stdio-common/Makefile (CPPFLAGS): Likewise.
57785         * wcsmbs/Makefile (CPPFLAGS): Likewise.
57786         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
57787         Use $(libio-mtsafe).
57788         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
57789         of -D_IO_MTSAFE_IO.
57790         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
57791         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
57792         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
57793         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
57794         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
57795         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
57796         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
57797         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
57798         (CFLAGS-fread_u_chk.c): Likewise.
57799         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
57800         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
57801         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
57802         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
57803         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
57804         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
57805         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
57806         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
57807         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
57809         * libio/Makefile: Test [$(libc-reentrant) = yes]
57810         instead of [$(filter %REENTRANT, $(defines)) nonempty].
57812         * Makeconfig
57813         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
57814         * sysdeps/pthread/configure: File removed.
57815         * sysdeps/pthread/Makeconfig: New file.
57816         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
57817         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
57819 2012-08-16  Gary Benson  <gbenson@redhat.com>
57821         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
57822         unmapping the first object in a namespace.
57824 2012-08-16  Roland McGrath  <roland@hack.frob.com>
57826         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
57827         (__internal_setnetgrent): ... this.  Add internal_function to
57828         definition.  Add libc_hidden_def.
57829         (setnetgrent): Update caller.
57830         (internal_endnetgrent): Renamed to ...
57831         (__internal_endnetgrent): ... this.  Add internal_function to
57832         definition.  Add libc_hidden_def.
57833         (endnetgrent): Update caller.
57834         (internal_getnetgrent_r): Renamed to ...
57835         (__internal_getnetgrent_r): ... this.  Add internal_function to
57836         definition.  Add libc_hidden_def.
57837         (__getnetgrent_r): Update caller.
57838         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
57840 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
57842         * stdlib/longlong.h: Update from GCC.
57844 2012-08-16  Roland McGrath  <roland@hack.frob.com>
57846         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
57847         on _QL, which is set by umul_ppmm but never used.
57848         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
57849         variables, which are set by GMP macros but never used.
57850         * stdio-common/_itowa.c (_itowa): Likewise.
57851         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
57852         * stdlib/mod_1.c (mpn_mod_1): Likewise.
57854 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
57856         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
57857         struct La_sh_regs is not constant.
57858         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
57859         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
57860         and struct La_sparc64_regs are not constant.
57862 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
57864         * sysdeps/unix/sysv/linux/kernel-features.h
57865         (__ASSUME_POSIX_TIMERS): Remove.
57866         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
57867         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
57868         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
57869         Make code unconditional.
57870         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
57871         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
57872         Make code unconditional.
57873         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
57874         * sysdeps/unix/sysv/linux/clock_nanosleep.c
57875         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
57876         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
57877         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
57878         Make code unconditional.
57879         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
57880         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
57881         (__libc_missing_posix_timers): Remove.
57883 2012-08-15  Roland McGrath  <roland@hack.frob.com>
57885         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
57886         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
57888         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
57890         * elf/dl-sym.c: Include <stdlib.h>.
57892         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
57893         constants, which avoids warnings in 32-bit builds.
57895         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
57896         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
57898         * misc/lseek.c: File moved to ...
57899         * io/lseek.c: ... here.
57901         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
57903         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
57904         shifting LEN more than 31 bits at once.
57906 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57908         [BZ #14195]
57909         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
57910         segmentation fault for a case of two empty input strings.
57911         * string/test-strncasecmp.c (check1): Renamed to...
57912         (bz12205): ...this.
57913         (bz14195): Add new testcase for two empty input strings and N > 0.
57914         (test_main): Call new testcase, adapt for renamed function.
57916 2012-08-15  Andreas Jaeger  <aj@suse.de>
57918         [BZ #14090]
57919         * crypt/md5test2.c: New test, based on test supplied by Serge
57920         Belyshev <belyshev@depni.sinp.msu.ru>.
57921         * crypt/Makefile (xtests): Add md5test-giant..
57922         * crypt/Makefile ($(objpfx)md5test-giant): Add.
57924 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
57926         [BZ #14090]
57927         * crypt/md5.c (md5_process_block): Don't assume the buffer
57928         length is less than 2**32.
57929         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
57930         length is less than 2**64.
57932 2012-08-15  Roland McGrath  <roland@hack.frob.com>
57934         * string/str-two-way.h: Include <sys/param.h>.
57935         (MAX): Macro removed.
57937         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
57938         Move #define and #undef of memmove to just before and after
57939         including <string.h>.
57941         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
57942         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
57943         and after including <string.h>.  Move declarations of
57944         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
57945         to before #include "string/memmove.c".
57947         * include/dirent.h: Declare __getdirentries.
57949         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
57950         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
57952 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
57954         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
57955         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
57956         * sysdeps/i386/configure: Regenerated.
57957         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
57958         STABS_CURRENT_FILE, and STABS_FUN.
57959         (END): Remove call to STABS_FUN_END.
57960         (STABS_CURRENT_FILE1): Delete.
57961         (STABS_CURRENT_FILE): Likewise.
57962         (STABS_FUN): Likewise.
57963         (STABS_FUN_END): Likewise.
57964         (STABS_FUN2): Likewise.
57965         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
57966         * sysdeps/x86_64/configure: Regenerated.
57968 2012-08-14  Roland McGrath  <roland@hack.frob.com>
57970         * elf/dl-open.c: Include <atomic.h>.
57971         * elf/dl-lookup.c: Likewise.
57973 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
57975         * sysdeps/unix/sysv/linux/kernel-features.h
57976         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
57977         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
57978         unconditionally.
57979         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
57980         unconditionally.
57981         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
57982         condition on __ASSUME_CLONE_THREAD_FLAGS.
57984 2012-08-14  Andreas Jaeger  <aj@suse.de>
57986         * sysdeps/i386/fpu/libm-test-ulps: Update.
57988 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
57990         * include/atomic.h (atomic_exchange_and_add): Split into ...
57991         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
57992         New atomic macros.
57994 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
57996         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57998 2012-08-13  Jeff Law <law@redhat.com>
58000         * manual/stdio.texi (snprintf): Clarify handling of the trailing
58001         null byte in the output string.
58003 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
58005         * sysdeps/unix/sysv/linux/kernel-features.h
58006         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
58007         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
58008         (__ASSUME_ARG_MAX_STACK_BASED): Define.
58009         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
58010         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
58011         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
58012         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
58014 2012-08-09  Jeff Law <law@redhat.com>
58016         [BZ #13939]
58017         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
58018         When avoid_arena is set, don't retry in the that arena.  Pick the
58019         next one, whatever it might be.
58020         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
58021         (arena_lock): Pass in new parameter to arena_get2.
58022         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
58023         arena_get2.
58024         (__libc_malloc): Unify retrying after main arena failure with
58025         __libc_memalign version.
58026         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
58028 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
58030         [BZ #14166]
58031         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
58032         to __redirect_strstr.
58033         (__strstr_sse42): Use typeof __redirect_strstr.
58034         (__strstr_ia32): Likewise.
58035         (__libc_strstr): New prototype.
58036         (strstr): Renamed to ...
58037         (__libc_strstr): This.
58038         (strstr): New strong alias of __libc_strstr.
58039         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
58040         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
58041         __redirect_time.
58042         Include <time.h>.
58043         (__libc_time): New prototype.
58044         (time_ifunc): Replace time with __libc_time.
58045         (time): New strong alias and hidden definition of __libc_time.
58046         (__GI_time): Remove strong alias.
58047         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
58048         Include <stddef.h>.
58049         (memmove): Redefined to __redirect_memmove.
58050         (__memmove_sse2): Use typeof __redirect_memmove.
58051         (__memmove_ssse3): Likewise.
58052         (__memmove_ssse3_back): Likewise.
58053         (__libc_memmove): New prototype.
58054         (memmove): Renamed to ...
58055         (__libc_memmove): This.
58056         (memmove): New strong alias of __libc_memmove.
58058 2012-08-08  Mark Salter  <msalter@redhat.com>
58060         * elf/elf.h
58061         (R_MN10300_TLS_GD): Define.
58062         (R_MN10300_TLS_LD): Likewise.
58063         (R_MN10300_TLS_LDO): Likewise.
58064         (R_MN10300_TLS_GOTIE): Likewise.
58065         (R_MN10300_TLS_IE): Likewise.
58066         (R_MN10300_TLS_LE): Likewise.
58067         (R_MN10300_TLS_DTPMOD): Likewise.
58068         (R_MN10300_TLS_DTPOFF): Likewise.
58069         (R_MN10300_TLS_TPOFF): Likewise.
58070         (R_MN10300_SYM_DIFF): Likewise.
58071         (R_MN10300_ALIGN): Likewise.
58072         (R_MN10300_NUM): Update.
58074 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
58076         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
58077         Remove.
58079 2012-08-08  Roland McGrath  <roland@hack.frob.com>
58081         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
58083         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
58084         sysdeps/unix -> sysdeps/posix move.
58085         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
58087 2012-08-07      Allan McRae     <allan@archlinux.org>
58089         [BZ #14303]
58090         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
58091         (SUNOS_CPP): Likewise.
58092         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
58093         not found.
58094         (open_input): Call CPP using execvp.
58096 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
58098         * sysdeps/unix/sysv/linux/kernel-features.h
58099         (__ASSUME_PROT_GROWSUPDOWN): Remove.
58100         (__ASSUME_NO_CLONE_DETACHED): Likewise.
58101         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
58102         (__ASSUME_WAITID_SYSCALL): Likewise.
58103         * sysdeps/unix/sysv/linux/dl-execstack.c
58104         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
58105         code unconditional.
58106         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
58107         conditional code.
58108         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
58109         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
58110         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
58111         code.
58112         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
58113         unconditional.
58114         [__ASSUME_WAITID_SYSCALL]: Likewise.
58115         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
58117 2012-08-07  Roland McGrath  <roland@hack.frob.com>
58119         * sysdeps/unix/closedir.c: Renamed to ...
58120         * sysdeps/posix/closedir.c: ... here.
58121         * sysdeps/unix/dirfd.c: Renamed to ...
58122         * sysdeps/posix/dirfd.c: ... here.
58123         * sysdeps/unix/dirstream.h: Renamed to ...
58124         * sysdeps/posix/dirstream.h: ... here.
58125         * sysdeps/unix/fdopendir.c: Renamed to ...
58126         * sysdeps/posix/fdopendir.c: ... here.
58127         * sysdeps/unix/opendir.c: Renamed to ...
58128         * sysdeps/posix/opendir.c: ... here.
58129         * sysdeps/unix/readdir.c: Renamed to ...
58130         * sysdeps/posix/readdir.c: ... here.
58131         * sysdeps/unix/readdir_r.c: Renamed to ...
58132         * sysdeps/posix/readdir_r.c: ... here.
58133         * sysdeps/unix/rewinddir.c: Renamed to ...
58134         * sysdeps/posix/rewinddir.c: ... here.
58135         * sysdeps/unix/seekdir.c: Renamed to ...
58136         * sysdeps/posix/seekdir.c: ... here.
58137         * sysdeps/unix/telldir.c: Renamed to ...
58138         * sysdeps/posix/telldir.c: ... here.
58139         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
58140         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
58141         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
58142         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
58144         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
58145         * bits/fcntl.h: ... here.
58147         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
58148         not 0.
58149         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
58150         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
58151         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
58152         (struct flock): Move l_start, l_len to the beginning.
58153         Use __pid_t for l_pid.
58154         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
58155         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
58156         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
58157         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
58158         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
58159         [__USE_LARGEFILE64] (struct flock64): New type.
58160         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
58162         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
58163         * bits/dirent.h: ... here.
58165         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
58166         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
58168 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
58170         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
58171         Change from 2.6.0 to 2.6.16.
58172         * sysdeps/unix/sysv/linux/configure: Regenerated.
58173         * sysdeps/unix/sysv/linux/kernel-features.h
58174         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
58175         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
58176         version.
58177         (__ASSUME_UTIMES): Likewise.
58178         (__ASSUME_CLONE_STOPPED): Remove.
58179         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
58180         architectures, not kernel version.
58181         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
58182         (__ASSUME_NO_CLONE_DETACHED): Likewise.
58183         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
58184         (__ASSUME_WAITID_SYSCALL): Likewise.
58185         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
58186         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
58187         * README: State 2.6.16 as minimum Linux kernel version.  Do not
58188         refer to older versions.
58190 2012-08-06  Roland McGrath  <roland@hack.frob.com>
58192         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
58193         Define alphasort64 as an alias.
58194         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
58195         Define versionsort64 as an alias.
58196         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
58197         Define scandir64 as an alias.
58198         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
58199         Define scandirat64 as an alias.
58200         * dirent/alphasort64.c (alphasort64):
58201         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
58202         * dirent/versionsort64.c: Likewise.
58203         * dirent/scandir64.c: Likewise.
58204         * dirent/scandirat64.c: Likewise.
58205         * sysdeps/wordsize-64/alphasort.c: File removed.
58206         * sysdeps/wordsize-64/alphasort64.c: File removed.
58207         * sysdeps/wordsize-64/scandir.c: File removed.
58208         * sysdeps/wordsize-64/scandir64.c: File removed.
58209         * sysdeps/wordsize-64/scandirat.c: File removed.
58210         * sysdeps/wordsize-64/scandirat64.c: File removed.
58211         * sysdeps/wordsize-64/versionsort.c: File removed.
58212         * sysdeps/wordsize-64/versionsort64.c: File removed.
58213         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
58214         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
58215         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
58216         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
58217         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
58218         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
58219         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
58220         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
58222         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
58223         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
58224         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
58225         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
58226         [defined __arch64__ || defined __sparcv9]
58227         (__INO_T_MATCHES_INO64_T): New macro.
58228         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
58229         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
58230         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
58231         * sysdeps/unix/sysv/linux/bits/dirent.h
58232         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
58233         (_DIRENT_MATCHES_DIRENT64): New macro.
58235         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
58236         Define lockf64 as an alias.
58237         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
58238         Define fseeko64 as an alias.
58239         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
58240         Define ftello64 as an alias.
58241         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
58242         Define _IO_fgetpos64 and fgetpos64 as aliases.
58243         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
58244         Define _IO_fsetpos64 and fsetpos64 as aliases.
58245         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
58246         Conditionalize body on this.
58247         * libio/fseeko64.c: Likewise.
58248         * libio/ftello64.c: Likewise.
58249         * libio/iofgetpos64.c: Likewise.
58250         * libio/iofsetpos64.c: Likewise.
58251         * sysdeps/wordsize-64/lockf.c: File removed.
58252         * sysdeps/wordsize-64/lockf64.c: File removed.
58253         * sysdeps/wordsize-64/fseeko.c: File removed.
58254         * sysdeps/wordsize-64/fseeko64.c: File removed.
58255         * sysdeps/wordsize-64/ftello.c: File removed.
58256         * sysdeps/wordsize-64/ftello64.c: File removed.
58257         * sysdeps/wordsize-64/iofgetpos.c: File removed.
58258         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
58259         * sysdeps/wordsize-64/iofsetpos.c: File removed.
58260         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
58261         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
58262         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
58263         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
58264         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
58265         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
58266         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
58267         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
58268         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
58269         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
58270         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
58272         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
58273         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
58274         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
58275         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
58276         [defined __arch64__ || defined __sparcv9]
58277         (__OFF_T_MATCHES_OFF64_T): New macro.
58278         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
58279         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
58280         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
58281         (__OFF_T_MATCHES_OFF64_T): New macro.
58283 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
58285         * stdlib/secure-getenv.c (__secure_getenv): Replace
58286         GLIBC_2_16 with GLIBC_2_17.
58288 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
58290         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
58291         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
58293 2012-08-03  David S. Miller  <davem@davemloft.net>
58295         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58297 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
58299         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
58300         Remove.
58301         (__ASSUME_CORRECT_SI_PID): Likewise.
58302         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
58303         (__ASSUME_TMPFS_NAME): Likewise.
58304         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
58305         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
58306         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
58307         (HAVE_AUX_SECURE): Make definition unconditional.
58308         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
58309         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
58311 2012-08-03  Roland McGrath  <roland@hack.frob.com>
58313         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
58314         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
58315         * sysdeps/mach/hurd/eloop-threshold.h: New file.
58316         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
58317         __eloop_threshold instead of SYMLOOP_MAX.
58319         * sysdeps/generic/eloop-threshold.h: New file.
58320         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
58321         of MAXSYMLINKS.
58322         * elf/chroot_canon.c (chroot_canon): Likewise.
58324 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
58326         [BZ #13717]
58327         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
58328         Change to 2.6.0 everywhere.
58329         * sysdeps/unix/sysv/linux/configure: Regenerated.
58330         * sysdeps/unix/sysv/linux/kernel-features.h
58331         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
58332         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
58333         kernel versions.
58334         (__ASSUME_POSIX_TIMERS): Define unconditionally.
58335         (__ASSUME_FUTEX_REQUEUE): Remove.
58336         (__ASSUME_STATFS64): Define unconditionally.
58337         (__ASSUME_AT_SECURE): Likewise.
58338         (__ASSUME_CORRECT_SI_PID): Likewise.
58339         (__ASSUME_TGKILL): Define without depending on kernel version for
58340         i386.
58341         (__ASSUME_UTIMES): Likewise.
58342         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
58343         kernel version.
58344         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
58345         (__ASSUME_TMPFS_NAME): Likewise.
58346         * README: Update reference to Linux kernel versions.
58348 2012-08-02  Marek Polacek  <polacek@redhat.com>
58350         [BZ# 14150]
58351         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
58352         libc_cv_asm_type_prefix with %.
58353         * configure: Regenerated.
58354         * include/libc-symbols.h: Remove comment about
58355         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
58356         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
58357         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
58358         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
58359         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
58360         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
58361         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
58362         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
58363         * elf/tst-unique2mod1.c: Likewise.
58364         * elf/tst-unique1mod2.c: Likewise.
58365         * elf/tst-unique1mod1.c: Likewise.
58366         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
58367         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
58368         Replace ASM_TYPE_DIRECTIVE with .type.
58369         * sysdeps/s390/s390-64/sysdep.h: Likewise.
58370         * sysdeps/i386/sysdep.h: Likewise.
58371         * sysdeps/x86_64/sysdep.h: Likewise.
58372         * sysdeps/sh/sysdep.h: Likewise.
58373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
58374         Do not define ASM_TYPE_DIRECTIVE.
58375         * sysdeps/powerpc/sysdep.h: Likewise.
58376         * sysdeps/powerpc/powerpc32/sysdep.h:
58377         Replace ASM_TYPE_DIRECTIVE with .type.
58378         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
58379         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
58380         * sysdeps/i386/fpu/e_powf.S: Likewise.
58381         * sysdeps/i386/fpu/e_expl.S: Likewise.
58382         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
58383         * sysdeps/i386/fpu/e_acosh.S: Likewise.
58384         * sysdeps/i386/fpu/e_pow.S: Likewise.
58385         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
58386         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
58387         * sysdeps/i386/fpu/s_expm1.S: Likewise.
58388         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
58389         * sysdeps/i386/fpu/e_log2.S: Likewise.
58390         * sysdeps/i386/fpu/e_log2l.S: Likewise.
58391         * sysdeps/i386/fpu/e_scalb.S: Likewise.
58392         * sysdeps/i386/fpu/e_powl.S: Likewise.
58393         * sysdeps/i386/fpu/e_log10f.S: Likewise.
58394         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
58395         * sysdeps/i386/fpu/e_logl.S: Likewise.
58396         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
58397         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
58398         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
58399         * sysdeps/i386/fpu/e_log2f.S: Likewise.
58400         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
58401         * sysdeps/i386/fpu/e_log.S: Likewise.
58402         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
58403         * sysdeps/i386/fpu/e_logf.S: Likewise.
58404         * sysdeps/i386/fpu/e_log10l.S: Likewise.
58405         * sysdeps/i386/fpu/e_atanh.S: Likewise.
58406         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
58407         * sysdeps/i386/fpu/e_log10.S: Likewise.
58408         * sysdeps/i386/fpu/s_frexp.S: Likewise.
58409         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
58410         * sysdeps/i386/fpu/s_asinh.S: Likewise.
58411         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
58412         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
58413         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
58414         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
58415         * sysdeps/i386/i686/strtok.S: Likewise.
58416         * sysdeps/i386/i386-mcount.S: Likewise.
58417         * sysdeps/i386/strtok.S: Likewise.
58418         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
58419         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
58420         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
58421         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
58422         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
58423         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
58424         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
58425         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
58426         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
58427         * sysdeps/x86_64/_mcount.S: Likewise.
58428         * sysdeps/x86_64/strtok.S: Likewise.
58429         * sysdeps/sh/_mcount.S: Likewise.
58431 2012-08-01  Roland McGrath  <roland@hack.frob.com>
58433         * libio/iofopen.c: Include <fcntl.h>.
58434         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
58435         (_IO_fopen64, fopen64): Define as aliases.
58436         * libio/iofopen64.c: Include <fcntl.h>.
58437         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
58438         Conditionalize body on this.
58439         * sysdeps/wordsize-64/iofopen.c: File removed.
58440         * sysdeps/wordsize-64/iofopen64.c: File removed.
58442 2012-08-01  Marek Polacek  <polacek@redhat.com>
58444         * libc/Makeconfig: Use elf in place of binfmt-subdir.
58445         Use dlfcn directly instead of a variable.
58446         (binfmt-subdir): Do not define.
58447         (dlfcn): Likewise.
58449 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
58451         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
58452         Remove all definitions.
58453         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
58454         <kernel-features.h>.
58455         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
58456         (miss_F_GETOWN_EX): Remove all definitions.
58457         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
58458         macro definition.
58459         [!__ASSUME_FCNTL64]: Remove conditional code.
58460         [__ASSUME_FCNTL64]: Make code unconditional.
58461         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
58462         <kernel-features.h>.
58463         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
58464         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
58465         (lockf64) [__NR_fcntl64]: Make code unconditional.
58466         (lockf64) [__ASSUME_FCNTL64]: Likewise.
58468         * sysdeps/unix/sysv/linux/kernel-features.h
58469         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
58470         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
58471         Make code unconditional.
58472         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
58473         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
58474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
58475         [__NR_vfork]: Make code unconditional.
58476         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
58477         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
58478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
58479         [__NR_vfork]: Make code unconditional.
58480         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
58481         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
58483 2012-08-01  Roland McGrath  <roland@hack.frob.com>
58485         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
58486         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
58488         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
58489         Define mkstemp64 as an alias.
58490         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
58491         Define mkstemps64 as an alias.
58492         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
58493         Define mkostemp64 as an alias.
58494         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
58495         Define mkostemps64 as an alias.
58496         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
58497         Conditionalize body on this.
58498         * misc/mkostemp64.c: Likewise.
58499         * misc/mkostemps64.c: Likewise.
58500         * misc/mkstemps64.c: Likewise.
58501         * sysdeps/wordsize-64/mkstemp64.c: File removed.
58502         * sysdeps/wordsize-64/mkostemp64.c: File removed.
58503         * sysdeps/wordsize-64/mkostemp.c: File removed.
58504         * sysdeps/wordsize-64/mkstemp.c: File removed.
58505         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
58506         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
58507         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
58508         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
58510         [BZ #14138]
58511         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
58512         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
58513         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
58514         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
58516         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
58517         compat_symbol macros from <shlib-compat.h> rather than the underlying
58518         default_symbol_version and symbol_version macros, so that DEFAULT
58519         lines in shlib-versions are respected.
58520         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
58522 2012-08-01  Florian Weimer  <fweimer@redhat.com>
58524         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
58525         Declare with warn_unused_result.
58526         (setgid, setregid, setegid, setresgid): Likewise.
58527         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
58528         Likewise.
58529         * WUR-REPORT: Remove set*id functions.
58531 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
58533         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
58535 2012-07-31  Roland McGrath  <roland@hack.frob.com>
58537         [BZ #10191]
58538         * include/sys/socket.h (__libc_accept, __libc_accept4):
58539         Add attribute_hidden.
58540         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
58542         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
58543         use of PTR_MANGLE.
58544         * inet/getnetgrent_r.c (setup): Likewise.
58546         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
58548 2012-07-31  David S. Miller  <davem@davemloft.net>
58550         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58552 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
58554         [BZ #13629]
58555         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
58556         value between 1.0 and 2.0 and smaller part has absolute value less
58557         than 1.0.
58558         * math/s_clog10.c (__clog10): Likewise.
58559         * math/s_clog10f.c (__clog10f): Likewise.
58560         * math/s_clog10l.c (__clog10l): Likewise.
58561         * math/s_clogf.c (__clogf): Likewise.
58562         * math/s_clogl.c (__clogl): Likewise.
58563         * math/libm-test.inc (clog_test): Add more tests.
58564         (clog10_test): Likewise.
58565         * sysdeps/i386/fpu/libm-test-ulps: Update.
58566         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58568 2012-07-31  Florian Weimer  <fweimer@redhat.com>
58570         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
58571         Exit with zero in case no suitable GID is found, and write a
58572         message to standard error.
58574 2012-07-30  Roland McGrath  <roland@hack.frob.com>
58576         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
58577         rather than to 1.
58578         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
58579         (MAXPATHLEN): Removed.
58580         (NOGROUP, NODEV): New macros.
58581         (setbit, clrbit, isset, isclr): New macros.
58582         (howmany, roundup, powerof2): New macros.
58583         (DEV_BSIZE): New macro.
58585         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
58586         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
58588         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
58589         definition on [!__NO_LONG_DOUBLE_MATH].
58591         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
58592         PTR_MANGLE and PTR_DEMANGLE.
58594         * socket/accept4.c (accept4): Rename to __libc_accept4.
58595         Define accept4 as a weak alias.
58597         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
58598         on [_DIRENT_HAVE_D_TYPE].
58599         * io/ftw.c (ftw_dir): Likewise.
58601         * io/xmknod.c (__xmknod): Don't check PATH for being null.
58603         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
58605         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
58606         Use the BSD numbers rather than the arbitrary ones we had.
58607         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
58608         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
58609         (SIGXCPU, SIGXFSZ): New macros.
58610         (_NSIG): Now 32.
58612         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
58613         initializer on [_LIBC_REENTRANT].
58615         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
58616         definitions inside [_POSIX_MAPPED_FILES].
58618         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
58620         * dirent/opendir.c: Include <fcntl.h>.
58622         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
58623         (__libc_getspecific): Likewise.
58624         (__libc_key_create): Likewise.
58626         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
58627         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
58628         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
58629         (tmpfile64): Define as alias.
58630         * sysdeps/wordsize-64/tmpfile.c: File removed.
58631         * sysdeps/wordsize-64/tmpfile64.c: File removed.
58632         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
58633         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
58635         * stdio-common/vfscanf.c: Include <stdbool.h>.
58636         * nss/makedb.c: Likewise.
58637         * stdio-common/_i18n_number.h: Likewise.
58638         * argp/argp-help.c: Likewise.
58639         * posix/wordexp.c: Likewise.
58640         * sysdeps/posix/spawni.c: Likewise.
58641         * nss/nss_files/files-initgroups.c: Likewise.
58642         * stdio-common/reg-modifier.c: Include <stdlib.h>.
58643         * nss/nss_files/files-initgroups.c: Likewise.
58644         * nss/nss_db/db-netgrp.c: Likewise.
58645         * nss/nss_db/db-initgroups.c: Likewise.
58646         * io/fchmodat.c: Include <sys/stat.h>.
58648         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
58649         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
58651         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
58652         [HAVE_MMAP].
58654         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
58655         Add multiple inclusion protection.
58657 2012-07-27  David S. Miller  <davem@davemloft.net>
58659         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58661 2012-07-27  Gary Benson  <gbenson@redhat.com>
58663         [BZ #14298]
58664         * elf/rtld.c: Include <stap-probe.h>.
58665         (dl_main): Added static probes "init_start" and "init_complete".
58666         * elf/dl-load.c: Include <stap-probe.h>.
58667         (lose): Take new parameter "nsid".
58668         Added static probe "map_failed".
58669         (_dl_map_object_from_fd): Pass namespace id to lose.
58670         Added static probe "map_start".
58671         (open_verify): Pass namespace id to lose.
58672         * elf/dl-open.c: Include <stap-probe.h>.
58673         (dl_open_worker) Added static probes "map_complete", "reloc_start"
58674         and "reloc_complete".
58675         * elf/dl-close.c: Include <stap-probe.h>.
58676         (_dl_close_worker): Added static probes "unmap_start" and
58677         "unmap_complete".
58678         * elf/rtld-debugger-interface.txt: New file documenting the above.
58680 2012-07-26  Roland McGrath  <roland@hack.frob.com>
58682         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
58683         rather than a string variable.
58684         * sunrpc/rpc_main.c (h_output): Likewise.
58685         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
58687 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
58689         * inet/check_native.c: New file.
58691 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
58693         [BZ #13629]
58694         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
58695         if larger part has absolute value 1.0.
58696         * math/s_clog10.c (__clog10): Likewise.
58697         * math/s_clog10f.c (__clog10f): Likewise.
58698         * math/s_clog10l.c (__clog10l): Likewise.
58699         * math/s_clogf.c (__clogf): Likewise.
58700         * math/s_clogl.c (__clogl): Likewise.
58701         * math/libm-test.inc (clog_test): Add more tests.
58702         (clog10_test): Likewise.
58703         * sysdeps/i386/fpu/libm-test-ulps: Update.
58704         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58706         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
58707         (pltexit): Likewise.
58708         (La_regs): Likewise.
58709         (La_retval): Likewise.
58710         (int_retval): Likewise.
58711         Update #error for removed macros to refer only to definitions in
58712         tst-audit.h.
58713         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
58714         macro.
58715         (pltexit): Likewise.
58716         (La_regs): Likewise.
58717         (La_retval): Likewise.
58718         (int_retval): Likewise.
58719         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
58720         macro.
58721         (pltexit): Likewise.
58722         (La_regs): Likewise.
58723         (La_retval): Likewise.
58724         (int_retval): Likewise.
58725         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
58726         macro.
58727         (pltexit): Likewise.
58728         (La_regs): Likewise.
58729         (La_retval): Likewise.
58730         (int_retval): Likewise.
58731         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
58732         macro.
58733         (pltexit): Likewise.
58734         (La_regs): Likewise.
58735         (La_retval): Likewise.
58736         (int_retval): Likewise.
58737         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
58738         macro.
58739         (pltexit): Likewise.
58740         (La_regs): Likewise.
58741         (La_retval): Likewise.
58742         (int_retval): Likewise.
58743         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
58744         macro.
58745         (pltexit): Likewise.
58746         (La_regs): Likewise.
58747         (La_retval): Likewise.
58748         (int_retval): Likewise.
58749         * sysdeps/generic/tst-audit.h: Update comment to refer only to
58750         macro definitions in tst-audit.h.
58751         * sysdeps/i386/tst-audit.h: New file.
58752         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
58753         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
58754         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
58755         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
58756         * sysdeps/sh/tst-audit.h: Likewise.
58757         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
58758         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
58759         * sysdeps/x86_64/tst-audit.h: Likewise.
58761 2012-07-26  Andreas Jaeger  <aj@suse.de>
58763         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
58764         ptrace.
58766         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
58767         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
58768         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
58769         PTRACE_O_MASK.
58770         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
58771         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
58772         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
58774         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
58775         value.
58777         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
58778         _sigsys.
58779         (si_call_addr, si_syscall, si_arch): Define new macro.
58780         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
58781         _sigsys.
58782         (si_call_addr, si_syscall, si_arch): Define new marcro.
58783         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
58784         _sigsys.
58785         (si_call_addr, si_syscall, si_arch): Define new macro.
58786         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
58787         _sigsys.
58788         (si_call_addr, si_syscall, si_arch): Define new macro.
58790 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
58792         [BZ #13717]
58793         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
58794         Change to 2.4.21 where previously 2.4.1.
58795         * sysdeps/unix/sysv/linux/configure: Regenerated.
58796         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
58797         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
58798         Linux kernel version.
58799         (__ASSUME_STD_AUXV): Remove.
58800         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
58801         kernel version.
58802         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
58803         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
58804         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
58805         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
58806         (__ASSUME_NETLINK_SUPPORT): Likewise.
58807         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
58808         (__no_netlink_support): Remove conditional definition.
58809         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
58810         Remove.
58811         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
58812         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
58813         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
58814         (if_nameindex_ioctl): Remove.
58815         (if_nameindex_netlink): Do not handle __no_netlink_support.
58816         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
58817         code.
58818         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
58819         Remove conditional code.
58820         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
58821         code.
58822         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
58823         unconditional.
58824         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
58825         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
58826         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
58827         Remove.
58828         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
58829         [!__ASSUME_STD_AUXV]: Remove conditional code.
58830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
58831         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
58832         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
58833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
58834         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
58835         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
58836         code.
58837         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
58838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
58839         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
58840         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
58841         conditional code.
58842         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
58843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
58844         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
58845         code.
58846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
58847         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
58848         conditional code.
58849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
58850         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
58851         code unconditional.
58852         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
58853         conditional code.
58854         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
58855         unconditional.
58856         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
58857         conditional code.
58858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
58859         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
58860         unconditional.
58861         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
58862         conditional code.
58863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
58864         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
58865         code unconditional.
58866         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
58867         conditional code.
58868         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
58869         unconditional.
58870         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
58871         conditional code.
58872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
58873         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
58874         code unconditional.
58875         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
58876         conditional code.
58877         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
58878         unconditional.
58879         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
58880         conditional code.
58882 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
58884         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
58885         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
58886         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
58887         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
58888         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
58889         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
58890         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
58891         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
58892         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
58893         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
58894         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
58895         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
58896         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
58897         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
58898         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
58899         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
58900         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
58901         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
58902         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
58903         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
58904         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
58905         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
58906         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
58908 2012-07-25  Florian Weimer  <fweimer@redhat.com>
58910         * Versions.def: Add GLIBC_2.17.
58911         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
58912         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
58913         Introduce __libc_secure_getenv.
58914         * stdlib/Versions (2.17): Add secure_getenv
58915         (GLIBC_PRIVATE): Add __libc_secure_getenv.
58916         * stdlib/secure-getenv.c: Rename __secure_getenv to
58917         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
58918         symbol __secure_getenv for GLIBC_2.0.
58919         * stdlib/tst-secure-getenv.c: New.
58920         * stdlib/Makefile (tests): Add testcase.
58921         * manual/startup.texi (Environment Access): Document
58922         secure_getenv.
58923         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
58924         __libc_secure_getenv.
58925         * inet/ruserpass.c (ruserpass): Likewise.
58926         * malloc/mtrace.c (mtrace): Likewise.
58927         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
58928         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
58929         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
58930         * sysdeps/posix/tempname.c: Likewise.  Evaluate
58931         HAVE_SECURE_GETENV.
58932         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
58933         __secure_getenv to __libc_secure_getenv.
58934         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
58935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
58936         Likewise.
58937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
58938         Likewise.
58939         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
58940         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
58941         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
58942         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
58943         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
58944         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
58945         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
58947 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
58949         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
58950         (struct La_i86_retval): Likewise.
58951         (struct La_x86_64_regs): Likewise.
58952         (struct La_x86_64_retval): Likewise.
58953         (struct La_x32_regs): Likewise.
58954         (struct La_x32_retval): Likewise.
58955         (struct La_ppc32_regs): Likewise.
58956         (struct La_ppc32_retval): Likewise.
58957         (struct La_ppc64_regs): Likewise.
58958         (struct La_ppc64_retval): Likewise.
58959         (struct La_sh_regs): Likewise.
58960         (struct La_sh_retval): Likewise.
58961         (struct La_s390_32_regs): Likewise.
58962         (struct La_s390_32_retval): Likewise.
58963         (struct La_s390_64_regs): Likewise.
58964         (struct La_s390_64_retval): Likewise.
58965         (struct La_sparc32_regs): Likewise.
58966         (struct La_sparc32_retval): Likewise.
58967         (struct La_sparc64_regs): Likewise.
58968         (struct La_sparc64_retval): Likewise.
58969         (struct audit_ifaces): Remove architecture-specific pltenter and
58970         pltexit members.
58971         * sysdeps/i386/ldsodefs.h: New file.
58972         * sysdeps/powerpc/ldsodefs.h: Likewise.
58973         * sysdeps/s390/ldsodefs.h: Likewise.
58974         * sysdeps/sh/ldsodefs.h: Likewise.
58975         * sysdeps/sparc/ldsodefs.h: Likewise.
58976         * sysdeps/x86_64/ldsodefs.h: Likewise.
58978 2012-07-25  Marek Polacek  <polacek@redhat.com>
58980         [BZ #6808]
58981         * math/libm-test.inc (yn_test): Add another test.
58982         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
58983         to ERANGE when the result is +-Inf.
58984         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
58985         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
58986         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
58987         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
58989 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
58991         * conform/data/time.h-data (NULL): Use macro-constant.  Require
58992         equal to 0.
58993         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
58994         clock_t.
58995         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
58997 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
58999         * configure.in <sysdeps resolving>: Correct printing
59000         Implies_before.
59001         * configure: Regenerate.
59003 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
59005         * math/w_ilogb.c: Include <limits.h>.
59006         * math/w_ilogbl.c: Likewise.
59008 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
59010         * manual/lang.texi (__va_copy): Document primarily as ISO C99
59011         va_copy.  Document allowing for unavailable va_copy only as
59012         pre-C99 compatibility.
59013         * manual/string.texi (Copying and Concatenation): Use va_copy
59014         instead of __va_copy in concat example.
59016 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
59018         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
59019         (__sendto): Use create_address_port.  Initialize APORT and deallocate
59020         it if not null.
59022         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
59023         with O_NOLINK passed to __file_name_lookup.
59025         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
59026         with O_NOLINK passed to __file_name_lookup.
59028         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
59029         negative N or less than NGIDS.
59031         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
59032         type to string_t.  Set ERANGE as errno and return it if NAME is not big
59033         enough.  Use memcpy instead of strncpy.
59035 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
59037         * elf/Makefile (check-data): Remove.
59038         (localplt.data): New vpath directive.
59039         ($(objpfx)check-localplt.out): Use localplt.data from vpath
59040         instead of $(check-data).
59041         * scripts/data/localplt-generic.data: Move to ...
59042         * sysdeps/generic/localplt.data: ... here.
59043         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
59044         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
59045         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
59046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
59047         ... here.
59048         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
59049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
59050         ... here.
59051         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
59052         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
59053         ... here.
59054         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
59055         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
59056         ... here.
59057         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
59058         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
59059         ... here.
59060         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
59061         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
59062         ... here.
59064 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59066         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
59067         PPC32 and PPC64 files.
59068         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
59069         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
59071 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59073         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
59074         __makecontext_ret to ...
59075         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
59076         ... here and call exit if uc_link is NULL.  New file.
59077         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
59078         __makecontext_ret.S.
59079         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
59080         __makecontext_ret to ...
59081         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
59082         ... here and call exit if uc_link is NULL.  New file.
59083         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
59084         __makecontext_ret.S.
59086 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59088         * elf/elf.h (R_390_IRELATIVE): New definition.
59089         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
59090         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
59091         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
59092         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
59093         (elf_machine_lazy_rel): Likewise.
59094         * sysdeps/s390/dl-irel.h: New file.
59095         * sysdeps/s390/s390-64/memcpy.S: New asm code.
59096         * sysdeps/s390/s390-64/memset.S: New asm code.
59097         * sysdeps/s390/s390-64/memcmp.S: New asm code.
59098         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
59099         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
59100         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
59101         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
59102         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
59103         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
59104         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
59105         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
59106         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
59107         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
59108         * sysdeps/s390/s390-32/memcpy.S: New asm code.
59109         * sysdeps/s390/s390-32/memset.S: New asm code.
59110         * sysdeps/s390/s390-32/memcmp.S: New asm code.
59112 2012-07-17  Marek Polacek  <polacek@redhat.com>
59114         [BZ #14349]
59115         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
59116         * sysdeps/s390/s390-64/configure.in: Likewise.
59117         * sysdeps/sparc/configure.in: Likewise.
59118         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
59119         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
59120         * sysdeps/i386/configure.in: Likewise.
59121         * sysdeps/x86_64/configure.in: Likewise.
59122         * sysdeps/sh/configure.in: Likewise.
59123         * sysdeps/s390/s390-32/configure: Regenerated.
59124         * sysdeps/s390/s390-64/configure: Likewise.
59125         * sysdeps/x86_64/configure: Likewise.
59126         * sysdeps/sh/configure: Likewise.
59127         * sysdeps/powerpc/powerpc64/configure: Likewise.
59128         * sysdeps/powerpc/powerpc32/configure: Likewise.
59129         * sysdeps/sparc/configure: Likwise.
59130         * sysdeps/i386/configure: Likewise.
59132         * elf/dl-open.c: Comment fixes.
59134 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
59136         * Makefile [CXX] (check-data): Remove.
59137         [CXX] (c++-types.data): New vpath directive.
59138         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
59139         vpath.  Do not allow for C++ type data being missing.
59140         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
59141         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
59142         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
59143         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
59144         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
59145         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
59146         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
59147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
59148         ... here.
59149         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
59150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
59151         ... here.
59152         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
59153         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
59154         ... here.
59155         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
59156         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
59157         ... here.
59158         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
59159         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
59160         ... here.
59161         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
59162         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
59163         ... here.
59164         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
59165         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
59166         ... here.
59167         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
59168         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
59170         * elf/tls-macros.h (TLS_LE): Move architecture-specific
59171         definitions to architecture-specific files.
59172         (TLS_IE): Likewise.
59173         (TLS_LD): Likewise.
59174         (TLS_GD): Likewise.
59175         * sysdeps/i386/tls-macros.h: New file.
59176         * sysdeps/powerpc/tls-macros.h: Likewise.
59177         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
59178         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
59179         * sysdeps/sh/tls-macros.h: Likewise.
59180         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
59181         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
59182         * sysdeps/x86_64/tls-macros.h: Likewise.
59184 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
59186         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
59187         zero value for regular exit case.
59189         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
59190         (__start_context): Preserve zero value for regular exit case.
59192 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
59193             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59195         * manual/setjmp.texi (setcontext): Clarify normal process
59196         termination when uc_link is the null pointer.
59197         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
59198         exit call.
59200 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
59202         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
59203         preprocessor.  Test for each exception mask separately.
59205 2012-07-16  Andreas Jaeger  <aj@suse.de>
59207         * po/ru.po: Update from translation team.
59209 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
59211         * conform/data/string.h-data (NULL): Use macro-constant.  Require
59212         equal to 0.
59213         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
59214         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
59215         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
59216         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
59217         [ISO || ISO99 || ISO11] (*_t): Do not allow.
59219 2012-07-13  Andreas Jaeger  <aj@suse.de>
59221         * po/fr.po: Update from translation team.
59223 2012-07-12  Marek Polacek  <polacek@redhat.com>
59225         [BZ #14173]
59226         * math/libm-test.inc (yn_test): Add test for BZ #14173.
59227         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
59228         loop condition.
59230 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
59232         [BZ #13717]
59233         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
59234         Change to 2.4.1 where previously 2.4.0.
59235         * sysdeps/unix/sysv/linux/configure: Regenerated.
59236         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
59237         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
59238         version.
59239         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
59240         (__ASSUME_AT_CLKTCK): Remove.
59241         (__ASSUME_AT_PAGESIZE): Likewise.
59242         (__ASSUME_AT_XID): Likewise.
59243         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
59244         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
59245         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
59246         unconditionally.
59247         (HAVE_AUX_PAGESIZE): Likewise.
59248         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
59249         [__ASSUME_AT_CLKTCK]: Make code unconditional.
59250         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
59252 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
59254         [BZ #14307]
59255         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
59256         the temporary buffer used to invoke __gethostbyname2_r,
59257         __gethostbyaddr_r and gethostbyname4_r to make room for struct
59258         host_data / struct gaih_addrtuple.
59259         * resolv/nss_dns/dns-host.c (global scope): Move definition of
59260         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
59261         header file nss/nsswitch.h.
59262         * nss/nsswitch.h (global scope): Add definition of implementation
59263         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
59264         resolv/nss_dns/dns-host.c).
59266 2012-07-11  Andreas Jaeger  <aj@suse.de>
59268         * po/fr.po: Update from translation team.
59270         * po/sv.po: Update from translation team
59271         * po/fr.po: Another update from translation team.
59273 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59275         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
59276         for subnormals or multiply small sinh result by itself.
59277         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
59278         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59280 2012-07-11  David S. Miller  <davem@davemloft.net>
59282         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59284 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
59286         [BZ #14347]
59287         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
59288         (INTERNAL_MARK): Shift it here.
59290 2012-07-10  Marek Polacek  <polacek@redhat.com>
59292         [BZ #14151]
59293         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
59294         libc_cv_asm_global_directive with .globl.
59295         * configure: Regenerated.
59296         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
59297         with .globl.
59298         * sysdeps/i386/configure: Regenerated.
59299         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
59300         with .globl.
59301         * sysdeps/x86_64/configure: Regenerated.
59302         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
59303         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
59304         * elf/tst-unique2mod2.c: Likewise.
59305         * elf/tst-unique2mod1.c: Likewise.
59306         * elf/tst-unique1mod2.c: Likewise.
59307         * elf/tst-unique1mod1.c: Likewise.
59308         * sysdeps/s390/s390-32/sysdep.h: Likewise.
59309         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
59310         * sysdeps/s390/s390-64/sysdep.h: Likewise.
59311         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
59312         * sysdeps/mach/sysdep.h: Likewise.
59313         * sysdeps/i386/sysdep.h: Likewise.
59314         * sysdeps/i386/i386-mcount.S: Likewise.
59315         * sysdeps/x86_64/_mcount.S: Likewise.
59316         * sysdeps/x86_64/sysdep.h: Likewise.
59317         * sysdeps/sh/_mcount.S: Likewise.
59318         * sysdeps/sh/sysdep.h: Likewise.
59319         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
59320         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
59321         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
59322         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
59323         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
59324         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
59325         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
59326         * locale/localeinfo.h: Likewise.
59327         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
59328         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
59330 2012-07-09  Roland McGrath  <roland@hack.frob.com>
59332         [BZ #14336]
59333         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
59334         system".
59335         * manual/message.texi (The Uniforum approach): Likewise.
59336         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
59337         (glibc iconv Implementation): Likewise.
59339 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
59341         [BZ #14337]
59342         * math/s_clog.c (__clog): Avoid scaling a value down where that
59343         could result in underflow.
59344         * math/s_clog10.c (__clog10): Likewise.
59345         * math/s_clog10f.c (__clog10f): Likewise.
59346         * math/s_clog10l.c (__clog10l): Likewise.
59347         * math/s_clogf.c (__clogf): Likewise.
59348         * math/s_clogl.c (__clogl): Likewise.
59349         * math/libm-test.inc (clog_test): Add more tests.
59350         (clog10_test): Likewise.
59351         * sysdeps/i386/fpu/libm-test-ulps: Update.
59352         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59354 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
59356         [BZ #14283]
59357         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
59358         by 7 not 8 to examine high bit of fractional part.
59360         [BZ #14042]
59361         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
59362         for call to __mcount_internal.
59363         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
59364         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
59365         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
59367 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
59369         [BZ #14154]
59370         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
59371         approximation for values within 0x1p-13f of an odd multiple of
59372         pi/4.
59373         * math/libm-test.inc (tan_test): Do not allow spurious underflow
59374         exception.  Add more tests.
59375         * sysdeps/i386/fpu/libm-test-ulps: Update.
59377         [BZ #6778]
59378         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
59379         inputs and return -1 for them.  Do not check for +Inf in case not
59380         reachable for +Inf.
59381         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
59382         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
59383         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
59384         and return -1 for them.  Do not check for +Inf in case not
59385         reachable for +Inf.
59386         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
59387         define.
59388         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
59389         and return -1 for them.  Do not check for +Inf in case not
59390         reachable for +Inf.
59391         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
59392         spurious underflow.
59393         * sysdeps/i386/fpu/libm-test-ulps: Update.
59394         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59396 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
59398         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
59400 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
59402         [BZ #14157]
59403         [BZ #14331]
59404         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
59405         could result in spurious underflow.  Scale down values above
59406         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
59407         * math/s_csqrtf.c (__csqrtf): Likewise.
59408         * math/s_csqrtl.c (__csqrtl): Likewise.
59409         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
59410         spurious underflow.
59411         * sysdeps/i386/fpu/libm-test-ulps: Update.
59412         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59414 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
59416         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
59417         xopen-msg.sed.
59418         * catgets/xopen-msg.awk: New file.
59419         * catgets/xopen-msg.sed: Removed.
59421         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
59422         po2text.sed.
59423         * intl/po2test.awk: New file.
59424         * intl/po2test.sed: Removed.
59426 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
59428         [BZ #14328]
59429         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
59430         or multiply small sinh result by itself.
59431         * math/s_ctanf.c (__ctanf): Likewise.
59432         * math/s_ctanh.c (__ctanh): Likewise.
59433         * math/s_ctanhf.c (__ctanhf): Likewise.
59434         * math/s_ctanhl.c (__ctanhl): Likewise.
59435         * math/s_ctanl.c (__ctanl): Likewise.
59436         * math/libm-test.inc (ctan_test_tonearest): New function.
59437         (ctan_test_towardzero): Likewise.
59438         (ctan_test_downward): Likewise.
59439         (ctan_test_upward): Likewise.
59440         (ctanh_test_tonearest): Likewise.
59441         (ctanh_test_towardzero): Likewise.
59442         (ctanh_test_downward): Likewise.
59443         (ctanh_test_upward): Likewise.
59444         (main): Call these new functions.
59445         * sysdeps/i386/fpu/libm-test-ulps: Update.
59446         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59448 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
59450         * .gitignore: Delete /ports entry.
59452 2012-07-03  Andreas Jaeger  <aj@suse.de>
59454         * po/bg.po: Update from translation team.
59455         * po/cs.po: Likewise.
59456         * po/de.po: Likewise.
59457         * po/hr.po: Likewise.
59458         * po/nl.pl: Likewise.
59459         * po/pl.po: Likewise.
59460         * po/vi.po: Likewise.
59462 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
59464         * Makeconfig [!+link] (+link-before-libc): New variable.
59465         [!+link] (+link-after-libc): Likewise.
59466         [!+link] (+link-tests): Likewise.
59467         [!+link] (+link): Define in terms of $(+link-before-libc) and
59468         $(+link-after-libc).
59469         [!+link-static] (+link-static-before-libc): New variable.
59470         [!+link-static] (+link-static-after-libc): Likewise.
59471         [!+link-static] (+link-static-tests): Likewise.
59472         [!+link-static] (+link-static): Define in terms of
59473         $(+link-static-before-libc) and $(+link-static-after-libc).
59474         [build-shared] (link-libc-before-gnulib): New variable.
59475         [build-shared] (link-libc-tests): Likewise.
59476         [build-shared] (link-libc): Define in terms of
59477         $(link-libc-before-gnulib).
59478         [!build-shared] (link-libc-tests): New variable.
59479         (link-libc-static-tests): New variable.
59480         [!gnulib] (gnulib-arch): New variable.
59481         [!gnulib] (gnulib-tests): Likewise.
59482         [!gnulib] (static-gnulib-arch): Likewise.
59483         [!gnulib] (static-gnulib-tests): Likewise.
59484         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
59485         Define with "=" instead of ":=".
59486         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
59487         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
59488         * Rules (binaries-all-notests): New variable.
59489         (binaries-all-tests): Likewise.
59490         (binaries-static-notests): Likewise.
59491         (binaries-static-tests): Likewise.
59492         (binaries-all): Define using $(binaries-all-notests) and
59493         $(binaries-all-tests).
59494         (binaries-static): Define using $(binaries-static-notests) and
59495         $(binaries-static-tests).
59496         (binaries-shared-tests): New variable.
59497         (binaries-shared-notests): Likewise.
59498         (binaries-shared): Remove variable.
59499         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
59500         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
59501         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
59502         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
59503         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
59504         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
59505         * elf/Makefile (sln-modules): New variable.
59506         (extra-objs): Add $(sln-modules:=.o).
59507         (ldconfig-modules): Add static-stubs.
59508         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
59509         * elf/static-stubs.c: New file.
59511         [BZ #14283]
59512         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
59513         by 7 not 8 to examine high bit of fractional part.  Use volatile
59514         variables when splitting into final array of floats if
59515         __FLT_EVAL_METHOD__ != 0.
59516         * math/libm-test.inc (cos_test): Add another test.
59517         (sin_test): Likewise.
59518         * sysdeps/i386/fpu/libm-test-ulps: Update.
59520         [BZ #14273]
59521         * math/libm-test.inc (cosh_test): Add more tests.
59523         * version.h (RELEASE): Set to "development".
59524         (VERSION): Set to "2.16.90".
59526 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
59528         * NEWS: Update copyright. Remove last-updated date.
59529         Mention math library bug fixes and timezone data changes.
59530         * README: Mention GNU/Hurd, x32, and HPPA support status.
59532 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
59534         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
59536 2012-06-27  Andreas Jaeger  <aj@suse.de>
59538         * manual/contrib.texi (Contributors): Add Samuel Thibault.
59540 2012-06-25  Andreas Jaeger  <aj@suse.de>
59542         * sysdeps/s390/fpu/libm-test-ulps: Update.
59544 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
59545             Thomas Schwinge  <thomas@codesourcery.com>
59547         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
59548         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
59549         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
59550         fanotify_mark.
59552 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
59554         * sysdeps/mach/start.c: Remove file.
59555         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
59556         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
59557         * sysdeps/sh/init-first.c: Likewise.
59559         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
59560         registers for frame unwinding purposes, add CFI directives.
59561         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
59562         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
59563         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
59564         Likewise.
59566         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
59567         __fortify_fail returning.
59568         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
59570         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
59571         sysdeps/sh/____longjmp_chk.S.
59572         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
59573         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
59574         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
59575         (gen-as-const-headers): Append sigaltstack-offsets.sym.
59577         * sysdeps/sh/abort-instr.h: New file.
59578         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
59579         process in case exit returns.
59581         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
59582         initialize the GOT register before use.
59584         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
59585         calculation of ARGC > 4.
59587         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
59588         meaningful names to some local labels.
59590 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
59591             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
59593         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
59594         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
59595         (__arch_compare_and_exchange_val_16_acq): Likewise.
59596         (__arch_compare_and_exchange_val_32_acq): Likewise.
59597         (atomic_exchange_and_add): Fix gUSA sequence.
59598         (atomic_add): Likewise.
59599         (atomic_add_negative): Likewise.
59600         (atomic_add_zero): Likewise.
59601         (atomic_bit_test_set): Likewise.
59603 2012-06-22  Andreas Schwab  <schwab@redhat.com>
59605         [BZ #13579]
59606         * include/link.h (struct link_map): Add l_free_initfini.
59607         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
59608         l_initfini.
59609         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
59610         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
59611         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
59612         set.
59614 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
59616         * configure.in: Use AC_LANG_SOURCE.
59617         * configure: Regenerate.
59619 2012-06-22  Roland McGrath  <roland@hack.frob.com>
59621         * configure.in (libc_cv_localstatedir): New substituted variable.
59622         * configure: Regenerated.
59623         * config.make.in (localstatedir): New variable, substituted from
59624         libc_cv_localstatedir.
59625         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
59626         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
59627         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
59628         * sysdeps/gnu/configure: Regenerated.
59630 2012-06-21  Jeff Law  <law@redhat.com>
59632         [BZ #14277]
59633         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
59634         free.  Simplify list management for _LIBC case.
59636 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
59638         [BZ #14273]
59639         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
59640         Clear sign bit of 64-bit integer value before comparing against
59641         overflow value.
59643         * sysdeps/mach/configure: Regenerated.
59645 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
59647         [BZ #14278]
59648         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
59650 2012-06-21  Jeff Law  <law@redhat.com>
59652         [BZ #13882]
59653         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
59654         uint16_t for elements in the "seen" array to avoid char overflows.
59655         * elf/dl-fini.c (_dl_sort_fini): Likewise.
59656         * elf/dl-open.c (dl_open_worker): Likewise.
59658 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
59660         * scripts/list-sources.sh: Scan PORTS for translations.
59661         * po/libc.pot: Regenerated.
59663 2012-06-21  Andreas Jaeger  <aj@suse.de>
59665         [BZ #12194]
59666         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
59667         warning.
59668         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
59669         * bits/byteswap-16.h (__bswap_16): Likewise.
59670         * bits/byteswap.h (__bswap_constant_16): Likewise.
59672 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
59674         [BZ #14117]
59675         * sysdeps/i386/fpu_control.h: Removed.
59676         * sysdeps/x86_64/fpu_control.h: Moved to ...
59677         * sysdeps/x86/fpu_control.h: Here.
59679         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
59680         (_FPU_SETCW): Likewise.
59682 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
59684         [BZ #14117]
59685         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
59686         * sysdeps/x86/fpu/bits/mathinline.h: This.
59687         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
59689         [BZ #14050]
59690         [BZ #14117]
59691         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
59692         functions if __x86_64__ is defined.
59694 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
59696         * string/endian.h: Add !__ASSEMBLER__ condition for including
59697         conversion interfaces.
59699 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
59701         [BZ #14241]
59702         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
59703         of ABS(x) in calculating zero to negative powers other than odd
59704         integers.
59705         * math/libm-test.inc (pow_test): Add more tests.
59707 2012-06-15  Andreas Jaeger  <aj@suse.de>
59709         * manual/contrib.texi (Contributors): Update entry of Liubov
59710         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
59711         Machado Filho.
59713 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
59715         * string/string.h: Add __wur to GNU version of strerror_r.
59717 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
59719         [BZ #14229]
59720         * string/Makefile (tests): Add tst-strtok_r.
59721         * string/tst-strtok_r.c: New file.
59722         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
59723         RAX_LP/RDX_LP on SAVE_PTR.
59725 2012-06-14  Roland McGrath  <roland@hack.frob.com>
59727         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
59729 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
59731         * libm_test.inc (csqrt_test): Allow more spurious underflow
59732         exceptions.
59733         (j0_test): Likewise.
59734         (j1_test): Likewise.
59735         (y0_test): Likewise.
59736         (y1_test): Likewise.
59738 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
59740         * po/Makefile (libc.pot): Use UTF-8 charset.
59742 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
59744         [BZ #14210]
59745         Suppress sign-conversion warning from FD_SET.
59746         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
59747         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
59748         not unsigned long int.
59749         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
59751 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
59753         [BZ #14050]
59754         [BZ #14117]
59755         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
59756         __extern_always_inline instead of __extern_inline.
59757         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
59758         (__signbit): Likewise.
59759         (__signbitl): Support C++ namespace.
59760         (lrintf): New inline function.
59761         (lrint): Likewise.
59762         (llrintf): Likewise.
59763         (llrint): Likewise.
59764         (fmaxf): Likewise.
59765         (fmax): Likewise.
59766         (fminf): Likewise.
59767         (fmin): Likewise.
59768         (rint): Likewise.
59769         (rintf): Likewise.
59770         (ceil): Likewise.
59771         (ceilf): Likewise.
59772         (floor): Likewise.
59773         (floorf): Likewise.
59774         (nearbyint): Likewise.
59775         (nearbyintf): Likewise.
59777 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
59779         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
59780         non-default versions.
59782 2012-06-11  Roland McGrath  <roland@hack.frob.com>
59784         [BZ #14218]
59785         * manual/argp.texi (Argp): Reword argp_parse description slightly.
59787 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
59789         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
59790         (FE_UPWARD, FE_DOWNWARD): Don't define.
59791         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
59792         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
59794         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
59795         reading it.
59796         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
59797         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
59799 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
59801         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
59802         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
59803         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
59804         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
59806 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
59808         [BZ #14117]
59809         * sysdeps/i386/fpu/bits/fenv.h: Removed.
59810         * sysdeps/i386/fpu/Implies: New file.
59811         * sysdeps/x86_64/fpu/Implies: Likewise.
59812         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
59813         * sysdeps/x86/fpu/bits/fenv.h: This.
59815         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
59816         __SSE_MATH__.
59818 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
59820         [BZ #14134]
59821         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
59822         character 0xffff that matches the last element of the
59823         conversion table.
59825 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59827         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
59828         fmodl commit.
59830 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59832         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
59833         values higher than 25.6283.
59835 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59837         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
59838         subnormal exponent extraction and add some __builtin_expect.
59839         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
59840         Fix for subnormal mantissa calculation.
59842 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
59844         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
59845         cpu2 is -1 and errno is not ENOSYS.
59847 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
59849         [BZ #14117]
59850         * sysdeps/i386/i486/bits/string.h: Renamed to ...
59851         * sysdeps/x86/bits/string.h: This.
59852         * sysdeps/x86_64/bits/string.h: Removed.
59854         * sysdeps/i386/i486/bits/string.h: Define inline functions only
59855         if not compiling for x86-64, but compiling for >= i486.
59857         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
59858         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
59860         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
59861         New macro from Linux kernel 3.4.0.
59862         (FP_XSTATE_MAGIC2): Likewise.
59863         (FP_XSTATE_MAGIC2_SIZE): Likewise.
59864         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
59865         (struct _fpx_sw_bytes): New struct.
59866         (struct _xsave_hdr): Likewise.
59867         (struct _ymmh_state): Likewise.
59868         (struct _xstate): Likewise.
59870         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
59871         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
59872         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
59873         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
59874         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
59875         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
59877         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
59878         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
59879         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
59880         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
59881         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
59882         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
59884 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59886         [BZ #13743]
59887         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
59888         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
59889         (sysdep_headers): Include sys/platform/ppc.h.
59890         * sysdeps/powerpc/test-gettimebase.c: Test for
59891         __ppc_get_timebase() to catch future ISA opcode/insn changes.
59892         * manual/Makefile (appendices): Include platform.texi.
59893         * manual/contrib.texi (Contributors): Update @node pointers.
59894         * manual/maint.texi (Maintenance): Likewise.
59895         (Platform): New node.
59896         * manual/platform.texi: New file.  Document the new features.
59898 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
59899             Jakub Jelinek  <jakub@redhat.com>
59901         [BZ #14188]
59902         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
59903         where __builtin_expect is unavailable.
59905 2012-06-03  David S. Miller  <davem@davemloft.net>
59907         * stdlib/longlong.h: Updated from GCC.
59909 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
59911         [BZ #14042]
59912         * sysdeps/powerpc/powerpc32/mcount.c: New file.
59913         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
59914         __mcount_internal.
59915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
59916         (GLIBC_2.16): Likewise.
59918 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
59920         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
59922 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
59924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
59925         (default-abi): New variable.
59926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
59927         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
59928         variable.
59929         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
59930         Likewise.
59931         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
59932         Likewise.
59933         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
59934         Likewise.
59936         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
59937         definition.  Document in comment.
59939 2012-06-01  David S. Miller  <davem@davemloft.net>
59941         * stdlib/longlong.h: Updated from GCC.
59943 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
59945         [BZ #14117]
59946         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
59947         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
59948         sys/debugreg.h sys/io.h here.
59949         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
59950         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
59951         sys/io.h.
59952         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
59953         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
59954         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
59955         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
59956         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
59957         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
59959         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
59960         Define only if __x86_64__ is defined.
59962 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
59964         [BZ #14048]
59965         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
59966         Use int64_t for variable i.
59967         * math/libm-test.inc (fmod_test): Add more tests.
59969         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
59970         z computation is not scheduled after fetestexcept.
59971         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
59972         Use math_force_eval instead of asm to ensure calculation scheduled
59973         before exception test.
59974         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
59975         Ensure a1 + u.d computation is not scheduled after fetestexcept.
59977 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
59979         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
59980         computation is not scheduled after fetestexcept.
59982 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
59984         [BZ #14117]
59985         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
59986         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
59988 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59990         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
59991         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
59993 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
59995         [BZ #14117]
59996         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
59997         <bits/wordsize.h>.
59998         (__WCHAR_MIN): Support __WORDSIZE == 64.
59999         (__WCHAR_MAX): Likewise.
60001         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
60002         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
60004         [BZ #14183]
60005         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
60006         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
60008         [BZ #14117]
60009         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
60010         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
60012         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
60013         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
60015         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
60016         Defined to 1 if __x86_64__ isn't defined.
60017         (_STAT_VER_LINUX_OLD): New.
60018         (st_atime): Remove duplicate.
60019         (st_mtime): Likewise.
60020         (st_ctime): Likewise.
60022 2012-05-31  David S. Miller  <davem@davemloft.net>
60024         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
60025         entries.
60027 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
60029         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
60030         gen-libm-test.pl.
60032         [BZ #14132]
60033         * elf/dl-reloc.c: Include <_itoa.h>.
60034         (_dl_reloc_bad_type): Remove use of INTUSE.
60035         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
60036         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
60037         * stdio-common/psiginfo.c (psiginfo): Likewise.
60038         * stdio-common/psignal.c (psignal): Likewise.
60039         * string/strsignal.c (strsignal): Likewise.
60040         * include/signal.h (_sys_siglist): Declare hidden proto.
60041         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
60042         INTVARDEF with libc_hidden_data_def.
60043         * stdio-common/itoa-udigits.c: Likewise.
60044         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
60045         (_itoa_lower_digits_internal): Remove declaration.
60046         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
60047         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
60048         (_sys_sigabbrev_internal): Remove aliases.
60049         (_sys_siglist): Define hidden alias.
60051 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
60053         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60054         bits/sysctl.h.
60056 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
60058         [BZ #14117]
60059         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
60060         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
60062         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
60063         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
60064         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
60065         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
60066         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
60067         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
60069         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
60070         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
60071         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
60073         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
60074         with __addr.
60075         (insw): Likewise.
60076         (insl): Likewise.
60077         (outsb): Likewise.
60078         (outsw): Likewise.
60079         (outsl): Likewise.
60081         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
60082         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
60083         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
60085         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
60086         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
60087         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
60088         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
60089         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
60090         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
60092         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
60093         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
60095         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
60096         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
60098         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
60099         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
60100         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
60102         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
60103         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
60104         to ...
60105         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
60107         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
60108         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
60109         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
60111         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
60112         for x86-64.
60113         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
60115 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
60117         * math/math.h (M_El): Use two more decimal places.
60118         (M_LOG2El): Likewise.
60119         (M_LOG10El): Likewise.
60120         (M_LN2l): Likewise.
60121         (M_LN10l): Likewise.
60122         (M_PIl): Likewise.
60123         (M_PI_2l): Likewise.
60124         (M_PI_4l): Likewise.
60125         (M_1_PIl): Likewise.
60126         (M_2_PIl): Likewise.
60127         (M_2_SQRTPIl): Likewise.
60128         (M_SQRT2l): Likewise.
60129         (M_SQRT1_2l): Likewise.
60131 2012-05-31  David S. Miller  <davem@davemloft.net>
60133         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
60134         values between float registers.
60135         * sysdeps/sparc/sparc64/memset.S: Likewise.
60136         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
60138 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
60140         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
60141         -D_FORTIFY_SOURCE=1.
60142         (CPPFLAGS-tst-longjmp_chk.c): Define.
60143         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
60144         (CPPFLAGS-tst-longjmp_chk2.c): Define.
60145         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
60146         CFLAGS-tst-wchar-h.c.
60148 2012-05-31  Marek Polacek  <polacek@redhat.com>
60150         [BZ #14132]
60151         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
60152         __endmntent_internal): Remove declaration.
60153         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
60154         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
60155         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
60157 2012-05-30  David S. Miller  <davem@davemloft.net>
60159         * sysdeps/sparc/sparc32/soft-fp/q_util.c
60160         (___Q_simulate_exceptions): Use real FP ops rather than writing
60161         into the %fsr.
60162         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
60163         Likewise.
60165 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
60167         [BZ #14117]
60168         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
60169         * sysdeps/x86/bits/xtitypes.h: This.
60171         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
60172         * sysdeps/x86/bits/wordsize.h: This.
60174         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
60175         * sysdeps/x86/bits/huge_vall.h: This.
60177         * sysdeps/i386/bits/select.h: Removed.
60178         * sysdeps/x86_64/bits/select.h: Renamed to ...
60179         * sysdeps/x86/bits/select.h: This.
60181         * sysdeps/i386/bits/setjmp.h: Removed.
60182         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
60183         * sysdeps/x86/bits/setjmp.h: This.
60185         * sysdeps/i386/bits/mathdef.h: Removed.
60186         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
60187         * sysdeps/x86/bits/mathdef.h: This.
60189 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
60191         [BZ #14132]
60192         * include/sys/socket.h (__connect_internal)
60193         (__libc_sa_len_internal): Remove declaration.
60194         (__connect, __libc_sa_len): Declare hidden_proto.
60195         (SA_LEN): Remove use of INTUSE.
60196         * socket/connect.c: Add libc_hidden_def.
60197         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
60198         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
60199         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
60200         alias.
60201         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
60202         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
60203         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
60204         of adding _internal alias.
60206 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
60208         [BZ #14117]
60209         * sysdeps/i386/bits/link.h: Removed.
60210         * sysdeps/i386/bits/linkmap.h: Likewise.
60211         * sysdeps/x86_64/bits/link.h: Renamed to ...
60212         * sysdeps/x86/bits/link.h: This.
60213         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
60214         * sysdeps/x86/bits/linkmap.h: This.
60216         * sysdeps/i386/bits/endian.h: Removed.
60217         * sysdeps/x86_64/bits/endian.h: Renamed to ...
60218         * sysdeps/x86/bits/endian.h: This.
60220         * sysdeps/i386/bits/byteswap.h: Removed.
60221         * sysdeps/i386/bits/byteswap-16.h: Likewise.
60222         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
60223         * sysdeps/x86/bits/byteswap.h: This.
60224         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
60225         * sysdeps/x86/bits/byteswap-16.h: This.
60226         * sysdeps/i386/Implies: Add x86.
60227         * sysdeps/x86_64/Implies: Likewise.
60229 2012-05-30  David S. Miller  <davem@davemloft.net>
60231         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
60232         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
60233         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
60234         (FP_TRAPPING_EXCEPTIONS): Define.
60235         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
60236         (FP_TRAPPING_EXCEPTIONS): Define.
60237         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
60238         subnormals only when inexact has been signalled or underflow
60239         exceptions are enabled.
60240         (_FP_PACK_CANONICAL): Likewise.
60242 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
60244         [BZ #14183]
60245         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
60246         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
60248 2012-05-30  Richard Henderson  <rth@twiddle.net>
60250         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
60251         with #ifndef NOT_IN_libc.
60253         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
60254         marked to avoid plt entry.
60256 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
60258         [BZ #14112]
60259         * Makeconfig (default-abi): New macro.
60260         (abi-includes): Likewise.
60261         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
60262         $(abi-$(default-abi)-lib-soname) for soname if defined.
60263         ($(common-objpfx)gnu/lib-names.stmp): Generate from
60264         abi-variants.
60265         * Makefile (installed-stubs): Likewise.
60266         * include/stubs-biarch.h: Removed.
60267         * scripts/lib-names.awk: Only handle one library at a time.
60268         * scripts/soversions.awk: Remove WORDSIZE support.
60269         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
60270         entries.
60271         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
60272         Removed.
60273         (syscall-list-default-condition): Likewise.
60274         (syscall-list-default-condition): Likewise.
60275         (syscall-list-includes): Likewise.
60276         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
60277         syscall-list-* with abi-*.  Handle undefined abi-variants.
60278         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
60279         * sysdeps/unix/sysv/linux/i386/Implies: New file.
60280         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
60281         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
60282         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
60283         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
60284         Removed.
60285         (syscall-list-32-options): Likewise.
60286         (syscall-list-32-condition): Likewise.
60287         (syscall-list-64-options): Likewise.
60288         (syscall-list-64-condition): Likewise.
60289         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
60290         macro.
60291         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
60292         Renamed to ...
60293         (abi-*): This.
60294         (abi-64-ld-soname): New macro.
60295         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
60296         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
60297         Renamed to ...
60298         (abi-*): This.
60299         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
60300         * sysdeps/x86_64/x32/shlib-versions: Likewise.
60302 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
60304         * sysdeps/unix/sysv/linux/kernel-features.h
60305         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
60306         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
60307         include <kernel-features.h>.
60308         [!__NR_ftruncate64]: Remove conditional code.
60309         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
60310         [__NR_ftruncate64]: Make code unconditional.
60311         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
60312         * sysdeps/unix/sysv/linux/truncate64.c: Do not
60313         include <kernel-features.h>.
60314         [!__NR_ftruncate64]: Remove conditional code.
60315         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
60316         [__NR_ftruncate64]: Make code unconditional.
60317         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
60318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
60319         include <kernel-features.h>.
60320         [!__NR_ftruncate64]: Remove conditional code.
60321         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
60322         [__NR_ftruncate64]: Make code unconditional.
60323         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
60324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
60325         include <kernel-features.h>.
60326         [!__NR_ftruncate64]: Remove conditional code.
60327         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
60328         [__NR_ftruncate64]: Make code unconditional.
60329         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
60331         * configure.in (libc_cv_fpie): Weaken to a compile test using
60332         LIBC_TRY_CC_OPTION.
60333         * configure: Regenerated.
60335 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60337         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
60338         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
60339         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
60340         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
60341         Refreshed.
60342         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
60343         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
60344         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
60345         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
60346         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
60347         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
60348         Refreshed.
60350 2012-05-27  David S. Miller  <davem@davemloft.net>
60352         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
60353         (___Q_zero): New.
60354         (__Q_simulate_exceptions): Return void.  Change to simulate
60355         exceptions by writing into the %fsr.
60356         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
60357         (__Qp_handle_exceptions): Likewise.
60358         (numbers): Delete.
60359         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
60360         __Qp_handle_exceptions.
60361         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
60362         __Qp_handle_exceptions.
60363         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
60364         as unused and give dummy FP_RND_NEAREST initializer.
60365         (FP_INHIBIT_RESULTS): Define.
60366         (___Q_simulate_exceptions): Update declaration.
60367         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
60368         formatting.
60369         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
60370         as unused and give dummy FP_RND_NEAREST initializer.
60371         (__Qp_handle_exceptions): Update declaration.
60372         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
60373         formatting.
60375 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
60377         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
60378         the temporary FPU control word.
60379         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
60380         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
60381         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
60382         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
60383         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
60384         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
60385         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
60386         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
60387         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
60388         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
60389         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
60391 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
60393         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
60394         fields.
60396 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
60398         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
60399         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
60400         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
60401         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
60402         Likewise.
60403         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
60404         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
60405         Likewise.
60407 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
60409         * po/h.po: Update from translation team.
60411 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
60413         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
60415         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
60416         handling of denormals.
60417         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
60418         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
60419         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
60420         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
60421         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
60422         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
60423         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
60424         Likewise.
60426 2012-05-26  Marek Polacek  <polacek@redhat.com>
60428         [BZ #14152]
60429         * math/libm-test.inc (fma_test): Don't always expect underflow
60430         exception.
60432 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
60434         [BZ #12416]
60435         * elf/tst-execstack.c: Include stackinfo.h.
60436         (do_test): Adjust test case to ensure that pthread_getattr_np
60437         behaviour remains the same after marking stack executable.
60439 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
60441         * sysdeps/unix/sysv/linux/kernel-features.h
60442         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
60443         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
60444         kernel-features.h.
60445         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
60446         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
60447         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
60448         kernel-features.h.
60449         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
60450         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
60452 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
60454         * configure.in: Define the default includes to being none.
60455         * configure: Regenerated.
60457 2012-05-25  Roland McGrath  <roland@hack.frob.com>
60459         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
60460         * sysdeps/x86_64/setjmp.S: Likewise.
60461         * sysdeps/i386/bsd-setjmp.S: Likewise.
60462         * sysdeps/i386/bsd-_setjmp.S: Likewise.
60463         * sysdeps/i386/setjmp.S: Likewise.
60464         * sysdeps/i386/__longjmp.S: Likewise.
60465         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
60466         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
60468         * include/stap-probe.h: New file.
60469         * configure.in: Handle --enable-systemtap.
60470         * configure: Regenerated.
60471         * config.h.in (USE_STAP_PROBE): New #undef.
60472         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
60473         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
60474         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
60476 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
60478         [BZ #13717]
60479         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
60480         to 2.4.0 where earlier.
60481         * sysdeps/unix/sysv/linux/configure: Regenerated.
60482         * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
60491         [__ASSUME_32BITUIDS]: Make code unconditional.
60492         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
60493         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
60494         <kernel-features.h>.
60495         [__ASSUME_32BITUIDS]: Make code unconditional.
60496         [!__ASSUME_32BITUIDS]: Remove conditional code.
60497         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
60498         <kernel-features.h>.
60499         [__ASSUME_32BITUIDS]: Make code unconditional.
60500         [!__ASSUME_32BITUIDS]: Remove conditional code.
60501         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
60502         <kernel-features.h>.
60503         [__ASSUME_32BITUIDS]: Make code unconditional.
60504         [!__ASSUME_32BITUIDS]: Remove conditional code.
60505         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
60506         <kernel-features.h>.
60507         [__ASSUME_32BITUIDS]: Make code unconditional.
60508         [!__ASSUME_32BITUIDS]: Remove conditional code.
60509         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
60510         <kernel-features.h>.
60511         [__ASSUME_32BITUIDS]: Make code unconditional.
60512         [!__ASSUME_32BITUIDS]: Remove conditional code.
60513         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
60514         <kernel-features.h>.
60515         [__ASSUME_32BITUIDS]: Make code unconditional.
60516         [!__ASSUME_32BITUIDS]: Remove conditional code.
60517         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
60518         <kernel-features.h>.
60519         [__ASSUME_32BITUIDS]: Make code unconditional.
60520         [!__ASSUME_32BITUIDS]: Remove conditional code.
60521         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
60522         <kernel-features.h>.
60523         [__ASSUME_32BITUIDS]: Make code unconditional.
60524         [!__ASSUME_32BITUIDS]: Remove conditional code.
60525         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
60526         <kernel-features.h>.
60527         [__ASSUME_32BITUIDS]: Make code unconditional.
60528         [!__ASSUME_32BITUIDS]: Remove conditional code.
60529         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
60530         <kernel-features.h>.
60531         [__ASSUME_32BITUIDS]: Make code unconditional.
60532         [!__ASSUME_32BITUIDS]: Remove conditional code.
60533         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
60534         <kernel-features.h>.
60535         [__NR_setresgid] (__setresgid): Do not declare.
60536         [__ASSUME_32BITUIDS]: Make code unconditional.
60537         [!__ASSUME_32BITUIDS]: Remove conditional code.
60538         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
60539         <kernel-features.h>.
60540         [__NR_setresuid] (__setresuid): Do not declare.
60541         [__ASSUME_32BITUIDS]: Make code unconditional.
60542         [!__ASSUME_32BITUIDS]: Remove conditional code.
60543         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
60544         <kernel-features.h>.
60545         [__ASSUME_32BITUIDS]: Make code unconditional.
60546         [!__ASSUME_32BITUIDS]: Remove conditional code.
60547         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
60548         <kernel-features.h>.
60549         [__ASSUME_32BITUIDS]: Make code unconditional.
60550         [!__ASSUME_32BITUIDS]: Remove conditional code.
60551         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
60552         <kernel-features.h>.
60553         [__ASSUME_32BITUIDS]: Make code unconditional.
60554         [!__ASSUME_32BITUIDS]: Remove conditional code.
60555         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
60556         <kernel-features.h>.
60557         [__ASSUME_32BITUIDS]: Make code unconditional.
60558         [!__ASSUME_32BITUIDS]: Remove conditional code.
60559         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
60560         <kernel-features.h>.
60561         [__ASSUME_32BITUIDS]: Make code unconditional.
60562         [!__ASSUME_32BITUIDS]: Remove conditional code.
60563         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
60564         <kernel-features.h>.
60565         [__ASSUME_32BITUIDS]: Make code unconditional.
60566         [!__ASSUME_32BITUIDS]: Remove conditional code.
60567         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
60568         <kernel-features.h>.
60569         [__ASSUME_32BITUIDS]: Make code unconditional.
60570         [!__ASSUME_32BITUIDS]: Remove conditional code.
60571         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
60572         <kernel-features.h>.
60573         [__ASSUME_32BITUIDS]: Make code unconditional.
60574         [!__ASSUME_32BITUIDS]: Remove conditional code.
60575         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
60576         <kernel-features.h>.
60577         [__ASSUME_32BITUIDS]: Make code unconditional.
60578         [!__ASSUME_32BITUIDS]: Remove conditional code.
60579         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
60580         <kernel-features.h>.
60581         [__ASSUME_32BITUIDS]: Make code unconditional.
60582         [!__ASSUME_32BITUIDS]: Remove conditional code.
60583         * sysdeps/unix/sysv/linux/kernel-features.h
60584         (__ASSUME_SETRESUID_SYSCALL): Remove.
60585         (__ASSUME_SETRESGID_SYSCALL): Likewise.
60586         (__ASSUME_32BITUIDS): Likewise.
60587         (__ASSUME_LDT_WORKS): Likewise.
60588         (__ASSUME_O_DIRECTORY): Likewise.
60589         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
60590         architecture but not kernel version.
60591         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
60592         (__ASSUME_MMAP2_SYSCALL): Likewise.
60593         (__ASSUME_STAT64_SYSCALL): Likewise.
60594         (__ASSUME_IPC64): Likewise.
60595         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
60596         <kernel-features.h>.
60597         [__ASSUME_32BITUIDS]: Make code unconditional.
60598         [!__ASSUME_32BITUIDS]: Remove conditional code.
60599         * sysdeps/unix/sysv/linux/opendir.c: Do not include
60600         <kernel-features.h>.
60601         [__ASSUME_O_DIRECTORY]: Make code unconditional.
60602         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
60603         132096]: Remove conditional code.
60604         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
60605         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
60606         <kernel-features.h>.
60607         [__ASSUME_32BITUIDS]: Make code unconditional.
60608         [!__ASSUME_32BITUIDS]: Remove conditional code.
60609         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
60610         <kernel-features.h>.
60611         [__ASSUME_32BITUIDS]: Make code unconditional.
60612         [!__ASSUME_32BITUIDS]: Remove conditional code.
60613         * sysdeps/unix/sysv/linux/setegid.c: Do not include
60614         <kernel-features.h>.
60615         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
60616         unconditional.
60617         (__setresgid): Do not declare.
60618         [__ASSUME_32BITUIDS]: Make code unconditional.
60619         [!__ASSUME_32BITUIDS]: Remove conditional code.
60620         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
60621         <kernel-features.h>.
60622         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
60623         unconditional.
60624         (__setresuid): Do not declare.
60625         [__ASSUME_32BITUIDS]: Make code unconditional.
60626         [!__ASSUME_32BITUIDS]: Remove conditional code.
60627         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
60628         <kernel-features.h>.
60629         [__ASSUME_32BITUIDS]: Make code unconditional.
60630         [!__ASSUME_32BITUIDS]: Remove conditional code.
60631         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
60632         <kernel-features.h>.
60633         [__ASSUME_32BITUIDS]: Make code unconditional.
60634         [!__ASSUME_32BITUIDS]: Remove conditional code.
60636 2012-05-25  Richard Henderson  <rth@twiddle.net>
60638         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
60639         dl_hwcap to ifunc resolver.
60640         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
60641         elf_ifunc_invoke.
60642         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
60643         dl_hwcap to ifunc resolver.
60644         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
60646 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
60648         [BZ #14153]
60649         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
60650         for |x| <= 2**-26, not 2**-57.
60651         * math/libm-test.inc (acos_test): Do not allow spurious underflow
60652         exception.
60654 2012-05-24  Jeff Law  <law@redhat.com>
60656         * stdio-common/Makefile (tests): Add bug25.
60657         * stdio-common/bug25.c: New test.
60659 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
60661         [BZ #13576]
60662         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
60663         multiple of MALLOC_ALIGNMENT in size.
60664         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
60666 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
60668         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
60669         Require >= 256.
60670         (FILENAME_MAX): Use macro-int-constant.
60671         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
60672         (_IOFBF): Use macro-int-constant.
60673         (_IOLBF): Likewise.
60674         (_IONBF): Likewise.
60675         (SEEK_CUR): Likewise.
60676         (SEEK_END): Likewise.
60677         (SEEK_SET): Likewise.
60678         (TMP_MAX): Likewise.
60679         (EOF): Use macro-int-constant.  Require < 0.
60680         (NULL): Use macro-constant.  Require == 0.
60681         (stdin): Require type to be FILE *.
60682         (stdout): Likewise.
60683         (stderr): Likewise.
60684         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
60685         macro-int-constant.
60686         (EXIT_SUCCESS): Likewise.
60687         (NULL): Use macro-constant.  Require == 0.
60688         (RAND_MAX): Use macro-int-constant.
60689         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
60690         [C99-based standards] (strtof): Require function.
60691         [C99-based standards] (strtold): Likewise.
60692         [C99-based standards] (strtoll): Likewise.
60693         [C99-based standards] (strtoull): Likewise.
60694         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
60695         [ISO || ISO99 || ISO11] (limits.h): Likewise.
60696         [ISO || ISO99 || ISO11] (math.h): Likewise.
60697         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
60698         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
60699         [ISO || ISO99 || ISO11] (*_t): Do not allow.
60701 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
60703         [BZ #14132]
60704         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
60705         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
60706         * intl/dgettext.c (DCGETTEXT): Likewise.
60707         * intl/gettext.c (DCGETTEXT): Likewise.
60708         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
60709         * posix/regex_internal.h (gettext): Likewise.
60710         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
60711         Remove declaration.
60712         * include/argz.h (__argz_count_internal)
60713         (__argz_stringify_internal): Remove declaration.
60714         (__argz_count, __argz_stringify): Declare hidden proto.
60715         * intl/dcgettext.c: Remove use of INTDEF.
60716         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
60717         * string/argz-stringify.c: Likewise.
60718         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
60719         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
60720         Declare hidden proto.
60721         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
60722         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
60723         Declare hidden proto.
60724         * include/stdio.h (__asprintf_internal): Don't declare.
60725         (__asprintf): Don't define as macro.  Declare hidden proto.
60726         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
60727         (__fsetlocking): Declare hidden proto.
60728         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
60729         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
60730         hidden proto.
60731         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
60732         (_IO_setlinebuf): Remove use of INTUSE.
60733         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
60734         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
60735         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
60736         Remove declaration.
60737         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
60738         (_IO_do_flush): Remove use of INTUSE.
60739         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
60740         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
60741         (_IO_adjust_column, _IO_least_wmarker)
60742         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
60743         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
60744         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
60745         (_IO_default_doallocate, _IO_wdefault_doallocate)
60746         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
60747         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
60748         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
60749         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
60750         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
60751         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
60752         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
60753         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
60754         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
60755         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
60756         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
60757         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
60758         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
60759         proto.
60760         (_IO_flush_all_internal, _IO_adjust_column_internal)
60761         (_IO_default_uflow_internal, _IO_default_finish_internal)
60762         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
60763         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
60764         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
60765         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
60766         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
60767         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
60768         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
60769         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
60770         (_IO_file_close_internal, _IO_file_close_it_internal)
60771         (_IO_file_underflow_internal, _IO_file_overflow_internal)
60772         (_IO_file_init_internal, _IO_file_attach_internal)
60773         (_IO_file_fopen_internal, _IO_file_read_internal)
60774         (_IO_file_sync_internal, _IO_file_seek_internal)
60775         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
60776         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
60777         (_IO_str_underflow_internal, _IO_str_overflow_internal)
60778         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
60779         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
60780         (_IO_list_all_internal, _IO_link_in_internal)
60781         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
60782         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
60783         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
60784         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
60785         (_IO_do_write_internal, _IO_padn_internal)
60786         (_IO_getline_info_internal, _IO_getline_internal)
60787         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
60788         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
60789         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
60790         (_IO_vfscanf_internal, _IO_vfprintf_internal)
60791         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
60792         (_IO_init_internal, _IO_un_link_internal): Don't declare.
60793         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
60794         with libc_hidden_ver, remove use of INTUSE.
60795         * libio/genops.c: Likewise.
60796         * libio/freopen.c: Likewise.
60797         * libio/freopen64.c: Likewise.
60798         * libio/iofclose.c: Likewise.
60799         * libio/iofdopen.c: Likewise.
60800         * libio/iofflush.c: Likewise.
60801         * libio/iofflush_u.c: Likewise.
60802         * libio/iofgets.c: Likewise.
60803         * libio/iofgets_u.c: Likewise.
60804         * libio/iofopen.c: Likewise.
60805         * libio/iofopncook.c: Likewise.
60806         * libio/iofread.c: Likewise.
60807         * libio/iofread_u.c: Likewise.
60808         * libio/ioftell.c: Likewise.
60809         * libio/iofwrite.c: Likewise.
60810         * libio/iogetline.c: Likewise.
60811         * libio/iogets.c: Likewise.
60812         * libio/iogetwline.c: Likewise.
60813         * libio/iopadn.c: Likewise.
60814         * libio/iopopen.c: Likewise.
60815         * libio/ioseekoff.c: Likewise.
60816         * libio/ioseekpos.c: Likewise.
60817         * libio/iosetbuffer.c: Likewise.
60818         * libio/iosetvbuf.c: Likewise.
60819         * libio/ioungetc.c: Likewise.
60820         * libio/ioungetwc.c: Likewise.
60821         * libio/iovdprintf.c: Likewise.
60822         * libio/iovsprintf.c: Likewise.
60823         * libio/iovsscanf.c: Likewise.
60824         * libio/memstream.c: Likewise.
60825         * libio/obprintf.c: Likewise.
60826         * libio/oldfileops.c: Likewise.
60827         * libio/oldiofclose.c: Likewise.
60828         * libio/oldiofdopen.c: Likewise.
60829         * libio/oldiofopen.c: Likewise.
60830         * libio/oldiopopen.c: Likewise.
60831         * libio/oldstdfiles.c: Likewise.
60832         * libio/putc.c: Likewise.
60833         * libio/setbuf.c: Likewise.
60834         * libio/setlinebuf.c: Likewise.
60835         * libio/stdfiles.c: Likewise.
60836         * libio/strops.c: Likewise.
60837         * libio/vasprintf.c: Likewise.
60838         * libio/vscanf.c: Likewise.
60839         * libio/vsnprintf.c: Likewise.
60840         * libio/vswprintf.c: Likewise.
60841         * libio/wfiledoalloc.c: Likewise.
60842         * libio/wfileops.c: Likewise.
60843         * libio/wgenops.c: Likewise.
60844         * libio/wmemstream.c: Likewise.
60845         * libio/wstrops.c: Likewise.
60846         * libio/__fpurge.c: Likewise.
60847         * libio/__fsetlocking.c: Likewise.
60848         * assert/assert.c: Likewise.
60849         * debug/fgets_chk.c: Likewise.
60850         * debug/fgets_u_chk.c: Likewise.
60851         * debug/fread_chk.c: Likewise.
60852         * debug/fread_u_chk.c: Likewise.
60853         * debug/gets_chk.c: Likewise.
60854         * debug/obprintf_chk.c: Likewise.
60855         * debug/vasprintf_chk.c: Likewise.
60856         * debug/vdprintf_chk.c: Likewise.
60857         * debug/vsnprintf_chk.c: Likewise.
60858         * debug/vsprintf_chk.c: Likewise.
60859         * malloc/mtrace.c: Likewise.
60860         * misc/error.c: Likewise.
60861         * misc/syslog.c: Likewise.
60862         * stdio-common/asprintf.c: Likewise.
60863         * stdio-common/fxprintf.c: Likewise.
60864         * stdio-common/getw.c: Likewise.
60865         * stdio-common/isoc99_fscanf.c: Likewise.
60866         * stdio-common/isoc99_scanf.c: Likewise.
60867         * stdio-common/isoc99_vfscanf.c: Likewise.
60868         * stdio-common/isoc99_vscanf.c: Likewise.
60869         * stdio-common/isoc99_vsscanf.c: Likewise.
60870         * stdio-common/printf-prs.c: Likewise.
60871         * stdio-common/printf_fp.c: Likewise.
60872         * stdio-common/printf_fphex.c: Likewise.
60873         * stdio-common/printf_size.c: Likewise.
60874         * stdio-common/putw.c: Likewise.
60875         * stdio-common/scanf.c: Likewise.
60876         * stdio-common/sprintf.c: Likewise.
60877         * stdio-common/tmpfile.c: Likewise.
60878         * stdio-common/vfprintf.c: Likewise.
60879         * stdio-common/vfscanf.c: Likewise.
60880         * stdlib/strfmon_l.c: Likewise.
60881         * sunrpc/openchild.c: Likewise.
60882         * sunrpc/xdr_stdio.c: Likewise.
60883         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
60884         * sysdeps/mach/hurd/tmpfile.c: Likewise.
60886 2012-05-24  Roland McGrath  <roland@hack.frob.com>
60888         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
60890         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
60891         in the third column, to generate for the shared library an IFUNC
60892         that uses _dl_vdso_vsym.
60893         * Makerules (COMPILE.c, compile-stdin.c): New variables.
60894         * Makeconfig (object-suffixes-noshared): New variable.
60896         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
60897         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
60898         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
60899         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
60901         [BZ #14132]
60902         * include/sys/time.h (__gettimeofday): Remove macro.
60903         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
60904         * time/gettimeofday.c (__gettimeofday): Remove #undef.
60905         Remove INTDEF.
60906         (__gettimeofday): Add libc_hidden_def.
60907         (gettimeofday): Add libc_hidden_weak.
60908         * sysdeps/mach/gettimeofday.c: Likewise.
60909         * sysdeps/posix/gettimeofday.c: Likewise.
60910         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
60911         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
60912         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
60913         (__gettimeofday_internal): Remove strong_alias.
60914         (__gettimeofday): Add libc_hidden_def.
60915         (gettimeofday): Add libc_hidden_weak.
60916         * sysdeps/unix/syscalls.list (gettimeofday):
60917         Remove __gettimeofday_internal alias.
60919 2012-05-24  Daniel Jacobowitz  <drow@false.org>
60920             H.J. Lu  <hongjiu.lu@intel.com>
60922         [BZ #12495]
60923         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
60924         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
60925         (largebin_index_32_big): New.
60926         (largebin_index): Use it for 16-byte alignment.
60927         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
60928         correction with front_misalign.
60930 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
60932         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
60933         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
60934         Likewise.
60935         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
60936         Likewise.
60937         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
60938         Likewise.
60939         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
60940         Likewise.
60941         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
60942         Likewise.
60943         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
60944         Likewise.
60945         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
60946         Likewise.
60947         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
60948         Likewise.
60949         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
60950         Likewise.
60951         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
60952         Likewise.
60953         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
60954         Likewise.
60955         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
60956         Likewise.
60958         * scripts/data/c++-types-x32-linux-gnu.data: New file.
60959         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
60961 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
60963         [BZ #10846]
60964         [BZ #14036]
60965         * math/libm-test.inc (exp_test): Add test from bug 14036.
60966         (pow_test): Add test from bug 10846.
60968         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
60969         and other flags.
60970         (special_function): Do not include flags in test name.
60971         (parse_args): Likewise.
60972         * sysdeps/i386/fpu/libm-test-ulps: Update.
60973         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
60974         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
60975         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
60976         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60978         * math/gen-libm-test.pl (%beautify): Add entries for underflow
60979         exceptions.
60980         * math/libm-test.inc ("Philosophy"): Update comment about
60981         exception testing.
60982         (UNDERFLOW_EXCEPTION): New macro.
60983         (UNDERFLOW_EXCEPTION_OK): Likewise.
60984         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
60985         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
60986         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
60987         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
60988         (INVALID_EXCEPTION_OK): Update value.
60989         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
60990         (OVERFLOW_EXCEPTION_OK): Likewise.
60991         (IGNORE_ZERO_INF_SIGN): Likewise.
60992         (test_exceptions): Handle underflow exceptions.
60993         (acos_test): Update for underflow exception expectations.
60994         (cexp_test): Likewise.
60995         (clog_test): Likewise.
60996         (clog10_test): Likewise.
60997         (csqrt_test): Likewise.
60998         (ctan_test): Likewise.
60999         (ctanh_test): Likewise.
61000         (exp_test): Likewise.
61001         (exp10_test): Likewise.
61002         (exp2_test): Likewise.
61003         (expm1_test): Likewise.
61004         (fma_test): Likewise.
61005         (j0_test): Likewise.
61006         (jn_test): Likewise.
61007         (nexttoward_test): Likewise.
61008         (pow_test): Likewise.
61009         (scalbn_test): Likewise.
61010         (scalbln_test): Likewise.
61011         (tan_test): Likewise.
61012         (y1_test): Likewise.
61013         * sysdeps/i386/fpu/libm-test-ulps: Update.
61014         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61016 2012-05-23  David S. Miller  <davem@davemloft.net>
61018         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
61019         (__libc_sigaction): Remove unused local variables.
61021 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
61023         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
61025 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
61027         mktime: avoid signed integer overflow
61028         * time/mktime.c (__mktime_internal): Do not mishandle the case
61029         where diff == INT_MIN.
61031         mktime: simplify computation of average
61032         * time/mktime.c (ranged_convert): Use new time_t_avg function
61033         instead of rolling our own (probably-slower) code.
61035         mktime: do not assume signed right shift propagates sign bit
61036         * time/mktime.c (isdst_differ): New static function.
61037         (__mktime_internal): No need to normalize tm_isdst now.
61038         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
61039         tm_isdst values.
61041         mktime: merge another wrapv change from gnulib
61042         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
61043         from some compilers.
61045         mktime: remove incorrect attempt at unusual arithmetics
61046         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
61047         The code didn't really work on such machines anyway.
61048         (TYPE_MINIMUM): Assume two's complement.
61049         (twos_complement_arithmetic): Verify that long_int and time_t
61050         are two's complement (or unsigned, in the latter case).
61052         mktime: check signed shifts on long_int and time_t, too
61053         * time/mktime.c (SHR): Check that shifts work as desired
61054         on the types long_int and time_t too, as SHR is used on
61055         such types.
61057         mktime: do not assume 'long' is wide enough
61058         * time/mktime.c (verify): Move decl up.
61059         (long_int): New type.
61060         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
61061         to remove assumption in the code that 'long' is wide enough to
61062         store year values.  This assumption is not true on x32 and on
61063         some non-glibc platforms.
61065         mktime: merge wrapv change from gnulib
61066         * time/mktime.c (WRAPV): New macro.
61067         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
61068         (guess_time_tm, __mktime_internal): Do not assume that signed
61069         integer overflow wraps around; modern compilers generate code
61070         where this assumption is no longer valid.
61072 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
61074         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
61075         Replace "jmp L(pseudo_end)" with "ret".
61076         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
61077         Likewise.
61079 2012-05-23  Andreas Jaeger  <aj@suse.de>
61081         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
61082         * sysdeps/unix/sysv/linux/poll.c: Remove file.
61084 2012-05-23  Andreas Jaeger  <aj@suse.de>
61085             Maximilian Attems  <max@stro.at>
61087         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
61088         New macros.
61090 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
61092         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
61093         code so that pseudo_end is just ret and the stack pointer is
61094         correct also for static library in error case.
61096 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
61098         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
61099         move to syscalls.list.
61100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
61101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
61102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
61103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
61105         * manual/install.texi (Running make install): Do not mention Linux
61106         kernel version for which pt_chown is not needed.
61107         (Linux): Do not mention problems with nscd with 2.0 kernels.
61108         * INSTALL: Regenerated.
61110 2012-05-23  Andreas Jaeger  <aj@suse.de>
61112         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
61113         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
61114         macro.
61115         * sysdeps/unix/sysv/linux/s390/bits/mman.h
61116         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
61117         * sysdeps/unix/sysv/linux/sh/bits/mman.h
61118         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
61119         * sysdeps/unix/sysv/linux/i386/bits/mman.h
61120         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
61121         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
61122         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
61123         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
61124         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
61125         * sysdeps/unix/sysv/linux/bits/in.h
61126         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
61128 2012-05-22  Roland McGrath  <roland@hack.frob.com>
61130         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
61131         (PREPARE_VERSION): Just use assert instead, it will be elided
61132         under [NDEBUG] anyway.
61134 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
61136         * sysdeps/unix/sysv/linux/Makefile: Include
61137         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
61138         (sysdep_routines): Remove sysctl.
61139         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
61140         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
61141         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
61142         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
61143         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
61145 2012-05-22  Andreas Jaeger  <aj@suse.de>
61147         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
61148         that pseudo_end is just ret and the stack pointer is correct also
61149         for static library in error case.
61151 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
61153         [BZ #14122]
61154         * nss/nsswitch.c (defconfig_entries): New variable.
61155         (__nss_database_lookup): Don't leak defconfig entries.
61156         (nss_parse_service_list): Don't leak on error paths.
61157         (free_database_entries): New function.
61158         (free_defconfig): New function.
61159         (free_mem): Move common code to free_database_entries.
61161 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
61163         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
61164         Add arch_prctl.
61165         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
61167         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
61168         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
61169         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
61170         New macro.
61171         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
61172         (INTERNAL_SYSCALL_TYPES): Likewise.
61173         (LOAD_ARGS_TYPES_[1-6]): Likewise.
61174         (LOAD_REGS_TYPES_[1-6]): Likewise.
61175         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
61176         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
61178 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61180         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
61181         copysignl for GLIBC_2_0.
61182         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
61183         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
61184         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
61185         logbl for GLIBC_2_0.
61186         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
61187         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
61189 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
61191         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
61192         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
61194         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
61195         Use "neg %eax".
61197         * time/mktime.c: Update copyright years.
61199 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
61201         mktime: merge comment-quoting-style change from gnulib
61202         * time/mktime.c: Quote 'like this' in comments.
61203         The GNU coding standards suggest that we no longer quote `like this',
61204         as "`" and "'" are typically rendered asymmetrically nowadays.
61205         The typical gnulib style is to quote 'like this' when quoting
61206         code, and "like this" when quoting English.
61208         * time/mktime.c (compile-command): Add "-I.".
61210         mktime: merge mktime-internal.h change from gnulib
61211         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
61213         mktime: merge time_r change from gnulib
61214         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
61216         mktime: merge DEBUG change from gnulib
61217         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
61218         case system <time.h> has a #define.
61220         mktime: merge <sys/types.h> change from gnulib
61221         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
61222         since <time.t> is now guaranteed to define time_t.
61224         mktime: merge HAVE_CONFIG_H change from gnulib
61225         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
61227 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
61229         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
61230         Use "neg %eax".
61232         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
61233         __rlim_t cast.
61234         (struct rusage): Use anonymous union to pad each field to
61235         __syscall_slong_t.
61237 2012-05-21  David S. Miller  <davem@davemloft.net>
61239         * Makefules (o-iterator): Remove .s cases.
61240         (compile-command.s): Delete.
61241         (COMPILE.s): Delete.
61242         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
61244 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
61246         * configure.in (libc_cv_predef_stack_protector): Only consider
61247         "foobar" and "__stack_chk_fail" lines in libc_undefs.
61248         * configure: Regenerated.
61250 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
61252         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
61253         New macro.  Use R*LP on int and pointer.
61254         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
61255         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
61256         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
61257         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
61259         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
61260         [__WORDSIZE_TIME64_COMPAT32] instead of
61261         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
61262         (struct utmp): Likewise.
61263         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
61264         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
61265         Renamed to ...
61266         (__WORDSIZE_TIME64_COMPAT32): This.
61267         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
61268         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
61269         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
61270         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
61271         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
61272         (__WORDSIZE_TIME64_COMPAT32): New macro.
61274 2012-05-21  Andreas Jaeger  <aj@suse.de>
61276         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
61277         only if [SHARED]. Add prototype for __wcschr_ia32.
61279 2012-05-21  Roland McGrath  <roland@hack.frob.com>
61281         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
61282         of %rbp unmolested in the jmp_buf while mangling the low bits.
61283         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
61284         unmolested high bits of %rbp while demangling the low bits.
61285         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
61287 2012-05-21  Andreas Jaeger  <aj@suse.de>
61289         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
61290         * sunrpc/svc_simple.c: Use it for registerrpc.
61291         * sunrpc/xcrypt.c: Use it for passwd2des.
61293         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
61295 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
61297         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
61298         Don't define if [__SYSCALL_WORDSIZE != 32].
61299         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
61300         New macro.
61302 2012-05-21  Bruno Haible  <bruno@clisp.org>
61303             Andreas Jaeger  <aj@suse.de>
61305         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
61306         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
61307         inptr and inend for must_buffer_ch.
61308         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
61309         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
61310         * stdio-common/Makefile (tests): Remove bug15.
61311         (bug15-ENV): Remove macro.
61312         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
61313         anymore.
61315 2012-05-19  Andreas Jaeger  <aj@suse.de>
61316             Roland McGrath  <roland@hack.frob.com>
61318         * manual/contrib.texi: Completely rewritten. It contains now an
61319         alphabetical list of contributors and their contributions.
61321 2012-05-21  Richard Henderson  <rth@twiddle.net>
61323         * misc/getauxval.c (__getauxval): Use unsigned long int.
61324         * misc/sys/auxv.h: Include <sys/cdefs.h>.
61325         (getauxval): Use unsigned long int.
61327 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
61329         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
61331 2012-05-21  Roland McGrath  <roland@hack.frob.com>
61333         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
61334         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
61335         __alignof__ (long double).
61337 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61339         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61341 2012-05-20  Richard Henderson  <rth@twiddle.net>
61343         * misc/getauxval.c: New file.
61344         * misc/sys/auxv.h: New file.
61345         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
61346         (routines): Add getauxval.
61347         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
61348         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
61349         * elf/dl-sysdep.c (_dl_auxv): Remove.
61350         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
61351         * elf/dl-support.c (_dl_auxv): New variable.
61352         (_dl_aux_init): Initialize it.
61353         * manual/startup.texi (Auxiliary Vector): New node.
61354         * sysdeps/generic/bits/hwcap.h: New file.
61355         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
61356         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
61357         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
61358         * sysdeps/sparc/sysdep.h: ... here.  Include it.
61359         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
61360         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
61361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
61362         Update.
61363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
61364         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
61365         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
61366         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
61367         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
61368         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
61369         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
61370         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
61372 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61374         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61376 2012-05-19  David S. Miller  <davem@davemloft.net>
61378         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61380 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
61382         [BZ #14123]
61383         * math/s_ccosh.c: Include <float.h>
61384         (__ccosh): Avoid internal overflow calculating sinh and cosh
61385         values before multiplying by sin and cos values.
61386         * math/s_ccoshf.c: Likewise.
61387         * math/s_ccoshl.c: Likewise.
61388         * math/s_csin.c: Likewise.
61389         * math/s_csinf.c: Likewise.
61390         * math/s_csinl.c: Likewise.
61391         * math/s_csinh.c: Likewise.
61392         * math/s_csinhf.c: Likewise.
61393         * math/s_csinhl.c: Likewise.
61394         * math/libm-test.inc (ccos_test): Add more tests.
61395         (ccosh_test): Likewise.
61396         (csin_test): Likewise.
61397         (csinh_test): Likewise.
61398         * sysdeps/i386/fpu/libm-test-ulps: Update.
61399         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61401 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
61403         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
61404         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
61406         * sysdeps/x86_64/x32/_itoa.h: Add comment.
61408 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
61410         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
61411         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
61412         * sysdeps/powerpc/soft-fp/Versions: Likewise.
61413         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
61414         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
61415         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
61416         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
61417         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
61418         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
61419         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
61420         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
61421         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
61422         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
61423         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
61424         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
61425         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
61426         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
61427         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
61428         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
61429         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
61430         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
61431         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
61432         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
61433         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
61434         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
61435         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
61436         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
61437         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
61438         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
61439         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
61440         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
61442 2012-05-18  Andreas Jaeger  <aj@suse.de>
61444         * csu/.gitignore: Delete.
61446 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
61448         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
61449         (timex): Use __syscall_slong_t.
61451 2012-05-18  Andreas Jaeger  <aj@suse.de>
61452             Carlos O'Donell  <carlos_odonell@mentor.com>
61454         * manual/install.texi (Configuring and compiling): Update
61455         description about files modified in the source directory.
61456         * INSTALL: Regenerated.
61458 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
61460         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
61461         value.  Use "or" to set return value to -1.
61462         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
61463         negate return value.
61465 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
61467         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
61468         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
61469         failure if the compiler has Graphite support disabled.
61470         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
61471         Likewise.
61472         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
61473         (CFLAGS-memmove.c): Likewise.
61474         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
61475         Likewise.
61477 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
61479         * sysdeps/x86_64/x32/_itoa.h: New file.
61481         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
61482         getdents system call only if kernel and user dirents have the
61483         same d_ino and d_off.
61485         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
61486         LLONG_MAX != LONG_MAX.
61487         (_itoa_word): Use _ITOA_WORD_TYPE on value.
61488         (_fitoa_word): Likewise.
61490         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
61491         years.
61492         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
61493         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
61494         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
61496         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
61497         include <bits/wordsize.h>.  Check __x86_64__ instead of
61498         __WORDSIZE.
61499         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
61500         if __x86_64__ is defined.  Use anonymous union on fpstate.
61502         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
61503         anonymous union.
61505 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
61507         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
61508         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
61509         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
61510         Refer to _rtld_local_ro instead of _rtld_global_ro.
61511         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
61512         Likewise.
61513         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
61514         Likewise.
61515         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
61516         Likewise.
61517         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
61518         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
61519         of _rtld_global, and rtld_progname instead of _dl_argv[0].
61521         [BZ #10882]
61522         * sysdeps/powerpc/powerpc32/dl-machine.c
61523         (__elf_machine_runtime_setup) [PROF]: Don't reference
61524         _dl_prof_resolve.
61526 2012-05-18  Andreas Jaeger  <aj@suse.de>
61528         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
61529         function only available for GCCs before 3.4 since GCC 3.4
61530         introduced a builtin.
61531         (lrint): Likewise.
61532         (llrintf): Likewise.
61533         (llrint): Likewise.
61534         (fmaxf): Likewise.
61535         (fmax): Likewise.
61536         (fminf): Likewise.
61537         (fmin): Likewise.
61538         (rint): Likewise.
61539         (rintf): Likewise.
61540         (nearbyint): Likewise.
61541         (nearbyintf): Likewise.
61542         (ceil): Likewise.
61543         (ceilf): Likewise.
61544         (floor): Likewise.
61545         (floorf): Likewise.
61547 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
61549         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
61550         on both fields and cast pointer to __syscall_ulong_t.
61552         * bits/types.h (__fsword_t): New type.
61553         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
61554         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
61555         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
61556         (__FSWORD_T_TYPE): Likewise.
61557         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
61558         (__FSWORD_T_TYPE): Likewise.
61559         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
61560         (__FSWORD_T_TYPE): Likewise.
61561         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
61562         (__FSWORD_T_TYPE): Likewise.
61563         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
61564         __SWORD_TYPE with __fsword_t.
61565         (statfs64): Likewise.
61567 2012-05-17  David S. Miller  <davem@davemloft.net>
61569         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
61571 2012-05-17  Andreas Jaeger  <aj@suse.de>
61573         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
61574         warning.
61576 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
61578         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
61580 2012-05-17  Andreas Jaeger  <aj@suse.de>
61582         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
61583         when it is used.
61585 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
61587         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
61589 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
61591         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
61592         * sysdeps/x86_64/tst-mallocalign1.c: New file.
61594 2012-05-17  Andreas Jaeger  <aj@suse.de>
61595             Carlos O'Donell  <carlos_odonell@mentor.com>
61597         [BZ #14059]
61598         * sysdeps/x86_64/multiarch/init-arch.h
61599         (bit_YMM_Usable): Rename to...
61600         (bit_AVX_Usable): ... this.
61601         (bit_FMA4_Usable): New macro.
61602         (bit_XMM_state): New macro.
61603         (bit_YMM_state): New macro.
61604         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
61605         [__ASSEMBLER__] (index_AVX_Usable): ... this.
61606         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
61607         (CPUID_OSXSAVE): New macro.
61608         (CPUID_AVX): New macro.
61609         (CPUID_FMA4): New macro.
61610         (index_YMM_Usable): Rename to...
61611         (index_AVX_Usable): ... this.
61612         (HAS_AVX): Use HAS_ARCH_FEATURE.
61613         (HAS_FMA4): Likewise.
61614         (HAS_YMM_USABLE): Remove.
61615         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61616         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
61617         are present.
61618         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
61619         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
61620         * sysdeps/x86_64/multiarch/Makefile: Likewise.
61621         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
61622         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
61624 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
61626         * math/libm-test.c: Support platforms without multiple rounding modes.
61627         * math/bug-nextafter.c: Support platforms without FP exceptions.
61628         * math/bug-nexttoward.c: Likewise.
61629         * math/test-fenv.c: Likewise.
61630         * math/test-misc.c: Likewise.
61631         * stdlib/bug-getcontext.c: Likewise.
61633 2012-05-17  Andreas Jaeger  <aj@suse.de>
61635         * manual/examples/search.c (critter_cmp): Change signature to
61636         avoid warnings.
61637         * manual/string.texi (Collation Functions): Likewise.
61639 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61641         * bits/types.h: Fold copyright years.
61642         * bits/typesizes.h: Likewise.
61643         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
61644         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
61645         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
61646         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
61647         * time/time.h: Likewise.
61649 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
61651         [BZ #208]
61652         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
61653         in instead of returning them.  Return void.
61654         (__libc_mallinfo): Accumulate over all arenas.
61655         (__malloc_stats): Adjust for change in int_mallinfo interface.
61657 2012-05-16  Roland McGrath  <roland@hack.frob.com>
61659         [BZ #10375]
61660         * configure.in (NM): Add AC_CHECK_TOOL for it.
61661         (libc_extra_cflags): New substituted variable.
61662         Check for -fstack-protector being used implicitly.
61663         * configure: Regenerated.
61664         * config.make.in (config-extra-cflags): New variable,
61665         gets @libc_extra_cflags@.
61666         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
61668         [BZ #10375]
61669         * configure.in: Check for _FORTIFY_SOURCE being predefined.
61670         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
61671         * configure: Regenerated.
61672         * config.make.in (CPPUNDEFS): New substituted variable.
61673         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
61674         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
61675         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
61677 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61679         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
61680         (mq_attr): Use __syscall_slong_t.
61682 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61684         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
61685         Check __x86_64__ instead of __WORDSIZE.
61686         (_STAT_VER_LINUX): Likewise.
61687         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
61688         __syscall_ulong_t and __syscall_slong_t.
61689         (stat64): Likewise.
61691 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61693         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
61695 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61697         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
61699 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61701         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
61702         __syscall_ulong_t.
61704         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
61705         include <bits/wordsize.h>.  Check __x86_64__ instead of
61706         __WORDSIZE.
61707         (greg_t): Use "__extension__ long long int" if __x86_64__ is
61708         defined.
61709         (mcontext_t): Replace "unsigned long" with "unsigned long long".
61711         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
61712         include <bits/wordsize.h>.  Check __x86_64__ instead of
61713         __WORDSIZE.
61714         (user_regs_struct): Use "__extension__ unsigned long long"
61715         instead of "unsigned long" if __x86_64__ is defined.
61716         (user): Likewise.  Pad after pointer field if __ILP32__ is
61717         defined.
61719 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
61721         * configure.in (makeinfo): Require version 4.5 or later.  Allow
61722         versions 5 to 9.
61723         * configure: Regenerated.
61724         * manual/install.texi (texinfo): Increase version requirement to
61725         4.5 or later.
61726         * INSTALL: Regenerated.
61728         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
61730 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61732         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
61734         * sysdeps/x86_64/x32/ffs.c: New file.
61736         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
61737         __syscall_ulong_t.
61738         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
61739         defined.  Use __syscall_ulong_t.
61740         (shminfo): Use __syscall_ulong_t.
61741         (shm_info): Likewise.
61743         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
61744         __syscall_ulong_t.
61746         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
61747         <bits/wordsize.h>.
61748         (msgqnum_t): Use __syscall_ulong_t.
61749         (msglen_t): Likewise.
61750         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
61751         __syscall_ulong_t.
61753         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
61754         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
61756         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
61758         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
61759         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
61761         * sysvipc/sys/msg.h (msgbuf): Replace long int with
61762         __syscall_slong_t.
61764         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
61765         include <bits/wordsize.h>.  Check __x86_64__ instead of
61766         __WORDSIZE.
61768         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
61769         "unsigned long long int" if __x86_64__ is defined.
61770         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
61772         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
61773         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
61774         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
61776         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
61777         <stdint.h>.
61778         (GET_PC): Cast to uintptr_t first.
61779         (GET_FRAME): Likewise.
61780         (GET_STACK): Likewise.
61782         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
61783         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
61784         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
61785         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
61786         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
61787         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
61788         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
61789         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
61790         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
61791         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
61792         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
61793         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
61794         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
61795         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
61796         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
61797         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
61798         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
61799         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
61800         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
61801         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
61802         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
61803         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
61804         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
61805         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
61806         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
61807         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
61808         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
61809         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
61810         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
61812 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
61814         * Makerules (+depfiles): Also collect depfiles from .oS in
61815         $(extra-objs).
61816         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
61817         .oS, $(libnldbl-routines)).
61819         * Makerules (native-compile-mkdep-flags): Define.
61820         * sunrpc/Makefile (extra-objs): Add $(addprefix
61821         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
61822         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
61823         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
61824         calling $(make-target-directory).
61826 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61828         * bits/types.h (__snseconds_t): Removed.
61829         * time/time.h (struct timespec): Replace __snseconds_t with
61830         __syscall_slong_t.
61831         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
61832         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
61833         Likewise.
61834         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
61835         (__SNSECONDS_T_TYPE): Likewise.
61836         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
61837         (__SNSECONDS_T_TYPE): Likewise.
61838         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
61839         (__SNSECONDS_T_TYPE): Likewise.
61841 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61843         * sysdeps/mach/hurd/bits/typesizes.h
61844         (__SYSCALL_SLONG_TYPE): New macro.
61845         (__SYSCALL_ULONG_TYPE): Likewise.
61847 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61849         * bits/types.h (__syscall_slong_t): New type.
61850         (__syscall_ulong_t): Likewise.
61852         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
61853         (__SYSCALL_ULONG_TYPE): Likewise.
61854         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
61855         (__SYSCALL_SLONG_TYPE): Likewise.
61856         (__SYSCALL_ULONG_TYPE): Likewise.
61857         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
61858         (__SYSCALL_SLONG_TYPE): Likewise.
61859         (__SYSCALL_ULONG_TYPE): Likewise.
61860         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
61861         (__SYSCALL_SLONG_TYPE): Likewise.
61862         (__SYSCALL_ULONG_TYPE): Likewise.
61864 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61866         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
61867         Add sigaltstack-offsets.sym.
61868         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
61869         <sigaltstack-offsets.h>.
61870         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
61871         longjmp_msg pointer.
61872         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
61873         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
61874         signal stack.
61875         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
61877 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
61879         * elf/stackguard-macros.h: Remove file.
61880         * sysdeps/generic/stackguard-macros.h: New file.
61881         * sysdeps/i386/stackguard-macros.h: Likewise.
61882         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
61883         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
61884         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
61885         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
61886         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
61887         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
61888         * sysdeps/x86_64/stackguard-macros.h: Likewise.
61889         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
61890         <elf/stackguard-macros.h>.
61892         [BZ #14109]
61893         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
61894         __aligned__ in attribute.
61895         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
61896         (gregset_t): Likewise.
61898 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61900         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
61901         * sysdeps/x86_64/64/Implies-after: Here.  New file.
61902         * sysdeps/x86_64/x32/Implies-after: New file.
61904 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61906         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
61907         and access return value for _dl_profile_fixup.  Use R10_LP to
61908         load frame size.
61910 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61912         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
61914 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61916         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
61917         * sysdeps/x86_64/x32/sysdep.h: New file.
61919 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61921         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
61922         * sysdeps/x86_64/setjmp.S: Likewise.
61924 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61926         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
61927         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
61928         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
61929         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
61930         remove unused global constant.
61932 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
61934         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
61935         include of <not-cancel.h>.
61937 2012-05-15  Roland McGrath  <roland@hack.frob.com>
61939         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
61941 2012-05-15  Jeff Law  <law@redhat.com>
61942             Andreas Jaeger  <aj@suse.de>
61944         [BZ #13594]
61945         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
61946         out from...
61947         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
61948         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
61949         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
61950         code changing __hst_map_handle.map.
61952 2012-05-15  Roland McGrath  <roland@hack.frob.com>
61954         * configure.in (sysnames): Look for Implies-before and Implies-after
61955         files.
61956         * configure: Regenerated.
61958 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61960         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
61961         8-byte data alignment with LP_SIZE alignment.
61963 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61965         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
61966         into R10_LP.
61968 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61970         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
61972 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61974         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
61975         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
61976         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
61977         Likewise.
61978         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
61980 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61982         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
61983         (stackinfo_sub_sp): Likewise.
61985 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61987         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
61988         RAX_LP.
61990 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61992         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
61993         into R*_LP.
61995 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61997         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
61998         sizes into R*_LP.
62000 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62002         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
62004 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62006         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
62007         into R11_LP and load __x86_64_shared_cache_size_half into
62008         R8_LP.
62010 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62012         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
62013         R8_LP.
62015 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62017         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
62018         logb for POWER7.
62019         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
62020         logbf for POWER7.
62021         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
62022         logbl for POWER7.
62023         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
62024         powerpc32/power7/fpu/s_logb.c via #include.
62025         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
62026         powerpc32/power7/fpu/s_logbf.c via #include.
62027         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
62028         powerpc32/power7/fpu/s_logbl.c via #include.
62030 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
62032         * README.libm: Remove file.
62034 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
62036         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
62037         count for x32.  Use R*_LP and omit operand-size suffix.
62039 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
62041         * shlib-versions: Move x86_64-.*-linux.* entries to ...
62042         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
62043         * sysdeps/x86_64/x32/shlib-versions: New file.
62045 2012-05-14  Roland McGrath  <roland@hack.frob.com>
62047         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
62048         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
62049         Use _dl_fatal_printf instead.
62051 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
62053         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
62054         set if not set by the user.  Do not allow for being unset.
62055         * sysdeps/unix/sysv/linux/configure: Regenerated.
62057 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
62059         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
62060         the `q' suffix from lea and replace .quad with ASM_ADDR.
62062 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
62064         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
62065         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
62066         instead of $17.
62067         (PTR_DEMANGLE): Likewise.
62069 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
62071         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
62072         (LP_OP): Likewise.
62073         (ASM_ADDR): Likewise.
62074         (RAX_LP): Likewise.
62075         (RBP_LP): Likewise.
62076         (RBX_LP): Likewise.
62077         (RCX_LP): Likewise.
62078         (RDI_LP): Likewise.
62079         (RSI_LP): Likewise.
62080         (RSP_LP): Likewise.
62081         (R8_LP): Likewise.
62082         (R9_LP): Likewise.
62083         (R10_LP): Likewise.
62084         (R10_LP): Likewise.
62085         (R11_LP): Likewise.
62086         (R12_LP): Likewise.
62087         (R13_LP): Likewise.
62088         (R14_LP): Likewise.
62089         (R15_LP): Likewise.
62091 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
62093         * sysdeps/x86_64/x32/dl-machine.h: New file.
62095 2012-05-14  Andreas Jaeger  <aj@suse.de>
62097         * manual/Makefile (subdir): Remove export of subdir.
62098         (all): Remove target.
62099         (.PHONY): Remove all from list.
62100         (mkinstalldirs): Remove.
62101         (.PHONY): Remove installdirs from list.
62102         ($(inst_infodir)/libc.info): Use make-target-directory.
62103         (installdirs): Remove.
62104         (subdir_%): Remove.
62105         (glibc-targets): Remove.
62106         (lib): Remove.
62107         (stubs): Remove.
62108         ($(objpfx)stubs ../po/manual.pot): Remove.
62109         ($(objpfx)stamp%): Remove.
62110         (make-target-directory): Remove.
62111         (subdir_install): Remove.
62112         (routines): Remove.
62113         (aux): Remove.
62114         (sources): Remove.
62115         (objects): Remove.
62116         (headers): Remove.
62118         [BZ #13750]
62119         * manual/.gitignore: Remove, it's not needed anymore.
62120         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
62121         all files in it.
62122         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
62123         directory.
62124         (texis): Renamed to $(objpfx)texis.
62125         (texis-path): New, contains path to generated files.
62126         (chapters.%): Use texis-path for complete path, add extra argument
62127         libc-texinfo.sh.
62128         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
62129         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
62130         (summary,texi, stamp-summary): Use complete path of
62131         files. Generate files in build dir.
62132         (dir-add.texi): Build in build dir.
62133         (libm-err.texi,stamp-libm-err): Likewise.
62134         (version.texi, stamp-version): Likewise.
62135         (.%c.texi): Likewise.
62136         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
62137         (mostlyclean): Remove target.
62138         (realclean): Remove target.
62139         (generated): Add new variable with contents from mostlyclean and
62140         realclean, remove entries duplicated in common-mostlyclean, add
62141         stamp-libm-err and stamp-version.
62142         (generated-dirs): Add libc directory.
62143         ($(inst_infodir)/libc.info): Install files from build dir.
62145         * manual/install.texi (Configuring and compiling): Adjust since
62146         the info files are not part of the tar ball anymore.
62148 2012-05-14  Andreas Jaeger  <aj@suse.de>
62150         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
62151         variable.
62153 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
62155         [BZ #13717]
62156         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
62157         to 2.2.0 where earlier.
62158         * sysdeps/unix/sysv/linux/configure: Regenerated.
62159         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
62160         Remove conditional code.
62161         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
62162         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
62163         Remove conditional code.
62164         [!__NR_lchown]: Likewise.
62165         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
62166         [__NR_lchown]: Likewise.
62167         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
62168         comment referencing __ASSUME_LCHOWN_SYSCALL.
62169         * sysdeps/unix/sysv/linux/i386/sigaction.c
62170         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
62171         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
62172         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
62173         Remove conditional code.
62174         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
62175         (__protocol_available): Remove #if 0 code.
62176         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
62177         conditional code.
62178         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
62179         * sysdeps/unix/sysv/linux/kernel-features.h
62180         (__ASSUME_GETCWD_SYSCALL): Don't define.
62181         (__ASSUME_REALTIME_SIGNALS): Likewise.
62182         (__ASSUME_PREAD_SYSCALL): Likewise.
62183         (__ASSUME_PWRITE_SYSCALL): Likewise.
62184         (__ASSUME_POLL_SYSCALL): Likewise.
62185         (__ASSUME_LCHOWN_SYSCALL): Likewise.
62186         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
62187         non-SPARC.
62188         (__ASSUME_SIOCGIFNAME): Don't define.
62189         (__ASSUME_MSG_NOSIGNAL): Likewise.
62190         (__ASSUME_SENDFILE): Define unconditionally.
62191         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
62192         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
62193         conditional code.
62194         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
62195         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
62196         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
62197         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
62198         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
62199         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
62200         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
62201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
62202         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
62203         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
62204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
62205         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
62206         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
62207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
62208         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
62209         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
62210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
62211         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
62212         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
62213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
62214         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
62215         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
62216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
62217         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
62218         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
62219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
62220         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
62221         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
62222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
62223         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
62224         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
62225         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
62226         Remove conditional code.
62227         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
62228         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
62229         Remove conditional code.
62230         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
62231         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
62232         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
62233         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
62234         Remove conditional code.
62235         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
62236         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
62237         Remove conditional code.
62238         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
62239         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
62240         Remove conditional code.
62241         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
62242         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
62243         Remove conditional code.
62244         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
62245         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
62246         Remove conditional code.
62247         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
62248         * sysdeps/unix/sysv/linux/sh/pwrite64.c
62249         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
62250         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
62251         * sysdeps/unix/sysv/linux/sigaction.c
62252         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
62253         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
62254         * sysdeps/unix/sysv/linux/sigpending.c
62255         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
62256         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
62257         * sysdeps/unix/sysv/linux/sigprocmask.c
62258         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
62259         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
62260         * sysdeps/unix/sysv/linux/sigsuspend.c
62261         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
62262         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
62263         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
62264         (__libc_missing_rt_sigs): Remove.
62265         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
62266         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
62267         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
62268         Remove conditional code.
62269         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
62270         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
62271         return 1.
62272         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
62273         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
62274         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
62275         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
62277 2012-05-14  Andreas Jaeger  <aj@suse.de>
62279         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
62280         it's not used in glibc.
62281         (__coshm1): Likewise.
62282         (__acosh1p): Likewise.
62283         (__sgn): Likewise.
62285         * manual/string.texi (Copying and Concatenation): Add missing
62286         variable in concat example.
62287         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
62289 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
62291         [BZ #14103]
62292         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
62293         __builtin_clzl with __builtin_clzll.
62295 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
62297         [BZ #14104]
62298         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
62299         libc_freeres_ptr.
62301 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62303         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
62304         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
62305         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
62306         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
62308 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
62310         * NEWS: Update ia64 info.
62312 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
62314         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
62315         used as bcopy.
62317 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
62319         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
62320         * sysdeps/unix/syscalls.list (dup3): Likewise.
62321         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
62322         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
62324 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
62326         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
62327         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
62329 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
62331         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
62332         thread pointer.
62333         (TLS_IE): Use mov/add instead of movq/addq to load thread
62334         pointer.
62335         (TLS_GD_PREFIX): New.
62336         (TLS_GD): Use it.
62338 2012-05-11  David S. Miller  <davem@davemloft.net>
62340         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
62341         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
62342         (_FPU_SETCW): Likewise.
62344 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
62346         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
62347         is 32-byte aligned.
62349 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
62351         [BZ #11837]
62352         * iconvdata/gb18030.c: Update tables.
62353         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
62354         characters specially.
62355         (BODY for TO_LOOP): Add encoding of missing ranges.
62357 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
62359         [BZ #13673]
62360         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
62361         * sysdeps/mach/hurd/dup3.c: Likewise.
62362         * sysdeps/mach/hurd/readlinkat.c: Likewise.
62363         * sysdeps/powerpc/memmove.c:: Likewise.
62365 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
62367         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
62368         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
62370 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
62372         * elf/elf.h (R_X86_64_RELATIVE64): New.
62373         (R_X86_64_NUM): Updated.
62374         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
62375         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
62376         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
62377         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
62378         tst-quad1pie tst-quad2pie
62379         (modules-names): Add tst-quadmod1 tst-quadmod2.
62380         ($(objpfx)tst-quad1): New dependency.
62381         ($(objpfx)tst-quad2): Likewise.
62382         ($(objpfx)tst-quad1pie): Likewise.
62383         ($(objpfx)tst-quad2pie): Likewise.
62384         * sysdeps/x86_64/tst-quad1.c: New file.
62385         * sysdeps/x86_64/tst-quad1pie.c: New file.
62386         * sysdeps/x86_64/tst-quad2.c: Likewise.
62387         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
62388         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
62389         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
62390         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
62391         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
62393 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62395         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
62396         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
62397         * streams/stropts.h (t_scalar_t): Define type.
62399         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
62400         (_PATH_PRESERVE): Set to "/var/lib".
62401         (_PATH_RWHODIR): Set to "/var/spool/rwho".
62403         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
62404         instead of int.
62406         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
62407         if __dir_mkfile succeeded.
62409         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
62410         checking for _hurd_dtablesize.  Unlock it right after having
62411         finished _hurd_dtable allocation.
62413 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62415         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
62416         * sysdeps/mach/hurd/configure: Regenerated.
62417         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
62418         special-casing to...
62419         * sysdeps/gnu/configure.in: ... this new file.
62420         * sysdeps/unix/sysv/linux/configure: Regenerated.
62421         * sysdeps/gnu/configure: New generated file.
62423         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
62424         for Linux: use nsec instead of usec, as well as:
62425         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
62426         members of type struct timespec.
62427         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
62428         New macros.
62429         (struct stat64): Likewise.
62430         (_STATBUF_ST_NSEC): New macro.
62431         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
62433         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
62434         __strtoul_internal rather than strtoul.
62436 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
62438         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
62439         and reject them.
62441 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62443         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
62444         which preserves existing values.
62445         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
62447 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
62449         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
62450         TIMEOUT values.  Return EINVAL for NFDS values either negative or
62451         greater than FD_SETSIZE.
62453 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62455         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
62456         allocated, call __vm_protect to finish enabling the existing space, and
62457         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
62458         allocate the remainder.
62460 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
62462         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
62463         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
62465 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62467         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
62468         sysdeps/mach/hurd/readlink.c.
62470         * posix/tst-sysconf.c (posix_options): Only use
62471         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
62472         _POSIX_SYNCHRONIZED_IO when they are defined
62473         * sysdeps/mach/hurd/bits/posix_opt.h:
62474         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
62475         (_XOPEN_REALTIME): Undefine macro.
62476         (_XOPEN_REALTIME_THREADS): Undefine macro.
62477         (_XOPEN_SHM): Undefine macro.
62478         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
62479         macro to -1.
62480         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
62481         macro to -1.
62482         (_POSIX_ASYNC_IO): Undefine macro.
62483         (_POSIX_PRIORITIZED_IO): Undefine macro.
62484         (_POSIX_SPIN_LOCKS): Define macro to -1.
62486         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
62487         SA_NODEFER, SA_RESETHAND.
62488         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
62489         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
62490         F_DUPFD_CLOEXEC.
62492 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62494         * elf/Makefile (pldd-modules): Define unconditionally.
62496 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62498         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
62500 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62502         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
62503         Return ENOENT when name is empty.
62504         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
62506 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62508         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
62510         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
62512 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62514         Fix mlock in all cases except non-readable pages.
62515         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
62516         instead of VM_PROT_ALL as parameter to __vm_wire function.
62518         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
62519         (__mkdir): When path is `/', just fail with EEXIST.
62520         * sysdeps/mach/hurd/mkdirat.c: Likewise.
62522 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62524         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
62525         <sys/uio.h> (for writev).
62526         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
62527         and <sys/param.h> (for MIN).
62529 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
62531         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
62532         REQUESTED_TIME.  Properly set the remaining time and return EINTR
62533         if interrupted.
62535 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62537         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
62538         Depend on against $(link-rpcuserlibs).
62540 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62542         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
62543         (__libc_stack_end): Do not use attribute_relro.
62544         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
62545         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
62546         to libthread-provided value.
62547         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
62548         attribute_relro.
62550 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62552         [BZ #3748]
62553         * bits/libc-lock.h (__libc_once_get): New macro.
62554         * sysdeps/mach/bits/libc-lock.h: Likewise.
62555         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
62556         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
62557         instead of using implementation details.
62559         * libio/fileops.c: Unconditionally include <kernel-features.h>.
62560         * libio/freopen.c: Likewise.
62561         * libio/freopen64.c: Likewise.
62562         * misc/syslog.c: Likewise.
62563         * nscd/connections.c: Likewise.
62564         * nscd/netgroupcache.c: Likewise.
62565         * sysdeps/posix/getcwd.c: Likewise.
62567 2012-05-10  Roland McGrath  <roland@hack.frob.com>
62569         * math/w_ilogbf.c: Add #include <limits.h>.
62571 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62573         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
62574         path instead of returning without unlocking.
62576         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
62577         immediate-write ioctls.
62578         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
62580 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62582         * sysdeps/mach/hurd/i386/init-first.c (init): Use
62583         __builtin_frame_address instead of making assumptions about the
62584         location of the return address relative to DATA.  Force early load of
62585         the return address.
62586         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
62587         __builtin_frame_address.
62589         dup3 for GNU Hurd.
62590         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
62591         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
62592         implement dup3 and do some further code clean-ups.
62593         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
62594         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
62596 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62598         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
62600         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
62601         HURD_CRITICAL_END around holding _hurd_dtable_lock.
62602         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
62603         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
62604         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
62605         d->port.lock.
62607         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
62608         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
62609         when handler == SIG_ERR, not when handler != SIG_ERR.
62611 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62613         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
62614         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
62615         definitions.
62617         accept4 for GNU Hurd.
62618         * include/sys/socket.h (__libc_accept4): New prototype.
62619         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
62620         to implement __libc_accept4.
62621         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
62622         __libc_accept4.
62623         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
62625         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
62626         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
62627         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
62628         signal-defines.sym.
62630 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62632         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
62634 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62636         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
62637         assertion on O_CLOEXEC flag.
62638         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
62639         * hurd/intern-fd.c: Likewise.
62640         * hurd/port2fd.c: Likewise.
62642 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62644         [BZ #3906]
62645         * bits/in.h (IPV6_PKTINFO): Define new macro.
62646         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
62648 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62650         [BZ #13954]
62651         [BZ #13955]
62652         [BZ #13956]
62653         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
62654         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
62655         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
62656         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
62657         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
62658         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
62659         * math/libm-test.inc (logb_test) : Additional logb tests.
62661 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
62662             Andreas Jaeger  <aj@suse.de>
62664         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
62665         * configure: Regenerated.
62666         * config.h.in (LINK_OBSOLETE_RPC): New macro.
62667         * config.make.in (link-obsolete-rpc): New substituted variable.
62668         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
62669         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
62670         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
62671         (shared-only-routines): Don't set it under [link-obsolete-rpc],
62672         so that libc.a contains the symbols.
62673         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
62674         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
62675         * sunrpc/auth_none.c: Likewise.
62676         * sunrpc/auth_unix.c: Likewise.
62677         * sunrpc/authdes_prot.c: Likewise.
62678         * sunrpc/authuxprot.c: Likewise.
62679         * sunrpc/clnt_gen.c: Likewise.
62680         * sunrpc/clnt_perr.c: Likewise.
62681         * sunrpc/clnt_raw.c: Likewise.
62682         * sunrpc/clnt_simp.c: Likewise.
62683         * sunrpc/clnt_tcp.c: Likewise.
62684         * sunrpc/clnt_udp.c: Likewise.
62685         * sunrpc/clnt_unix.c: Likewise.
62686         * sunrpc/des_crypt.c: Likewise.
62687         * sunrpc/des_soft.c: Likewise.
62688         * sunrpc/get_myaddr.c: Likewise.
62689         * sunrpc/key_call.c: Likewise.
62690         * sunrpc/key_prot.c: Likewise.
62691         * sunrpc/netname.c: Likewise.
62692         * sunrpc/pm_getmaps.c: Likewise.
62693         * sunrpc/pm_getport.c: Likewise.
62694         * sunrpc/pmap_clnt.c: Likewise.
62695         * sunrpc/pmap_prot.c: Likewise.
62696         * sunrpc/pmap_prot2.c: Likewise.
62697         * sunrpc/pmap_rmt.c: Likewise.
62698         * sunrpc/publickey.c: Likewise.
62699         * sunrpc/rpc_cmsg.c: Likewise.
62700         * sunrpc/rpc_common.c: Likewise.
62701         * sunrpc/rpc_dtable.c: Likewise.
62702         * sunrpc/rpc_prot.c: Likewise.
62703         * sunrpc/rpc_thread.c: Likewise.
62704         * sunrpc/rtime.c: Likewise.
62705         * sunrpc/svc.c: Likewise.
62706         * sunrpc/svc_auth.c: Likewise.
62707         * sunrpc/svc_raw.c: Likewise.
62708         * sunrpc/svc_run.c: Likewise.
62709         * sunrpc/svc_tcp.c: Likewise.
62710         * sunrpc/svc_udp.c: Likewise.
62711         * sunrpc/svc_unix.c: Likewise.
62712         * sunrpc/svcauth_des.c: Likewise.
62713         * sunrpc/xcrypt.c: Likewise.
62714         * sunrpc/xdr.c: Likewise.
62715         * sunrpc/xdr_array.c: Likewise.
62716         * sunrpc/xdr_float.c: Likewise.
62717         * sunrpc/xdr_intXX_t.c: Likewise.
62718         * sunrpc/xdr_mem.c: Likewise.
62719         * sunrpc/xdr_rec.c: Likewise.
62720         * sunrpc/xdr_ref.c: Likewise.
62721         * sunrpc/xdr_sizeof.c: Likewise.
62722         * sunrpc/xdr_stdio.c: Likewise.
62724 2012-05-10  Roland McGrath  <roland@hack.frob.com>
62726         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
62727         change.  Update copyright years.
62729 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
62731         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
62733 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
62734             Joseph Myers  <joseph@codesourcery.com>
62735             Paul Pluzhnikov  <ppluzhnikov@google.com>
62737         [BZ #14012]
62738         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
62739         requiring rpcgen.
62740         [cross-compiling] (extra-libs): Likewise.
62741         [cross-compiling] (extra-libs-others): Likewise.
62742         [cross-compiling] (librpcsvc-routines): Likewise.
62743         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
62744         [cross-compiling] (omit-deps): Likewise.
62745         (sunrpc-CPPFLAGS): New variable.
62746         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
62747         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
62748         (cross-rpcgen-objs): New variable.
62749         (extra-objs): Append $(cross-rpcgen-objs).
62750         ($(cross-rpcgen-objs)): New rule.
62751         ($(objpfx)cross-rpcgen): Likewise.
62752         (rpcgen-cmd): Define to use $(built-program-file).  Expand
62753         comment.
62754         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
62755         ($(objpfx)x%.stmp): Likewise.
62756         * sunrpc/proto.h [IS_IN_build] (_): Define.
62757         [IS_IN_build] (_libc_intl_domainname): Likewise.
62759 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
62761         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
62762         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
62763         and R_X86_64_TPOFF64.
62765 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
62767         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
62768         sysdeps/unix/sysv/syscalls.list.
62769         (stime): Likewise.
62770         (utime): Likewise.
62771         * sysdeps/unix/sysv/syscalls.list: Remove file.
62773 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
62775         [BZ #3440]
62776         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
62777         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
62778         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
62779         (__LC_IDENTIFICATION): Make these macros useful in #if
62780         expressions, as required by C99.
62782 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
62784         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
62785         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
62786         after this.
62788 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
62790         * stdlib/longlong.h: Updated from GCC.
62792 2012-05-09  Andreas Jaeger  <aj@suse.de>
62794         * nscd/nscd.c (run_modes): Make named enum, reorder so that
62795         default is first entry.
62796         (run_mode): Set type.
62797         (main): Remove informal message about syslog.
62798         (options): Fix typo.
62800         [BZ #14053]
62801         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
62802         to asm.
62803         (lrint): Likewise.
62804         (llrintf): Likewise.
62805         (llrint): Likewise.
62806         (rint): Likewise.
62807         (rintf): Likewise.
62808         (nearbyint): Likewise.
62809         (nearbyintf): Likewise.
62811 2012-05-09  Andreas Jaeger  <aj@suse.de>
62812             Pedro Alves  <palves@redhat.com>
62814         * nscd/nscd.c (run_mode): Use enum.
62815         (main): Cleanup coding style issue.
62817 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
62818             Andreas Jaeger  <aj@suse.de>
62820         * nscd/nscd.c (go_background): Replaced with...
62821         (run_mode): ... this.
62822         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
62823         (options): Add -F --foreground.
62824         (main): Implement it.
62825         (parse_opt): Parse it.
62827 2012-05-09  Andreas Jaeger  <aj@suse.de>
62829         [BZ #14083]
62830         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
62831         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
62832         -Wconversion warning.
62833         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
62834         Likewise.
62836 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
62838         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
62839         == 0.
62840         (LC_ALL): Use macro-int-constant.
62841         (LC_COLLATE): Likewise.
62842         (LC_CTYPE): Likewise.
62843         (LC_MESSAGES): Likewise.
62844         (LC_MONETARY): Likewise.
62845         (LC_NUMERIC): Likewise.
62846         (LC_TIME): Likewise.
62847         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
62848         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
62849         [ISO || ISO99 || ISO11] (*_t): Do not allow.
62850         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
62851         Specify type.
62852         [C99-based standards] (float_t): Expect type.
62853         [C99-based standards] (double_t): Expect type.
62854         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
62855         type.
62856         [C99-based standards] (HUGE_VALL): Likewise.
62857         [C99-based standards] (INFINITY): Likewise.
62858         [C99-based standards] (NAN): Likewise.
62859         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
62860         [C99-based standards] (FP_NAN): Likewise.
62861         [C99-based standards] (FP_NORMAL): Likewise.
62862         [C99-based standards] (FP_SUBNORMAL): Likewise.
62863         [C99-based standards] (FP_ZERO): Likewise.
62864         [C99-based standards] (FP_FAST_FMA): Use
62865         optional-macro-int-constant.  Specify type.  Require == 1.
62866         [C99-based standards] (FP_FAST_FMAF): Likewise.
62867         [C99-based standards] (FP_FAST_FMAL): Likewise.
62868         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
62869         [C99-based standards] (FP_ILOGBNAN): Likewise.
62870         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
62871         Specify type.
62872         [C99-based standards] (MATH_ERREXCEPT): Likewise.
62873         [C99-based standards] (math_errhandling): Specify type.
62874         [ISO99 || ISO11] (signgam): Do not allow.
62875         [non-C99-based standards] (copysignf): Do not allow.
62876         [non-C99-based standards] (exp2f): Likewise.
62877         [non-C99-based standards] (log2f): Likewise.
62878         [non-C99-based standards] (modff): Allow.
62879         [non-C99-based standards] (erff): Do not allow.
62880         [non-C99-based standards] (erfcf): Likewise.
62881         [non-C99-based standards] (gammaf): Likewise.
62882         [non-C99-based standards] (hypotf): Likewise.
62883         [non-C99-based standards] (j0f): Likewise.
62884         [non-C99-based standards] (j1f): Likewise.
62885         [non-C99-based standards] (jnf): Likewise.
62886         [non-C99-based standards] (lgammaf): Likewise.
62887         [non-C99-based standards] (tgammaf): Likewise.
62888         [non-C99-based standards] (y0f): Likewise.
62889         [non-C99-based standards] (y1f): Likewise.
62890         [non-C99-based standards] (ynf): Likewise.
62891         [non-C99-based standards] (isnanf): Likewise.
62892         [non-C99-based standards] (acoshf): Likewise.
62893         [non-C99-based standards] (asinhf): Likewise.
62894         [non-C99-based standards] (atanhf): Likewise.
62895         [non-C99-based standards] (cbrtf): Likewise.
62896         [non-C99-based standards] (expm1f): Likewise.
62897         [non-C99-based standards] (ilogbf): Likewise.
62898         [non-C99-based standards] (log1pf): Likewise.
62899         [non-C99-based standards] (logbf): Likewise.
62900         [non-C99-based standards] (nextafterf): Likewise.
62901         [non-C99-based standards] (remainderf): Likewise.
62902         [non-C99-based standards] (rintf): Likewise.
62903         [non-C99-based standards] (scalbf): Likewise.
62904         [non-C99-based standards] (copysignl): Likewise.
62905         [non-C99-based standards] (exp2l): Likewise.
62906         [non-C99-based standards] (log2l): Likewise.
62907         [non-C99-based standards] (modfl): Allow.
62908         [non-C99-based standards] (erfl): Do not allow.
62909         [non-C99-based standards] (erfcl): Likewise.
62910         [non-C99-based standards] (gammal): Likewise.
62911         [non-C99-based standards] (hypotl): Likewise.
62912         [non-C99-based standards] (j0l): Likewise.
62913         [non-C99-based standards] (j1l): Likewise.
62914         [non-C99-based standards] (jnl): Likewise.
62915         [non-C99-based standards] (lgammal): Likewise.
62916         [non-C99-based standards] (tgammal): Likewise.
62917         [non-C99-based standards] (y0l): Likewise.
62918         [non-C99-based standards] (y1l): Likewise.
62919         [non-C99-based standards] (ynl): Likewise.
62920         [non-C99-based standards] (isnanl): Likewise.
62921         [non-C99-based standards] (acoshl): Likewise.
62922         [non-C99-based standards] (asinhl): Likewise.
62923         [non-C99-based standards] (atanhl): Likewise.
62924         [non-C99-based standards] (cbrtl): Likewise.
62925         [non-C99-based standards] (expm1l): Likewise.
62926         [non-C99-based standards] (ilogbl): Likewise.
62927         [non-C99-based standards] (log1pl): Likewise.
62928         [non-C99-based standards] (logbl): Likewise.
62929         [non-C99-based standards] (nextafterl): Likewise.
62930         [non-C99-based standards] (remainderl): Likewise.
62931         [non-C99-based standards] (rintl): Likewise.
62932         [non-C99-based standards] (scalbl): Likewise.
62933         [ISO || ISO99 || ISO11] (*_t): Do not allow.
62934         [non-C99-based standards] (FP_*): Do not allow.
62935         [C99-based standards] (FP_*): Change to
62936         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
62937         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
62938         allow.
62939         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
62940         (SIG_ERR): Likewise.
62941         [X/Open-based standards] (SIG_HOLD): Likewise.
62942         (SIG_IGN): Likewise.
62943         (SIGABRT): Use macro-int-constant.  Specify type.  Require
62944         positive value.
62945         (SIGFPE): Likewise.
62946         (SIGILL): Likewise.
62947         (SIGINT): Likewise.
62948         (SIGSEGV): Likewise.
62949         (SIGTER): Likewise.
62950         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
62951         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
62952         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
62953         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
62954         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
62955         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
62956         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
62957         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
62958         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
62959         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
62960         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
62961         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
62962         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
62963         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
62964         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
62965         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
62966         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
62967         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
62968         [X/Open-based standards] (SIGTRAP): Likewise.
62969         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
62970         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
62971         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
62972         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
62973         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
62974         allow.
62976 2012-05-08  Ian Wienand  <ianw@vmware.com>
62978         [BZ #14080]
62979         * time/tzset.c (__tzset_parse_tz): Update default rules for
62980         daylight time changes in the Energy Policy Act of 2005.
62982 2012-05-09  Andreas Jaeger  <aj@suse.de>
62984         [BZ #13983]
62985         * elf/ldconfig.c (parse_conf): Change string to make clear that
62986         ldconfig only issued a warning if ld.so.conf does not exist.
62988 2012-05-08  David S. Miller  <davem@davemloft.net>
62990         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
62991         movxtod instead of popping the value on the stack.
62993         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62995 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
62997         * config.h.in: Add HAVE_ARM_PCS_VFP.
62999 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
63001         [BZ #13979]
63002         * include/features.h: Warn if user requests __FORTIFY_SOURCE
63003         checking but the checks are disabled for any reason.
63005 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
63007         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
63008         and ELF64_R_TYPE with ELFW(R_TYPE).
63010 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
63012         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
63013         (ulimit): Likewise.
63015         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
63016         (settimeofday): Likewise.
63018 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
63020         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
63021         a struct th_u2 inside the union, and move tu_block/tu_code into
63022         a new th_u3 union of tu_block/tu_code inside of that.  Move
63023         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
63024         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
63025         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
63026         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
63027         (th_stuff): Change to th_u1.tu_stuff.
63028         (th_data): Define.
63029         (th_msg): Change to th_u1.th_u2.tu_data.
63031 2012-05-07  David S. Miller  <davem@davemloft.net>
63033         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63035         [BZ #14074]
63036         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
63037         (SETUP_PIC_REG): Use it.
63038         (SETUP_PIC_REG_LEAF): Use it.
63040 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
63042         [BZ #13885]
63043         [BZ #13923]
63044         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
63045         USE_AS_EXPM1L.
63046         (EXPL_FINITE): Likewise.
63047         (FLDLOG): Likewise.
63048         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
63049         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
63050         e_expl.S.
63051         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
63052         USE_AS_EXPM1L.
63053         (EXPL_FINITE): Likewise.
63054         (FLDLOG): Likewise.
63055         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
63056         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
63057         e_expl.S.
63058         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
63059         test of -max_value argument for long double.
63060         * sysdeps/i386/fpu/libm-test-ulps: Update.
63061         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63063 2012-05-06  David S. Miller  <davem@davemloft.net>
63065         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
63066         quad soft-float symbols whose references which are compiler
63067         generated.
63068         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
63070 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
63072         [BZ #13884]
63073         [BZ #13914]
63074         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
63075         USE_AS_EXP10L.
63076         (EXPL_FINITE): Likewise.
63077         (FLDLOG): Likewise.
63078         (c0): Likewise.
63079         (c1): Likewise.
63080         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
63081         Adjust comments for base varying.
63082         (__expl_finite): Change alias to EXPL_FINITE.
63083         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
63084         e_expl.S.
63085         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
63086         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
63087         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
63088         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
63089         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
63090         USE_AS_EXP10L.
63091         (EXPL_FINITE): Likewise.
63092         (FLDLOG): Likewise.
63093         (c0): Likewise.
63094         (c1): Likewise.
63095         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
63096         Adjust comments for base varying.
63097         (__expl_finite): Change alias to EXPL_FINITE.
63098         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
63099         tests for bugs.
63100         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63102         [BZ #14064]
63103         * math/libm-test.inc (check_float_internal): Correct ulp
63104         calculation for subnormal expected results.
63106 2012-05-06  Andreas Jaeger  <aj@suse.de>
63108         * Makeconfig (+math-flags): New, set to -frounding-math.
63109         (+cflags): Add +math-flags so that all of glibc gets compiled with
63110         it.
63112         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
63114 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
63116         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
63117         Disable one test.
63119         [BZ #13787]
63120         [BZ #13922]
63121         [BZ #14036]
63122         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
63123         (__ieee754_expl): Allow for and saturate large arguments.
63124         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
63125         (u_threshold): Likewise.
63126         (__exp): Call __ieee754_exp before checking for overflow and
63127         underflow.
63128         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
63129         (u_threshold): Likewise.
63130         (__expf): Call __ieee754_expf before checking for overflow and
63131         underflow.
63132         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
63133         (u_threshold): Likewise.
63134         (__expl): Call __ieee754_expl before checking for overflow and
63135         underflow.
63136         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
63137         (__ieee754_expl): Allow for and saturate large arguments.
63138         * math/libm-test.inc (exp_test): Add another test.  Do not allow
63139         missing overflow exception on overflow.
63140         (expm1_test): Do not allow missing overflow exception on overflow.
63142         * sysdeps/i386/fpu/e_expl.c: Move to ...
63143         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
63144         rather than using inline asm.
63145         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
63146         * sysdeps/x86_64/fpu/e_expl.S: Copy from
63147         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
63149         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
63150         (nice): Likewise.
63151         (poll): Likewise.
63152         (signal): Likewise.
63153         (time): Likewise.
63154         (times): Likewise.
63156 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
63158         * sysdeps/unix/syscalls.list (adjtime): Add entry from
63159         sysdeps/unix/common/syscalls.list.
63160         (fchmod): Likewise.
63161         (fchown): Likewise.
63162         (ftruncate): Likewise.
63163         (getrusage): Likewise.
63164         (gettimeofday): Likewise.
63165         (setpgid): Likewise.
63166         (setregid): Likewise.
63167         (setreuid): Likewise.
63168         (sigaction): Likewise.
63169         (truncate): Likewise.
63170         (vhangup): Likewise.
63171         * sysdeps/unix/common/syscalls.list: Remove file.
63172         * sysdeps/unix/bsd/Implies: Don't include unix/common.
63173         * sysdeps/unix/sysv/linux/Implies: Likewise.
63175 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
63177         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
63178         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
63179         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
63180         Moved to ...
63181         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
63182         Here.
63183         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
63184         to ...
63185         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
63186         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
63187         to ...
63188         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
63189         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
63190         to ...
63191         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
63192         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
63193         to ...
63194         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
63195         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
63196         to ...
63197         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
63198         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
63199         to ...
63200         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
63201         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
63202         to ...
63203         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
63204         Here.
63205         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
63206         to ...
63207         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
63208         Here.
63209         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
63210         to ...
63211         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
63212         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
63213         Moved to ...
63214         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
63215         Here.
63216         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
63217         to ...
63218         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
63220 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
63222         * sysdeps/unix/common/bits/dirent.h: Remove file.
63223         * sysdeps/unix/common/bits/fcntl.h: Likewise.
63225         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
63226         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
63227         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
63228         * sysdeps/unix/bsd/isatty.c: Likewise.
63229         * sysdeps/unix/bsd/tcdrain.c: Likewise.
63230         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
63231         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
63233 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63235         [BZ #13563]
63236         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
63237         long double comparison inaccuracies.
63238         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
63239         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63241 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
63243         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
63244         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
63246 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
63248         [BZ #14049]
63249         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
63250         nonzero digits before rounding a hex value.
63251         * stdlib/tst-strtod.c (tests): Add another test.
63253 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63255         * sysdeps/s390/fpu/libm-test-ulps: Update.
63257 2012-05-03  Andreas Jaeger  <aj@suse.de>
63259         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
63260         does not get optimized out.
63261         (malloc_opt_barrier): New.
63263 2012-05-03  Andreas Jaeger  <aj@suse.de>
63264             Roland McGrath  <roland@hack.frob.com>
63266         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
63267         intermediate file deletion.
63268         (generated): Add .symlist files.
63270 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
63272         [BZ #13775]
63273         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
63274         Redirect under this condition.
63275         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
63276         [__USE_GNU] (__dprintf_chk): Not under this condition.
63277         [__USE_GNU] (__vdprintf_chk): Likewise.
63278         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
63279         under this condition.
63280         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
63281         [__USE_XOPEN2K8] (dprintf): Define under this condition.
63282         [__USE_XOPEN2K8] (vdprintf): Likewise.
63283         [__USE_GNU] (__dprintf_chk): Not under this condition.
63284         [__USE_GNU] (__vdprintf_chk): Likewise.
63285         [__USE_GNU] (dprintf): Likewise.
63286         [__USE_GNU] (vdprintf): Likewise.
63288 2012-05-03  Roland McGrath  <roland@hack.frob.com>
63290         * elf/Makefile (common-generated): Set this instead of generated for
63291         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
63292         $(all-built-dso)-derived lists.
63294 2012-05-03  Andreas Jaeger  <aj@suse.de>
63296         * sysdeps/i386/fpu/libm-test-ulps: Update.
63298         * FAQ: Removed.
63299         * FAQ.in: Likewise.
63300         * scripts/gen-FAQ.pl: Likewise.
63301         * manual/install.texi (Installation): Point to online location of
63302         FAQ.
63303         * Makefile (files-for-dist): Remove FAQ.
63304         (FAQ): Remove.
63306 2012-05-02  Allan McRae  <allan@archlinux.org>
63308         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
63309         (LDFLAGS-reldepmod5.so): Likewise.
63310         (LDFLAGS-reldep6mod1.so): Likewise.
63311         (LDFLAGS-reldep6mod4.so): Likewise.
63312         (LDFLAGS-reldep8mod3.so): Likewise.
63313         (LDFLAGS-unload4mod1.so): Likewise.
63314         (LDFLAGS-unload4mod2.so): Likewise.
63315         (LDFLAGS-tst-initorder): Likewise.
63316         (LDFLAGS-tst-initordera2.so): Likewise.
63317         (LDFLAGS-tst-initordera3.so): Likewise.
63318         (LDFLAGS-tst-initordera4.so): Likewise.
63319         (LDFLAGS-tst-initorderb2.so): Likewise.
63320         (LDFLAGS-noload): Likewise.
63321         (LDFLAGS-next): Likewise.
63322         (LDFLAGS-order2mod1.so): Likewise.
63323         (LDFLAGS-order2mod2.so): Likewise.
63324         (LDFLAGS-tst-initorder2): Likewise.
63325         (LDFLAGS-tst-initorder2a.so): Likewise.
63326         (LDFLAGS-tst-initorder2b.so): Likewise.
63327         (LDFLAGS-tst-initorder2c.so): Likewise.
63328         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
63330 2012-05-02  David S. Miller  <davem@davemloft.net>
63332         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63334 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
63336         [BZ #14055]
63337         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
63339 2012-05-02  Andreas Jaeger  <aj@suse.de>
63341         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
63342         since we manipulate rounding mode.
63343         (CPPFLAGS-test-idouble.c): Likewise.
63344         (CPPFLAGS-test-ifloat.c): Likewise.
63345         (CFLAGS-test-ldouble.c): Likewise.
63346         (CFLAGS-test-double.c): Likewise.
63347         (CFLAGS-test-float.c): Likewise.
63348         (CFLAGS-test-misc.c): Likewise.
63349         (CFLAGS-test-test-fenv.c): Likewise.
63351 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63353         [BZ #2550]
63354         [BZ #2570]
63355         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
63356         comparisons to determine direction to adjust input.
63358 2012-05-01  Roland McGrath  <roland@hack.frob.com>
63360         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
63361         output to the target.
63363         * scripts/localplt.awk: New file.
63364         * elf/Makefile ($(objpfx)check-localplt): Target removed.
63365         (check-localplt-CFLAGS): Variable removed.
63366         ($(all-built-dso:=.jmprel)): New static pattern rule.
63367         (generated): Add those targets.
63368         (localplt-built-dso): New variable.
63369         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
63371         * elf/check-localplt.c: File removed.
63373         * scripts/check-execstack.awk: New file.
63374         * elf/Makefile ($(objpfx)check-execstack): Target removed.
63375         (check-execstack-CFLAGS): Variable removed.
63376         ($(objpfx)check-execstack.h): Target removed.
63377         ($(objpfx)execstack-default): New target.
63378         (generated): Add that instead of check-execstack.h.
63379         ($(all-built-dso:=.phdr)): New static pattern rule.
63380         (generated): Add those targets.
63381         * elf/check-execstack.c: File removed.
63383         * scripts/check-textrel.awk: New file.
63384         * elf/Makefile ($(objpfx)check-textrel): Target removed.
63385         (check-textrel-CFLAGS): Variable removed.
63386         (all-built-dso): Use := to define.o
63387         ($(all-built-dso:=.dyn)): New static pattern rule.
63388         (generated): Add those targets.
63389         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
63390         * config.make.in (READELF): New substituted variable.
63391         * elf/check-textrel.c: File removed.
63393 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
63395         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
63396         allow.
63397         * conform/data/ctype.h-data [C99-based standards] (isblank):
63398         Expect function.
63399         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
63400         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
63401         [ISO || ISO99 || ISO11] (*_t): Do not allow.
63402         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
63403         Specify type.  Require positive value.
63404         (EILSEQ): Likewise.
63405         (ERANGE): Likewise.
63406         [ISO || POSIX] (EILSEQ): Do not expect.
63407         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
63408         Specify type.  Require positive value.
63409         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
63410         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
63411         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
63412         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
63413         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
63414         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
63415         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
63416         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
63417         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
63418         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
63419         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
63420         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
63421         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
63422         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
63423         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
63424         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
63425         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
63426         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
63427         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
63428         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
63429         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
63430         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
63431         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
63432         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
63433         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
63434         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
63435         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
63436         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
63437         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
63438         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
63439         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
63440         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
63441         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
63442         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
63443         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
63444         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
63445         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
63446         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
63447         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
63448         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
63449         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
63450         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
63451         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
63452         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
63453         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
63454         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
63455         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
63456         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
63457         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
63458         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
63459         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
63460         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
63461         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
63462         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
63463         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
63464         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
63465         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
63466         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
63467         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
63468         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
63469         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
63470         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
63471         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
63472         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
63473         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
63474         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
63475         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
63476         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
63477         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
63478         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
63479         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
63480         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
63481         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
63482         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
63483         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
63484         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
63485         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
63486         Require >= 2.
63487         (FLT_ROUNDS): Expect as macro, not constant.
63488         (FLT_MANT_DIG): Use macro-int-constant.
63489         (DBL_MANT_DIG): Likewise.
63490         (LDBL_MANT_DIG): Likewise.
63491         (FLT_DIG): Likewise.
63492         (DBL_DIG): Likewise.
63493         (LDBL_DIG): Likewise.
63494         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
63495         (DBL_MIN_EXP): Likewise.
63496         (LDBL_MIN_EXP): Likewise.
63497         (FLT_MAX_EXP): Use macro-int-constant.
63498         (DBL_MAX_EXP): Likewise.
63499         (LDBL_MAX_EXP): Likewise.
63500         (FLT_MAX_10_EXP): Likewise.
63501         (DBL_MAX_10_EXP): Likewise.
63502         (LDBL_MAX_10_EXP): Likewise.
63503         (FLT_MAX): Use macro-constant.
63504         (DBL_MAX): Likewise.
63505         (LDBL_MAX): Likewise.
63506         (FLT_EPSILON): Use macro-constant.  Give upper bound.
63507         (DBL_EPSILON): Likewise.
63508         (LDBL_EPSILON): Likewise.
63509         (FLT_MIN): Likewise.
63510         (DBL_MIN): Likewise.
63511         (LDBL_MIN): Likewise.
63512         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
63513         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
63514         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
63515         [ISO11] (FLT_HAS_SUBNORM): Likewise.
63516         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
63517         [ISO11] (DBL_DECIMAL_DIG): Likewise.
63518         [ISO11] (FLT_DECIMAL_DIG): Likewise.
63519         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
63520         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
63521         [ISO11] (FLT_TRUE_MIN): Likewise.
63522         [ISO11] (LDBL_TRUE_MIN): Likewise.
63523         [ISO || ISO99 || ISO11] (*_t): Do not allow.
63524         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
63525         (SCHAR_MIN): Use macro-int-constant.  Specify type.
63526         (SCHAR_MAX): Likewise.
63527         (UCHAR_MAX): Likewise.
63528         (CHAR_MIN): Likewise.
63529         (CHAR_MAX): Likewise.
63530         (MB_LEN_MAX): Use macro-int-constant.
63531         (SHRT_MIN): Use macro-int-constant.  Specify type.
63532         (SHRT_MAX): Likewise.
63533         (USHRT_MAX): Likewise.
63534         (INT_MAX): Likewise.
63535         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
63536         bound negative.
63537         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
63538         bound with "U".
63539         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
63540         bound with "L".
63541         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
63542         bound negative.  Suffix upper bound with "L".
63543         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
63544         bound with "UL".
63545         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
63546         Specify type.
63547         [C99-based standards] (LLONG_MAX): Likewise.
63548         [C99-based standards] (ULLONG_MAX): Likewise.
63549         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
63550         == 0.
63551         [ISO11] (max_align_t): Require type.
63552         [ISO || ISO99 || ISO11] (*_t): Do not allow.
63554         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
63555         from $CFLAGS, without defining away __attribute__ calls.
63556         (checknamespace): Use $CFLAGS_namespace.
63558         * conform/conformtest.pl (@keywords): Only include C99 keywords
63559         for standards based on C99 or C11.
63561         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
63562         Disable tests.
63563         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
63564         UNIX98]: Likewise.
63566         * conform/conformtest.pl: Handle "macro-int-constant" and test for
63567         usability of symbols in #if.
63569         * conform/conformtest.pl: If macro or constant types start
63570         "promoted:", expect the symbol to be of the following type
63571         promoted by the integer promotions.
63573         * conform/conformtest.pl: Parse all "constant" and "macro" lines
63574         in one place.  Also handle "macro-constant".
63576         * conform/conformtest.pl: Only accept expected macro values with
63577         "==".  Parse all "macro" lines in one place.
63578         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
63580         * conform/conformtest.pl: Handle braced types on "constant" lines
63581         instead of handling "typed-constant".
63582         * conform/data/signal.h-data: Use "constant" instead of
63583         "typed-constant".
63585         * conform/conformtest.pl: Handle "optional-" at start of lines in
63586         one place rather than duplicating several cases.  Handle each
63587         format of "macro" line with initial "optional-".
63589         * conform/conformtest.pl: Only accept expected constant or
63590         optional-constant values with "==".  Parse all "constant" lines in
63591         one place.  Parse all "optional-constant" lines in one place.
63592         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
63593         * conform/data/fmtmsg.h-data: Likewise.
63594         * conform/data/netinet/in.h-data: Likewise.
63595         * conform/data/tar.h-data: Likewise.
63596         * conform/data/limits.h-data: Use "==" form on "constant" and
63597         "optional-constant" lines.
63599         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
63600         Use -std=c99 for XOPEN2K.
63601         (@knownproblems): Remove.
63602         (newtoken): Don't check %isknown.
63604         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
63605         Do not expect macro.
63606         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
63607         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
63608         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
63609         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
63610         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
63611         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
63612         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
63613         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
63614         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
63615         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
63616         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
63617         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
63618         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
63619         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
63620         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
63621         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
63622         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
63623         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
63624         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
63625         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
63626         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
63627         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
63628         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
63629         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
63630         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
63631         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
63632         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
63633         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
63634         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
63635         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
63636         [XPG3] (acosh): Likewise.
63637         [XPG3] (asinh): Likewise.
63638         [XPG3] (atanh): Likewise.
63639         [XPG3] (cbrt): Likewise.
63640         [XPG3] (expm1): Likewise.
63641         [XPG3] (ilogb): Likewise.
63642         [XPG3] (log1p): Likewise.
63643         [XPG3] (logb): Likewise.
63644         [XPG3] (nextafter): Likewise.
63645         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
63646         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
63647         [XPG3] (remainder): Likewise.
63648         [XPG3] (rint): Likewise.
63649         [XPG3 || XPG4 || UNIX98] (round): Likewise.
63650         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
63651         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
63652         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
63653         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
63654         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
63655         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
63656         [UNIX98 || XOPEN2K] (scalb): Expect.
63657         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
63658         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
63659         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
63660         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
63661         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
63662         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
63663         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
63664         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
63665         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
63666         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
63667         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
63668         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
63669         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
63670         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
63671         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
63672         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
63673         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
63674         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
63675         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
63676         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
63677         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
63678         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
63679         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
63680         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
63681         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
63682         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
63683         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
63684         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
63685         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
63686         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
63687         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
63688         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
63689         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
63690         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
63691         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
63692         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
63693         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
63694         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
63695         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
63696         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
63697         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
63698         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
63699         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
63700         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
63701         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
63702         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
63703         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
63704         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
63705         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
63706         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
63707         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
63708         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
63709         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
63710         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
63711         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
63712         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
63713         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
63714         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
63715         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
63716         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
63717         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
63718         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
63719         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
63720         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
63721         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
63722         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
63723         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
63724         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
63725         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
63726         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
63727         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
63728         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
63729         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
63730         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
63731         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
63732         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
63733         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
63734         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
63735         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
63736         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
63737         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
63738         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
63739         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
63740         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
63741         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
63742         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
63743         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
63744         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
63745         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
63746         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
63747         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
63748         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
63749         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
63750         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
63751         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
63752         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
63753         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
63754         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
63755         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
63756         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
63757         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
63758         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
63759         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
63760         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
63761         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
63762         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
63763         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
63764         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
63765         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
63766         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
63767         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
63768         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
63769         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
63770         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
63771         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
63772         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
63773         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
63774         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
63775         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
63776         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
63777         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
63778         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
63779         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
63780         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
63781         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
63782         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
63783         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
63784         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
63785         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
63786         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
63787         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
63788         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
63789         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
63790         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
63791         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
63792         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
63793         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
63795         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
63796         _XOPEN_SOURCE_EXTENDED for XPG4.
63798         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
63800         * Makeconfig (localtime): Remove variable.
63801         (inst_localtime-file): Likewise.
63803 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
63805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
63806         Update.
63807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
63808         Update.
63809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
63810         Update.
63811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
63812         Update.
63813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
63814         Update.
63815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
63816         Update.
63817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
63818         Update.
63819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
63820         Update.
63821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
63822         Update.
63824 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
63826         [BZ #2550]
63827         [BZ #2570]
63828         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
63829         comparisons to determine direction to adjust input.
63830         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
63831         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
63832         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
63833         Likewise.
63834         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
63835         Likewise.
63836         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
63837         Likewise.
63838         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
63839         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
63840         Likewise.
63841         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
63842         Likewise.
63843         * math/libm-test.inc (nexttoward_test): Add more tests.
63845 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
63847         [BZ #14040]
63848         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
63849         in version GLIBC_2.1, not GLIBC_2.0.
63850         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
63851         Likewise.
63853 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
63855         [BZ #13942]
63856         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
63857         (1 - x) * (1 + x).
63858         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
63859         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
63860         * math/libm-test.inc (acos_test): Add more tests.
63861         (asin_test): Likewise.
63862         * sysdeps/i386/fpu/libm-test-ulps: Update.
63863         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63865         [BZ #14034]
63866         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
63867         of square root.
63868         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
63869         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
63870         * math/libm-test.inc (acos_test_tonearest): New function.
63871         (acos_test_towardzero): Likewise.
63872         (acos_test_downward): Likewise.
63873         (acos_test_upward): Likewise.
63874         (asin_test_tonearest): Likewise.
63875         (asin_test_towardzero): Likewise.
63876         (asin_test_downward): Likewise.
63877         (asin_test_upward): Likewise.
63878         (main): Call the new functions.
63879         * sysdeps/i386/fpu/libm-test-ulps: Update.
63880         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63882         [BZ #13884]
63883         [BZ #13924]
63884         * math/e_exp10.c: Include <float.h>.
63885         (__ieee754_exp10): Handle underflow here rather than multiplying
63886         large negative argument by M_LN10.
63887         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
63888         of __ieee754_expf.
63889         * math/e_exp10l.c: Include <float.h>.
63890         (__ieee754_exp10l): Handle underflow here rather than multiplying
63891         large negative argument by M_LN10l.
63892         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
63893         spurious overflow exception on underflow.
63895 2012-04-29  Marek Polacek  <polacek@redhat.com>
63897         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
63898         (__fortify_function): New macro.
63899         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
63900         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
63901         __extern_always_inline.
63902         * libio/bits/stdio2.h: Likewise.
63903         * libio/bits/stdio.h: Likewise.
63904         * string/string.h: Likewise.
63905         * string/bits/string3.h: Likewise.
63906         * include/stdio.h: Likewise.
63907         * stdlib/bits/stdlib.h: Likewise.
63908         * stdlib/stdlib.h: Likewise.
63909         * rt/bits/mqueue2.h: Likewise.
63910         * rt/mqueue.h: Likewise.
63911         * posix/bits/unistd.h: Likewise.
63912         * posix/unistd.h: Likewise.
63913         * io/bits/poll2.h: Likewise.
63914         * io/bits/fcntl2.h: Likewise.
63915         * io/fcntl.h: Likewise.
63916         * io/sys/poll.h: Likewise.
63917         * misc/bits/syslog.h: Likewise.
63918         * misc/bits/syslog-ldbl.h: Likewise.
63919         * misc/sys/syslog.h: Likewise.
63920         * socket/bits/socket2.h: Likewise.
63921         * socket/sys/socket.h: Likewise.
63922         * debug/tst-chk1.c: Likewise.
63923         * wcsmbs/bits/wchar2.h: Likewise.
63924         * wcsmbs/bits/wchar-ldbl.h: Likewise.
63925         * wcsmbs/wchar.h: Likewise.
63927 2012-04-29  Andreas Jaeger  <aj@suse.de>
63929         * Makerules (tests): Remove enable-check-abi protection.
63930         (check-abi-warn): Remove.
63931         (check-abi-%): Remove check-abi-warn usage.
63933         * configure.in: Remove check-abi configure option.
63934         * configure: Regenerated.
63935         * config.make.in (enable-check-abi): Remove.
63937 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
63939         [BZ #14033]
63940         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
63941         double functions to double *_finite functions.
63943         [BZ #13941]
63944         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
63945         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
63946         LDBL_MIN_EXP.
63947         * stdio-common/Makefile (tests): Add tst-sprintf3.
63948         * stdio-common/tst-sprintf3.c: New file.
63950         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
63951         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
63953 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
63955         * conform/conformtest.pl: Remove duplicate typed-constant
63956         handling.
63958 2012-04-28  David S. Miller  <davem@davemloft.net>
63960         * Makerules (%.abilist): Add vpath on sysdep_dirs.
63961         (check-abi-%): Remove AWK script prerequisite and explicit
63962         abilist directory.
63963         (check-abi): Rewrite to just diff the symlist with the abilist.
63964         (config-tls, config-abi-config): Delete, no longer used.
63965         (update-abi-%): Remove AWK script and explicit abilist directory.
63966         (update-abi): Rewrite to simply compare and conditionally copy the
63967         symlist and the sysdep abilist file.  Remove update-abi-config
63968         checks.
63969         * abilist/ld.abilist: Remove.
63970         * abilist/libBrokenLocale.abilist: Remove.
63971         * abilist/libanl.abilist: Remove.
63972         * abilist/libcrypt.abilist: Remove.
63973         * abilist/libdl.abilist: Remove.
63974         * abilist/librt.abilist: Remove.
63975         * abilist/libthread_db.abilist: Remove.
63976         * abilist/libutil.abilist: Remove.
63977         * scripts/extract-abilist.awk: Remove.
63978         * scripts/merge-abilist.awk: Remove.
63979         * sysdeps/generic/libcidn.abilist: New file.
63980         * sysdeps/generic/libnss_compat.abilist: New file.
63981         * sysdeps/generic/libnss_db.abilist: New file.
63982         * sysdeps/generic/libnss_dns.abilist: New file.
63983         * sysdeps/generic/libnss_files.abilist: New file.
63984         * sysdeps/generic/libnss_hesiod.abilist: New file.
63985         * sysdeps/generic/libnss_nis.abilist: New file.
63986         * sysdeps/generic/libnss_nisplus.abilist: New file.
63987         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
63988         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
63989         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
63990         file.
63991         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
63992         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
63993         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
63994         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
63995         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
63996         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
63997         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
63998         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
63999         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
64000         file.
64001         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
64002         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
64003         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
64004         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
64005         file.
64006         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
64007         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
64008         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
64009         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
64010         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
64011         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
64012         file.
64013         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
64014         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
64015         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
64016         file.
64017         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
64018         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
64019         New file.
64020         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
64021         New file.
64022         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
64023         New file.
64024         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
64025         New file.
64026         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
64027         New file.
64028         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
64029         New file.
64030         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
64031         New file.
64032         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
64033         New file.
64034         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
64035         New file.
64036         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
64037         New file.
64038         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
64039         New file.
64040         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
64041         New file.
64042         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
64043         New file.
64044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
64045         file.
64046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
64047         New file.
64048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
64049         New file.
64050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
64051         file.
64052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
64053         New file.
64054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
64055         New file.
64056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
64057         file.
64058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
64059         New file.
64060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
64061         New file.
64062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
64063         New file.
64064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
64065         New file.
64066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
64067         New file.
64068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
64069         New file.
64070         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
64071         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
64072         file.
64073         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
64074         New file.
64075         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
64076         file.
64077         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
64078         file.
64079         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
64080         file.
64081         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
64082         file.
64083         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
64084         file.
64085         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
64086         New file.
64087         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
64088         file.
64089         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
64090         file.
64091         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
64092         New file.
64093         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
64094         file.
64095         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
64096         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
64097         file.
64098         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
64099         New file.
64100         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
64101         file.
64102         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
64103         file.
64104         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
64105         file.
64106         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
64107         file.
64108         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
64109         file.
64110         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
64111         New file.
64112         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
64113         file.
64114         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
64115         file.
64116         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
64117         New file.
64118         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
64119         file.
64120         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
64121         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
64122         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
64123         file.
64124         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
64125         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
64126         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
64127         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
64128         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
64129         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
64130         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
64131         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
64132         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
64133         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
64134         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
64135         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
64136         file.
64137         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
64138         New file.
64139         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
64140         file.
64141         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
64142         file.
64143         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
64144         file.
64145         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
64146         file.
64147         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
64148         file.
64149         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
64150         New file.
64151         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
64152         New file.
64153         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
64154         file.
64155         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
64156         New file.
64157         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
64158         file.
64159         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
64160         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
64161         file.
64162         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
64163         New file.
64164         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
64165         file.
64166         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
64167         file.
64168         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
64169         file.
64170         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
64171         file.
64172         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
64173         file.
64174         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
64175         New file.
64176         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
64177         New file.
64178         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
64179         file.
64180         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
64181         New file.
64182         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
64183         file.
64185 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
64187         * conform/conformtest.pl: Fix typo in handling typed-constant from
64188         allow-header.
64190 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
64192         * README: Cut down references to pre-2.6 Linux kernels and
64193         Linuxthreads.  Update lists of configurations in libc and ports
64194         and sort alphabetically.  Say "or newer" with Linux kernel version
64195         requirements.
64197         * config.h.in [IS_IN_build]: Allow compiling without optimization.
64199 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
64201         [BZ #887]
64202         * math/libm-test.inc (logb_test_downward): New test to expose
64203         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
64204         rounding mode.
64206 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
64208         [BZ #14027]
64209         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
64210         to be done.
64211         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
64212         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
64214 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
64216         * sysdeps/unix/i386/brk.S: Remove file.
64217         * sysdeps/unix/i386/dl-brk.S: Likewise.
64218         * sysdeps/unix/i386/pipe.S: Likewise.
64219         * sysdeps/unix/i386/sigreturn.S: Likewise.
64220         * sysdeps/unix/i386/syscall.S: Likewise.
64221         * sysdeps/unix/i386/vfork.S: Likewise.
64222         * sysdeps/unix/i386/wait.S: Likewise.
64224         * sysdeps/unix/common/tcsendbrk.c: Move to ...
64225         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
64227         * configure.in (arm*-none*): Do not allow without
64228         --enable-hacker-mode.
64229         (netbsd*): Remove case setting base_os.
64230         (386bsd*): Likewise.
64231         (freebsd*): Likewise.
64232         (bsdi*): Likewise.
64233         (osf*): Likewise.
64234         (sunos*): Likewise.
64235         (ultrix*): Likewise.
64236         (newsos*): Likewise.
64237         (dynix*): Likewise.
64238         (*bsd*): Likewise.
64239         (sysv*): Likewise.
64240         (isc*): Likewise.
64241         (esix*): Likewise.
64242         (sco*): Likewise.
64243         (minix*): Likewise.
64244         (irix4*): Likewise.
64245         (irix6*): Likewise.
64246         (solaris[2-9]*): Likewise.
64247         (none): Likewise.
64248         * configure: Regenerated.
64250 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64252         [BZ #11521]
64253         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
64254         overflow or cancellation in calculating denominator.
64255         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
64256         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
64257         down expression to avoid unexpected rounding in newer GCCs.
64258         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
64260 2012-04-26  David S. Miller  <davem@davemloft.net>
64262         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
64263         long-double compat symbols.
64264         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
64265         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
64266         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
64267         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
64268         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
64269         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
64270         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
64271         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
64272         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
64273         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
64274         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
64275         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
64276         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
64278 2012-04-25  David S. Miller  <davem@davemloft.net>
64280         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
64281         HWCAP_* values only after the memory barriers have been defined.
64282         (atomic_full_barrier): Define.
64283         (atomic_read_barrier): Define.
64284         (atomic_write_barrier): Define.
64286 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
64288         * shlib-versions: Add libgcc_s version information.
64289         * sysdeps/generic/libgcc_s.h: Remove.
64290         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
64291         libgcc_s.h.
64292         * sysdeps/gnu/unwind-resume.c: Likewise.
64293         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
64295 2012-04-25  David S. Miller  <davem@davemloft.net>
64297         * sysdeps/unix/sparc/brk.S: Delete.
64298         * sysdeps/unix/sparc/dl-brk.S: Delete.
64299         * sysdeps/unix/sparc/pipe.S: Delete.
64300         * sysdeps/unix/sparc/sysdep.S: Delete.
64301         * sysdeps/unix/sparc/sysdep.h: Delete.
64302         * sysdeps/unix/sparc/vfork.S: Delete.
64303         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
64304         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
64305         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
64306         (ret_ERRVAL, r0, r1, MOVE): Define.
64307         (JUMPTARGET): Remove.
64308         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
64309         sysdeps/unix/sparc/sysdep.h
64310         (ENTRY, END): Remove.
64311         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
64313 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
64315         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
64316         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
64317         -DIS_IN_build.
64319         * timezone/README: Update upstream location and email address for
64320         tzcode and tzdata.
64321         * timezone/zdump.c: Update from tzcode 2012b.
64322         * timezone/zic.c: Likewise.
64324         * configure.in (libc_cv_as_needed): Remove test.
64325         * configure: Regenerated.
64326         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
64327         conditional definition.
64328         [$(have-as-needed) != yes] (no-as-needed): Likewise.
64329         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
64330         * config.make.in (have-as-needed): Remove variable.
64332 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
64333             Paul Pluzhnikov  <ppluzhnikov@google.com>
64335         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
64336         strings correctly.
64338 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
64340         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
64341         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
64342         * sysdeps/sh/strlen.S: Likewise.
64344 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
64346         * sysdeps/unix/fork.S: Remove file.
64347         * sysdeps/unix/i386/fork.S: Likewise.
64348         * sysdeps/unix/sparc/fork.S: Likewise.
64350         * sysdeps/unix/system.c: Remove file.
64351         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
64353         * sysdeps/unix/getegid.S: Remove file.
64354         * sysdeps/unix/geteuid.S: Likewise.
64356 2012-04-24  Roland McGrath  <roland@hack.frob.com>
64358         * scripts/check-localplt.awk: New file.
64359         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
64360         of diff.
64361         * scripts/data/localplt-generic.data: Add a comment.
64363         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
64364         NODE when __dir_mkfile failed.
64365         * sysdeps/mach/hurd/symlinkat.c: Likewise.
64366         Reported by Ludovic Courtès <ludo@gnu.org>.
64368 2012-04-24  Andreas Jaeger  <aj@suse.de>
64370         * Makerules (common-clean): Also remove gen-as-const-headers
64371         files.
64373 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
64375         * Makerules (native-compile): Do not change working directory for
64376         build.  Use $(OUTPUT_OPTION) in command.
64377         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
64379 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64381         [BZ #13886]
64382         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
64383         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
64384         * math/libm-test.inc (floor_test): Add more tests.
64385         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
64387 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
64389         * sysdeps/unix/getdents.c: Remove file.
64390         * sysdeps/unix/sysv/getdents.c: Likewise.
64391         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
64393         * sysdeps/unix/syscalls.list (madvise): Add syscall from
64394         sysdeps/unix/mman/syscalls.list.
64395         (mmap): Likewise.
64396         (mprotect): Likewise.
64397         (msync): Likewise.
64398         (munmap): Likewise.
64399         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
64400         * sysdeps/unix/mman/syscalls.list: Remove.
64401         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
64403         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
64404         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
64405         * configure: Regenerated.
64406         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
64407         $(libgcc_s_suffix).
64408         * config.make.in (libgcc_s_suffix): Remove variable.
64410 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
64412         * sysdeps/unix/sysv/gethostname.c: Move to ...
64413         * sysdeps/posix/gethostname.c: ... here.
64415         * sysdeps/unix/execve.S: Remove file.
64417         * sysdeps/unix/_exit.S: Remove file.
64419 2012-04-23  Andreas Jaeger  <aj@suse.de>
64421         [BZ #13739]
64422         * manual/Makefile: Remove make dist support, there's no
64423         need for a stand-alone documentation tar ball.
64424         (TEXI2DVI): Define always, it's not in Makeconfig.
64425         (dist): Removed.
64426         (tar-it): Removed.
64427         (edition): Removed.
64428         (glibc-doc-$(edition).tar): Removed
64429         (%.Z): Removed.
64430         (%.gz): Removed.
64431         (%.uu): Removed.
64432         (ETAGS): Remove, it's in Makeconfig.
64433         (move-if-change): Remove, it's in Makeconfig.
64435 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
64437         [BZ #13970]
64438         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
64439         (strtod, strtof, strtold, strtol, strtoul, strtoq)
64440         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
64441         (strtod_l, strtof_l, strtold_l): Remove __wur.
64442         It is not necessarily an error to ignore strtol's return value.
64443         One can reliably look at the stored endptr to decide whether
64444         the number had valid syntax.
64446 2012-04-21  Andreas Jaeger  <aj@suse.de>
64448         [BZ #13739]
64449         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
64451 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
64453         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
64454         * sysdeps/unix/sysv/Versions: Remove file.
64456 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
64458         [BZ #13927]
64459         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64461 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
64463         [BZ #7064]
64464         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
64465         version from __vm86.
64467 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
64469         * sysdeps/unix/common/lxstat.c: Remove file.
64470         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
64472         * sysdeps/unix/sysv/Makefile: Remove file.
64474         * sysdeps/unix/sysv/direct.h: Remove file.
64476         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
64477         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
64478         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
64479         * sysdeps/unix/sysv/bits/signum.h: Likewise.
64480         * sysdeps/unix/sysv/bits/stat.h: Likewise.
64481         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
64482         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
64484         * sysdeps/unix/sysv/setrlimit.c: Remove file.
64486         * sysdeps/unix/xmknod.c: Remove file.
64487         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
64489         * sysdeps/unix/sysv/settimeofday.c: Remove file.
64491         * sysdeps/unix/sysv/i386/time.S: Remove file.
64493         * sysdeps/unix/fxstat.c: Remove file.
64494         * sysdeps/unix/xstat.c: Likewise.
64495         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
64497         * sysdeps/unix/sysv/sigaction.c: Remove file.
64499         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
64500         (sysdep_headers): Remove variable.
64501         [termio.h not in sysdep_headers] (generated): Likewise.
64502         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
64503         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
64504         * sysdeps/unix/sysv/tcdrain.c: Likewise.
64505         * sysdeps/unix/sysv/tcflow.c: Likewise.
64506         * sysdeps/unix/sysv/tcflush.c: Likewise.
64507         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
64508         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
64509         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
64510         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
64511         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
64513         * sysdeps/unix/siglist.c: Remove file.
64515         * sysdeps/unix/getppid.S: Remove file.
64517         * sysdeps/unix/mkdir.c: Remove file.
64518         * sysdeps/unix/rmdir.c: Likewise.
64520 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
64522         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
64523         ERR_MAX value.
64524         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
64525         errlist-compat value.
64527 2012-04-18  David S. Miller  <davem@davemloft.net>
64529         * sysdeps/generic/memcopy.h (reg_char): Delete.
64530         * debug/strcat_chk.c: Use char, not reg_char.
64531         * debug/strcpy_chk.c: Likewise.
64532         * debug/strncat_chk.c: Likewise.
64533         * debug/strncpy_chk.c: Likewise.
64534         * string/memchr.c: Likewise.
64535         * string/memrchr.c: Likewise.
64536         * string/rawmemchr.c: Likewise.
64537         * string/strcat.c: Likewise.
64538         * string/strchr.c: Likewise.
64539         * string/strchrnul.c: Likewise.
64540         * string/strcmp.c: Likewise.
64541         * string/strcpy.c: Likewise.
64542         * string/strncat.c: Likewise.
64543         * string/strncmp.c: Likewise.
64544         * string/strncpy.c: Likewise.
64546 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
64548         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
64549         __builtin_memcopy is called when src and dest ranges are known to not
64550         overlap.
64552 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
64554         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
64555         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
64556         fwd_align_merge macro call.
64557         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
64558         bwd_align_merge macro call.
64559         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
64561 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
64563         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
64564         bwd_align_merge macros.
64565         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
64566         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
64567         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
64569 2012-04-18  David S. Miller  <davem@davemloft.net>
64571         * sysdeps/sparc/sparc64/memcopy.h: Delete.
64573 2012-04-18  Andreas Jaeger  <aj@suse.de>
64575         [BZ# 6794]
64576         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
64577         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
64578         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
64580         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
64581         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
64582         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
64584         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
64585         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
64586         Adjust for changed ldbl-128 files.
64588         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
64589         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
64590         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
64592 2012-04-17  David S. Miller  <davem@davemloft.net>
64594         * sysdeps/sparc/sparc32/memcopy.h: Delete.
64596 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
64598         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
64599         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
64600         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
64601         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
64602         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
64603         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
64605 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64607         [BZ #6794]
64608         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
64609         * math/libm-test.inc: Add ilogb errno and exception tests.
64610         * math/w_ilogb.c: New file: ilogb wrapper.
64611         * math/w_ilogbf.c: New file: ilogbf wrapper.
64612         * math/w_ilogbl.c: New file: ilogbl wrapper.
64613         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
64614         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
64615         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
64616         exception being thrown with 0.0 as argument.
64617         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
64618         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
64619         exception being thrown with 0.0 as argument.
64620         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
64621         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
64622         exception being thrown with 0.0 as argument.
64623         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
64624         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
64625         exception being thrown with 0.0 as argument.
64626         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
64627         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
64628         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
64629         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
64630         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
64631         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
64632         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
64633         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
64634         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
64636 2012-04-17  Petr Baudis  <pasky@ucw.cz>
64638         * include/sys/uio.h: Change __vector to __iovec to avoid clash
64639         with altivec.
64641 2012-04-16  Marek Polacek  <polacek@redhat.com>
64643         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
64645 2012-04-16  Marek Polacek  <polacek@redhat.com>
64647         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
64648         operands of fdivp instruction.
64650 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
64652         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
64653         * elf/tst-auditmod3b.c: Likewise.
64654         * elf/tst-auditmod4b.c: Likewise.
64655         * elf/tst-auditmod5b.c: Likewise.
64656         * elf/tst-auditmod6b.c: Likewise.
64657         * elf/tst-auditmod6c.c: Likewise.
64658         * elf/tst-auditmod7b.c: Likewise.
64659         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
64660         * sysdeps/x86_64/preconfigure.in: Likewise.
64661         * sysdeps/x86_64/preconfigure: Regenerated.
64663 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
64665         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
64666         __ILP32__.
64668 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
64670         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
64671         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
64673 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
64675         [BZ #13973]
64676         * locale/iso-639.def: Fix gl language name. Spotted by
64677         Yaron Shahrabani.
64679 2012-04-12  Roland McGrath  <roland@hack.frob.com>
64681         [BZ #2074]
64682         * libio/libio.h (__io_write_fn): Update comment.
64684 2012-04-12  Petr Baudis  <pasky@ucw.cz>
64686         [BZ #2074]
64687         * stdio.texi (Hook Functions): The user provided writer function
64688         is not allowed to return -1.
64690 2012-04-11  David S. Miller  <davem@davemloft.net>
64692         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64694 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
64696         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
64697         Add a leading slash to rtkaio.
64699 2012-04-11  Jim Meyering  <meyering@redhat.com>
64701         [BZ #11959]
64702         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
64703         It is not necessarily an error to ignore fwrite's return
64704         value.  One can reliably use ferror to test for errors after
64705         the fact.
64707 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
64709         * bits/types.h (__snseconds_t): New type.
64710         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
64712         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
64713         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
64714         (__SNSECONDS_T_TYPE): Likewise.
64715         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
64716         (__SNSECONDS_T_TYPE): Likewise.
64717         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
64718         (__SNSECONDS_T_TYPE): Likewise.
64720 2012-04-10  Andreas Jaeger  <aj@suse.de>
64722         [BZ #2636]
64723         * manual/time.texi (Processor Time): Return type of times is
64724         elapsed real time since an arbitrary point in the past.
64725         (CPU Time): Move CLK_TCK from here...
64726         (Processor Time): ...to here.  Correct description.
64727         * manual/conf.texi (Constants for Sysconf): Correct description of
64728         _SC_CLK_TCK.
64730 2012-04-10  David S. Miller  <davem@davemloft.net>
64732         [BZ #13967]
64733         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
64734         where the is a gap between DT_REL(A) and DT_JMPREL.
64736 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
64738         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
64739         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
64740         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
64742 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
64744         * elf/dl-support.c (_dl_inhibit_cache): New variable.
64745         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
64746         (dl_main): Handle --inhibit-cache.
64747         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
64748         _dl_inhibit_cache.
64749         * elf/dl-load.c (_dl_map_object): Use it.
64750         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
64752 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
64754         [BZ #13872]
64755         * sysdeps/i386/fpu/e_powl.S (p78): New object.
64756         (__ieee754_powl): Saturate large exponents rather than testing for
64757         overflow of y*log2(x).
64758         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
64759         * math/libm-test.inc (pow_test): Do not permit spurious overflow
64760         exceptions.
64762         [BZ #11521]
64763         * math/s_ctan.c: Include <float.h>.
64764         (__ctan): Avoid internal overflow or cancellation in calculating
64765         denominator.
64766         * math/s_ctanf.c: Likewise.
64767         * math/s_ctanl.c: Likewise.
64768         * math/s_ctanh.c: Likewise.
64769         * math/s_ctanhf.c: Likewise.
64770         * math/s_ctanhl.c: Likewise.
64771         * math/libm-test.inc (ctan_test): Add more tests.
64772         (ctanh_test): Likewise.
64773         * sysdeps/i386/fpu/libm-test-ulps: Update.
64774         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64776 2012-04-09  Andreas Jaeger  <aj@suse.de>
64778         [BZ #6894]
64779         * manual/filesys.texi (Directory Entries): Mention that d_namlen
64780         is an optional BSD extension.
64782         [BZ #10254]
64783         * manual/stdio.texi (Opening Streams): Document additional fopen
64784         parameters.
64786 2012-04-09  Roland McGrath  <roland@hack.frob.com>
64788         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
64789         %eax without telling the compiler.
64791 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
64793         [BZ # 13963]
64794         * manual/install.texi: Use sourceware.org.
64796 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
64798         [BZ #13873]
64799         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
64800         (__ieee754_pow): Generate overflow and underflow using huge*huge
64801         and tiny*tiny rather than just returning constant infinity or zero
64802         for large exponents.
64803         * math/libm-test.inc (pow_test): Require overflow exceptions for
64804         applicable cases of large exponents.
64806         [BZ #706]
64807         * sysdeps/i386/fpu/e_pow.S (p10): New object.
64808         (__ieee754_pow): Use iterative multiplication algorithm only for
64809         integer exponents with absolute value below 1024.  Check for odd
64810         integer exponents when using algorithm for real exponents.
64811         * math/libm-test.inc (pow_test): Add more tests.
64812         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64814 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
64816         [BZ #13705]
64817         * math/libm-test.inc (exp_test): Do not allow overflow exception
64818         on underflow test.
64820 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
64822         [BZ #13705]
64823         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
64824         instead of __kernel_standard_f.
64826 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
64828         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
64829         * sysdeps/x86_64/memset_chk.S: Likewise.
64831 2012-04-08  Andreas Jaeger  <aj@suse.de>
64833         [BZ #10153]
64834         * manual/startup.texi (Environment Access): Describe return value
64835         for putenv and setenv.
64837         [BZ #6895]
64838         * manual/filesys.texi (Directory Entries): Add description for
64839         DT_LNK.
64841         [BZ #6890]
64842         * manual/filesys.texi (Directory Entries): Clarify that it's file
64843         system not operating system in the description of DT_UNKNOWN.
64845         [BZ #6578]
64846         * manual/syslog.texi (closelog): Fix reference, it's openlog.
64848 2012-04-08  Stephen Compall  <s11@member.fsf.org>
64850         [BZ #6649]
64851         * manual/llio.texi (Opening and Closing Files): Add cross
64852         reference to explain mode argument.
64854 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
64856         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
64857         * sysdeps/x86_64/memset_chk.S: Likewise.
64859 2012-04-07  David S. Miller  <davem@davemloft.net>
64861         * elf/elf.h (R_SPARC_WDISP10): Define.
64862         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
64863         R_SPARC_SIZE32.
64864         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
64865         R_SPARC_SIZE64 and R_SPARC_H34.
64867 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
64869         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
64870         conditions and remove no longer applicable assertion.
64872 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
64874         * bits/byteswap.h: Include <features.h>.
64875         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
64876         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
64878 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
64880         * bits/byteswap.h (__bswap_16): Removed.
64881         Include <bits/byteswap-16.h> to get __bswap_16.
64882         * sysdeps/i386/bits/byteswap.h: Likewise.
64883         * sysdeps/s390/bits/byteswap.h: Likewise.
64884         * sysdeps/x86_64/bits/byteswap.h: Likewise.
64885         * bits/byteswap-16.h: New file.
64886         * sysdeps/i386/bits/byteswap-16.h: Likewise.
64887         * sysdeps/s390/bits/byteswap-16.h: Likewise.
64888         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
64889         * string/Makefile (headers): Add bits/byteswap-16.h.
64891 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
64893         [BZ #13895]
64894         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
64895         extra indirection.
64896         * nss/Makefile (tests-static, tests): Add tst-nss-static.
64897         * nss/tst-nss-static.c: New.
64899 2012-04-06  Robert Millan  <rmh@gnu.org>
64901         [BZ #6486]
64902         * manual/llio.texi (File Position Primitive): lseek
64903         refers to WHENCE when it really means OFFSET.
64905 2012-04-06  Andreas Jaeger  <aj@suse.de>
64907         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
64908         strncmp declarations.
64910         * abilist/libc.abilist: Add __poll and __ppoll.
64912 2012-04-05  David S. Miller  <davem@davemloft.net>
64914         * scripts/check-local-headers.sh: Accept a host triplet in the
64915         path matched by the exclude regexp.
64917         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
64918         definition.
64919         * sysdeps/powerpc/powerpc32/dl-machine.h
64920         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
64921         * sysdeps/s390/s390-32/dl-machine.h
64922         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
64923         * sysdeps/sparc/sparc32/dl-machine.h
64924         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
64925         * sysdeps/sparc/sparc64/dl-machine.h
64926         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
64928         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
64929         lazy binding.
64930         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
64931         undefined symbol errors.
64933         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
64934         DT_NEEDED entries.
64936 2012-04-05  Michael Matz  <matz@suse.de>
64938         [BZ #13592]
64939         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
64941 2012-04-05  Andreas Jaeger  <aj@suse.de>
64943         [BZ #13908]
64944         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
64945         comment.
64947 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
64949         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
64950         which ROUND is no valid rounding mode.
64952 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
64954         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
64955         read again.
64956         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
64958 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
64960         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
64961         an exception using FPU order intentionally.
64963 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
64965         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
64966         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
64967         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
64968         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
64970 2012-04-05  Simon Josefsson  <simon@josefsson.org>
64972         [BZ #12340]
64973         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
64974         EINVAL when BUFLEN is too smal.
64976 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
64978         [BZ #13553]
64979         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
64980         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
64982 2012-04-03  Andreas Jaeger  <aj@suse.de>
64984         [BZ #13938]
64985         * manual/setjmp.texi (System V contexts): Fix sentence.
64987         [BZ #13926]
64988         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
64989         New macro for this case.
64990         [!__GNUC__] (__bswap_64): New inline function for this case.
64991         * sysdeps/x86_64/bits/byteswap.h: Likewise.
64992         * bits/byteswap.h: Likewise.
64993         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
64994         ull, guard with __GLIBC_HAVE_LONG_LONG.
64996         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
64997         __GLIBC_HAVE_LONG_LONG.
64999         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
65000         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
65002 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
65004         [BZ #13691]
65005         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
65006         inptr and inend, rather than using last_ch.
65008 2012-04-02  David S. Miller  <davem@davemloft.net>
65010         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
65011         * stdio-common/printf-parse.h (read_int): Change return type to
65012         'int', return -1 on INT_MAX overflow.
65013         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
65014         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
65015         overflows INT_MAX.  Check for overflow of in-format-string precision
65016         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
65017         SIZE_MAX not INT_MAX for integer overflow test.
65018         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
65019         skip the construct in the format string but do not record anything.
65020         * stdio-common/bug22.c: Adjust to test both width/prevision
65021         INT_MAX overflow as well as total length INT_MAX overflow.  Check
65022         explicitly for proper errno values.
65024 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
65026         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
65027         CHAR_MAX.
65028         * string/test-strcmp.c [! WIDE]: Likewise.
65029         * time/tst-mktime2.c: Likewise for INT_MAX.
65030         * string/test-string.h: #include <sys/param.h> for MIN.
65032         * csu/init-first.c (__libc_init_first): Call __ctype_init.
65033         * sysdeps/i386/init-first.c (init): Likewise.
65034         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
65035         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
65036         * sysdeps/sh/init-first.c (init): Likewise.
65038 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
65040         * po/ru.po: Update from translation team.
65041         * po/vi.po: Likewise.
65043 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
65045         * resolv/nss_dns/dns-host.c: Merge copyright years.
65047 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65049         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
65050         Optimize memcpy with prefetch if
65051         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
65052         src, dst pointers have unequal 16 byte alignments.
65054 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
65056         [BZ #13928]
65057         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
65058         from a CNAME entry and return the minimum ttl for the query.
65059         (gaih_getanswer_slice): Likewise.
65061 2012-03-30  Jeff Law  <law@redhat.com>
65063         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
65064         due to long keys.
65065         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
65066         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
65068         * resolv/nss_dns/dns-host.c: Update copyright year.
65070 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
65072         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
65073         requests to save a system call.  Fix check that all bytes are sent.
65075         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
65076         comments for sendmmsg.
65078 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
65080         [BZ #13691]
65081         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
65082         with only 1 character between 0x0041 and 0x01b0.
65083         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
65084         * wcsmbs/tst-mbsnrtowcs.c: New file.
65086 2012-03-29  David S. Miller  <davem@davemloft.net>
65088         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
65089         small copies by hand.
65091 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
65093         [BZ #13761]
65094         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
65095         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
65096         group memberships.
65098 2012-03-28  David S. Miller  <davem@davemloft.net>
65100         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
65101         that branches into memcpy.
65102         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
65103         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
65104         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
65105         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
65106         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
65107         bits.
65108         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
65109         implementation too.
65110         * sysdeps/sparc/mempcpy.S: New file.
65112         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
65113         the IFUNC routine in the libc case.
65114         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
65116         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
65117         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
65118         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
65119         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
65120         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
65121         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
65122         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
65123         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
65125         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
65126         loop to 256 bytes instead of 64 bytes and fix test signedness.
65128         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
65129         * sysdeps/sparc/sparc32/Makefile: rather than here...
65130         * sysdeps/sparc/sparc64/Makefile: and here.
65132 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
65134         * malloc/mallocbug.c: Avoid warnings about unused variables.
65136 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
65138         [BZ #13760]
65139         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
65140         in the right place. Discard and retry query if response is
65141         larger than input buffer size.
65143 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
65145         [BZ #369]
65146         [BZ #2678]
65147         [BZ #3866]
65148         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
65149         x for large integer exponent.
65150         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
65151         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
65152         sign of result as needed afterwards.
65153         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
65154         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
65155         result for underflowing pow the same as for overflow.
65156         (__kernel_standard_l): Handle powl overflow and underflow here
65157         rather than calling __kernel_standard.
65158         * math/libm-test.inc (pow_test): Add more tests.
65160         [BZ #3868]
65161         [BZ #13879]
65162         [BZ #13910]
65163         [BZ #13911]
65164         [BZ #13912]
65165         [BZ #13913]
65166         [BZ #13915]
65167         [BZ #13916]
65168         [BZ #13917]
65169         [BZ #13918]
65170         [BZ #13919]
65171         [BZ #13920]
65172         [BZ #13921]
65173         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
65174         * sysdeps/ieee754/k_standard.c: Include <float.h>.
65175         (__kernel_standard_l): New function.
65176         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
65177         __kernel_standard.
65178         * math/w_acosl.c (__acosl): Likewise.
65179         * math/w_asinl.c (__asinl): Likewise.
65180         * math/w_atan2l.c (__atan2l): Likewise.
65181         * math/w_atanhl.c (__atanhl): Likewise.
65182         * math/w_coshl.c (__coshl): Likewise.
65183         * math/w_exp10l.c (__exp10l): Likewise.
65184         * math/w_exp2l.c (__exp2l): Likewise.
65185         * math/w_fmodl.c (__fmodl): Likewise.
65186         * math/w_hypotl.c (__hypotl): Likewise.
65187         * math/w_j0l.c (__j0l, __y0l): Likewise.
65188         * math/w_j1l.c (__j1l, __y1l): Likewise.
65189         * math/w_jnl.c (__jnl, __ynl): Likewise.
65190         * math/w_lgammal.c (__lgammal): Likewise.
65191         * math/w_log10l.c (__log10l): Likewise.
65192         * math/w_log2l.c (__log2l): Likewise.
65193         * math/w_logl.c (__logl): Likewise.
65194         * math/w_powl.c (__powl): Likewise.
65195         * math/w_remainderl.c (__remainderl): Likewise.
65196         * math/w_scalbl.c (sysv_scalbl): Likewise.
65197         * math/w_sinhl.c (__sinhl): Likewise.
65198         * math/w_sqrtl.c (__sqrtl): Likewise.
65199         * math/w_tgammal.c (__tgammal): Likewise.
65200         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
65201         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
65202         * math/libm-test.inc (acos_test): Add more tests.
65203         (acosh_test): Likewise.
65204         (asin_test): Likewise.
65205         (atanh_test): Likewise.
65206         (exp_test): Likewise.
65207         (exp10_test): Likewise.
65208         (exp2_test): Likewise.
65209         (expm1_test): Likewise.
65210         (lgamma_test): Likewise.
65211         (log_test): Likewise.
65212         (log10_test): Likewise.
65213         (log1p_test): Likewise.
65214         (log2_test): Likewise.
65215         (pow_test): Do not allow some spurious overflow exceptions.
65216         (sqrt_test): Add more tests.
65217         (tgamma_test): Likewise.
65218         (y0_test): Likewise.
65219         (y1_test): Likewise.
65220         (yn_test): Likewise.
65222 2012-03-27  Anton Blanchard  <anton@samba.org>
65224         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
65225         MAP_HUGETLB.
65226         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
65227         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
65228         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
65230 2012-03-27  David S. Miller  <davem@davemloft.net>
65232         * conform/Makefile: Run run-conformtest.sh using $(BASH).
65234         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
65235         have-as-vis3 check.
65237 2012-03-27  Andreas Jaeger  <aj@suse.de>
65239         * sysdeps/x86_64/elf/configure.in: Moved to ...
65240         * sysdeps/x86_64/configure.in: ... here.
65241         * sysdeps/x86_64/elf/start.S: Moved to ...
65242         * sysdeps/x86_64/start.S: ... here.
65243         * sysdeps/x86_64/elf/configure: Delete.
65245         * sysdeps/x86_64/configure.in: Merge contents from
65246         sysdeps/i386/configure.in (without i686 check).
65248         * sysdeps/i386/elf/Versions: Merge into ...
65249         * sysdeps/i386/Versions: ... this.
65250         * sysdeps/i386/elf/Versions: Delete file.
65251         * sysdeps/i386/elf/start.S: Moved to ...
65252         * sysdeps/i386/start.S: ...here.
65253         * sysdeps/i386/elf/configure.in: Merge into...
65254         * sysdeps/i386/configure.in: ...here.
65255         * sysdeps/i386/elf/configure.in: Delete file.
65256         * sysdeps/i386/elf/configure: Delete file.
65258         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
65259         * debug/backtracesyms.c: ... here.
65260         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
65261         * debug/backtracesymsfd.c: ... here.
65262         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
65263         * sysdeps/generic/ifunc-sel.h: ... here.
65265         * sysdeps/unix/i386/start.c: Delete file.
65266         * sysdeps/unix/sparc/start.c: Delete file.
65267         * sysdeps/unix/start.c: Delete file.
65269         * sysdeps/sh/elf/configure.in: Moved to ...
65270         * sysdeps/sh/configure.in: ... here.
65271         * sysdeps/sh/elf/start.S: Moved to ...
65272         * sysdeps/sh/start.S: ... here.
65273         * sysdeps/sh/elf/configure: Delete file.
65275         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
65276         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
65277         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
65278         * sysdeps/powerpc/powerpc64/entry.h: ... here.
65279         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
65280         * sysdeps/powerpc/powerpc64/start.S: here.
65281         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
65282         * sysdeps/powerpc/powerpc64/Makefile: ... this.
65283         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
65284         * sysdeps/powerpc/powerpc64/configure.in: ... this.
65285         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
65287         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
65288         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
65289         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
65290         * sysdeps/powerpc/powerpc32/start.S: ... here.
65291         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
65292         * sysdeps/powerpc/powerpc32/configure.in: ... this.
65293         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
65295         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
65296         * sysdeps/powerpc/ifunc-sel.h: ... here.
65297         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
65298         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
65300         * sysdeps/sparc/elf/configure.in: Moved to ...
65301         * sysdeps/sparc/configure.in: ... here.
65302         * sysdeps/sparc/elf/configure: Delete file.
65303         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
65304         * sysdeps/sparc/sparc32/start.S: ... here.
65305         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
65306         * sysdeps/sparc/sparc64/start.S: ... here.
65307         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
65308         * sysdeps/sparc/sparc32/Makefile: ... this.
65309         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
65310         * sysdeps/sparc/sparc64/Makefile: ... this.
65312         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
65313         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
65314         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
65315         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
65316         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
65317         * sysdeps/s390/s390-32/setjmp.S: ... here.
65318         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
65319         * sysdeps/s390/s390-32/configure.in: ... here.
65320         * sysdeps/s390/s390-32/elf/configure: Delete file.
65321         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
65322         * sysdeps/s390/s390-32/start.S: ... here.
65324         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
65325         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
65326         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
65327         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
65328         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
65329         * sysdeps/s390/s390-64/setjmp.S: ... here.
65330         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
65331         * sysdeps/s390/s390-64/configure.in: ... here
65332         * sysdeps/s390/s390-64/elf/configure: Delete file.
65333         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
65334         * sysdeps/s390/s390-64/start.S: ... here.
65335         * sysdeps/s390/s390-64/elf/configure: Delete.
65337         * configure.in: Remove support for elf directories in sysdeps.
65339         * configure: Regenerated.
65340         * sysdeps/i386/configure: Regenerated.
65341         * sysdeps/powerpc/powerpc32/configure: Regenerated.
65342         * sysdeps/powerpc/powerpc64/configure: Regenerated.
65343         * sysdeps/s390/s390-32/configure: Regenerated.
65344         * sysdeps/s390/s390-64/configure: Regenerated.
65345         * sysdeps/sh/configure: Regenerated.
65346         * sysdeps/sparc/configure: Regenerated.
65347         * sysdeps/x86_64/configure: Regenerated.
65349 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
65351         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65353         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
65354         denormal result into account.
65356 2012-03-25  Roland McGrath  <roland@hack.frob.com>
65358         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
65359         Reported by Allan McRae <allan@archlinux.org>.
65361 2012-03-23  Jeff Law  <law@redhat.com>
65363         * nss/getnssent.c (__nss_getent): Fix typo.
65365 2012-03-23  David S. Miller  <davem@davemloft.net>
65367         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65369 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
65371         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
65372         to pad to uint64_t for each field.
65373         (dl_tls_index): Replace unsigned long with uint64_t.
65375 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
65376         Paul Pluzhnikov  <ppluzhnikov@google.com>
65378         [BZ #6528]
65379         * grp/Makefile (otherlibs): Don't set it.
65380         * inet/Makefile (otherlibs): Likewise.
65381         * login/Makefile (otherlibs): Likewise.
65382         * nscd/Makefile (otherlibs): Likewise.
65383         * posix/Makefile (otherlibs): Likewise.
65384         * pwd/Makefile (otherlibs): Likewise.
65385         * rt/Makefile (otherlibs): Likewise.
65386         * sunrpc/Makefile (otherlibs): Likewise.
65387         * nss/Makefile (otherlibs): Likewise.
65388         Add libnss_files to routines and static-only-routines.
65389         ($(objpfx)getent): Remove rule.
65390         * resolv/Makefile: Add libnss_dns and libresolv to routines and
65391         static-only-routines.
65393 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
65395         [BZ #13892]
65396         * math/s_cexp.c: Include <float.h>.
65397         (__cexp): Handle exp result overflowing not necessarily
65398         overflowing both real and imaginary parts of result.
65399         * math/s_cexpf.c: Likewise.
65400         * math/s_cexpl.c: Likewise.
65401         * math/libm-test.inc (cexp_test): Add more tests.
65402         * sysdeps/i386/fpu/libm-test-ulps: Update.
65403         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65405 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
65407         * include/link.h (ELFW): New macro.
65408         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
65409         Replace ELF64_R_TYPE with ELFW(R_TYPE).
65411 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
65413         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
65414         with uint64_t.
65416 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
65418         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
65419         declaration.
65420         (struct La_x32_retval): Likewise.
65422 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
65424         * sysdeps/x86_64/preconfigure.in: New file.
65425         * sysdeps/x86_64/preconfigure: New generated file.
65427 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
65429         [BZ #13824]
65430         * math/e_exp2l.c: Include <float.h>.
65431         (__ieee754_exp2l): Handle overflow and underflow cases
65432         separately.  Only pass fractional part of argument to
65433         __ieee754_expl.
65434         * math/libm-test.inc (exp2_test): Add more tests.
65436         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
65437         negating x to take absolute value.
65438         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
65439         Likewise.
65440         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
65441         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
65442         Likewise.
65443         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
65444         computing low part if x was negated.
65445         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
65447 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
65449         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
65450         la_x32_gnu_pltexit.
65451         (pltexit): Cast int_retval to ptrdiff_t.
65452         * elf/tst-auditmod3b.c: Likewise.
65453         * elf/tst-auditmod4b.c: Likewise.
65454         * elf/tst-auditmod5b.c: Likewise.
65455         * elf/tst-auditmod6b.c: Likewise.
65456         * elf/tst-auditmod6c.c: Likewise.
65457         * elf/tst-auditmod7b.c: Likewise.
65459         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
65460         and x32_gnu_pltexit.
65462         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
65463         __ELF_NATIVE_CLASS.
65464         (La_x32_regs): New macro.
65465         (La_x32_retval): Likewise.
65466         (la_x32_gnu_pltenter): New function prototype.
65467         (la_x32_gnu_pltexit): Likewise.
65469 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
65471         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
65472         exponent.
65474         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65476         * configure.in (libc_cv_cc_nofma): Check for option to disable
65477         generation of FMA instructions.
65478         * configure: Regenerate.
65479         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
65480         * sysdeps/ieee754/dbl-64/Makefile: New file.
65481         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
65482         Remove brandred-fma4.
65483         (CFLAGS-brandred-fma4.c): Remove.
65484         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
65485         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
65486         define.
65487         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
65488         define.
65490 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
65492         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
65493         LLONG_MAX != LONG_MAX.
65494         (_itoa_word): Use _ITOA_WORD_TYPE on value.
65495         (_fitoa_word): Likewise.
65496         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
65497         LLONG_MAX != LONG_MAX.
65498         * stdio-common/_itowa.h: Include <_itoa.h>.
65499         (_itowa_word): Use _ITOA_WORD_TYPE on value.
65500         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
65501         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
65502         only if not defined.
65503         (_ITOA_WORD_TYPE): Likewise.
65504         (_itoa_word): Use _ITOA_WORD_TYPE on value.
65505         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
65507 2012-03-21  David S. Miller  <davem@davemloft.net>
65509         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65511 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
65513         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
65514         of x86_64 when setting libc_cv_slibdir, libdir and
65515         libc_cv_localedir.
65516         * sysdeps/unix/sysv/linux/configure: Regenerated.
65518 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
65520         * manual/lang.texi (Old Varargs): Remove section.
65521         (How Variadic): Update menu.
65522         (va_start): Do not mention varargs.h.
65524 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
65525             Joseph Myers  <joseph@codesourcery.com>
65527         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
65528         link test.
65529         * configure: Regenerated.
65531 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
65533         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
65534         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
65535         conformtest.pl
65537 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
65539         * NOTES: Remove.
65540         * Makefile (files-for-dist): Remove NOTES.
65541         (NOTES): Remove rule.
65542         * README: Don't refer to NOTES.
65543         * manual/creature.texi: Don't include macros.texi.
65544         * manual/intro.texi (creature.texi): Remove comment referring to
65545         NOTES.
65547         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
65548         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
65549         * configure: Regenerated.
65550         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
65551         LIBC_TRY_CC_OPTION.
65552         (libc_cv_as_i686): Likewise.
65553         (libc_cv_cc_avx): Likewise.
65554         (libc_cv_cc_sse2avx): Likewise.
65555         (libc_cv_cc_fma4): Likewise.
65556         (libc_cv_cc_novzeroupper): Likewise.
65557         * sysdeps/i386/configure: Regenerated.
65559         [BZ #13883]
65560         * sysdeps/i386/fpu/s_cexp.S: Remove.
65561         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
65562         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
65563         * math/libm-test.inc (cexp_test): Add more tests.
65564         * sysdeps/i386/fpu/libm-test-ulps: Update.
65565         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65567 2012-03-21  Allan McRae  <allan@archlinux.org>
65569         * timezone/Makefile: Do not install iso3166.tab and zone.tab
65571 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
65573         [BZ #13871]
65574         * math/w_exp2.c: Do not include <float.h>.
65575         (o_threshold, u_threshold): Remove.
65576         (__exp2): Calculate result before checking finiteness and calling
65577         __kernel_standard.
65578         * math/w_exp2f.c: Likewise.
65579         * math/w_exp2l.c: Likewise.
65580         * math/libm-test.inc (exp2_test): Require overflow exception for
65581         1e6 input.
65583         [BZ #3866]
65584         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
65585         range of signed 64-bit integers before using fistpll.  Remove
65586         checks for whether integers fit in mantissa bits.
65587         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
65588         the range of signed 32-bit integers before using fistpl.  Remove
65589         checks for whether integers fit in mantissa bits.
65590         * sysdeps/i386/fpu/e_powl.S (p64): New object.
65591         (__ieee754_powl): Test for y outside the range of signed 64-bit
65592         integers before using fistpll.  Reduce 64-bit values to 63-bit
65593         ones as needed.
65594         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
65595         divide-by-zero is raised for zero to large negative powers.
65596         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
65597         (__ieee754_powl): Test for y outside the range of signed 64-bit
65598         integers before using fistpll.  Reduce 64-bit values to 63-bit
65599         ones as needed.
65600         * math/libm-test.inc (pow_test): Add more tests.
65602 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
65604         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
65605         <stdio-common/_itoa.h>.
65606         * debug/segfault.c: Likewise.
65607         * elf/dl-cache.c: Likewise.
65608         * elf/dl-minimal.c: Likewise.
65609         * elf/dl-misc.c: Likewise.
65610         * elf/dl-sysdep.c: Likewise.
65611         * elf/dl-version.c: Likewise.
65612         * elf/rtld.c: Likewise.
65613         * hurd/hurdsock.c: Likewise.
65614         * hurd/lookup-retry.c: Likewise.
65615         * malloc/malloc.c: Likewise.
65616         * malloc/mtrace.c: Likewise.
65617         * nscd/nscd_getgr_r.c: Likewise.
65618         * nscd/nscd_getpw_r.c: Likewise.
65619         * nscd/nscd_getserv_r.c: Likewise.
65620         * posix/getopt_init.c: Likewise.
65621         * posix/wordexp.c: Likewise.
65622         * stdio-common/_itoa.c: Likewise.
65623         * stdio-common/printf_fphex.c: Likewise.
65624         * stdio-common/vfprintf.c: Likewise.
65625         * string/_strerror.c: Likewise.
65626         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
65627         * sysdeps/i386/i686/hp-timing.h: Likewise.
65628         * sysdeps/mach/_strerror.c: Likewise.
65629         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
65630         * sysdeps/mach/hurd/sethostid.c: Likewise.
65631         * sysdeps/mach/hurd/xmknodat.c: Likewise.
65632         * sysdeps/mach/xpg-strerror.c: Likewise.
65633         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
65634         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
65635         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
65636         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
65637         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
65638         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
65639         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
65640         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
65641         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
65642         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
65643         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
65644         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
65645         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
65646         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
65647         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
65648         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
65649         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
65650         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
65651         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
65652         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
65653         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
65655         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
65657         * stdio-common/_itoa.h: Moved to ...
65658         * sysdeps/generic/_itoa.h: Here.
65660         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
65662         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
65663         instead of "_itoa.h" and "_itowa.h".
65664         * stdio-common/vfprintf.: Likewise.
65666 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
65668         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
65669         <bits/wordsize.h>.
65670         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
65671         (__signbit): Likwise.
65672         (llrintf): Likwise.
65673         (llrint): Likwise.
65675 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
65677         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
65678         __WORDSIZE != 64.
65680 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
65682         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
65683         OVERFLOW_EXCEPTION_OK.
65684         * math/libm-test.inc ("Philosophy"): Update comment about
65685         exception testing.
65686         (OVERFLOW_EXCEPTION): Define.
65687         (OVERFLOW_EXCEPTION_OK): Likewise.
65688         (INVALID_EXCEPTION_OK): Renumber.
65689         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
65690         (IGNORE_ZERO_INF_SIGN): Likewise.
65691         (test_exceptions): Handle FE_OVERFLOW.
65692         (exp10_test): Expect overflow exceptions.
65693         (exp2_test): Likewise.
65694         (expm1_test): Likewise.
65695         (nextafter_test): Likewise.
65696         (pow_test): Likewise.
65697         (scalbn_test): Likewise.
65698         (scalbln_test): Likewise.
65700 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
65702         * sysdeps/x86_64/bits/atomic.h
65703         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
65704         64bit integer.
65705         (atomic_exchange_acq): Likewise.
65706         (__arch_exchange_and_add_body): Likewise.
65707         (__arch_add_body): Likewise.
65708         (atomic_add_negative): Likewise.
65709         (atomic_add_zero): Likewise.
65711 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
65713         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
65714         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
65716 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
65718         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
65719         Check __x86_64__ instead of __WORDSIZE.
65721 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
65723         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
65725 2012-03-19  David S. Miller  <davem@davemloft.net>
65727         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65729         * sysdeps/sparc/fpu/fenv_private.h: New file.
65730         * sysdeps/sparc/fpu/math_private.h: Use it.
65731         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
65732         Remove.
65733         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
65734         (libc_feholdexcept_setroundl): Remove.
65735         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
65736         Remove.
65737         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
65738         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
65740 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
65742         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
65743         int64_t instead of long int.
65744         (INSERT_WORDS64): Likwise.
65746 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
65748         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
65749         _Unwind_GetCFA return to _Unwind_Ptr first.
65751 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
65753         [BZ #13629]
65754         * math/s_clog.c: Include <float.h>.
65755         (__clog): Scale large or subnormal inputs.
65756         * math/s_clogf.c: Likewise.
65757         * math/s_clogl.c: Likewise.
65758         * math/s_clog10.c: Include <float.h>.
65759         (M_LOG10_2): Define.
65760         (__clog10): Scale large or subnormal inputs.
65761         * math/s_clog10f.c: Likewise.
65762         * math/s_clog10l.c: Likewise.
65763         * math/libm-test.inc (clog_test): Add more tests.
65764         (clog10_test): Likewise.
65765         * sysdeps/i386/fpu/libm-test-ulps: Update.
65766         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65768         [BZ #11451]
65769         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
65770         x and y.
65771         * math/libm-test.inc (atan2_test): Add another test.
65773         * Makerules (common-objdir-compile): Remove.
65774         * sysdeps/unix/Makefile (config-generated): Do not add
65775         $(unix-generated) to variable.
65776         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
65777         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
65778         Remove rule.
65779         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
65780         Likewise.
65781         [generic bits/local_lim.h] (before-compile): Do not append to
65782         variable.
65783         [generic bits/local_lim.h] (common-generated): Likewise.
65784         [generic sys/param.h] (before-compile): Do not append to variable.
65785         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
65786         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
65787         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
65788         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
65789         include.
65790         [generic sys/param.h] (sys/param.h-includes): Remove variable.
65791         [generic sys/param.h] (sys/param.h-includes): Remove rule.
65792         [generic sys/param.h] ($(addprefix
65793         $(common-objpfx),$(sys/param.h-includes))): Likewise.
65794         [generic sys/param.h] (common-generated): Do not append to
65795         variable.
65796         [generic sys/param.h] (sysdep_headers): Likewise.
65797         [generic bits/errno.h] (before-compile): Do not append to
65798         variable.
65799         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
65800         rule.
65801         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
65802         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
65803         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
65804         [generic bits/errno.h] (common-generated): Do not append to
65805         variable.
65806         [generic bits/ioctls.h] (before-compile): Do not append to
65807         variable.
65808         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
65809         rule.
65810         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
65811         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
65812         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
65813         rule.
65814         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
65815         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
65816         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
65817         [generic bits/ioctls.h] (common-generated): Do not append to
65818         variable.
65819         [generic sys/syscall.h] (syscall.h): Remove variable.
65820         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
65821         rule.
65822         [generic sys/syscall.h] (before-compile): Do not append to
65823         variable.
65824         [generic sys/syscall.h] (common-generated): Likewise.
65825         * sysdeps/unix/errnos-tmpl.c: Remove file.
65826         * sysdeps/unix/errnos.awk: Likewise.
65827         * sysdeps/unix/ioctls-tmpl.c: Likewise.
65828         * sysdeps/unix/ioctls.awk: Likewise.
65829         * sysdeps/unix/mk-local_lim.c: Likewise.
65830         * sysdeps/unix/snarf-ioctls: Likewise.
65832 2012-03-19  Richard Henderson  <rth@twiddle.net>
65834         * sysdeps/i386/fpu/fenv_private.h: New file.
65835         * sysdeps/i386/fpu/math_private.h: Use it.
65836         (math_opt_barrier, math_force_eval): Remove.
65837         (libc_feholdexcept_setround_53bit): Remove.
65838         (libc_feupdateenv_53bit): Remove.
65839         * sysdeps/x86_64/fpu/math_private.h: Likewise.
65840         (math_opt_barrier, math_force_eval): Remove.
65841         (libc_feholdexcept): Remove.
65842         (libc_feholdexcept_setround): Remove.
65843         (libc_fetestexcept, libc_fesetenv): Remove.
65844         (libc_feupdateenv_test): Remove.
65845         (libc_feupdateenv, libc_feholdsetround): Remove.
65846         (libc_feresetround): Remove.
65848         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
65849         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
65851         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
65852         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
65853         (libc_feupdateenv_testl): New.
65854         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
65855         (libc_feupdateenv_testf): New.
65856         (libc_feupdateenv): Use libc_feupdateenv_test.
65857         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
65858         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
65860         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
65861         (libc_feholdsetroundf, libc_feholdsetroundl): New.
65862         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
65863         (libc_feresetround_noex): New.
65864         (libc_feresetround_noexf): New.
65865         (libc_feresetround_noexl): New.
65866         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
65867         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
65868         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
65869         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
65870         SET_RESTORE_ROUND.
65871         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
65872         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
65873         (__cos): Likewise.
65874         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
65875         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
65876         SET_RESTORE_ROUND_NOEX.
65877         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
65878         SET_RESTORE_ROUND_NOEXF.
65879         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
65880         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
65881         (libc_feholdsetroundf): New.
65882         (libc_feresetround, libc_feresetroundf): New.
65884         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
65885         (libc_feholdexcept_setround_53bit): Convert from macro to function.
65886         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
65888         * sysdeps/generic/math_private.h: Include <fenv.h>.
65889         (default_libc_feholdexcept): New.
65890         (default_libc_feholdexcept_setround): New.
65891         (default_libc_fesetenv, default_libc_feupdateenv): New.
65892         (libc_feholdexcept): Only define if undefined.
65893         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
65894         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
65895         (libc_feholdexcept_setroundl): Likewise.
65896         (libc_feholdexcept_setround_53bit): Likewise.
65897         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
65898         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
65899         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
65900         (libc_feupdateenv_53bit): Likewise.
65901         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
65902         (libc_feholdexcept): Convert from macro to inline function.
65903         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
65904         (libc_fesetenv, libc_feupdateenv): Likewise.
65906         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
65907         not previously defined.
65908         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
65909         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
65910         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
65911         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
65912         * sysdeps/ieee754/flt-32/math_private.h: New file.
65913         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
65914         math_private.h below SET_FLOAT_WORD.
65915         (__isnan, __isinf_ns, __finite): Remove.
65916         (__isnanf, __isinf_nsf, __finitef): Remove.
65918 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
65920         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65922 2012-03-17  David S. Miller  <davem@davemloft.net>
65924         [BZ #6471]
65925         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
65926         for 2.16.
65928 2012-03-16  David S. Miller  <davem@davemloft.net>
65930         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
65931         warnings.
65933         [BZ #6471]
65934         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
65935         properly.
65936         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
65937         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
65938         sysdep_routines when subdir is sysvipc.
65939         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
65940         __getshmlba helper.
65942         * sysdeps/sparc/fpu/libm-test/ulps: Update.
65944 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
65946         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
65947         [__LP64__].
65949 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
65951         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
65952         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
65953         (__lround): Renamed to ...
65954         (__llround): This.  Replace long int with long long int.
65955         Define lround functions as aliases of llround functions.
65956         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
65958 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
65960         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
65961         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
65962         adresses to uintptr_t.  Replace "long int" and "unsigned long
65963         int" with "greg_t" on va_arg.
65965 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
65967         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
65968         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
65970         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
65971         Move e_machine check before EI_CLASS check.  Handle x32
65972         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
65973         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
65974         SKIP_EM_IA_64 and include
65975         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
65977         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
65978         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
65979         (add_system_dir): New macro.
65981         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
65982         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
65984 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
65986         [BZ #2551]
65987         [BZ #2552]
65988         [BZ #2553]
65989         [BZ #2554]
65990         [BZ #2562]
65991         [BZ #2563]
65992         [BZ #2565]
65993         [BZ #2566]
65994         [BZ #2576]
65995         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
65996         (y0): Likewise.
65997         * math/w_j0f.c (j0f): Likewise.
65998         (y0f): Likewise.
65999         * math/w_j0l.c (__j0l): Likewise.
66000         (__y0l): Likewise.
66001         * math/w_j1.c (j1): Likewise.
66002         (y1): Likewise.
66003         * math/w_j1f.c (j1f): Likewise.
66004         (y1f): Likewise.
66005         * math/w_j1l.c (__j1l): Likewise.
66006         (__y1l): Likewise.
66007         * math/w_jn.c (jn): Likewise.
66008         (yn): Likewise.
66009         * math/w_jnf.c (jnf): Likewise.
66010         (ynf): Likewise.
66011         * math/w_jnl.c (__jnl): Likewise.
66012         (__ynl): Likewise.
66013         * math/libm-test.inc (j0_test): Add more tests.
66014         (j1_test): Likewise.
66015         (jn_test): Likewise.  Add trailing semicolon to existing test.
66016         (y0_test): Likewise.
66017         (y1_test): Likewise.
66018         * sysdeps/i386/fpu/libm-test-ulps: Update.
66019         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66021         [BZ #13851]
66022         [BZ #13854]
66023         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
66024         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
66025         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
66026         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
66027         (__tanl): Set errno for infinite argument.
66028         * sysdeps/i386/fpu/mptan.c: Remove.
66029         * sysdeps/i386/fpu/s_tan.S: Likewise.
66030         * sysdeps/i386/fpu/s_tanl.S: Likewise.
66031         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
66032         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
66033         * math/libm-test.inc (tan_test): Add more tests and enable more
66034         tests for double and long double.
66035         * sysdeps/i386/fpu/libm-test-ulps: Update.
66036         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66038 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
66040         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
66041         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
66043 2012-03-16  Roland McGrath  <roland@hack.frob.com>
66045         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
66046         * configure.in: Use it for both main tree and add-ons.
66047         * configure: Regenerated.
66049 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
66051         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
66053 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
66055         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
66056         in comment.
66058         [BZ #13851]
66059         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
66060         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
66061         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
66062         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
66063         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
66064         infinite argument.
66065         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
66066         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
66067         != 0 for prec == 2.
66068         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
66069         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
66070         * sysdeps/i386/fpu/s_cosl.S: Likewise.
66071         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
66072         * sysdeps/i386/fpu/s_sinl.S: Likewise.
66073         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
66074         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
66075         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
66076         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
66077         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
66078         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
66079         * math/libm-test.inc (cos_test): Add more tests and enable more
66080         tests for long double.
66081         (sin_test): Likewise.
66082         (sincos_test): Likewise.
66083         * sysdeps/i386/fpu/libm-test-ulps: Update.
66084         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66086 2012-03-16  David S. Miller  <davem@davemloft.net>
66088         * sysdeps/sparc/fpu/math_private.h: New file.
66090 2012-03-15  David S. Miller  <davem@davemloft.net>
66092         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
66093         file.
66094         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
66095         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
66096         file.
66097         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
66098         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
66099         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
66100         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
66101         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
66102         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
66103         sysdep routines.
66104         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
66106         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
66107         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
66109         * sysdeps/sparc/sparc-ifunc.h: New file.
66110         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
66111         sparc-ifunc.h
66112         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
66113         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
66114         Likewise.
66115         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
66116         Likewise.
66117         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
66118         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
66119         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
66120         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
66121         Likewise.
66122         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
66123         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
66124         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
66125         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
66126         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
66127         Likewise.
66128         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
66129         Likewise.
66130         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
66131         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
66132         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
66133         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
66134         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
66135         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
66136         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
66137         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
66138         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
66139         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
66140         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
66141         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
66142         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
66143         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
66144         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
66145         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
66146         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
66147         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
66148         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
66149         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
66150         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
66151         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
66152         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
66153         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
66155 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
66157         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
66158         scaling.
66159         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66161 2012-03-15  Andreas Jaeger  <aj@suse.de>
66163         [BZ #13852]
66164         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
66165         ieee754/flt-32 implementation for sin, cos and sincos.
66166         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
66167         * sysdeps/i386/fpu/s_cosf.S: Likewise.
66168         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
66169         * sysdeps/i386/fpu/s_sinf.S: Likewise.
66170         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
66171         ieee754/flt-32 implementation for tan.
66173         * math/libm-test.inc (cos_test): Enable some large input tests for
66174         float as well
66175         (sin_test): Likewise.
66176         (sincos_test): Likewise.
66177         (tan_test): Add tests for large input.
66179         * sysdeps/i386/fpu/libm-test-ulps: Update.
66181 2012-03-15  Andreas Jaeger  <aj@suse.de>
66183         [BZ #13658]
66184         * math/libm-test.inc (cos_test): Add more test cases.
66185         (sin_test): Likewise.
66186         (sincos_test): Likewise.
66188 2012-03-15  Andreas Jaeger  <aj@suse.de>
66190         [BZ #13837]
66191         * math/libm-test.inc (cos_test): Add a test case for large input
66192         value.
66193         (sin_test): Likewise.
66194         (sincos_test): Likewise.
66196 2012-03-15  Andreas Jaeger  <aj@suse.de>
66197             Joseph Myers  <joseph@codesourcery.com>
66199         [BZ #13658]
66200         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
66201         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
66202         * sysdeps/i386/fpu/branred.c: Likewise.
66203         * sysdeps/i386/fpu/dosincos.c: Likewise.
66204         * sysdeps/i386/fpu/mpa.c: Likewise.
66205         * sysdeps/i386/fpu/s_cos.S: Likewise.
66206         * sysdeps/i386/fpu/s_sin.S: Likewise.
66207         * sysdeps/i386/fpu/s_sincos.S: Likewise.
66208         * sysdeps/i386/fpu/sincos32.c: Likewise.
66210         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
66211         Define.
66212         (libc_feupdateenv_53bit): Define.
66213         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
66214         Define.
66215         (libc_feupdateenv_53bit): Define.
66217         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
66218         53 bit (without extend i386 double precision).
66220         * math/libm-test.inc (sincos_test): Add tests for large input.
66221         (sin): Likewise.
66222         (cos): Likewise.
66224         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
66226 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
66228         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66230 2012-03-15  David S. Miller  <davem@davemloft.net>
66232         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
66233         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
66234         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
66235         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
66236         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
66237         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
66238         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
66239         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
66240         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
66241         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
66242         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
66243         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
66244         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
66245         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
66246         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
66247         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
66248         file.
66249         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
66250         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
66251         file.
66252         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
66253         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
66254         file.
66255         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
66256         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
66257         file.
66258         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
66259         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
66260         fmin/fmax sysdep routines.
66261         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
66263 2012-03-14  David S. Miller  <davem@davemloft.net>
66265         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
66266         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
66267         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
66268         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
66269         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
66270         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
66271         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
66272         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
66273         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
66274         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
66275         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
66276         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
66277         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
66278         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
66279         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
66280         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
66281         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
66282         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
66283         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
66284         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
66285         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
66286         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
66287         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
66288         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
66289         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
66290         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
66291         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
66292         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
66293         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
66294         routines.
66295         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
66296         file.
66297         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
66298         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
66299         file.
66300         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
66301         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
66302         file.
66303         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
66304         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
66305         file.
66306         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
66307         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
66308         file.
66309         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
66310         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
66311         file.
66312         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
66313         file.
66314         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
66315         file.
66316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
66317         file.
66318         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
66319         New file.
66320         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
66321         file.
66322         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
66323         file.
66324         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
66325         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
66326         file.
66327         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
66328         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
66329         file.
66330         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
66331         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
66332         file.
66333         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
66334         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
66335         VIS3 routines.
66337         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
66338         New file.
66340         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66342         * sysdeps/sparc/configure.in: New file.
66343         * sysdeps/sparc/configure: Generate.
66344         * configure.in (libc_cv_sparc_as_vis3): Substitute.
66345         * configure: Regenerate.
66346         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
66347         * config.make.in (have-as-vis3): New.
66348         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
66349         available use -Av9d instead of -Av9a.
66350         * sysdeps/sparc/sparc64/Makefile: Likewise.
66351         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
66352         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
66353         New file.
66354         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
66355         file.
66356         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
66357         New file.
66358         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
66359         file.
66360         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
66361         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
66362         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
66363         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
66364         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
66366         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
66367         fzeros/fnegs to load 0x80000000 into a float register instead of
66368         using the stack.
66369         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
66371 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
66373         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
66374         bits/syscall.h.
66375         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
66376         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
66377         ($(inst_includedir)/bits/syscall.h): Remove rule.
66378         ($(objpfx)bits/syscall.d): Include instead of
66379         $(objpfx)syscall-list.d.
66380         (generated): Change syscall-list.h and syscall-list.d to
66381         bits/syscall.h and bits/syscall.d.
66383 2012-03-14  Roland McGrath  <roland@hack.frob.com>
66385         [BZ #13846]
66386         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
66388 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
66390         [BZ #13841]
66391         * math/s_csqrt.c: Include <float.h>.
66392         (__csqrt): Scale large or subnormal inputs.
66393         * math/s_csqrtf.c: Likewise.
66394         * math/s_csqrtl.c: Likewise.
66395         * math/libm-test.inc (csqrt_test): Add more tests.
66396         * sysdeps/i386/fpu/libm-test-ulps: Update.
66397         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66399         [BZ #13840]
66400         * math/libm-test.inc (hypot_test): Add more tests.
66402 2012-03-13  David S. Miller  <davem@davemloft.net>
66404         [BZ #13840]
66405         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
66406         double-precision for the calculation instead of scaling.
66408 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
66410         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
66411         manipulate bits before adding and subtracting TWO52[sx].
66412         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
66413         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
66414         Likewise.
66415         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
66417 2012-03-13  David S. Miller  <davem@davemloft.net>
66419         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
66420         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
66421         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
66422         rtld-global-offsets.h
66423         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
66425         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
66426         large parameters.
66428         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
66430         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
66431         'err' in the ifdef scope in which it is actually used.
66433         * nss/nss_db/db-init.c: Include string.h
66435 2012-03-12  David S. Miller  <davem@davemloft.net>
66437         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
66438         masking out of the most significant byte of random value used.
66439         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
66440         Fix coding style in previous change.
66442         * sysdeps/unix/sysv/linux/kernel-features.h
66443         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
66444         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
66445         expression.
66446         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
66447         later.
66449 2012-03-11  David S. Miller  <davem@davemloft.net>
66451         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
66452         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
66453         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
66454         for 'resultvar' otherwise things get truncated on 64-bit.
66456         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
66457         Fix masking out of the most significant byte of random value used.
66459         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66461 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
66463         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66465 2012-03-09  David S. Miller  <davem@davemloft.net>
66467         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
66468         variables with appropriate CPP guards.
66469         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
66470         from the frame pointer, not the stack pointer.  Correct layout
66471         comments.  Fix test on resulting framesize and the management of
66472         the outregs buffer for pltexit.  Preserve floating point return
66473         values across _dl_call_pltexit call.
66474         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
66475         framesize and the management of the outregs buffer for pltexit.
66476         Preserve floating point return values across _dl_call_pltexit
66477         call.
66478         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
66479         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
66480         (la_sparc64_gnu_pltexit): New functions.
66481         (print_exit): Fix format string for return register value.
66483 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
66485         * sunrpc/Makefile (others): Add rpcgen.
66486         ($(objpfx)rpcgen): Remove special build rule and dependency on
66487         libc.
66488         * sunrpc/rpcgen.c: New file.
66490 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
66492         [BZ #13673]
66493         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
66494         * stdio-common/bug-vfprintf-nargs.c: Likewise.
66495         * sysdeps/i386/crti.S: Likewise.
66496         * sysdeps/i386/crtn.S: Likewise.
66497         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
66498         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
66499         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
66500         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
66501         * sysdeps/sh/crti.S: Likewise.
66502         * sysdeps/sh/crtn.S: Likewise.
66503         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
66505         [BZ #13673]
66506         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
66507         with URL.
66508         * locale/programs/locfile-kw.gperf: Likewise.
66509         * locale/programs/charmap-kw.h: Regenerated.
66510         * locale/programs/locfile-kw.h: Likewise.
66512         [BZ #13673]
66513         * intl/plural.y: Replace FSF snail mail address with URL.
66514         * intl/plural.c: Regenerated.
66516 2012-03-09  Richard Henderson  <rth@twiddle.net>
66518         * include/math_private.h: Remove file.
66519         * math/math_private.h: Move file ...
66520         * sysdeps/generic/math_private.h: ... here.
66522         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
66523         * sysdeps/powerpc/fpu/math_private.h: Likewise.
66524         * sysdeps/x86_64/fpu/math_private.h: Likewise.
66526         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
66527         and <math_private.h>.
66528         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
66529         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
66530         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
66531         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
66532         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
66533         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
66534         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
66535         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
66536         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
66537         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
66538         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
66539         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
66540         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
66541         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
66542         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
66543         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
66544         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
66545         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
66546         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
66547         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
66548         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
66549         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
66550         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
66551         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
66552         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
66553         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
66554         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
66555         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
66556         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
66557         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
66558         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
66559         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
66560         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
66561         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
66562         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
66563         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
66564         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
66565         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
66566         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
66567         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
66568         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
66569         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
66570         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
66571         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
66572         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
66573         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
66574         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
66575         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
66576         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
66577         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
66578         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
66579         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
66580         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
66581         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
66582         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
66583         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
66584         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
66585         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
66586         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
66587         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
66588         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
66589         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
66590         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
66591         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
66592         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
66593         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
66594         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
66595         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
66596         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
66597         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
66598         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
66599         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
66600         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
66601         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
66602         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
66603         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
66604         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
66605         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
66606         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
66607         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
66608         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
66609         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
66610         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
66611         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
66612         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
66613         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
66614         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
66615         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
66616         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
66617         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
66618         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
66619         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
66620         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
66621         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
66622         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
66623         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
66624         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
66625         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
66626         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
66627         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
66628         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
66629         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
66630         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
66631         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
66632         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
66633         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
66634         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
66635         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
66636         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
66637         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
66638         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
66639         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
66640         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
66641         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
66642         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
66643         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
66644         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
66645         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
66646         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
66647         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
66648         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
66649         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
66650         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
66651         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
66652         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
66653         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
66654         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
66655         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
66656         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
66657         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
66658         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
66659         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
66660         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
66661         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
66662         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
66663         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
66664         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
66665         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
66666         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
66667         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
66668         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
66669         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
66670         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
66671         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
66672         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
66673         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
66674         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
66675         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
66676         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
66677         * sysdeps/ieee754/k_standard.c: Likewise.
66678         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
66679         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
66680         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
66681         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
66682         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
66683         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
66684         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
66685         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
66686         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
66687         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
66688         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
66689         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
66690         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
66691         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
66692         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
66693         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
66694         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
66695         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
66696         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
66697         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
66698         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
66699         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
66700         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
66701         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
66702         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
66703         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
66704         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
66705         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
66706         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
66707         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
66708         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
66709         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
66710         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
66711         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
66712         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
66713         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
66714         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
66715         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
66716         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
66717         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
66718         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
66719         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
66720         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
66721         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
66722         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
66723         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
66724         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
66725         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
66726         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
66727         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
66728         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
66729         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
66730         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
66731         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
66732         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
66733         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
66734         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
66735         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
66736         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
66737         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
66738         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
66739         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
66740         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
66741         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
66742         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
66743         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
66744         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
66745         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
66746         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
66747         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
66748         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
66749         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
66750         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
66751         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
66752         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
66753         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
66754         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
66755         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
66756         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
66757         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
66758         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
66759         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
66760         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
66761         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
66762         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
66763         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
66764         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
66765         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
66766         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
66767         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
66768         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
66769         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
66770         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
66771         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
66772         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
66773         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
66774         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
66775         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
66776         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
66777         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
66778         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
66779         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
66780         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
66781         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
66782         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
66783         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
66784         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
66785         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
66786         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
66787         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
66788         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
66789         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
66790         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
66791         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
66792         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
66793         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
66794         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
66795         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
66796         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
66797         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
66798         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
66799         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
66800         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
66801         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
66802         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
66803         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
66804         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
66805         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
66806         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
66807         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
66808         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
66809         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
66810         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
66811         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
66812         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
66813         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
66814         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
66815         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
66816         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
66817         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
66818         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
66819         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
66820         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
66821         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
66822         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
66823         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
66824         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
66825         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
66826         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
66827         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
66828         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
66829         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
66830         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
66831         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
66832         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
66833         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
66834         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
66835         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
66836         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
66837         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
66838         * sysdeps/ieee754/s_lib_version.c: Likewise.
66839         * sysdeps/ieee754/s_matherr.c: Likewise.
66840         * sysdeps/ieee754/s_signgam.c: Likewise.
66841         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
66842         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
66843         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
66844         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
66845         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
66846         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
66847         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
66848         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
66849         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
66850         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
66851         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
66852         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
66853         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
66854         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
66855         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
66856         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
66857         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
66858         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
66859         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
66860         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
66861         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
66863 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
66865         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
66866         * sunrpc/rpc_main.c: Likewise.
66867         * sunrpc/rpc_svcout.c: Likewise.
66869 2012-03-09  David S. Miller  <davem@davemloft.net>
66871         * include/math_private.h: New file.
66873 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
66875         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
66876         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
66877         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
66878         from <bits/socket_type.h>.
66879         (enum __socket_type): Don't define here.
66880         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
66881         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
66882         bits/socket_type.h.
66884         [BZ #13566]
66885         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
66886         checking __USE_GNU.
66888         * Makerules ($(inst_includedir)/%.h): New rule.
66889         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
66890         (install-others): Remove variable setting.
66891         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
66893 2012-03-08  Richard Henderson  <rth@twiddle.net>
66895         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
66896         from macro to inline function; merge with the
66897         !__LIBC_INTERNAL_MATH_INLINES version.
66898         (__ieee754_sqrtf): Likewise.
66900         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
66901         to inline function.
66902         (__rintf, __floor, __floorf): Likewise.
66904         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
66905         macro to inline function.
66906         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
66908         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
66909         not <math/math_private.h>.
66911 2012-03-08  David S. Miller  <davem@davemloft.net>
66913         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
66914         copyright year.
66915         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
66917 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
66919         * resolv/gai_misc.c (handle_requests): Fix struct timespec
66920         normalization.
66921         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
66922         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
66924 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
66926         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
66927         be defined individually, they must be defined as a block.  Define
66928         S for printing a string instead of hidint the different by using a
66929         macro for adding the 'l'.
66930         * stdio-common/tst-fphex-wide.c: Adjust.
66932 2012-03-07  Marek Polacek  <polacek@redhat.com>
66934         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
66936 2012-03-08  Marek Polacek  <polacek@redhat.com>
66938         [BZ #13806]
66939         * stdio-common/Makefile (tests): Add tst-fphex-wide.
66940         * stdio-common/tst-fphex.c: Define a few macros to make the
66941         test reusable.  Use them.
66942         * stdio-common/tst-fphex-wide.c: New file.
66944 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
66946         [BZ #6911]
66947         * manual/macros.texi (gnusystems): New macro.
66948         (nongnusystems): Likewise.
66949         (gnulinuxhurdsystems): Likewise.
66950         (gnuhurdsystems): Likewise..
66951         (gnulinuxsystems): Likewise.
66952         * manual/charset.texi: Use new macros or @theglibc{} to refer to
66953         variants of the GNU system, not "GNU system".
66954         * manual/conf.texi: Likewise.
66955         * manual/errno.texi: Likewise.  Update example of errno macro
66956         expansion.
66957         * manual/filesys.texi: Likewise.
66958         (getumask): Document as specific to GNU/Hurd.
66959         * manual/install.texi: Likewise.  Reword some references to
66960         GNU/Linux.
66961         * manual/intro.texi: Likewise.
66962         * manual/io.texi: Likewise.
66963         (File Name Portability): Detail which constraints are inapplicable
66964         to all GNU systems and which are only inapplicable to GNU/Hurd.
66965         * manual/job.texi: Likewise.
66966         * manual/llio.texi: Likewise.
66967         (O_NOCTTY): Document as present on GNU/Linux.
66968         * manual/maint.texi: Likewise.
66969         * manual/memory.texi: Likewise.
66970         * manual/pattern.texi: Likewise.
66971         * manual/pipe.texi: Likewise.
66972         * manual/process.texi: Likewise.
66973         * manual/resource.texi: Likewise.
66974         (RUSAGE_CHILDREN): Remove statement about specifying a particular
66975         child on GNU/Hurd.
66976         * manual/setjmp.texi: Likewise.
66977         * manual/signal.texi: Likewise.
66978         * manual/startup.texi: Likewise.
66979         * manual/stdio.texi: Likewise.
66980         * manual/terminal.texi: Likewise.
66981         (ONLCR): Document as POSIX.
66982         (OXTABS): Document availability on GNU/Linux as XTABS.
66983         (ONOEOT): Document availability separately from other bits.
66984         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
66985         * manual/time.texi: Likewise.
66986         * manual/users.texi: Likewise.
66987         * INSTALL: Regenerated.
66988         * sysdeps/gnu/errlist.c: Regenerated.
66990         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
66991         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
66992         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
66993         puts.
66994         * configure: Regenerated.
66996 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
66998         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
66999         default includes instead of AC_HEADER_CHECK.
67000         * sysdeps/i386/configure: Regenerated.
67002         [BZ #10716]
67003         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
67004         * math/s_cacoshf.c (__cacoshf): Likewise.
67005         * math/s_cacoshl.c (__cacoshl): Likewise.
67006         * math/s_casinh.c (__casinh): Set signs of result from argument.
67007         * math/s_casinhf.c (__casinhf): Likewise.
67008         * math/s_casinhl.c (__casinhl): Likewise.
67009         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
67010         (casinh_test): Add more tests.
67011         * sysdeps/i386/fpu/libm-test-ulps: Update.
67012         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67014 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
67016         * po/zh_TW.po: Update from translation team.
67018         * login/Makefile (distribute): Remove variable.
67019         * catgets/Makefile: Likewise.
67020         * mach/Makefile: Likewise.
67021         * malloc/Makefile: Likewise.
67022         * misc/Makefile: Likewise.
67023         * iconv/Makefile: Likewise.
67024         * nscd/Makefile: Likewise.
67025         * hurd/Makefile: Likewise.
67026         * manual/Makefile: Likewise.
67027         * locale/Makefile: Likewise.
67028         * intl/Makefile: Likewise.
67029         * conform/Makefile: Likewise.
67030         * nss/Makefile: Likewise.
67031         * time/Makefile: Likewise.
67032         * soft-fp/Makefile: Likewise.
67033         * dirent/Makefile: Likewise.
67034         * gmon/Makefile: Likewise.
67035         * po/Makefile: Likewise.
67036         * rt/Makefile: Likewise.
67037         * socket/Makefile: Likewise.
67038         * math/Makefile: Likewise.
67039         * signal/Makefile: Likewise.
67040         * debug/Makefile: Likewise.
67041         * elf/Makefile: Likewise.
67042         * timezone/Makefile: Likewise.
67043         * stdlib/Makefile: Likewise.
67044         * iconvdata/Makefile: Likewise.
67045         * sunrpc/Makefile: Likewise.
67046         * io/Makefile: Likewise.
67047         * argp/Makefile: Likewise.
67048         * inet/Makefile: Likewise.
67049         * hesiod/Makefile: Likewise.
67050         * grp/Makefile: Likewise.
67051         * csu/Makefile: Likewise.
67052         * wctype/Makefile: Likewise.
67053         * crypt/Makefile: Likewise.
67054         * libio/Makefile: Likewise.
67055         * string/Makefile: Likewise.
67056         * nis/Makefile: Likewise.
67057         * resolv/Makefile: Likewise.
67058         * stdio-common/Makefile: Likewise.
67059         * wcsmbs/Makefile: Likewise.
67060         * dlfcn/Makefile: Likewise.
67061         * posix/Makefile: Likewise.
67063         [BZ #6959]
67064         * timezone/Makefile: Don't install timezone files, just the programs
67065         and scripts.
67067 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
67069         * nss/databases.def: Add missing gshadow entry.
67071         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
67073 2012-03-06  Marek Polacek  <polacek@redhat.com>
67075         [BZ #13726]
67076         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
67077         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
67078         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
67079         * stdio-common/tst-long-dbl-fphex.c: New file.
67081 2012-03-06  David S. Miller  <davem@davemloft.net>
67083         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
67084         (set_obp_int): New function.
67085         (get_obp_int): New function.
67086         (__get_clockfreq_via_dev_openprom): Likewise.
67087         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
67088         Avoid unused variable warnings on 'val' and use builtin_expect.
67089         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
67090         __builtin_expect.
67091         (INLINE_CLONE_SYSCALL): Likewise.
67093 2012-03-05  David S. Miller  <davem@davemloft.net>
67095         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67097 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
67099         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67101         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
67102         only for |x| >= 40.
67103         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
67105 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
67107         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
67108         Replace gettimeofday with __vdso_gettimeofday.
67110         * sysdeps/unix/sysv/linux/x86_64/init-first.c
67111         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
67112         __vdso_clock_gettime and __vdso_getcpu.
67114         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
67115         time with __vdso_time.
67117 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
67119         * manual/lang.texi (size_t): Note types to which size_t may be
67120         equivalent with the GNU C Library, but do not describe when
67121         differences between them are significant.
67123 2012-03-05  Andreas Jaeger  <aj@suse.de>
67125         * sysdeps/i386/fpu/libm-test-ulps: Update.
67127 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
67129         [BZ #3976]
67130         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
67131         (__ieee754_pow): Save and restore rounding mode and use
67132         round-to-nearest for main computations.
67133         * math/libm-test.inc (pow_test_tonearest): New function.
67134         (pow_test_towardzero): Likewise.
67135         (pow_test_downward): Likewise.
67136         (pow_test_upward): Likewise.
67137         (main): Call the new functions.
67138         * sysdeps/i386/fpu/libm-test-ulps: Update.
67139         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67141         [BZ #3976]
67142         * math/libm-test.inc (cosh_test_tonearest): New function.
67143         (cosh_test_towardzero): Likewise.
67144         (cosh_test_downward): Likewise.
67145         (cosh_test_upward): Likewise.
67146         (sinh_test_tonearest): Likewise.
67147         (sinh_test_towardzero): Likewise.
67148         (sinh_test_downward): Likewise.
67149         (sinh_test_upward): Likewise.
67150         (main): Call the new functions.
67151         * sysdeps/i386/fpu/libm-test-ulps: Update.
67152         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67154 2012-03-05  Tom de Vries  <tom@codesourcery.com>
67156         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
67157         default stack guard is set in last bytes.
67158         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
67160 2012-03-05  Kees Cook  <keescook@chromium.org>
67162         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
67164         [BZ #13656]
67165         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
67166         possibly allocate from heap instead of stack.
67167         * stdio-common/bug-vfprintf-nargs.c: New file.
67168         * stdio-common/Makefile (tests): Add nargs overflow test.
67170 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
67172         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67174 2012-03-03  Marek Polacek  <polacek@redhat.com>
67176         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
67177         * math/math_private.h: Likewise.
67178         * stdlib/tst-strtod.c: Likewise.
67179         * sysdeps/i386/i486/bits/atomic.h: Likewise.
67180         * sysdeps/x86_64/bits/atomic.h: Likewise.
67182 2012-03-02  David S. Miller  <davem@davemloft.net>
67184         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
67185         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
67186         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
67187         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
67188         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
67189         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
67190         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
67191         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
67193 2012-03-02  Roland McGrath  <roland@hack.frob.com>
67195         [BZ #13792]
67196         * manual/examples/README: New file, says the example source files
67197         can be used under GPL>=2.
67198         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
67199         line containing just "*/".
67200         * manual/examples/add.c: Add copyright header (GPL>=2).
67201         * manual/examples/argp-ex1.c: Likewise.
67202         * manual/examples/argp-ex2.c: Likewise.
67203         * manual/examples/argp-ex3.c: Likewise.
67204         * manual/examples/argp-ex4.c: Likewise.
67205         * manual/examples/atexit.c: Likewise.
67206         * manual/examples/db.c: Likewise.
67207         * manual/examples/dir.c: Likewise.
67208         * manual/examples/dir2.c: Likewise.
67209         * manual/examples/execinfo.c: Likewise.
67210         * manual/examples/filecli.c: Likewise.
67211         * manual/examples/filesrv.c: Likewise.
67212         * manual/examples/fmtmsgexpl.c: Likewise.
67213         * manual/examples/genpass.c: Likewise.
67214         * manual/examples/inetcli.c: Likewise.
67215         * manual/examples/inetsrv.c: Likewise.
67216         * manual/examples/isockad.c: Likewise.
67217         * manual/examples/longopt.c: Likewise.
67218         * manual/examples/memopen.c: Likewise.
67219         * manual/examples/memstrm.c: Likewise.
67220         * manual/examples/mkfsock.c: Likewise.
67221         * manual/examples/mkisock.c: Likewise.
67222         * manual/examples/mygetpass.c: Likewise.
67223         * manual/examples/pipe.c: Likewise.
67224         * manual/examples/popen.c: Likewise.
67225         * manual/examples/rprintf.c: Likewise.
67226         * manual/examples/search.c: Likewise.
67227         * manual/examples/select.c: Likewise.
67228         * manual/examples/setjmp.c: Likewise.
67229         * manual/examples/sigh1.c: Likewise.
67230         * manual/examples/sigusr.c: Likewise.
67231         * manual/examples/stpcpy.c: Likewise.
67232         * manual/examples/strdupa.c: Likewise.
67233         * manual/examples/strftim.c: Likewise.
67234         * manual/examples/strncat.c: Likewise.
67235         * manual/examples/subopt.c: Likewise.
67236         * manual/examples/swapcontext.c: Likewise.
67237         * manual/examples/termios.c: Likewise.
67238         * manual/examples/testopt.c: Likewise.
67239         * manual/examples/testpass.c: Likewise.
67240         * manual/examples/timeval_subtract.c: Likewise.
67242         [BZ #13792]
67243         * manual/time.texi (Elapsed Time): Move timeval_subtract example
67244         function to ...
67245         * manual/timeval_subtract.c.texi: ... here, new file.
67247 2012-03-02  David S. Miller  <davem@davemloft.net>
67249         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
67251 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
67253         [BZ #3976]
67254         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
67255         (__sin): Save and restore rounding mode and use round-to-nearest
67256         for all computations.
67257         (__cos): Save and restore rounding mode and use round-to-nearest
67258         for all computations.
67259         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
67260         <fenv.h>.
67261         (tan): Save and restore rounding mode and use round-to-nearest for
67262         all computations.
67263         * math/libm-test.inc (cos_test_tonearest): New function.
67264         (cos_test_towardzero): Likewise.
67265         (cos_test_downward): Likewise.
67266         (cos_test_upward): Likewise.
67267         (sin_test_tonearest): Likewise.
67268         (sin_test_towardzero): Likewise.
67269         (sin_test_downward): Likewise.
67270         (sin_test_upward): Likewise.
67271         (tan_test_tonearest): Likewise.
67272         (tan_test_towardzero): Likewise.
67273         (tan_test_downward): Likewise.
67274         (tan_test_upward): Likewise.
67275         (main): Call the new functions.
67276         * sysdeps/i386/fpu/libm-test-ulps: Update.
67277         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67279         [BZ #10135]
67280         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
67281         small n, then large n, before computing and testing k+n.
67282         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
67283         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
67284         Likewise.
67285         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
67286         Likewise.
67287         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
67288         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
67289         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
67290         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
67291         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
67292         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
67293         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
67294         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
67295         * math/libm-test.inc (scalbn_test): Add more tests.
67296         (scalbln_test): Likewise.
67298         * manual/filesys.texi (mode_t): Describe constraints on size and
67299         signedness, not exact equivalence to a particular type.
67300         (ino_t): Likewise.
67301         (ino64_t): Likewise.
67302         (dev_t): Likewise.
67303         (nlink_t): Likewise.
67304         (blkcnt_t): Likewise.
67305         (blkcnt64_t): Likewise.
67306         * manual/llio.texi (off_t): Likewise.
67308         [BZ #3976]
67309         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
67310         (__ieee754_exp): Save and restore rounding mode and use
67311         round-to-nearest for all computations.
67312         * math/libm-test.inc (exp_test_tonearest): New function.
67313         (exp_test_towardzero): Likewise.
67314         (exp_test_downward): Likewise.
67315         (exp_test_upward): Likewise.
67316         (main): Call the new functions.
67317         * sysdeps/i386/fpu/libm-test-ulps: Update.
67318         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67320 2012-03-01  Chris Demetriou  <cgd@google.com>
67322         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
67323         have predictable order.
67325 2012-03-01  David S. Miller  <davem@davemloft.net>
67327         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
67329         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
67330         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
67331         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
67332         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
67334         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
67335         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
67336         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
67337         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
67338         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
67339         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
67340         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
67341         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
67342         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
67344         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67346         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
67347         * sysdeps/sparc/fpu/libm-test-ulps: to here.
67348         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
67350         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
67351         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
67352         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
67353         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
67354         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
67355         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
67356         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
67357         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
67358         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
67359         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
67360         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
67361         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
67362         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
67363         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
67364         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
67365         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
67366         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
67367         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
67368         * sysdeps/sparc/elf/configure: Regenerated.
67370 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
67372         * configure.in (AS, LD): Require binutils 2.20 or later.
67373         * configure: Regenerated.
67374         * manual/install.texi (Tools for Compilation): Give binutils 2.20
67375         as required minimum version.
67376         * INSTALL: Regenerated.
67378         [BZ #2541]
67379         [BZ #4108]
67380         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
67381         before squaring exponent.
67382         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
67383         bottom long double and 27 bits of top long double before squaring
67384         exponent.
67385         * math/libm-test.inc (erfc_test): Add more tests.
67386         * sysdeps/i386/fpu/libm-test-ulps: Update.
67387         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
67388         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67390 2012-03-01  Kai Tietz  <ktietz@redhat.com>
67392         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
67393         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
67394         containing bit-fields.
67395         * soft-fp/extended.h (_FP_UNION_E): Likewise.
67396         * soft-fp/single.h (_FP_UNION_S): Likewise.
67397         * soft-fp/double.h (_FP_UNION_D): Likewise.
67399 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
67401         [BZ #13786]
67402         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
67403         not include ../strcmp.S.
67404         [USE_AS_STRNCASECMP_L]: Likewise.
67405         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
67406         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
67407         * sysdeps/i386/i686/multiarch/strncase_l-c.c
67408         (__strncasecmp_l_ia32): Define as alias to
67409         __strncasecmp_l_nonascii.
67411         [BZ #5794]
67412         * math/libm-test.inc (expm1_test): Add test for bug 5794.
67413         * sysdeps/i386/fpu/libm-test-ulps: Update.
67414         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67416         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
67417         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67419 2012-02-29  Jeff Law  <law@redhat.com>
67421         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
67422         out of bounds read.
67424 2012-02-29  Marek Polacek  <polacek@redhat.com>
67426         [BZ #13706]
67427         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
67428         * elf/Makefile: Add rules to run tst-unused-dep.out.
67430 2012-02-28  David S. Miller  <davem@davemloft.net>
67432         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
67433         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
67434         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
67435         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
67436         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
67437         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
67439 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
67441         * math/libm-test.inc (llround_test): Move one test from
67442         lround_test.  Use TEST_f_L in moved test.
67443         (lround_test): Move misplaced test to llround_test.  Add testcase
67444         from bug 2561.
67446 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
67448         * sysdeps/x86_64/fpu/e_expf.S: New file.
67449         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
67451 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
67453         [BZ #13637]
67454         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
67455         of remain_len that may cause incomplete multi-byte character and
67456         false match.
67457         * posix/bug-regex33.c: New file.
67458         * posix/Makefile (tests): Add bug-regex33.
67460 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
67462         * manual/macros.texi: New file.
67463         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
67464         * manual/libc.texinfo: Include macros.texi.
67465         * manual/creatute.texi: Likewise.
67466         * manual/install.texi: Likewise.
67467         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
67468         @glibcadj{} in references to the GNU C Library.
67469         * manual/charset.texi: Likewise.
67470         * manual/conf.texi: Likewise.
67471         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
67472         when not using those macros.
67473         * manual/creature.texi: Likewise.
67474         * manual/crypt.texi: Likewise.
67475         * manual/errno.texi: Likewise.
67476         * manual/filesys.texi: Likewise.
67477         * manual/header.texi: Likewise.
67478         * manual/install.texi: Likewise.
67479         * manual/intro.texi: Likewise.
67480         * manual/io.texi: Likewise.
67481         * manual/job.texi: Likewise.
67482         * manual/lang.texi: Likewise.
67483         * manual/libc.texiinfo: Likewise.
67484         * manual/llio.texi: Likewise.
67485         * manual/locale.texi: Likewise.
67486         * manual/maint.texi: Likewise.
67487         * manual/math.texi: Likewise.
67488         * manual/memory.texi: Likewise.
67489         * manual/message.texi: Likewise.
67490         * manual/nss.texi: Likewise.
67491         * manual/pattern.texi: Likewise.
67492         * manual/process.texi: Likewise.
67493         * manual/resource.texi: Likewise.
67494         * manual/search.texi: Likewise.
67495         * manual/setjmp.texi: Likewise.
67496         * manual/signal.texi: Likewise.
67497         * manual/socket.texi: Likewise.
67498         * manual/startup.texi: Likewise.
67499         * manual/stdio.texi: Likewise.
67500         * manual/string.texi: Likewise.
67501         * manual/sysinfo.texi: Likewise.
67502         * manual/syslog.texi: Likewise.
67503         * manual/terminal.texi: Likewise.
67504         * manual/time.texi: Likewise.
67505         * manual/users.texi: Likewise.
67506         * INSTALL: Regenerated.
67507         * NOTES: Regenerated.
67508         * sysdeps/gnu/errlist.c: Regenerated.
67510 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
67512         * include/dirent.h: Include <dirstream.h> before
67513         <dirent/dirent.h>.
67515 2012-02-28  David S. Miller  <davem@davemloft.net>
67517         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
67518         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
67519         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
67520         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
67522 2012-02-27  David S. Miller  <davem@davemloft.net>
67524         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
67525         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
67526         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
67527         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
67529         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
67530         frame pointer instead of stack pointer relative arg slot.
67531         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
67532         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
67533         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
67535 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
67537         [BZ #3992]
67538         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
67540 2012-02-27  David S. Miller  <davem@davemloft.net>
67542         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
67543         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
67544         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
67545         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
67546         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
67547         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
67548         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
67549         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
67551 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
67553         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
67554         later.  Allow versions 5-9.
67555         * configure: Regenerated.
67556         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
67557         required minimum version and 4.6 as recommended version.  Do not
67558         mention bugs in GCC 2.7 and 2.8.
67559         * INSTALL: Regenerated.
67561 2012-02-27  David S. Miller  <davem@davemloft.net>
67563         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
67564         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
67565         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
67566         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
67567         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
67568         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
67569         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
67570         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
67572         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
67573         manipulate bits before adding and subtracting TWO112[sx].
67574         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
67576 2012-02-27  Roland McGrath  <roland@hack.frob.com>
67578         [BZ #13775]
67579         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
67580         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
67581         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
67582         being in POSIX, because they are in 1003.1-2008.
67584         * rt/tst-aio.c: Include <fcntl.h>.
67585         * rt/tst-aio7.c: Likewise.
67586         * rt/tst-aio64.c: Likewise.
67588         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
67590 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
67592         * manual/install.texi (--with-headers): Describe headers as
67593         interface headers, not private headers.
67594         (Specific advice for GNU/Linux systems): Describe use of headers
67595         from "make headers_install", not private headers from older
67596         kernels.
67597         * INSTALL: Regenerated.
67598         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
67599         Change to 2.6.19.
67600         * sysdeps/unix/sysv/linux/configure: Regenerated.
67602         * manual/llio.texi (fclean): Remove documentation.
67604         * manual/Makefile (libc-texi-generated): New variable.  Include
67605         version.texi.
67606         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
67607         $(libc-texi-generated), not duplicated list of files.
67608         (version.texi, stamp-version): New rules.
67609         (realclean): Remove $(libc-texi-generated), not individual files
67610         from that list.  Do not remove dir-add.texinfo.
67611         * manual/libc.texinfo: Comment out uses of edition numbers and
67612         references to printed manual.  Remove last-updated dates.
67613         (EDITION): Comment out.
67614         (ISBN): Likewise.
67615         (VERSION, UPDATED): Remove.
67616         (version.texi): Include.
67618 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
67620         * sysdeps/posix/spawni.c: Include <signal.h>.
67621         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
67622         * sysdeps/pthread/aio_fsync.c: Likewise.
67624 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
67626         * conform/Makefile (tests): Run only when not cross-compiling and
67627         when fast-check is not defined.
67629         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
67630         * conform/data/limits.h-data: Fixes for POSIX2008.
67631         * conform/run-conformtest.sh: Run all tests.
67632         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
67633         headers.
67634         * include/bits/dlfcn.h: Likewise.
67635         * include/langinfo.h: Likewise.
67636         * include/monetary.h: Likewise.
67637         * include/sys/poll.h: Likewise.
67639         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
67640         for __USE_GNU.
67641         * posix/spawn.h: Define __need_sigset_t.
67642         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
67643         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
67644         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
67645         to get sigevent_t only.
67646         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
67647         only for __USE_GNU.
67648         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
67649         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
67650         process_vm_writev only for __USE_GNU.
67651         * termios/termios.h: Declare tcgetsid also for POSIX2008.
67653         * conform/Makefile: For now ignore errors from run-conformtest.
67654         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
67655         POSIX to avoid namespace pollution.  Don't prepend headers.
67656         * conform/data/aio.h-data: Fixes for POSIX testing.
67657         * conform/data/fcntl.h-data: Likewise.
67658         * conform/data/glob.h-data: Likewise.
67659         * conform/data/grp.h-data: Likewise.
67660         * conform/data/pthread.h-data: Likewise.
67661         * conform/data/pwd.h-data: Likewise.
67662         * conform/data/signal.h-data: Likewise.
67663         * conform/data/spawn.h-data: Likewise.
67664         * conform/data/stdio.h-data: Likewise.
67665         * conform/data/stdlib.h-data: Likewise.
67666         * conform/data/stropts.h-data: Likewise.
67667         * conform/data/sys/mman.h-data: Likewise.
67668         * conform/data/sys/stat.h-data: Likewise.
67669         * conform/data/sys/types.h-data: Likewise.
67670         * conform/data/sys/wait.h-data: Likewise.
67671         * conform/data/time.h-data: Likewise.
67672         * conform/data/unistd.h-data: Likewise.
67673         * conform/data/utime.h-data: Likewise.
67675         * io/sys/stat.h: fchmod was always in POSIX.
67676         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
67677         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
67678         * rt/aio.h: Define __need_timespec before including <time.h>.
67679         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
67680         struct.  Add forward declaration of pthread_attr_t and use it in
67681         sigevent.
67682         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
67683         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
67684         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
67685         always remove CLK_TCK definition.
67687 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
67689         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
67691 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
67693         * conform/run-conformtest.sh: New file.
67694         * conform/Makefile: Run run-conformtest for tests.
67695         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
67696         support.
67698         * conform/data/uchar.h-data: New file.
67699         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
67700         * conform/data/arpa/inet.h-data: Likewise.
67701         * conform/data/assert.h-data: Likewise.
67702         * conform/data/complex.h-data: Likewise.
67703         * conform/data/cpio.h-data: Likewise.
67704         * conform/data/ctype.h-data: Likewise.
67705         * conform/data/dirent.h-data: Likewise.
67706         * conform/data/dlfcn.h-data: Likewise.
67707         * conform/data/errno.h-data: Likewise.
67708         * conform/data/fcntl.h-data: Likewise.
67709         * conform/data/float.h-data: Likewise.
67710         * conform/data/fmtmsg.h-data: Likewise.
67711         * conform/data/fnmatch.h-data: Likewise.
67712         * conform/data/ftw.h-data: Likewise.
67713         * conform/data/glob.h-data: Likewise.
67714         * conform/data/grp.h-data: Likewise.
67715         * conform/data/iconv.h-data: Likewise.
67716         * conform/data/inttypes.h-data: Likewise.
67717         * conform/data/langinfo.h-data: Likewise.
67718         * conform/data/libgen.h-data: Likewise.
67719         * conform/data/limits.h-data: Likewise.
67720         * conform/data/locale.h-data: Likewise.
67721         * conform/data/math.h-data: Likewise.
67722         * conform/data/monetary.h-data: Likewise.
67723         * conform/data/mqueue.h-data: Likewise.
67724         * conform/data/ndbm.h-data: Likewise.
67725         * conform/data/net/if.h-data: Likewise.
67726         * conform/data/netdb.h-data: Likewise.
67727         * conform/data/netinet/in.h-data: Likewise.
67728         * conform/data/nl_types.h-data: Likewise.
67729         * conform/data/poll.h-data: Likewise.
67730         * conform/data/pthread.h-data: Likewise.
67731         * conform/data/pwd.h-data: Likewise.
67732         * conform/data/regex.h-data: Likewise.
67733         * conform/data/sched.h-data: Likewise.
67734         * conform/data/search.h-data: Likewise.
67735         * conform/data/semaphore.h-data: Likewise.
67736         * conform/data/setjmp.h-data: Likewise.
67737         * conform/data/signal.h-data: Likewise.
67738         * conform/data/spawn.h-data: Likewise.
67739         * conform/data/stdarg.h-data: Likewise.
67740         * conform/data/stdio.h-data: Likewise.
67741         * conform/data/stdlib.h-data: Likewise.
67742         * conform/data/string.h-data: Likewise.
67743         * conform/data/strings.h-data: Likewise.
67744         * conform/data/stropts.h-data: Likewise.
67745         * conform/data/sys/ipc.h-data: Likewise.
67746         * conform/data/sys/mman.h-data: Likewise.
67747         * conform/data/sys/msg.h-data: Likewise.
67748         * conform/data/sys/resource.h-data: Likewise.
67749         * conform/data/sys/select.h-data: Likewise.
67750         * conform/data/sys/sem.h-data: Likewise.
67751         * conform/data/sys/shm.h-data: Likewise.
67752         * conform/data/sys/socket.h-data: Likewise.
67753         * conform/data/sys/stat.h-data: Likewise.
67754         * conform/data/sys/statvfs.h-data: Likewise.
67755         * conform/data/sys/time.h-data: Likewise.
67756         * conform/data/sys/timeb.h-data: Likewise.
67757         * conform/data/sys/times.h-data: Likewise.
67758         * conform/data/sys/types.h-data: Likewise.
67759         * conform/data/sys/uio.h-data: Likewise.
67760         * conform/data/sys/un.h-data: Likewise.
67761         * conform/data/sys/utsname.h-data: Likewise.
67762         * conform/data/sys/wait.h-data: Likewise.
67763         * conform/data/syslog.h-data: Likewise.
67764         * conform/data/tar.h-data: Likewise.
67765         * conform/data/termios.h-data: Likewise.
67766         * conform/data/utime.h-data: Likewise.
67767         * conform/data/utmpx.h-data: Likewise.
67768         * conform/data/varargs.h-data: Likewise.
67769         * conform/data/wchar.h-data: Likewise.
67770         * conform/data/wctype.h-data: Likewise.
67771         * conform/data/wordexp.h-data: Likewise.
67773         * include/stropts.h: New file.
67774         * include/uchar.h: New file.
67775         * include/aio.h: Changes to allow conformtest.pl to use the headers.
67776         * include/assert.h: Likewise.
67777         * include/ctype.h: Likewise.
67778         * include/dirent.h: Likewise.
67779         * include/dlfcn.h: Likewise.
67780         * include/fcntl.h: Likewise.
67781         * include/fnmatch.h: Likewise.
67782         * include/glob.h: Likewise.
67783         * include/grp.h: Likewise.
67784         * include/libio.h: Likewise.
67785         * include/locale.h: Likewise.
67786         * include/math.h: Likewise.
67787         * include/net/if.h: Likewise.
67788         * include/netdb.h: Likewise.
67789         * include/netinet/in.h: Likewise.
67790         * include/pthread.h: Likewise.
67791         * include/pwd.h: Likewise.
67792         * include/regex.h: Likewise.
67793         * include/sched.h: Likewise.
67794         * include/search.h: Likewise.
67795         * include/setjmp.h: Likewise.
67796         * include/signal.h: Likewise.
67797         * include/stdio.h: Likewise.
67798         * include/stdlib.h: Likewise.
67799         * include/string.h: Likewise.
67800         * include/sys/cdefs.h: Likewise.
67801         * include/sys/mman.h: Likewise.
67802         * include/sys/msg.h: Likewise.
67803         * include/sys/resource.h: Likewise.
67804         * include/sys/select.h: Likewise.
67805         * include/sys/socket.h: Likewise.
67806         * include/sys/stat.h: Likewise.
67807         * include/sys/statvfs.h: Likewise.
67808         * include/sys/time.h: Likewise.
67809         * include/sys/times.h: Likewise.
67810         * include/sys/uio.h: Likewise.
67811         * include/sys/utsname.h: Likewise.
67812         * include/sys/wait.h: Likewise.
67813         * include/termios.h: Likewise.
67814         * include/time.h: Likewise.
67815         * include/ulimit.h: Likewise.
67816         * include/unistd.h: Likewise.
67817         * include/utime.h: Likewise.
67818         * include/wchar.h: Likewise.
67819         * include/wctype.h: Likewise.
67820         * include/wordexp.h: Likewise.
67822         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
67824         * time/time.h: TIME_UTC must be a macro.
67825         Make timespec_get available for ISO C11 only as well.
67827 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
67829         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
67830         Reported by Peng Haitao <penght@cn.fujitsu.com>.
67832 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
67834         * configure.in: Use -o not -a in test for unsupported multi-arch.
67836 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
67838         * manual/texinfo.tex: Update to version 2012-01-19.16.
67840 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
67842         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
67844 2012-02-24  Roland McGrath  <roland@hack.frob.com>
67846         [BZ #13738]
67847         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
67848         * manual/fdl-1.3.texi: New file.
67849         * manual/fdl-1.1.texi: File removed.
67851         [BZ #13738]
67852         * manual/libc.texinfo (FDL_VERSION): New @set.
67853         Use it for mention of FDL in cover text.
67854         (Documentation License): Use it in @include file name.
67856 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
67857             Roland McGrath  <roland@hack.frob.com>
67859         [BZ #5461]
67860         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
67861         (not LONG_LONG_MAX and LONG_LONG_MIN.
67862         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
67863         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
67864         name.
67865         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
67867 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
67869         [BZ #2547]
67870         [BZ #11365]
67871         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
67872         manipulate bits before adding and subtracting TWO23[sx].
67873         * math/libm-test.inc (nearbyint_test): Add more tests.
67875 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
67877         [BZ #2548]
67878         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
67879         bits before adding and subtracting TWO23[sx].
67880         * math/libm-test.inc (rint_test): Add more tests.
67881         (rint_test_tonearest): Likewise.
67882         (rint_test_towardzero): Likewise.
67883         (rint_test_downward): Likewise.
67884         (rint_test_upward: Likewise.
67886 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
67888         [BZ #10110]
67889         * include/stdc-predef.h: New file.  Extracted from features.h.
67890         * include/features.h: Include stdc-predef.h.
67891         * Makefile (headers): Add stdc-predef.h.
67892         * CONFORMANCE (Compiler limitations): Update.
67894 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
67896         * manual/libc.texinfo (VERSION, UPDATED): Revert.
67898 2012-02-21  David S. Miller  <davem@davemloft.net>
67900         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
67901         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
67903 2012-02-20  David S. Miller  <davem@davemloft.net>
67905         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
67906         using a normal save/restore sequence, rather than allocating a
67907         dummy stack frame just to store a frame pointer and restore.
67908         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
67910 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
67912         * manual/install.texi: Fix stray word in line-wrapped comment.
67914 2012-02-20  David S. Miller  <davem@davemloft.net>
67916         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
67917         both binutils and gcc support GOTDATA.
67919         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
67920         "rd %pc" in the PIC register setup sequences.
67922         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
67923         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
67924         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
67925         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
67926         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
67927         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
67928         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
67929         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
67930         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
67931         (SYSCALL_ERROR_HANDLER): Likewise.
67932         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
67933         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
67934         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
67935         (SYSCALL_ERROR_HANDLER): Likewise.
67937         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
67938         (HAVE_GCC_GOTDATA): New.
67939         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
67940         relocation support in both binutils and gcc.
67941         * sysdeps/sparc/elf/configure: Regenerate.
67943         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
67944         * sysdeps/sparc/sparc32/elf/configure: Delete.
67945         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
67946         * sysdeps/sparc/sparc64/elf/configure: Delete.
67947         * sysdeps/sparc/elf/configure.in: New file.
67948         * sysdeps/sparc/elf/configure: Generate.
67950         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
67951         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
67952         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
67953         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
67954         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
67956 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
67958         * manual/install.texi: Do not mention specific glibc version
67959         numbers.
67960         * manual/libc.texinfo (VERSION, UPDATED): Update.
67961         (@copying): Use @copyright{} and range of years.
67963 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
67965         [BZ #13695]
67966         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
67967         [crti.S not in sysdirs] (generated): Do not append.
67968         [crti.S not in sysdirs] (omit-deps): Likewise.
67969         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
67970         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
67971         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
67972         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
67973         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
67974         Likewise.
67975         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
67976         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
67977         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
67978         * csu/defs.awk: Remove file.
67979         * sysdeps/generic/initfini.c: Likewise.
67980         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
67981         variable.
67982         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
67983         Likewise.
67985 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
67987         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
67988         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
67989         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
67990         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
67991         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
67992         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
67993         <bits/epoll.h>.
67994         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
67995         (__EPOLL_PACKED): Define to empty if not defined by
67996         <bits/epoll.h>.
67997         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
67998         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67999         bits/epoll.h.
68001 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
68003         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
68004         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
68005         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
68006         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
68007         <bits/timerfd.h>.
68008         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
68009         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68010         bits/timerfd.h.
68012 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
68014         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
68015         in C locale.
68016         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
68017         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
68018         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
68019         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68021 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
68023         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
68024         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
68026 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
68028         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
68029         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
68030         defined.
68031         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
68032         Likewise.
68033         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
68034         entry for 2.16.
68036 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
68038         * math/w_acos.c: Use non-signaling floating-point comparisons.
68039         * math/w_acosf.c: Likewise.
68040         * math/w_acosh.c: Likewise.
68041         * math/w_acoshf.c: Likewise.
68042         * math/w_acoshl.c: Likewise.
68043         * math/w_acosl.c: Likewise.
68044         * math/w_asin.c: Likewise.
68045         * math/w_asinf.c: Likewise.
68046         * math/w_asinl.c: Likewise.
68047         * math/w_atanh.c: Likewise.
68048         * math/w_atanhf.c: Likewise.
68049         * math/w_atanhl.c: Likewise.
68050         * math/w_exp2.c: Likewise.
68051         * math/w_exp2f.c: Likewise.
68052         * math/w_exp2l.c: Likewise.
68053         * math/w_j0.c: Likewise.
68054         * math/w_j0f.c: Likewise.
68055         * math/w_j0l.c: Likewise.
68056         * math/w_j1.c: Likewise.
68057         * math/w_j1f.c: Likewise.
68058         * math/w_j1l.c: Likewise.
68059         * math/w_jn.c: Likewise.
68060         * math/w_jnf.c: Likewise.
68061         * math/w_log.c: Likewise.
68062         * math/w_log10.c: Likewise.
68063         * math/w_log10f.c: Likewise.
68064         * math/w_log10l.c: Likewise.
68065         * math/w_log2.c: Likewise.
68066         * math/w_log2f.c: Likewise.
68067         * math/w_log2l.c: Likewise.
68068         * math/w_logf.c: Likewise.
68069         * math/w_logl.c: Likewise.
68070         * math/w_sqrt.c: Likewise.
68071         * math/w_sqrtf.c: Likewise.
68072         * math/w_sqrtl.c: Likewise.
68073         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
68074         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
68075         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
68076         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
68077         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
68079 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
68081         [BZ #9739]
68082         * manual/string.texi (strnlen): Use correct parameter name in
68083         equivalent expression.
68085 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
68087         [BZ #11174]
68088         * manual/users.texi (seteuid): Consistently use neweuid for
68089         argument name.
68091 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
68093         [BZ #13704]
68094         * manual/nss.texi (Services in the NSS configuration): Correct
68095         list of services in example configuration file.
68097 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
68099         [BZ #11322]
68100         * manual/arith.texi: Remove statements about negative zero
68101         behaving identically to zero.
68103 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
68105         [BZ #5993]
68106         * manual/install.texi: Do not document upgrading from libc5.
68108 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
68110         [BZ #4596]
68111         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
68113 2012-02-18  David S. Miller  <davem@davemloft.net>
68115         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
68116         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
68117         %o7 across the call.
68118         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
68119         instead.
68120         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
68121         SETUP_PIC_REG_LEAF.
68122         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
68123         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
68124         * sysdeps/sparc/crtn.S: Likewise.
68126 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
68128         * aout/Makefile: Remove.
68130 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
68132         [BZ #13058]
68133         * manual/examples/argp-ex1.c (main): Format definition in GNU
68134         style.
68135         * manual/examples/argp-ex2.c (main): Likewise.
68136         * manual/examples/argp-ex3.c (main): Likewise.
68137         * manual/examples/argp-ex4.c (main): Likewise.
68138         * manual/examples/longopt.c (main): Use new-style prototype
68139         definition.
68140         * manual/examples/strncat.c (main): Specify return type and use
68141         (void) for arguments.
68142         * manual/examples/subopt.c (main): Use char **argv argument.
68144 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
68146         [BZ #5077]
68147         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
68148         rounding modes.
68150 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
68152         [BZ #6907]
68153         * manual/string.texi (strchr): Change when strchrnul is
68154         recommended.
68156 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
68158         [BZ #174]
68159         * manual/locale.texi (setlocale): Document LOCPATH.
68161 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
68163         [BZ #10210]
68164         * manual/process.texi (execle): Move @dots{} before last argument.
68166 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
68168         [BZ #12047]
68169         * manual/charset.texi (Generic Charset Conversion): Fix typo
68170         (LC_TYPE -> LC_CTYPE).
68172 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
68174         [BZ #5805]
68175         * manual/arith.texi (scalbn): Use @var{} on parameter names.
68176         (scalbnf): Likewise.
68177         (scalbnl): Likewise.
68178         (scalbln): Likewise.
68179         (scalblnf): Likewise.
68180         (scalblnl): Likewise.
68181         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
68182         (vwarnx): Likewise.
68183         (verr): Likewise.
68184         (verrx): Likewise.
68185         * manual/filesys.texi (telldir): Use braces around return type.
68186         * manual/llio.texi (mmap): Add space after comma.
68187         (mmap64): Likewise.
68188         * manual/math.texi (jn): Use @var{} on parameter names.
68189         (jnf): Likewise.
68190         (jnl): Likewise.
68191         (yn): Likewise.
68192         (ynf): Likewise.
68193         (ynl): Likewise.
68194         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
68195         line.
68196         * manual/resource.texi (ulimit): Use @dots{} instead of literal
68197         "...".
68198         (sched_get_priority_min): Remove semicolon on @deftypefun line.
68199         (sched_get_priority_max): Likewise.
68200         * manual/signal.texi (sigvec): Add space after comma.
68201         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
68202         names.
68203         (if_indextoname): Likewise.
68204         (if_freenameindex): Likewise.
68205         (sendto): Use ',' instead of '.' in prototype.
68206         * manual/startup.texi (syscall): Use @dots{} instead of literal
68207         "...".
68208         * manual/stdio.texi (__fpending): Separate initial words of
68209         paragraph from @deftypefun line.
68210         * manual/syslog.texi (syslog): Use @dots{} instead of literal
68211         "...".
68212         (vsyslog): Use @var{} on parameter names.
68213         * manual/terminal.texi (stty): Use @var{} on parameter names.
68214         * manual/users.texi (getutmp): Use @var{} on parameter names.
68215         (getutmpx): Likewise.
68217 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
68219         [BZ #6884]
68220         * manual/stdio.texi (fopen): Fix typos in description of
68221         ",ccs=STRING".
68223 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
68225         [BZ #4026]
68226         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
68227         get clock_id definition.
68229 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
68231         [BZ #4822]
68232         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
68233         (madvise): Cast every argument to void on its own.
68235 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
68237         [BZ #9902]
68238         * manual/startup.texi (Exit Status): Fix typo.
68240 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
68242         [BZ #10140]
68243         * manual/examples/argp-ex1.c: Include <stdlib.h>.
68244         * manual/examples/argp-ex2.c: Likewise.
68245         * manual/examples/argp-ex3.c: Likewise.
68247 2012-02-16  Richard Henderson  <rth@redhat.com>
68249         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
68250         * sysdeps/s390/s390-32/initfini.c: Remove.
68251         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
68252         * sysdeps/s390/s390-64/initfini.c: Remove.
68254 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
68256         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
68257         compiler output for sysdeps/generic/initfini.c.
68258         * sysdeps/sh/elf/initfini.c: Remove file.
68260 2012-02-16  David S. Miller  <davem@davemloft.net>
68262         [BZ #11494]
68263         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
68265         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
68266         * sysdeps/sparc/crti.S: New file.
68267         * sysdeps/sparc/crtn.S: New file.
68268         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
68269         * sysdeps/sparc/sparc64/Makefile: Likewise.
68271 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
68273         [BZ #3335]
68274         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
68276 2012-02-15  Roland McGrath  <roland@hack.frob.com>
68278         [BZ #4822]
68279         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
68281         * mach/devstream.c (cookie_io_functions_t): Macro removed.
68282         (write, read, close): Likewise.
68283         Patch by Aurelien Jarno <aurelien@aurel32.net>.
68285 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
68287         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
68288         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
68289         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
68290         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
68291         <bits/signalfd.h>.
68292         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
68293         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68294         bits/signalfd.h.
68296 2012-02-14  Marek Polacek  <polacek@redhat.com>
68298         * sysdeps/x86_64/crti.S: New file.
68299         * sysdeps/x86_64/crtn.S: New file.
68300         * sysdeps/x86_64/elf/initfini.c: Remove file.
68302 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
68304         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
68305         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
68306         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
68307         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
68308         <bits/inotify.h>.
68309         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
68310         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68311         bits/inotify.h.
68313 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
68315         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
68316         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
68317         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
68318         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
68319         <bits/eventfd.h>.
68320         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
68321         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68322         bits/eventfd.h.
68324 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
68326         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
68327         __feraiseexcept instead of feraiseexcept.
68329         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
68330         nanosleep invocations.
68331         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
68332         strings, and add error checking for a nanosleep invocations.
68334 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
68336         Replace FSF snail mail address with URLs, as per GNU coding standards.
68337         Most of the snail mail addresses were wrong anyway, and omitting
68338         them makes the source code easier to maintain.  Almost all of the
68339         changes are to license notices and to locale LC_IDENTIFICATION
68340         addresses, except for this one:
68341         * manual/libc.texinfo: In "Published by", give the FSF's URL,
68342         not its snail mail address.
68344 2012-02-09  Richard Henderson  <rth@twiddle.net>
68346         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
68347         of kernel-features.h.
68349         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
68351 2012-02-08  Marek Polacek  <polacek@redhat.com>
68353         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
68354         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
68355         * sysdeps/gnu/_G_config.h: Likewise.
68356         * sysdeps/generic/_G_config.h: Likewise.
68358 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
68360         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
68361         tests.
68362         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68364         * sysdeps/powerpc/powerpc32/crti.S: New file.
68365         * sysdeps/powerpc/powerpc32/crtn.S: New file.
68366         * sysdeps/powerpc/powerpc64/crti.S: New file.
68367         * sysdeps/powerpc/powerpc64/crtn.S: New file.
68369         * Makeconfig (have-initfini): Don't set.
68370         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
68371         * configure.in (nopic_initfini): Don't substitute.
68372         * config.h.in (HAVE_INITFINI): Don't #undef.
68373         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
68374         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
68376 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
68378         Support crti.S and crtn.S provided directly by architectures.
68379         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
68380         [crti.S in sysdirs] (omit-deps): Likewise.
68381         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
68382         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
68383         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
68384         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
68385         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
68386         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
68387         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
68388         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
68389         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
68390         compiler output for sysdeps/generic/initfini.c.
68391         * sysdeps/i386/elf/Makefile: Remove file.
68392         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
68394 2012-02-07  Marek Polacek  <polacek@redhat.com>
68396         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
68397         * sysdeps/gnu/_G_config.h: Likewise.
68398         * sysdeps/mach/hurd/_G_config.h: Likewise.
68400 2012-02-07  Marek Polacek  <polacek@redhat.com>
68402         * math/Makefile (tests): Add tst-CMPLX2.
68403         * math/tst-CMPLX2.c: New file.
68405 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
68407         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
68409         * math/libm-test.inc (jn_test): Add missing L suffix.
68411 2012-02-06  Marek Polacek  <polacek@redhat.com>
68413         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
68414         * sysdeps/i386/fpu/e_powf.S: Likewise.
68415         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
68416         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
68417         * sysdeps/i386/fpu/e_acosh.S: Likewise.
68418         * sysdeps/i386/fpu/e_pow.S: Likewise.
68419         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
68420         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
68421         * sysdeps/i386/fpu/s_expm1.S: Likewise.
68422         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
68423         * sysdeps/i386/fpu/e_log2.S: Likewise.
68424         * sysdeps/i386/fpu/e_log2l.S: Likewise.
68425         * sysdeps/i386/fpu/e_scalb.S: Likewise.
68426         * sysdeps/i386/fpu/e_powl.S: Likewise.
68427         * sysdeps/i386/fpu/s_log1p.S: Likewise.
68428         * sysdeps/i386/fpu/e_log10f.S: Likewise.
68429         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
68430         * sysdeps/i386/fpu/e_logl.S: Likewise.
68431         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
68432         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
68433         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
68434         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
68435         * sysdeps/i386/fpu/e_log2f.S: Likewise.
68436         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
68437         * sysdeps/i386/fpu/e_log.S: Likewise.
68438         * sysdeps/i386/fpu/s_cexp.S: Likewise.
68439         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
68440         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
68441         * sysdeps/i386/fpu/e_logf.S: Likewise.
68442         * sysdeps/i386/fpu/e_log10l.S: Likewise.
68443         * sysdeps/i386/fpu/e_atanh.S: Likewise.
68444         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
68445         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
68446         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
68447         * sysdeps/i386/fpu/e_log10.S: Likewise.
68448         * sysdeps/i386/fpu/s_frexp.S: Likewise.
68449         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
68450         * sysdeps/i386/fpu/s_asinh.S: Likewise.
68451         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
68452         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
68453         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
68454         * sysdeps/i386/asm-syntax.h: Likewise.
68455         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
68456         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
68457         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
68458         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
68459         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
68460         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
68461         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
68462         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
68463         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
68464         * sysdeps/powerpc/sysdep.h: Likewise.
68465         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
68466         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
68468 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
68470         [BZ #411]
68471         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
68473 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
68475         * sysdeps/i386/sysdep.h: Include <features.h>.
68476         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
68477         version.
68479 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
68481         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
68482         Define.
68483         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
68484         LOAD_PIC_REG_STR.
68486 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
68488         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
68489         (SETUP_PIC_REG): Use GET_PC_THUNK.
68490         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
68491         macro.
68493 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
68495         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
68496         for non-PIC compilation.
68497         (SETUP_PIC_REG): Add .p2align directive.
68498         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
68499         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
68500         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
68501         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
68502         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
68503         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
68504         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
68505         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
68506         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
68507         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
68508         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
68509         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
68510         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
68511         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
68512         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
68513         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
68514         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
68515         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
68516         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
68517         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
68518         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
68519         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
68520         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
68521         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
68522         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
68523         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
68524         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
68525         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
68526         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
68527         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
68528         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
68529         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
68530         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
68531         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
68532         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
68533         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
68534         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
68535         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
68536         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
68537         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
68538         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
68540 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
68542         * math/tst-CMPLX.c: Include <stdio.h>.
68544 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
68546         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
68547         float.
68548         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
68549         * sysdeps/sparc/bits/mathdef.h: Likewise.
68551 2012-01-31  Marek Polacek  <polacek@redhat.com>
68553         * libio/libio.h: Don't define _PARAMS.
68554         * locale/programs/config.h: Don't define PARAMS.
68555         * stdlib/strtol_l.c: Likewise.
68556         (__strtol_l): Remove PARAMS from the prototype.
68558 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
68560         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
68561         names.  Just use the correct names.  Remove unnecessary wrapper
68562         functions.
68563         * malloc/arena.c: Likewise.
68564         * malloc/hooks.c: Likewise.
68566         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
68567         ARENA_TEST says not to.  Simplify test for creation of a new arena.
68568         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
68570 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
68572         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
68573         into tail calls.
68574         (update_get_addr): New function.
68575         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
68576         GET_ADDR_MODULE parameter.
68578 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
68580         * crypt/cert.c: Remove __STDC__ conditionals.
68581         * crypt/crypt-entry.c: Likewise.
68582         * crypt/crypt_util.c: Likewise.
68583         * libio/filedoalloc.c: Likewise.
68584         * libio/fileops.c: Likewise.
68585         * libio/genops.c: Likewise.
68586         * libio/iofclose.c: Likewise.
68587         * libio/iofdopen.c: Likewise.
68588         * libio/iofopen.c: Likewise.
68589         * libio/iofopen64.c: Likewise.
68590         * libio/iogetdelim.c: Likewise.
68591         * libio/iopopen.c: Likewise.
68592         * libio/obprintf.c: Likewise.
68593         * libio/oldfileops.c: Likewise.
68594         * libio/oldiofclose.c: Likewise.
68595         * libio/oldiofdopen.c: Likewise.
68596         * libio/oldiofopen.c: Likewise.
68597         * libio/oldiopopen.c: Likewise.
68598         * libio/wfiledoalloc.c: Likewise.
68599         * libio/wgenops.c: Likewise.
68600         * locale/programs/xmalloc.c: Likewise.
68601         * misc/syslog.c: Likewise.
68602         * stdio-common/xbug.c: Likewise.
68603         * string/memchr.c: Likewise.
68604         * string/memcmp.c: Likewise.
68605         * string/memrchr.c: Likewise.
68606         * string/rawmemchr.c: Likewise.
68607         * sysdeps/posix/getcwd.c: Likewise.
68608         * time/strftime_l.c: Likewise.
68610 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
68612         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
68613         * config.make.in (config-cflags-sse2avx): Define.
68614         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
68615         Fix typo.
68617 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
68619         * scripts/config.guess: Update from upstream config git repository.
68620         * scripts/config.sub: Likewise.
68622 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
68624         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
68625         (EM_NUM): Update.
68626         (R_TILEPRO_*, R_TILEGX_*): New macros.
68628         * scripts/firstversions.awk: Fix bug in version range handling.
68630         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
68632         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
68634         * include/sys/epoll.h: New file.
68635         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
68636         libc_hidden_def.
68638 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
68640         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
68641         Avoid unnecessary __WORDSIZE == 64 test.
68642         (fmaxf): Use VEX format if possible.
68643         (fmax): Likewise.
68644         (fminf): Likewise.
68645         (fmin): Likewise.
68647         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
68648         * math/math_private.h: Remove libc_fegetround* and
68649         libc_fesetround*.
68650         * sysdeps/i386/configure.in: Check for -msse2avx.
68651         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
68652         also if SSE2AVX is defined.
68653         Remove libc_fegetround* and libc_fesetround*.
68654         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
68655         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
68656         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
68657         of HAS_YMM_USABLE.
68658         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
68659         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
68660         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
68661         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
68662         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
68664         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
68666 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68668         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
68669         size is not set.
68670         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
68672 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
68674         [BZ #13618]
68675         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
68676         relocation.
68677         * Makeconfig (libm): Define.
68678         * elf/Makefile: Add rules to build and run tst-relsort1.
68679         * elf/tst-relsort1.c: New file.
68680         * elf/tst-relsort1mod1.c: New file.
68681         * elf/tst-relsort1mod2.c: New file.
68683 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
68685         * math/s_ldexp.c: Remove __STDC__ conditionals.
68686         * math/s_ldexpf.c: Likewise.
68687         * math/s_ldexpl.c: Likewise.
68688         * math/s_nextafter.c: Likewise.
68689         * math/s_nexttowardf.c: Likewise.
68690         * math/s_significand.c: Likewise.
68691         * math/s_significandf.c: Likewise.
68692         * math/s_significandl.c: Likewise.
68693         * math/w_jnl.c: Likewise.
68694         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
68695         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
68696         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
68697         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
68698         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
68699         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
68700         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
68701         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
68702         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
68703         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
68704         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
68705         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
68706         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
68707         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
68708         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
68709         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
68710         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
68711         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
68712         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
68713         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
68714         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
68715         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
68716         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
68717         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
68718         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
68719         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
68720         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
68721         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
68722         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
68723         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
68724         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
68725         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
68726         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
68727         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
68728         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
68729         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
68730         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
68731         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
68732         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
68733         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
68734         * sysdeps/ieee754/k_standard.c: Likewise.
68735         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
68736         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
68737         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
68738         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
68739         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
68740         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
68741         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
68742         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
68743         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
68744         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
68745         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
68746         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
68747         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
68748         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
68749         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
68750         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
68751         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
68752         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
68753         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
68754         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
68755         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
68756         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
68757         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
68758         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
68759         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
68760         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
68761         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
68762         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
68763         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
68764         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
68765         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
68766         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
68767         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
68768         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
68769         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
68770         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
68771         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
68772         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
68773         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
68774         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
68775         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
68776         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
68777         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
68778         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
68779         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
68780         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
68781         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
68782         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
68783         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
68784         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
68785         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
68786         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
68787         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
68788         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
68789         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
68790         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
68791         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
68792         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
68793         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
68794         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
68795         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
68796         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
68797         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
68798         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
68799         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
68800         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
68801         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
68802         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
68803         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
68804         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
68805         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
68806         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
68807         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
68808         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
68809         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
68810         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
68811         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
68812         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
68813         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
68814         * sysdeps/ieee754/s_matherr.c: Likewise.
68815         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
68816         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
68817         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
68818         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
68820 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
68822         * crypt/md5.h: Remove __STDC__ conditionals.
68823         * libio/libioP.h: Likewise.
68824         * locale/programs/config.h: Likewise.
68825         * sysdeps/generic/sysdep.h: Likewise.
68826         * sysdeps/i386/asm-syntax.h: Likewise.
68827         * sysdeps/s390/asm-syntax.h: Likewise.
68828         * sysdeps/unix/sysdep.h: Likewise.
68829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
68830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
68832 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
68834         * libio/libio.h: Remove __STDC__ conditionals.
68835         * malloc/obstack.h: Likewise.
68836         * math/complex.h: Likewise.
68837         * math/math.h: Likewise.
68838         * sysdeps/generic/_G_config.h: Likewise.
68839         * sysdeps/gnu/_G_config.h: Likewise.
68840         * sysdeps/mach/hurd/_G_config.h: Likewise.
68841         * sysdeps/powerpc/bits/mathdef.h: Likewise.
68842         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
68843         * sysdeps/sparc/bits/mathdef.h: Likewise.
68845 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
68847         [BZ #13583]
68848         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
68849         Clean up HAS_* macros.
68850         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
68851         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
68852         possible.
68853         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
68854         HAS_AVX.
68855         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
68856         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
68857         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
68858         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
68859         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
68861 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
68863         * elf/tst-unique3.cc (gets): Remove declaration.
68864         * elf/tst-unique3lib.cc (gets): Likewise.
68865         * elf/tst-unique3lib2.cc (gets): Likewise.
68866         * elf/tst-unique4.cc (gets): Likewise.
68868 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
68870         * include/stdio.h: Add C++ protection.  Add gets declarations and
68871         definitions.
68872         * debug/tst-chk1.c: Don't declare gets here.
68873         * stdio-common/tst-gets.c: Likewise.
68875 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
68877         * posix/glob: Remove directory.
68879 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
68881         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
68883 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
68885         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
68886         of the non-standard EPFNOSUPPORT.
68888 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68890         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
68891         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
68892         ANYWHERE set to 1 only on KERN_NO_SPACE error.
68894 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
68896         * wcsmbs/uchar.h: Test __STDC_VERSION__.
68898 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
68900         * nscd/aicache.c (addhstaiX): Do not cache negative results of
68901         transient errors.
68902         * nscd/grpcache.c (cache_addgr): Likewise.
68903         * nscd/hstcache.c (cache_addhst): Likewise.
68904         * nscd/initgrcache.c (addinitgroupsX): Likewise.
68905         * nscd/pwdcache.c (cache_addpw): Likewise.
68906         * nscd/servicescache.c (cache_addserv): Likewise.
68908 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
68910         * malloc/malloc.c: Various cleanups.
68911         * malloc/hooks.c: Likewise.
68913         * stdlib/Makefile (tests): Add bug-fmtmsg1.
68914         * stdlib/bug-fmtmsg1.c: New file.
68916         * stdlib/fmtmsg.c (init): Add missing unlock.
68917         Patch by Peng Haitao <penght@cn.fujitsu.com>.
68919 2012-01-12  Marek Polacek  <polacek@redhat.com>
68921         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
68922         and _GNU_SOURCE.
68924 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
68926         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
68927         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
68928         macro to ensure uniqueness of label name.
68929         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
68930         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
68932 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
68934         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
68936         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
68937         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
68938         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
68939         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
68941 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
68943         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
68945         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
68946         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
68947         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
68949         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
68951         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
68952         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
68953         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
68954         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
68956         * math/bits/math-finite.h: Add ldexp support.
68958 2012-01-10  Marek Polacek  <polacek@redhat.com>
68960         * locale/programs/localedef.h (show_archive_content): Add noreturn
68961         attribute.
68963 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
68965         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
68967 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
68969         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
68971         * io/Makefile (headers): Add bits/poll2.h.
68973 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
68975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
68976         typo #include statement.
68978 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
68980         * include/sys/cdefs.h: Define __attribute_alloc_size.
68981         * catgets/gencat.c: Add alloc_size attribute and apply consistently
68982         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
68983         * elf/pldd.c: Likewise.
68984         * iconv/iconv_charmap.c: Likewise.
68985         * iconv/iconvconfig.c: Likewise.
68986         * iconv/strtab.c: Likewise.
68987         * locale/programs/locale.c: Likewise.
68988         * locale/programs/localedef.h: Likewise.
68989         * locale/programs/simple-hash.c: Likewise.
68990         * nscd/nscd.h: Likewise.
68991         * nss/makedb.c: Likewise.
68992         * sysdeps/generic/ldconfig.h: Likewise.
68993         * locale/programs/localedef.c: Remove xmalloc prototype.
68994         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
68996 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
68998         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
68999         appropriate.
69001 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
69003         * math/Makefile (tests): Add tst-CMPLX.
69004         * math/tst-CMPLX.c: New file.
69006         * math/complex.h (CMPLXL): Fix typo.
69008         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
69009         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
69010         GLIBC_2.16.
69011         * debug/tst-chk1.c: Add poll and ppoll tests.
69012         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
69013         * include/sys/poll.h: Add hidden proto for ppoll.
69014         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
69015         * sysdeps/mach/hurd/ppoll.c: Likewise.
69016         * io/ppoll.c: Likewise.
69017         * debug/poll_chk.c: New file.
69018         * debug/ppoll_chk.c: New file.
69019         * include/bits/poll2.h: New file.
69020         * io/bits/poll2.h: New file.
69022         [BZ #1350]
69023         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
69025         * configure.in: static is always set to yes.  Remove.
69026         * config.make.in: Don't set build-static.
69027         * Makeconfig: Remove use of build-static.
69028         * dlfcn/Makefile: Likewise.
69029         * elf/Makefile: Likewise.
69030         * math/Makefile: Likewise.
69031         * misc/Makefile: Likewise.
69032         * nptl/Makefile: Likewise.
69033         * sysdeps/mach/hurd/Makefile: Likewise.
69035         * configure.in: PWD_P is not used anymore.
69036         * config.make.in: Remove PWD_P entry.
69038         * configure.in: Remove last remnants of RANLIB.
69039         No need to check for signed size_t anymore.
69040         Don't set libc_commonpagesize and libc_relro_required here for Alpha
69041         and IA-64.
69042         Remove __builtin_expect test because we require at least gcc 3.4.
69043         * aclocal.m4: Likewise.
69045         * wcsmbs/mbrtoc16.c: Implement using towc function.
69046         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
69047         * wcsmbs/wcsmbsload.c: Likewise.
69048         * iconv/gconv_simple.c: Likewise.
69049         * iconv/gconv_int.h: Likewise.
69050         * iconv/gconv_builtin.h: Likewise.
69051         * iconv/iconv_prog.c: Remove CHAR16 handling.
69053         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
69055         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
69057         * configure.in: Remove --with-elf and --enable-bounded options.
69058         Dont set base_machine for ia64.  More non-ELF conditions removed.
69059         Remove testing and setting of leading underscore information.
69060         * config.make.in (build-bounded): Set to no.
69061         * config.h.in: Remove NO_UNDERSCORES entry.
69062         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
69063         them.
69064         * csu/start.c: Remove !NO_UNDERSCORE code.
69065         * locale/localeinfo.h: Likewise.
69066         * sysdeps/generic/machine-gmon.h: Likewise.
69067         * sysdeps/generic/sysdep.h: Likewise.
69068         * sysdeps/i386/sysdep.h: Likewise.
69069         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
69070         * sysdeps/mach/sysdep.h: Likewise.
69071         * sysdeps/s390/s390-32/sysdep.h: Likewise.
69072         * sysdeps/s390/s390-64/sysdep.h: Likewise.
69073         * sysdeps/sh/sysdep.h: Likewise.
69074         * sysdeps/sparc/sparc32/alloca.S: Likewise.
69075         * sysdeps/unix/i386/sysdep.S: Likewise.
69076         * sysdeps/unix/sparc/start.c: Likewise.
69077         * sysdeps/unix/sparc/sysdep.S: Likewise.
69078         * sysdeps/unix/sparc/sysdep.h: Likewise.
69079         * sysdeps/unix/start.c: Likewise.
69080         * sysdeps/unix/x86_64/sysdep.S: Likewise.
69081         * sysdeps/x86_64/sysdep.h: Likewise.
69083 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
69085         [BZ #13553]
69086         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
69087         for non-gcc.
69088         * argp/argp-fmtstream.h: Use const instead __const.
69089         * argp/argp.h: Likewise.
69090         * assert/assert.h: Likewise.
69091         * bits/fenv.h: Likewise.
69092         * bits/sched.h: Likewise.
69093         * bits/sigset.h: Likewise.
69094         * bits/sigthread.h: Likewise.
69095         * catgets/nl_types.h: Likewise.
69096         * conform/data/pthread.h-data: Likewise.
69097         * crypt/crypt-private.h: Likewise.
69098         * crypt/crypt.h: Likewise.
69099         * crypt/crypt_util.c: Likewise.
69100         * ctype/ctype.h: Likewise.
69101         * debug/execinfo.h: Likewise.
69102         * debug/mbsnrtowcs_chk.c: Likewise.
69103         * debug/mbsrtowcs_chk.c: Likewise.
69104         * debug/wcsnrtombs_chk.c: Likewise.
69105         * debug/wcsrtombs_chk.c: Likewise.
69106         * debug/wcstombs_chk.c: Likewise.
69107         * dirent/dirent.h: Likewise.
69108         * dlfcn/dlfcn.h: Likewise.
69109         * elf/neededtest4.c: Likewise.
69110         * grp/grp.h: Likewise.
69111         * gshadow/gshadow.h: Likewise.
69112         * iconv/gconv.h: Likewise.
69113         * iconv/gconv_int.h: Likewise.
69114         * iconv/gconv_simple.c: Likewise.
69115         * iconv/iconv.h: Likewise.
69116         * iconv/loop.c: Likewise.
69117         * iconv/skeleton.c: Likewise.
69118         * include/aio.h: Likewise.
69119         * include/aliases.h: Likewise.
69120         * include/argz.h: Likewise.
69121         * include/arpa/inet.h: Likewise.
69122         * include/assert.h: Likewise.
69123         * include/dirent.h: Likewise.
69124         * include/dlfcn.h: Likewise.
69125         * include/execinfo.h: Likewise.
69126         * include/fcntl.h: Likewise.
69127         * include/fenv.h: Likewise.
69128         * include/glob.h: Likewise.
69129         * include/grp.h: Likewise.
69130         * include/libintl.h: Likewise.
69131         * include/mntent.h: Likewise.
69132         * include/netdb.h: Likewise.
69133         * include/pwd.h: Likewise.
69134         * include/rpc/netdb.h: Likewise.
69135         * include/sched.h: Likewise.
69136         * include/search.h: Likewise.
69137         * include/shadow.h: Likewise.
69138         * include/signal.h: Likewise.
69139         * include/stdio.h: Likewise.
69140         * include/stdlib.h: Likewise.
69141         * include/string.h: Likewise.
69142         * include/sys/socket.h: Likewise.
69143         * include/sys/stat.h: Likewise.
69144         * include/sys/statfs.h: Likewise.
69145         * include/sys/statvfs.h: Likewise.
69146         * include/sys/syslog.h: Likewise.
69147         * include/sys/time.h: Likewise.
69148         * include/sys/uio.h: Likewise.
69149         * include/time.h: Likewise.
69150         * include/unistd.h: Likewise.
69151         * include/utmp.h: Likewise.
69152         * include/wchar.h: Likewise.
69153         * include/wctype.h: Likewise.
69154         * inet/aliases.h: Likewise.
69155         * inet/arpa/inet.h: Likewise.
69156         * inet/netinet/ether.h: Likewise.
69157         * inet/netinet/in.h: Likewise.
69158         * intl/libintl.h: Likewise.
69159         * io/bits/fcntl2.h: Likewise.
69160         * io/fcntl.h: Likewise.
69161         * io/ftw.h: Likewise.
69162         * io/sys/poll.h: Likewise.
69163         * io/sys/stat.h: Likewise.
69164         * io/sys/statfs.h: Likewise.
69165         * io/sys/statvfs.h: Likewise.
69166         * io/utime.h: Likewise.
69167         * libio/bits/stdio.h: Likewise.
69168         * libio/bits/stdio2.h: Likewise.
69169         * libio/libio.h: Likewise.
69170         * libio/libioP.h: Likewise.
69171         * libio/stdio.h: Likewise.
69172         * locale/lc-ctype.c: Likewise.
69173         * locale/locale.h: Likewise.
69174         * login/utmp.h: Likewise.
69175         * malloc/arena.c: Likewise.
69176         * malloc/malloc.c: Likewise.
69177         * malloc/malloc.h: Likewise.
69178         * malloc/mcheck.c: Likewise.
69179         * malloc/mtrace.c: Likewise.
69180         * math/bits/mathcalls.h: Likewise.
69181         * math/fenv.h: Likewise.
69182         * math/math_private.h: Likewise.
69183         * misc/bits/error.h: Likewise.
69184         * misc/bits/syslog.h: Likewise.
69185         * misc/err.h: Likewise.
69186         * misc/error.h: Likewise.
69187         * misc/fstab.h: Likewise.
69188         * misc/mntent.h: Likewise.
69189         * misc/regexp.h: Likewise.
69190         * misc/search.h: Likewise.
69191         * misc/sgtty.h: Likewise.
69192         * misc/sys/mman.h: Likewise.
69193         * misc/sys/syslog.h: Likewise.
69194         * misc/sys/uio.h: Likewise.
69195         * misc/sys/xattr.h: Likewise.
69196         * misc/ttyent.h: Likewise.
69197         * nis/rpcsvc/ypclnt.h: Likewise.
69198         * nss/nss.h: Likewise.
69199         * posix/bits/unistd.h: Likewise.
69200         * posix/fnmatch.h: Likewise.
69201         * posix/glob.h: Likewise.
69202         * posix/sched.h: Likewise.
69203         * posix/spawn.h: Likewise.
69204         * posix/sys/wait.h: Likewise.
69205         * posix/unistd.h: Likewise.
69206         * posix/wordexp.h: Likewise.
69207         * pwd/pwd.h: Likewise.
69208         * resolv/netdb.h: Likewise.
69209         * resource/sys/resource.h: Likewise.
69210         * rt/aio.h: Likewise.
69211         * rt/bits/mqueue2.h: Likewise.
69212         * rt/mqueue.h: Likewise.
69213         * shadow/shadow.h: Likewise.
69214         * signal/signal.h: Likewise.
69215         * socket/send.c: Likewise.
69216         * socket/sendto.c: Likewise.
69217         * socket/sys/socket.h: Likewise.
69218         * stdio-common/printf.h: Likewise.
69219         * stdlib/bits/stdlib.h: Likewise.
69220         * stdlib/fmtmsg.h: Likewise.
69221         * stdlib/monetary.h: Likewise.
69222         * stdlib/stdlib.h: Likewise.
69223         * stdlib/ucontext.h: Likewise.
69224         * streams/stropts.h: Likewise.
69225         * string/argz.h: Likewise.
69226         * string/bits/string2.h: Likewise.
69227         * string/string.h: Likewise.
69228         * string/strings.h: Likewise.
69229         * sunrpc/rpc/auth.h: Likewise.
69230         * sunrpc/rpc/auth_des.h: Likewise.
69231         * sunrpc/rpc/clnt.h: Likewise.
69232         * sunrpc/rpc/netdb.h: Likewise.
69233         * sunrpc/rpc/pmap_clnt.h: Likewise.
69234         * sunrpc/rpc/xdr.h: Likewise.
69235         * sysdeps/generic/inttypes.h: Likewise.
69236         * sysdeps/generic/net/if.h: Likewise.
69237         * sysdeps/generic/sys/swap.h: Likewise.
69238         * sysdeps/gnu/net/if.h: Likewise.
69239         * sysdeps/gnu/utmpx.h: Likewise.
69240         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
69241         * sysdeps/i386/i486/bits/string.h: Likewise.
69242         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
69243         * sysdeps/s390/bits/string.h: Likewise.
69244         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
69245         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
69246         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
69247         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
69248         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
69249         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
69250         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
69251         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
69252         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
69253         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
69254         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
69255         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
69256         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
69257         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
69258         * sysdeps/unix/sysv/linux/readv.c: Likewise.
69259         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
69260         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
69261         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
69262         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
69263         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
69264         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
69265         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
69266         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
69267         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
69268         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
69269         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
69270         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
69271         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
69272         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
69273         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
69274         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
69275         * sysvipc/sys/ipc.h: Likewise.
69276         * sysvipc/sys/msg.h: Likewise.
69277         * sysvipc/sys/sem.h: Likewise.
69278         * sysvipc/sys/shm.h: Likewise.
69279         * termios/termios.h: Likewise.
69280         * time/sys/time.h: Likewise.
69281         * time/time.h: Likewise.
69282         * wcsmbs/bits/wchar2.h: Likewise.
69283         * wcsmbs/uchar.h: Likewise.
69284         * wcsmbs/wchar.h: Likewise.
69285         * wctype/wctype.h: Likewise.
69287         [BZ #13551]
69288         * Makeconfig: Remove all but ELF support including AIX support.
69289         * Makerules: Likewise.
69290         * config.h.in: Likewise.
69291         * config.make.in: Likewise.
69292         * configure: Likewise.
69293         * configure.in: Likewise.
69294         * csu/Makefile: Likewise.
69295         * csu/version.c: Likewise.
69296         * debug/Makefile: Likewise.
69297         * dlfcn/Makefile: Likewise.
69298         * elf/Makefile: Likewise.
69299         * extra-lib.mk: Likewise.
69300         * iconv/Makefile: Likewise.
69301         * include/libc-symbols.h: Likewise.
69302         * include/shlib-compat.h: Likewise.
69303         * resolv/Makefile: Likewise.
69304         * resolv/res_libc.c: Likewise.
69305         * rt/Makefile: Likewise.
69306         * sysdeps/i386/asm-syntax.h: Likewise.
69307         * sysdeps/i386/sysdep.h: Likewise.
69308         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
69309         * sysdeps/mach/sysdep.h: Likewise.
69310         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
69311         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
69312         * sysdeps/s390/asm-syntax.h: Likewise.
69313         * sysdeps/s390/s390-32/sysdep.h: Likewise.
69314         * sysdeps/s390/s390-64/sysdep.h: Likewise.
69315         * sysdeps/sh/sysdep.h: Likewise.
69316         * sysdeps/unix/sparc/sysdep.h: Likewise.
69317         * sysdeps/wordsize-32/divdi3.c: Likewise.
69318         * sysdeps/x86_64/sysdep.h: Likewise.
69320         * argp/Versions: Remove _argp_unlock_xxx.
69322         [BZ #13559]
69323         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
69324         * abilist/libBrokenLocale.abilist: Likewise.
69325         * abilist/libanl.abilist: Likewise.
69326         * abilist/libc.abilist: Likewise.
69327         * abilist/libcrypt.abilist: Likewise.
69328         * abilist/libdl.abilist: Likewise.
69329         * abilist/libm.abilist: Likewise.
69330         * abilist/libnsl.abilist: Likewise.
69331         * abilist/libpthread.abilist: Likewise.
69332         * abilist/libresolv.abilist: Likewise.
69333         * abilist/librt.abilist: Likewise.
69334         * abilist/libthread_db.abilist: Likewise.
69335         * abilist/libutil.abilist: Likewise.
69336         * abilist/libnss_db.abilist: New file.
69338         * scripts/abilist.awk: Add support for indirect functions.
69340         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
69342         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
69344         * shlib-versions: Remove entries for ports architectures.
69346         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
69347         files in ports.
69348         * elf/stackguard-macros.h: Remove support for IA-64.
69349         * elf/tst-auditmod1.c: Likewise.
69350         * sysdeps/generic/ldsodefs.h: Likewise.
69352         * sysdeps/unix/sysv/linux/configure.in: Ports should define
69353         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
69354         configure files.
69356         [BZ #13552]
69357         * configure.in: Remove --enable-omitfp support.
69358         * FAQ.in: Adjust.
69359         * config.make.in: Likewise.
69360         * Makeconfig: Likewise.
69361         * manual/install.texi: Likewise.
69363         In case anyone cares, the IA-64 architecture could move to ports.
69364         * sysdeps/ia64/*: Removed.
69365         * sysdeps/unix/sysv/linux/ia64/*: Removed.
69366         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
69368         [BZ #13555]
69369         * configure.in: Remove entries for unsupported architectures.
69371         [BZ #13533]
69372         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
69373         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
69374         routines.
69375         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
69376         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
69377         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
69378         fall back to using wcrtomb.
69379         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
69380         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
69381         renaming.
69382         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
69383         * wcsmbs/tst-c16c32-1.c: New file.
69385         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
69386         local variable.
69388         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
69390         * elf/tst-unique3.cc: Add explicit declaration of gets.
69391         * elf/tst-unique3lib.cc: Likewise.
69392         * elf/tst-unique3lib2.cc: Likewise.
69393         * elf/tst-unique4.cc: Likewise.
69395         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
69397 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
69399         [BZ #13566]
69400         * assert/assert.h (static_assert): Don't define for C++.
69401         * libio/stdio.h (gets): Do declare for C++ <= C++11.
69402         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
69404 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
69406         * iconv/loop.c (single loop): Fix assertion in storing of
69407         remaining bytes.
69409         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
69411 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
69413         * posix/getconf.c: Update copyright year.
69414         * nss/getent.c: Likewise.
69415         * nss/makedb.c: Likewise.
69416         * iconv/iconvconfig.c: Likewise.
69417         * iconv/iconv_prog.c: Likewise.
69418         * elf/ldconfig.c: Likewise.
69419         * elf/pldd.c: Likewise.
69420         * elf/sotruss.ksh: Likewise.
69421         * catgets/gencat.c: Likewise.
69422         * csu/version.c: Likewise.
69423         * elf/ldd.bash.in: Likewise.
69424         * elf/sprof.c (print_version): Likewise.
69425         * locale/programs/locale.c: Likewise.
69426         * locale/programs/localedef.c: Likewise.
69427         * login/programs/pt_chown.c: Likewise.
69428         * nscd/nscd.c (print_version): Likewise.
69429         * debug/xtrace.sh: Likewise.
69430         * malloc/memusage.sh: Likewise.
69431         * malloc/mtrace.pl: Likewise.
69432         * debug/catchsegv.sh: Likewise.
69434 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
69436         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
69437         pure attribute.
69439 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
69441         [BZ #13533]
69442         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
69443         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
69444         transformations.
69445         * iconv/gconv_int.h: Likewise.
69446         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
69447         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
69448         from libc for GLIBC_2.16.
69449         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
69450         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
69451         * wcsmbs/uchar.h: Really define mbstate_t.
69452         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
69453         * wcsmbs/c16rtomb.c: New file.
69454         * wcsmbs/mbrtoc16.c: New file.
69455         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
69456         for C/POSIX locale.
69457         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
69458         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
69460         * wcsmbs/wchar.h: Add missing __restrict.
69462 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
69464         [BZ #13532]
69465         * time/Makefile (routines): Add timespec_get.
69466         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
69467         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
69468         timespec for ISO C11.
69469         * time/timespec_get.c: New file.
69470         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
69471         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
69473         [BZ #13531]
69474         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
69475         * stdlib/stdlib.h: Declare aligned_alloc.
69476         * Versions.def: Add GLIBC_2.16 for libc.
69477         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
69479         [BZ 13527]
69480         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
69481         ISO C11.
69483         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
69484         code.
69486         [BZ #13528]
69487         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
69489         [BZ #13529]
69490         * assert/assert.h (static_assert): Define.
69492         * version.h: Update for 2.16 development version.
69494         [BZ #13526]
69495         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
69496         _ISOC11_SOURCE.
69498         * version.h (RELEASE): Bump for 2.15 release.
69499         * include/features.h (__GLIBC_MINOR__): Bump to 15.
69501         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
69502         Patch by Marek Polacek <mpolacek@redhat.com>.
69504         * bits/byteswap.h: Protect long long constants with __extension__.
69505         * sysdeps/i386/bits/byteswap.h: Likewise.
69506         * sysdeps/ia64/bits/byteswap.h: Likewise.
69507         * sysdeps/s390/bits/byteswap.h: Likewise.
69508         * sysdeps/x86_64/bits/byteswap.h: Likewise.
69510 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69512         [BZ #13540]
69513         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
69514         destination buffer.
69515         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
69517 2011-12-23  Marek Polacek  <polacek@redhat.com>
69519         * elf/dl-addr.c (determine_info): Add inline keyword.
69520         * elf/tst-auditmod4b.c (check_avx): Likewise.
69521         * elf/tst-auditmod6b.c (check_avx): Likewise.
69522         * elf/tst-auditmod6c.c (check_avx): Likewise.
69523         * elf/tst-auditmod7b.c (check_avx): Likewise.
69525 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
69527         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
69528         !__SSE_MATH__.
69530 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69532         [BZ #13540]
69533         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
69534         processing for last bytes.
69536 2011-08-06  Bruno Haible  <bruno@clisp.org>
69538         [BZ #13061]
69539         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
69540         U+0385, not to U+1FEE.
69542         [BZ #13062]
69543         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
69544         entry for U+00A5 U+0301.
69546 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
69548         [BZ #13166]
69549         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
69550         buffer for the output is too small.
69552         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
69553         optimization.
69555         [BZ #13185]
69556         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
69557         SSE flags if possible.
69559 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69561         [BZ #13540]
69562         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
69563         processing for last bytes.
69565 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
69567         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
69568         (syscall-list-default-options, syscall-list-default-condition)
69569         (syscall-list-includes): Define.
69570         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
69571         list of ABIs and options and #if conditions for each ABI.  Do not
69572         handle common syscalls between ABIs specially.
69573         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
69574         Remove.
69575         (syscall-list-variants, syscall-list-32bit-options)
69576         (syscall-list-32bit-condition, syscall-list-64bit-options)
69577         (syscall-list-64bit-condition): Define.
69578         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
69579         (syscall-list-variants, syscall-list-32bit-options)
69580         (syscall-list-32bit-condition, syscall-list-64bit-options)
69581         (syscall-list-64bit-condition): Define.
69582         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
69583         Remove.
69584         (syscall-list-variants, syscall-list-32bit-options)
69585         (syscall-list-32bit-condition, syscall-list-64bit-options)
69586         (syscall-list-64bit-condition): Define.
69587         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
69588         Remove.
69589         (syscall-list-variants, syscall-list-32bit-options)
69590         (syscall-list-32bit-condition, syscall-list-64bit-options)
69591         (syscall-list-64bit-condition): Define.
69593 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
69595         * locale/iso-639.def: Add brx entry.
69597         [BZ #13328]
69598         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
69599         Proposed by Mariusz_Cukr <marcukr@op.pl>.
69601         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
69602         __feraiseexcept_renamed.
69604 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
69606         [BZ #13538]
69607         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
69608         EPOLLET with unsigned values.
69609         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
69610         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
69612         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
69613         to large cancellation.
69614         * math/s_cacoshf.c: Likewise.
69615         * math/s_cacoshl.c: Likewise.
69617 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
69619         [BZ #13305]
69620         [BZ #12786]
69621         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
69622         * math/s_cacoshf.c: Likewise.
69623         * math/s_cacoshl.c: Likewise.
69625 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
69627         [BZ #13439]
69628         * iconv/gconv.h: Define __GCONV_SWAP.
69629         * iconvdata/unicode.c: The swap bit must be stored in __flags.
69630         * iconvdata/utf-16.c: Likewise.
69631         * iconvdata/utf-32.c: Likewise.
69633 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
69635         [BZ #13524]
69636         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
69637         numerator after shifting it by one limb.
69639 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
69641         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
69642         under [__USE_EXTERN_INLINES].
69644 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
69646         [BZ #13446]
69647         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
69649 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69651         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
69652         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
69653         optimized code.
69654         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
69655         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
69656         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
69657         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
69658         for strncasecmp/strncasecmp_l compilation.
69659         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
69660         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
69662 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
69664         [BZ #13484]
69665         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
69666         of __asm__.
69668 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
69670         [BZ #13506]
69671         * time/tzfile.c (__tzfile_read): Check values from file header.
69673 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
69675         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
69676         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
69677         * powerpc/powerpc32/dl-start.S: Likewise.
69678         * powerpc/powerpc32/elf/start.S: Likewise.
69679         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
69680         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
69681         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
69682         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
69683         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
69684         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
69685         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
69686         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
69687         * powerpc/powerpc32/fpu/s_round.S: Likewise.
69688         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
69689         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
69690         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
69691         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
69692         * powerpc/powerpc32/memset.S: Likewise.
69693         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
69694         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
69695         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
69696         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
69697         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
69698         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
69699         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
69700         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
69701         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
69702         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
69703         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
69704         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
69705         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
69707 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69709         * math/libm-test.inc: Added more nearbyint tests.
69710         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
69711         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
69712         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
69713         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
69715 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
69717         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
69718         FD_CLOEXEC.
69720 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69722         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
69723         Add wcscpy-ssse3 wcscpy-c.
69724         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
69725         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
69726         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
69727         * sysdeps/x86_64/wcschr.S: New file.
69728         * sysdeps/x86_64/wcsrchr.S: New file.
69729         * string/test-strcmp.c: Remove checking of wcscmp function for
69730         wrong alignments.
69731         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
69732         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
69733         wcsrchr-sse2 wcsrchr-c.
69734         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
69735         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
69736         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
69737         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
69738         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
69739         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
69740         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
69741         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
69742         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
69743         * wcsmbc/wcschr.c (WCSCHR): New macro.
69745 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69747         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
69748         * wcsmbs/test-wcsrchr.c: New file.
69749         * string/test-strrchr.c: Add wcsrchr support.
69750         (WIDE): New macro.
69751         * wcsmbs/test-wcscpy.c: New file.
69752         * string/test-strcpy.c: Add wcscpy support.
69753         (WIDE): New macro.
69755 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
69757         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
69758         the inner loop.
69760 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
69762         [BZ #13472]
69763         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
69765 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
69767         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
69768         Minor optimizations.
69770         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
69771         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
69772         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
69774 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
69776         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
69777         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
69778         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
69779         for gcc to avoid warnings.
69780         * inet/Makefile (tests): Add tst-checks.
69781         * inet/tst-checks.c: New file.
69783         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
69784         warning.
69786         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
69787         __wmemcmp_sse2.
69789         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
69790         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
69792         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
69794 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
69796         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
69797         problem.
69799         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
69801 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
69803         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
69804         conditional on GCC version.
69805         (__arch_compare_and_exchange_val_8_acq)
69806         (__arch_compare_and_exchange_val_16_acq)
69807         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
69808         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
69809         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
69811 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
69813         * sysdeps/sh/backtrace.c: New file.
69815 2011-12-02  Andreas Schwab  <schwab@redhat.com>
69817         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
69818         parenthesis.
69820 2011-12-01  Andreas Schwab  <schwab@redhat.com>
69822         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
69823         falling back to utime.
69825 2011-11-30  Andreas Schwab  <schwab@redhat.com>
69827         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
69828         expectations for float.
69830 2011-11-29  Andreas Schwab  <schwab@redhat.com>
69832         * locale/weight.h (findidx): Add parameter len.
69833         * locale/weightwc.h (findidx): Likewise.
69834         * posix/fnmatch_loop.c (FCT): Adjust caller.
69835         * posix/regcomp.c (build_equiv_class): Likewise.
69836         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
69837         * posix/regexec.c (check_node_accept_bytes): Likewise.
69838         * string/strcoll_l.c (STRCOLL): Likewise.
69839         * string/strxfrm_l.c (STRXFRM): Likewise.
69841 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
69843         * Makefile.in: Remove CVSOPT handling.
69844         * configure.in: Remove use of AC_REVISION.
69845         * iconvdata/Makefile (distribute): No need to filter out CVS.
69846         * scripts/list-sources.sh: Remove CVS, subversion and monotone
69847         handling.
69849 2011-11-16  Andreas Schwab  <schwab@redhat.com>
69851         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
69852         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
69853         [USE_AS_STRNCASECMP_L]: Likewise.
69854         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
69855         NO_TLS_DIRECT_SEG_REFS.
69856         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
69857         Fix argument offsets for non-PIC.
69858         [USE_AS_STRNCASECMP_L]: Likewise.
69859         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
69860         NO_TLS_DIRECT_SEG_REFS.
69862 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
69864         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
69865         O_CLOEXEC.
69866         * locale/loadlocale.c (_nl_load_locale): Likewise.
69868 2011-11-15  Andreas Schwab  <schwab@redhat.com>
69870         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
69871         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
69872         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
69873         (SYSCALL_GETTIME): Set errno on error.
69875         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
69876         count references to noai6ai_cached.
69878 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
69880         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
69882         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
69883         FD_CLOEXEC for /proc/self/maps.
69885         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
69886         FD_CLOEXEC for /proc/meminfo.
69888         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
69889         gai.conf.
69891         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
69892         FD_CLOEXEC for given file.
69894         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
69896         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
69897         FD_CLOEXEC for /etc/hosts.
69898         (_gethtent): Likewise.
69900         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
69902         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
69903         cancellation and set FD_CLOEXEC for /etc/netgroup.
69905         * nss/nss_files/files-key.c (search): Don't allow cancellation when
69906         reading /etc/publickey.
69908         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
69909         allow cancellation when reading /etc/group.
69911         * nss/nss_files/files-alias.c (internal_setent): Don't allow
69912         cancellation.
69913         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
69915         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
69916         when using data file.
69918         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
69920         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
69921         (write_nis_obj): Use "c" and "e" in fopen.
69923         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
69925         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
69927         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
69929         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
69931         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
69932         locale.alias.
69934         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
69936         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
69938         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
69940         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
69941         file parsing and set FD_CLOEXEC.
69943 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
69945         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
69947 2011-11-14  Andreas Schwab  <schwab@redhat.com>
69949         * malloc/arena.c (arena_get2): Don't call reused_arena when
69950         _int_new_arena failed.
69952 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
69954         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
69955         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
69956         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
69957         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
69958         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
69959         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
69960         to compile strcasecmp and strncasecmp.
69961         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
69962         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
69964         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
69966 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
69968         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
69969         locale-defines.sym to gen-as-const-headers.
69970         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
69971         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
69972         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
69973         to compile strcasecmp and strncasecmp.
69974         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
69975         strcasecmp_l and strncasecmp_l.
69976         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
69977         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
69978         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
69979         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
69980         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
69981         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
69982         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
69983         * sysdeps/i386/i686/multiarch/strncase.S: New file.
69984         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
69985         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
69986         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
69988 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
69990         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
69991         result of SYSDEP_GETTIME_CPU to retval.
69992         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
69993         parameter list to macro.  Remove trailing semicolon.  Adjust users.
69995         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
69996         variable.
69998         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
69999         mantissa words.
70000         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
70002         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
70003         from unused variable.
70005         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
70006         DWARF definitions.
70007         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
70008         for assembling.
70010         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
70011         over namespaces.
70013         * sunrpc/rpc_prot.c (rejected): Fix case value.
70015         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
70016         unsigned long long int to avoid warnings in shift.
70018         * posix/regex_internal.c (re_string_reconstruct): Actually use result
70019         of use of trans.
70020         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
70021         variable tmp.
70023         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
70024         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
70025         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
70027         * nis/nis_table.c (nis_list): Use variable of correct type for
70028         result of __follow_path call.
70030 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70032         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
70033         of math functions ceil, trunc, floor, round, and sqrt, when
70034         avaliable on the platform.
70035         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
70036         name clash.
70037         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
70038         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
70039         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
70041 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
70043         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
70044         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
70046 2011-11-11  Roland McGrath  <roland@hack.frob.com>
70048         * include/unistd.h: Fix __readlink return type.
70049         Reported by Chris Metcalf <cmetcalf@tilera.com>.
70051 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
70053         * stdlib/ucontext.h: Undo last change for makecontext.
70055 2011-11-11  Andreas Schwab  <schwab@redhat.com>
70057         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
70059         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
70060         * setjmp/setjmp.h: Mark functions as non-leaf.
70061         * setjmp/bits/setjmp2.h: Likewise.
70062         * stdlib/ucontext.h: Likewise.
70064 2011-11-10  Andreas Schwab  <schwab@redhat.com>
70066         * malloc/arena.c (_int_new_arena): Don't increment narenas.
70067         (reused_arena): Don't check arena limit.
70068         (arena_get2): Atomically check arena limit.
70070 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
70072         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
70073         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
70075         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
70076         instructions.
70078 2011-11-07  Andreas Schwab  <schwab@redhat.com>
70080         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
70081         handler when locking.
70083         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
70084         Fix size of allocated buffer.
70086 2011-11-04  Andreas Schwab  <schwab@redhat.com>
70088         [BZ #10103]
70089         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
70090         declarations for long double functions.
70091         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
70093         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
70095 2011-11-03  Andreas Schwab  <schwab@redhat.com>
70097         * nscd/nscd.c (main): Don't start AVC thread until credentials are
70098         installed.
70100         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
70101         is disabled.
70103 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70105         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
70107 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
70109         * include/alloca.h (stackinfo_alloca_round): Define.
70110         (extend_alloca): Use it.
70111         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
70112         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
70113         here.
70115         * scripts/check-local-headers.sh: Ignore libaudit.h.
70117         * nscd/Makefile (extra-objs): Make recursively expanded.
70119 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
70121         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
70122         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
70124         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
70125         * posix/tst-rfc3484-2.c: Likewise.
70126         * posix/tst-rfc3484-3.c: Likewise.
70128         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
70129         process_vm_writev.
70130         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
70131         process_vm_writev.
70132         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
70133         process_vm_writev from libc using GLIBC_2.15 version.
70135         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
70137 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
70139         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
70140         stack usage.
70142 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
70144         [BZ #13367]
70145         * nss/getent.c (initgroups_keys): Show error message in case no group
70146         names are given.
70148         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
70149         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
70150         __bump_nl_timestamp.
70151         * nscd/connections (nscd_init): When host database is served open
70152         netlink socket and request notification about configuration changes.
70153         (main_loop_poll): Track netlink file descriptor and bump timestamp
70154         in case data becomes available.
70155         (main_loop_epoll): Likewise.
70156         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
70157         (database_pers_head): Add extra_data fileds.
70158         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
70159         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
70160         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
70161         Adjust caller.
70162         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
70163         in6ai data, call __free_in6ai.
70164         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
70165         Add -DHAVE_NETLINK.
70166         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
70167         interface information.  Reuse previous data if netlink timestamp
70168         is not changed.
70169         (__bump_nl_timestamp): New function.
70170         (__free_in6ai): New function.
70172 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
70174         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
70175         close_not_cancel_no_status here.
70176         (__check_pf): Reorganize code a bit to not call close twice if OOM.
70178 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
70180         [BZ #13276]
70181         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
70182         return value.
70184         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
70185         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
70186         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
70188 2011-07-03  Andreas Jaeger  <aj@suse.de>
70190         [BZ #10709]
70191         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
70192         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
70193         * math/libm-test.inc (sin_test): Add test case.
70195 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
70197         [BZ #13337]
70198         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
70199         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
70201         * elf/chroot_canon.c (chroot_canon): Cleanups.
70203         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
70205         [BZ #13335]
70206         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
70207         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
70209         * string/test-strchr.c: Make usable for strchrnul testing.
70210         * string/test-strchrnul.c: New file.
70211         * string/Makefile (strop-tests): Add strchrnul.
70213         * po/it.po: Update from translation team.
70214         * po/es.po: Likewise.
70216 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
70218         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
70219         the three constants needed as parameters.  Drop the others.
70220         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
70221         __m128i_strloadu_tolower.
70222         Create and initialize variable zero and use it in all the places
70223         where _mm_setzero_si128 was used.
70225         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
70226         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
70227         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
70228         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
70229         anymore.
70230         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
70231         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
70232         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
70233         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
70234         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
70235         __mpranred, __mptan.
70236         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
70237         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
70238         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
70239         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
70240         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
70241         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
70242         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
70243         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
70244         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
70246 2011-10-28  Andreas Schwab  <schwab@redhat.com>
70248         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
70249         redefine if SHARED.
70250         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
70252         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
70253         wide char related routines to wcsmbs subdir.
70255 2011-10-27  Andreas Schwab  <schwab@redhat.com>
70257         [BZ #13344]
70258         * misc/sys/cdefs.h (__THROWNL): Define.
70259         * posix/unistd.h: Use __THREADNL instead of __THREAD
70260         for memory synchronization functions.
70262 2011-10-26  Roland McGrath  <roland@hack.frob.com>
70264         [BZ #13349]
70265         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
70266         doesn't exist.
70267         * manual/stdio.texi (Obstack Streams): Node removed.
70269 2011-10-26  Andreas Schwab  <schwab@redhat.com>
70271         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
70272         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
70273         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
70275         * math/math_private.h (math_force_eval): Allow non-addressable
70276         arguments.
70277         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
70279 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
70281         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
70282         file is not needed.
70284         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
70285         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
70286         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
70287         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
70288         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
70289         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
70290         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
70291         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
70292         Add AVX variants.
70293         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
70294         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
70295         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
70296         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
70297         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
70298         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
70299         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
70300         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
70301         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
70302         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
70303         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
70304         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
70305         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
70306         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
70307         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
70308         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
70309         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
70310         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
70311         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
70313         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
70314         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
70316         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
70317         place.  Use VEX encoding when compiling for AVX.
70319 2011-10-25  Andreas Schwab  <schwab@redhat.com>
70321         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
70322         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
70324         * string/test-strchr.c (do_test): Don't generate NUL bytes.
70326 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
70328         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
70329         useless if() expression.
70330         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
70331         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
70332         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
70333         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
70334         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
70335         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
70336         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
70337         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
70338         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
70339         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
70340         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
70341         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
70342         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
70343         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
70344         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
70345         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
70346         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
70347         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
70348         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
70350         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
70352 2011-10-25  Andreas Schwab  <schwab@redhat.com>
70354         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
70355         condition.
70356         * elf/dl-fini.c (_dl_sort_fini): Likewise.
70358 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
70360         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
70361         .text section.  Avoid duplicate constants.
70362         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
70363         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
70364         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
70365         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
70366         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
70367         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
70368         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
70369         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
70370         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
70371         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
70372         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
70373         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
70374         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
70375         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
70376         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
70377         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
70378         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
70379         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
70380         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
70381         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
70382         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
70383         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
70384         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
70385         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
70386         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
70387         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
70388         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
70389         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
70390         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
70391         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
70392         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
70393         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
70394         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
70395         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
70396         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
70397         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
70398         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
70399         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
70400         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
70401         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
70402         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
70403         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
70404         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
70405         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
70406         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
70408 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
70410         * sysdeps/x86_64/dla.h: Move to ...
70411         * sysdeps/x86_64/fpu/dla.h: ...here.
70412         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
70413         situations.  Use __builtin_fma only for gcc 4.6 and up.
70415         * config.make.in: Add have-mfma4 entry.
70416         * configure.in: Substitute libc_cv_cc_fma4.
70417         * math/Makefile (dbl-only-routines): Add sincostab.
70418         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
70419         Use __sincostab not sincos.
70420         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
70421         name is a macro.
70422         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
70423         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
70424         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
70425         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
70426         using __copysign.
70427         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
70428         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
70429         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
70430         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
70431         and __inv.
70432         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
70433         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
70434         __copysign.
70435         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
70436         define aliases when function name is a macro.
70437         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
70438         sysdeps/ieee754/dbl-64/sincos.tbl.
70439         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
70440         fma4-enabled routines.
70441         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
70442         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
70443         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
70444         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
70445         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
70446         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
70447         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
70448         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
70449         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
70450         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
70451         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
70452         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
70453         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
70454         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
70455         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
70456         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
70457         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
70458         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
70459         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
70460         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
70461         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
70462         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
70463         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
70464         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
70465         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
70466         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
70467         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
70468         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
70469         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
70470         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
70472         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
70473         rename.
70474         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
70475         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
70476         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
70477         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
70478         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
70479         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
70480         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
70481         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
70483 2011-10-24  Andreas Schwab  <schwab@redhat.com>
70485         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
70487 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
70489         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
70491         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
70492         prediction.
70493         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
70495         * string/strnlen.c: Don't define STRNLEN, reverse logic.
70496         Remove unused variable magic_bits.
70497         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
70499         * string/strnlen.c: Define and use STRNLEN macro.
70500         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
70501         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
70502         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
70503         * wcsmbs/wcslen.c: Define and use WCSLEN.
70504         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
70505         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
70506         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
70507         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
70508         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
70509         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
70510         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
70512 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70514         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
70515         strnlen-sse2-no-bsf.
70516         Rename strlen-no-bsf to strlen-sse2-no-bsf.
70517         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
70518         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
70519         Add strnlen support.
70520         (USE_AS_STRNLEN): New macro.
70521         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
70522         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
70523         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
70524         * sysdeps/x86_64/wcslen.S: New file.
70526 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
70528         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
70529         XMM-moves are used for copying on small sizes.
70531 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70533         * wcsmbs/Makefile (strop-tests): Add wcschr.
70534         * wcsmbs/test-wcschr.c: New file.
70535         * string/test-strchr.c: Update.
70536         Add wcschr support.
70537         (WIDE): New macro.
70539 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70541         * wcsmbs/Makefile (strop-tests): Add wcslen.
70542         * wcsmbs/test-wcslen.c: New file.
70543         * string/test-strlen.c: Update.
70544         Add wcslen support.
70545         (WIDE): New macro.
70547 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
70549         * po/it.po: Update from translation team.
70551 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70553         * sysdeps/x86_64/wcscmp.S: Update.
70554         Fix wrong comparison semantics.
70555         wcscmp shall use signed comparison not unsigned.
70556         Don't use substraction to avoid overflow bug.
70557         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
70558         * wcsmbc/wcscmp.c: Likewise.
70559         * string/test-strcmp.c: Likewise.
70560         Add new tests to check cases with negative values.
70562 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
70564         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
70565         * sysdeps/x86_64/dla.h: ...here.  New file.
70566         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
70567         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
70568         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
70569         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
70570         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
70571         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
70572         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
70573         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
70574         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
70576 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
70578         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
70579         __ynl_finite aliases.
70581 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
70583         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70585         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
70586         define DLA_FMA.
70587         [DLA_FMA] (EMULV): Use DLA_FMA.
70588         [DLA_FMA] (MUL12): Use EMULV.
70589         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
70590         that are not needed.
70591         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
70592         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
70593         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
70594         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
70595         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
70596         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
70597         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
70599 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
70601         * math/s_nan.c: Undef __nan.
70602         * math/s_nanf.c: Undef __nanf.
70603         * math/s_nanl.c: Undef __nanl.
70604         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
70605         "math_private.h".
70607 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
70609         * math/s_catan.c: Add branch predictions.
70610         * math/s_catanf.c: Likewise.
70611         * math/s_catanh.c: Likewise.
70612         * math/s_catanhf.c: Likewise.
70613         * math/s_catanhl.c: Likewise.
70614         * math/s_catanl.c: Likewise.
70615         * math/s_cexp.c: Likewise.
70616         * math/s_cexpf.c: Likewise.
70617         * math/s_cexpl.c: Likewise.
70618         * math/s_clog.c: Likewise.
70619         * math/s_clog10.c: Likewise.
70620         * math/s_clog10f.c: Likewise.
70621         * math/s_clog10l.c: Likewise.
70622         * math/s_clogf.c: Likewise.
70623         * math/s_clogl.c: Likewise.
70624         * math/s_csqrt.c: Likewise.
70625         * math/s_csqrtf.c: Likewise.
70626         * math/s_csqrtl.c: Likewise.
70627         * math/s_ctanf.c: Likewise.
70628         * math/s_ctanh.c: Likewise.
70629         * math/s_ctanhf.c: Likewise.
70630         * math/s_ctanhl.c: Likewise.
70631         * math/s_ctanl.c: Likewise.
70633         * math/math_private.h: Define __nan, __nanf, __nanl.
70634         * math/s_cacosh.c: Include <math_private.h>.
70635         * math/s_cacoshl.c: Likewise.
70636         * math/s_casinh.c: Likewise.
70637         * math/s_casinhf.c: Likewise.
70638         * math/s_casinhl.c: Likewise.
70639         * math/s_ccos.c: Rely entire on ccosh.
70640         * math/s_ccosf.c: Rely entire on ccoshf.
70641         * math/s_ccosl.c: Rely entirely on ccoshl.
70642         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
70643         Remove tests for FE_INVALID.
70644         * math/s_ccoshf.c: Likewise.
70645         * math/s_ccoshl.c: Likewise.
70646         * math/s_csin.c: Likewise.
70647         * math/s_csinf.c: Likewise.
70648         * math/s_csinh.c Likewise.
70649         * math/s_csinhf.c: Likewise.
70650         * math/s_csinhl.c: Likewise.
70651         * math/s_csinl.c: Likewise.
70652         * math/s_ctan.c: Likewise.
70653         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
70654         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
70655         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
70657 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
70659         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
70660         compilation problems.
70662         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
70663         __builtin_expect.
70665 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
70667         * sysdeps/i386/configure.in: Test for -mfma4 option.
70668         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
70669         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
70670         COMMON_CPUID_INDEX_80000001.
70671         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
70672         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
70673         use it if FMA3 is not supported.
70674         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
70676         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
70677         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
70679 2011-10-20  Andreas Schwab  <schwab@redhat.com>
70681         [BZ #12892]
70682         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
70683         it would create a cycle with a link time dependency.
70685 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
70687         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
70688         instruction.
70689         * string/Makefile (strop-tests): Add rawmemchr.
70690         * string/test-rawmemchr.c: New file.
70692         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
70693         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
70694         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
70695         when compiling str{,n}casecmp and when AVX is available.  Hook up
70696         new optimized code in initializers.
70698 2011-10-19  Andreas Schwab  <schwab@redhat.com>
70700         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
70701         __feraiseexcept instead of feraiseexcept.
70703 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
70705         * math/math_private.h: Define defaults for libc_fetestexcept and
70706         libc_feupdateenv.
70707         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
70708         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
70709         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
70710         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
70711         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
70712         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
70713         libc_fetestexcept and libc_feupdateenv.
70715         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
70716         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
70717         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
70718         * sysdeps/x86_64/fpu/math_private.h: Define special version of
70719         libc_feholdexcept_setround.
70721         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
70722         Add s_nearbyint-c and s_nearbyintf-c.
70723         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
70724         nearbyintf inlines.
70725         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
70726         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
70727         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
70728         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
70730         * math/math_private.h: Define defaults for libc_fegetround,
70731         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
70732         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
70733         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
70734         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
70735         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
70736         standard functions.
70737         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
70738         Remove comments and hacks for old compiler versions.
70739         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
70740         libc_fegetround, libc_fesetround, libc_feholdexcept, and
70741         libc_feholdexceptl.
70743 2011-10-18  Andreas Schwab  <schwab@redhat.com>
70745         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
70746         (__feraiseexcept_renamed): Add __NTH.
70747         (feraiseexcept): Add __NTH.  Rename local variables to fix
70748         namespace violations.
70750 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
70752         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
70754         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
70756         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
70757         recently added interfaces.
70758         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
70760         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
70761         about macro parameter expansion.
70763         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
70764         __NO_MATH_INLINES is defined.  Cleanups.
70766         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
70767         and __floorf is target has SSE4.1.
70768         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
70769         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
70770         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
70771         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
70773         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
70774         name.
70775         (floorf): Likewise.
70777         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
70779 2011-10-17  Andreas Schwab  <schwab@redhat.com>
70781         * misc/sys/cdefs.h: Fix last change.
70783         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
70784         database lookup.
70786 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
70788         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
70790         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
70791         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
70792         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
70793         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
70794         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
70795         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
70796         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
70797         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
70798         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
70799         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
70800         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
70801         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
70802         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
70803         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
70804         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
70805         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
70806         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
70807         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
70808         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
70809         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
70810         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
70811         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
70813         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
70814         ceil, ceilf, floor, floorf.
70816         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
70817         Perform IRELATIVE relocations last.
70819         * elf/do-rel.h: Add another parameter nrelative, replacing the
70820         local variable with the same name.  Change name of the function
70821         to end in Rel or Rela (uppercase).
70822         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
70823         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
70824         elf_dynamic_do_##reloc function.
70826 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
70828         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
70829         is sufficient, at least on modern CPUs.
70831         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
70833         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
70834         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
70836         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
70837         __expl_finite.
70838         * math/bits/math-finite.h: Add entries for exp.
70839         * math/e_expl.c: Add __*_finite alias.
70840         * sysdeps/i386/fpu/e_exp.S: Likewise.
70841         * sysdeps/i386/fpu/e_expf.S: Likewise.
70842         * sysdeps/i386/fpu/e_expl.c: Likewise.
70843         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
70844         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
70845         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
70846         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
70847         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
70848         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
70849         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
70851         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
70852         is sufficient, at least on modern CPUs.
70854         * ctype/ctype-info.c (__ctype_init): Define.
70855         * include/ctype.h (__ctype_init): Declare.
70856         (__ctype_b_loc): The variable is always initialized.
70857         (__ctype_toupper_loc): Likewise.
70858         (__ctype_tolower_loc): Likewise.
70859         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
70860         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
70862 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
70864         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
70866         * configure.in: Also look in $cxxmachine/include for C++ system
70867         headers.
70869 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70871         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
70872         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
70873         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
70874         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
70875         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
70876         (USE_AS_WMEMCMP): New macro.
70877         Fixing indents.
70878         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
70879         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
70880         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
70881         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
70882         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
70883         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
70884         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
70885         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
70886         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
70887         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
70888         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
70889         (USE_AS_WMEMCMP): New macro.
70890         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
70891         * sysdeps/string/test-memcmp.c: Update.
70892         Fix simple_wmemcmp.
70893         Add new tests.
70894         * wcsmbs/wmemcmp.c: Update.
70895         (WMEMCMP): New macro.
70896         Fix overflow bug.
70898 2011-10-12  Andreas Jaeger  <aj@suse.de>
70900         [BZ #13268]
70901         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
70903 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
70905         * libio/iofwide.c (do_length): Avoid warning.
70907         * ctype/ctype.h (__isctype_f): Add missing __THROW.
70909 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
70911         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
70913         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
70914         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
70915         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
70916         * sysdeps/i386/i686/fpu/e_log.S: New file.
70917         * sysdeps/i386/i686/fpu/e_logf.S: New file.
70918         * sysdeps/i386/i686/fpu/e_logl.S: New file.
70920         * ctype/ctype.h: Add support for inlined isXXX functions when
70921         compiling C++ code.
70923 2011-10-14  Andreas Schwab  <schwab@redhat.com>
70925         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
70927         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
70929 2011-10-13  Roland McGrath  <roland@hack.frob.com>
70931         [BZ #13291]
70932         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
70934 2011-10-13  Andreas Schwab  <schwab@redhat.com>
70936         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
70937         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
70938         feraiseexcept.
70940         * sysdeps/x86_64/memrchr.S: Check for zero size.
70942         * string/stratcliff.c: Add memrchr tests.
70944 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70946         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
70947         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
70948         rawmemchr-sse2 rawmemchr-sse2-bsf.
70949         * sysdeps/i386/i686/multiarch/memchr.S: New file.
70950         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
70951         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
70952         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
70953         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
70954         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
70955         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
70956         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
70957         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
70958         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
70959         * string/memrchr.c (MEMRCHR): New macro.
70961 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
70963         Add integration with gcc's -ffinite-math-only and optimize wrapper
70964         functions in libm.
70965         * Versions.def: Define GLIBC_2.15 version for libm.
70966         * math/Makefile (headers): Add bits/math-finite.h.
70967         * math/bits/math-finite.h: New file.
70968         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
70969         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
70970         * math/e_acoshl.c: Add __*_finite alias.
70971         * math/e_acosl.c: Likewise.
70972         * math/e_asinl.c: Likewise.
70973         * math/e_atan2l.c: Likewise.
70974         * math/e_atanhl.c: Likewise.
70975         * math/e_coshl.c: Likewise.
70976         * math/e_exp10.c: Likewise.
70977         * math/e_exp10f.c: Likewise.
70978         * math/e_exp10l.c: Likewise.
70979         * math/e_exp2l.c: Likewise.
70980         * math/e_fmodl.c: Likewise.
70981         * math/e_gammal_r.c: Likewise.
70982         * math/e_hypotl.c: Likewise.
70983         * math/e_j0l.c: Likewise.
70984         * math/e_j1l.c: Likewise.
70985         * math/e_jnl.c: Likewise.
70986         * math/e_lgammal_r.c: Likewise.
70987         * math/e_log10l.c: Likewise.
70988         * math/e_log2l.c: Likewise.
70989         * math/e_logl.c: Likewise.
70990         * math/e_powl.c: Likewise.
70991         * math/e_sinhl.c: Likewise.
70992         * math/e_sqrtl.c: Likewise.
70993         * math/e_scalb.c: Completely rewritten and optimized.
70994         * math/e_scalbf.c: Likewise.
70995         * math/e_scalbl.c: Likewise.
70996         * math/w_acos.c: Likewise.
70997         * math/w_acosf.c: Likewise.
70998         * math/w_acosl.c: Likewise.
70999         * math/w_acosh.c: Likewise.
71000         * math/w_acoshf.c: Likewise.
71001         * math/w_acoshl.c: Likewise.
71002         * math/w_asin.c: Likewise.
71003         * math/w_asinf.c: Likewise.
71004         * math/w_asinl.c: Likewise.
71005         * math/w_atan2.c: Likewise.
71006         * math/w_atan2f.c: Likewise.
71007         * math/w_atan2l.c: Likewise.
71008         * math/w_atanh.c: Likewise.
71009         * math/w_atanhf.c: Likewise.
71010         * math/w_atanhl.c: Likewise.
71011         * math/w_exp10.c: Likewise.
71012         * math/w_exp10f.c: Likewise.
71013         * math/w_exp10l.c: Likewise.
71014         * math/w_fmod.c: Likewise.
71015         * math/w_fmodf.c: Likewise.
71016         * math/w_fmodl.c: Likewise.
71017         * math/w_j0.c: Likewise.
71018         * math/w_j0f.c: Likewise.
71019         * math/w_j0l.c: Likewise.
71020         * math/w_j1.c: Likewise.
71021         * math/w_j1f.c: Likewise.
71022         * math/w_j1l.c: Likewise.
71023         * math/w_jn.c: Likewise.
71024         * math/w_jnf.c: Likewise.
71025         * math/w_log.c: Likewise.
71026         * math/w_logf.c: Likewise.
71027         * math/w_logl.c: Likewise.
71028         * math/w_log10.c: Likewise.
71029         * math/w_log10f.c: Likewise.
71030         * math/w_log10l.c: Likewise.
71031         * math/w_log2.c: Likewise.
71032         * math/w_log2f.c: Likewise.
71033         * math/w_log2l.c: Likewise.
71034         * math/w_pow.c: Likewise.
71035         * math/w_powf.c: Likewise.
71036         * math/w_powl.c: Likewise.
71037         * math/w_remainder.c: Likewise.
71038         * math/w_remainderf.c: Likewise.
71039         * math/w_remainderl.c: Likewise.
71040         * math/w_scalb.c: Likewise.
71041         * math/w_scalbf.c: Likewise.
71042         * math/w_scalbl.c: Likewise.
71043         * math/w_sqrt.c: Likewise.
71044         * math/w_sqrtf.c: Likewise.
71045         * math/w_sqrtl.c: Likewise.
71046         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
71047         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
71048         used.
71049         * math/math_private.h: Declare __kernel_standard_f.
71050         * math/w_cosh.c: Remove cruft and optimize a bit.
71051         * math/w_coshf.c: Likewise.
71052         * math/w_coshl.c: Likewise.
71053         * math/w_exp2.c: Likewise.
71054         * math/w_exp2f.c: Likewise.
71055         * math/w_exp2l.c: Likewise.
71056         * math/w_hypot.c: Likewise.
71057         * math/w_hypotf.c: Likewise.
71058         * math/w_hypotl.c: Likewise.
71059         * math/w_lgamma.c: Likewise.
71060         * math/w_lgamma_r.c: Likewise.
71061         * math/w_lgammaf.c: Likewise.
71062         * math/w_lgammaf_r.c: Likewise.
71063         * math/w_lgammal.c: Likewise.
71064         * math/w_lgammal_r.c: Likewise.
71065         * math/w_sinh.c: Likewise.
71066         * math/w_sinhf.c: Likewise.
71067         * math/w_sinhl.c: Likewise.
71068         * math/w_tgamma.c: Likewise.
71069         * math/w_tgammaf.c: Likewise.
71070         * math/w_tgammal.c: Likewise.
71071         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
71072         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
71073         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
71074         Minor optimizations.  Pretty printing.  Remove cruft.
71075         * sysdeps/i386/fpu/e_acosf.S: Likewise.
71076         * sysdeps/i386/fpu/e_acosh.S: Likewise.
71077         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
71078         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
71079         * sysdeps/i386/fpu/e_acosl.c: Likewise.
71080         * sysdeps/i386/fpu/e_asin.S: Likewise.
71081         * sysdeps/i386/fpu/e_asinf.S: Likewise.
71082         * sysdeps/i386/fpu/e_atan2.S: Likewise.
71083         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
71084         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
71085         * sysdeps/i386/fpu/e_atanh.S: Likewise.
71086         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
71087         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
71088         * sysdeps/i386/fpu/e_exp10.S: Likewise.
71089         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
71090         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
71091         * sysdeps/i386/fpu/e_exp2.S: Likewise.
71092         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
71093         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
71094         * sysdeps/i386/fpu/e_fmod.S: Likewise.
71095         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
71096         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
71097         * sysdeps/i386/fpu/e_hypot.S: Likewise.
71098         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
71099         * sysdeps/i386/fpu/e_log.S: Likewise.
71100         * sysdeps/i386/fpu/e_log10.S: Likewise.
71101         * sysdeps/i386/fpu/e_log10f.S: Likewise.
71102         * sysdeps/i386/fpu/e_log10l.S: Likewise.
71103         * sysdeps/i386/fpu/e_log2.S: Likewise.
71104         * sysdeps/i386/fpu/e_log2f.S: Likewise.
71105         * sysdeps/i386/fpu/e_log2l.S: Likewise.
71106         * sysdeps/i386/fpu/e_logf.S: Likewise.
71107         * sysdeps/i386/fpu/e_logl.S: Likewise.
71108         * sysdeps/i386/fpu/e_pow.S: Likewise.
71109         * sysdeps/i386/fpu/e_powf.S: Likewise.
71110         * sysdeps/i386/fpu/e_powl.S: Likewise.
71111         * sysdeps/i386/fpu/e_remainder.S: Likewise.
71112         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
71113         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
71114         * sysdeps/i386/fpu/e_scalb.S: Likewise.
71115         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
71116         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
71117         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
71118         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
71119         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
71120         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
71121         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
71122         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71123         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
71124         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
71125         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
71126         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
71127         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
71128         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
71129         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
71130         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
71131         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
71132         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71133         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
71134         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
71135         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71136         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
71137         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
71138         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
71139         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71140         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
71141         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
71142         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
71143         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
71144         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
71145         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
71146         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
71147         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
71148         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
71149         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
71150         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
71151         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
71152         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
71153         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
71154         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
71155         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
71156         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
71157         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
71158         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
71159         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
71160         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
71161         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
71162         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
71163         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
71164         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
71165         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
71166         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
71167         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
71168         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
71169         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
71170         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
71171         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
71172         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
71173         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
71174         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
71175         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
71176         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
71177         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
71178         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
71179         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
71180         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
71181         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
71182         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
71183         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
71184         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
71185         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
71186         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
71187         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
71188         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
71189         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
71190         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
71191         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
71192         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
71193         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
71194         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
71195         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
71196         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
71197         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
71198         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
71199         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
71200         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
71201         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
71202         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
71203         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
71204         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
71205         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
71206         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
71207         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
71208         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
71209         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
71210         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
71211         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
71212         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
71213         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
71214         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
71215         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
71216         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
71217         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
71218         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
71219         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
71220         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
71221         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
71222         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
71223         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
71224         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
71225         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
71226         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
71227         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
71228         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
71229         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
71230         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
71231         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
71232         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
71233         (__isnanf): Likewise.
71234         (__isinf_ns): Likewise.
71235         (__isinf_nsf): Likewise.
71236         (__finite): Likewise.
71237         (__finitef): Likewise.
71238         (__ieee754_sqrt): Define as macro.
71239         (__ieee754_sqrtf): Define as macro.
71240         (__ieee754_sqrtl): Define as macro.
71241         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
71242         inlined copy.
71243         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
71244         __FINITE_MATH_ONLY__ consistent.
71245         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
71247 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
71249         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
71250         of rawmemchr.
71252         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
71254 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
71256         * po/ja.po: Update from translation team.
71258 2011-10-08  Roland McGrath  <roland@hack.frob.com>
71260         * locale/programs/locarchive.c (prepare_address_space): New function.
71261         (create_archive, enlarge_archive, open_archive): Use it.
71263         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
71264         inside [SHARED], where it is used.
71266         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
71268         * nss/getent.c (netgroup_keys): Remove unused variable.
71269         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
71271 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
71273         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
71274         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
71275         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
71276         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
71277         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
71278         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
71279         * math/Makefile (libm-calls): Add s_isinf_ns.
71280         * math/divtc3.c: Use __isinf_nsl instead of isinf.
71281         * math/multc3.c: Likewise.
71282         * math/s_casin.c: Likewise.
71283         * math/s_casinf.c: Likewise.
71284         * math/s_casinl.c: Likewise.
71285         * math/s_ccos.c: Likewise.
71286         * math/s_ccosf.c: Likewise.
71287         * math/s_ccosl.c: Likewise.
71288         * math/s_ctan.c: Likewise.
71289         * math/s_ctanf.c: Likewise.
71290         * math/s_ctanh.c: Likewise.
71291         * math/s_ctanhf.c: Likewise.
71292         * math/s_ctanhl.c: Likewise.
71293         * math/s_ctanl.c: Likewise.
71294         * math/w_fmod.c: Likewise.
71295         * math/w_fmodf.c: Likewise.
71296         * math/w_fmodl.c: Likewise.
71297         * math/w_remainder.c: Likewise.
71298         * math/w_remainderf.c: Likewise.
71299         * math/w_remainderl.c: Likewise.
71300         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
71301         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
71302         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
71303         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
71304         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
71305         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
71306         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
71307         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
71309         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
71310         of the number.
71311         * stdio-common/printf_fphex.c: Likewise.
71312         * stdio-common/printf_size.c: Likewise.
71314         * math/e_exp10.c: Include math_private.h using <...> not "...".
71315         * math/e_exp10f.c: Likewise.
71316         * math/e_exp10l.c: Likewise.
71317         * math/e_exp2l.c: Likewise.
71318         * math/e_j0l.c: Likewise.
71319         * math/e_j1l.c: Likewise.
71320         * math/e_jnl.c: Likewise.
71321         * math/e_lgammal_r.c: Likewise.
71322         * math/e_rem_pio2l.c: Likewise.
71323         * math/e_scalb.c: Likewise.
71324         * math/e_scalbf.c: Likewise.
71325         * math/e_scalbl.c: Likewise.
71326         * math/k_cosl.c: Likewise.
71327         * math/k_sinl.c: Likewise.
71328         * math/k_tanl.c: Likewise.
71329         * math/s_cacoshf.c: Likewise.
71330         * math/s_catan.c: Likewise.
71331         * math/s_catanf.c: Likewise.
71332         * math/s_catanh.c: Likewise.
71333         * math/s_catanhf.c: Likewise.
71334         * math/s_catanhl.c: Likewise.
71335         * math/s_catanl.c: Likewise.
71336         * math/s_ccosh.c: Likewise.
71337         * math/s_ccoshf.c: Likewise.
71338         * math/s_ccoshl.c: Likewise.
71339         * math/s_cexp.c: Likewise.
71340         * math/s_cexpf.c: Likewise.
71341         * math/s_cexpl.c: Likewise.
71342         * math/s_clog.c: Likewise.
71343         * math/s_clog10.c: Likewise.
71344         * math/s_clog10f.c: Likewise.
71345         * math/s_clog10l.c: Likewise.
71346         * math/s_clogf.c: Likewise.
71347         * math/s_clogl.c: Likewise.
71348         * math/s_csin.c: Likewise.
71349         * math/s_csinf.c: Likewise.
71350         * math/s_csinh.c: Likewise.
71351         * math/s_csinhf.c: Likewise.
71352         * math/s_csinhl.c: Likewise.
71353         * math/s_csinl.c: Likewise.
71354         * math/s_csqrt.c: Likewise.
71355         * math/s_csqrtf.c: Likewise.
71356         * math/s_csqrtl.c: Likewise.
71357         * math/s_ctan.c: Likewise.
71358         * math/s_ctanf.c: Likewise.
71359         * math/s_ctanh.c: Likewise.
71360         * math/s_ctanhf.c: Likewise.
71361         * math/s_ctanhl.c: Likewise.
71362         * math/s_ctanl.c: Likewise.
71363         * math/s_ldexp.c: Likewise.
71364         * math/s_ldexpf.c: Likewise.
71365         * math/s_ldexpl.c: Likewise.
71366         * math/s_significand.c: Likewise.
71367         * math/s_significandf.c: Likewise.
71368         * math/s_significandl.c: Likewise.
71369         * math/w_acos.c: Likewise.
71370         * math/w_acosf.c: Likewise.
71371         * math/w_acosh.c: Likewise.
71372         * math/w_acoshf.c: Likewise.
71373         * math/w_acoshl.c: Likewise.
71374         * math/w_acosl.c: Likewise.
71375         * math/w_asin.c: Likewise.
71376         * math/w_asinf.c: Likewise.
71377         * math/w_asinl.c: Likewise.
71378         * math/w_atan2.c: Likewise.
71379         * math/w_atan2f.c: Likewise.
71380         * math/w_atan2l.c: Likewise.
71381         * math/w_atanh.c: Likewise.
71382         * math/w_atanhf.c: Likewise.
71383         * math/w_atanhl.c: Likewise.
71384         * math/w_cosh.c: Likewise.
71385         * math/w_coshf.c: Likewise.
71386         * math/w_coshl.c: Likewise.
71387         * math/w_dremf.c: Likewise.
71388         * math/w_exp10.c: Likewise.
71389         * math/w_exp10f.c: Likewise.
71390         * math/w_exp10l.c: Likewise.
71391         * math/w_exp2.c: Likewise.
71392         * math/w_exp2f.c: Likewise.
71393         * math/w_fmod.c: Likewise.
71394         * math/w_fmodf.c: Likewise.
71395         * math/w_fmodl.c: Likewise.
71396         * math/w_hypot.c: Likewise.
71397         * math/w_hypotf.c: Likewise.
71398         * math/w_hypotl.c: Likewise.
71399         * math/w_j0.c: Likewise.
71400         * math/w_j0f.c: Likewise.
71401         * math/w_j0l.c: Likewise.
71402         * math/w_j1.c: Likewise.
71403         * math/w_j1f.c: Likewise.
71404         * math/w_j1l.c: Likewise.
71405         * math/w_jn.c: Likewise.
71406         * math/w_jnf.c: Likewise.
71407         * math/w_jnl.c: Likewise.
71408         * math/w_lgamma.c: Likewise.
71409         * math/w_lgamma_r.c: Likewise.
71410         * math/w_lgammaf.c: Likewise.
71411         * math/w_lgammaf_r.c: Likewise.
71412         * math/w_lgammal.c: Likewise.
71413         * math/w_lgammal_r.c: Likewise.
71414         * math/w_log.c: Likewise.
71415         * math/w_log10.c: Likewise.
71416         * math/w_log10f.c: Likewise.
71417         * math/w_log10l.c: Likewise.
71418         * math/w_log2.c: Likewise.
71419         * math/w_log2f.c: Likewise.
71420         * math/w_log2l.c: Likewise.
71421         * math/w_logf.c: Likewise.
71422         * math/w_logl.c: Likewise.
71423         * math/w_pow.c: Likewise.
71424         * math/w_powf.c: Likewise.
71425         * math/w_powl.c: Likewise.
71426         * math/w_remainder.c: Likewise.
71427         * math/w_remainderf.c: Likewise.
71428         * math/w_remainderl.c: Likewise.
71429         * math/w_scalb.c: Likewise.
71430         * math/w_scalbf.c: Likewise.
71431         * math/w_scalbl.c: Likewise.
71432         * math/w_sinh.c: Likewise.
71433         * math/w_sinhf.c: Likewise.
71434         * math/w_sinhl.c: Likewise.
71435         * math/w_sqrt.c: Likewise.
71436         * math/w_sqrtf.c: Likewise.
71437         * math/w_sqrtl.c: Likewise.
71438         * math/w_tgamma.c: Likewise.
71439         * math/w_tgammaf.c: Likewise.
71440         * math/w_tgammal.c: Likewise.
71442         * po/ja.po: Update from translation team.
71444 2011-09-29  Andreas Jaeger  <aj@suse.de>
71446         [BZ #13179]
71447         * sunrpc/netname.c (netname2host): Fix logic.
71449         [BZ #6779]
71450         [BZ #6783]
71451         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
71452         correctly.
71453         * math/w_remainder.c (__remainder): Likewise.
71454         * math/w_remainderf.c (__remainderf): Likewise.
71455         * math/libm-test.inc (remainder_test): Add test cases.
71457 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71459         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
71460         sdiv_qrnnd.
71462 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
71464         * string/test-memcmp.c: Avoid unncessary #defines.
71465         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
71467 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71469         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
71470         Use new sse2 version for core i3 - i7 as it's faster
71471         than sse42 version.
71472         (bit_Prefer_PMINUB_for_stringop): New.
71473         * sysdeps/x86_64/rawmemchr.S: Update.
71474         Replace with faster SSE2 version.
71475         * sysdeps/x86_64/memrchr.S: New file.
71476         * sysdeps/x86_64/memchr.S: Update.
71477         Replace with faster SSE2 version.
71479 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
71481         * elf/dl-load.c (lose): Add cast to avoid warning.
71483 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
71485         * po/ca.po: Update from translation team.
71487         * inet/getnetgrent_r.c: Hook up nscd.
71488         * nscd/Makefile (routines): Add nscd_netgroup.
71489         (nscd-modules): Add netgroupcache.
71490         (CFLAGS-netgroupcache.c): Define.
71491         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
71492         (cache_search): Add const to second parameter.
71493         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
71494         INNETGR.
71495         (dbs): Add netgrdb entry.
71496         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
71497         (verify_persistent_db): Handle netgrdb.
71498         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
71499         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
71500         GETFDNETGR.
71501         (netgroup_response_header): Define.
71502         (innetgroup_response_header): Define.
71503         (datahead): Add netgroup_response_header and innetgroup_response_header
71504         elements.
71505         * nscd/nscd.conf: Add entries for netgroup cache.
71506         * nscd/nscd.h (dbtype): Add netgrdb.
71507         (_PATH_NSCD_NETGROUP_DB): Define.
71508         (netgroup_iov_disabled): Declare.
71509         (xmalloc, xcalloc, xrealloc): Move declarations here.
71510         (cache_search): Adjust prototype.
71511         Add netgroup-related prototypes.
71512         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
71513         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
71514         (__nscd_innetgr): Declare.
71515         * nscd/selinux.c (perms): Use access_vector_t as element type and
71516         add netgroup-related initializers.
71517         * nscd/netgroupcache.c: New file.
71518         * nscd/nscd_netgroup.c: New file.
71519         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
71520         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
71521         For four parameters use innetgr.
71522         * nss/nss_files/files-init.c: Add definition and callback for netgr.
71523         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
71524         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
71525         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
71527         * nscd/connections.c (register_traced_file): Don't register file
71528         for disabled databases.
71530 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
71532         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
71534         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
71535         from tree and freeing node.
71537 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
71539         * nss/nsswitch.c (__nss_database_lookup): Handle
71540         nss_parse_service_list out of memory case.
71542 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
71544         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
71545         out of memory case.
71547 2011-10-04  Andreas Schwab  <schwab@redhat.com>
71549         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
71550         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
71551         pass it down.
71552         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
71553         elf_machine_rela, elf_machine_lazy_rel.
71554         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
71555         (ELF_DYNAMIC_DO_REL): Likewise.
71556         (ELF_DYNAMIC_DO_RELA): Likewise.
71557         (ELF_DYNAMIC_RELOCATE): Likewise.
71558         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
71559         to ELF_DYNAMIC_DO_REL.
71560         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
71561         (dl_main): In trace mode always set __RTLD_NOIFUNC.
71562         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
71563         elf_machine_rela.
71564         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
71565         skip_ifunc, don't call ifunc function if non-zero.
71566         (elf_machine_rela): Likewise.
71567         (elf_machine_lazy_rel): Likewise.
71568         (elf_machine_lazy_rela): Likewise.
71569         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
71570         (elf_machine_lazy_rel): Likewise.
71571         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
71572         Likewise.
71573         (elf_machine_lazy_rel): Likewise.
71574         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
71575         Likewise.
71576         (elf_machine_lazy_rel): Likewise.
71577         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
71578         (elf_machine_lazy_rel): Likewise.
71579         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
71580         (elf_machine_lazy_rel): Likewise.
71581         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
71582         (elf_machine_lazy_rel): Likewise.
71583         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
71584         (elf_machine_lazy_rel): Likewise.
71585         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
71586         (elf_machine_lazy_rel): Likewise.
71587         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
71588         (elf_machine_lazy_rel): Likewise.
71590 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
71592         * nss/nss_files/files-init.c (_nss_files_init): Use static
71593         initialization for all the *_traced_file variables.
71595 2011-09-28  Andreas Schwab  <schwab@redhat.com>
71597         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
71599 2011-09-27  Roland McGrath  <roland@hack.frob.com>
71601         [BZ #13226]
71602         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
71604 2011-09-27  Andreas Schwab  <schwab@redhat.com>
71606         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
71607         Reread the line before reparsing it.
71609 2011-09-26  Andreas Schwab  <schwab@redhat.com>
71611         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
71613 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
71614             Maxim Kuvyrkov  <maxim@codesourcery.com>
71615             Joseph Myers  <joseph@codesourcery.com>
71617         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
71618         if needed for __stack_chk_guard.
71620 2011-09-19  Roland McGrath  <roland@hack.frob.com>
71622         * sysdeps/posix/spawni.c (script_execute): Always define it.
71623         It will be optimized away if unused.
71624         (maybe_script_execute): New function.
71625         (__spawni): Call it.
71627         * Makerules: Don't include tls.make.
71628         (config-tls): Always set to thread.
71629         * tls.make.c: File removed.
71631 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
71633         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
71634         * config.make.in (CPPFLAGS-config): New substituted variable.
71636 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
71638         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
71640         [BZ #13192]
71641         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
71642         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
71644 2011-09-15  Roland McGrath  <roland@hack.frob.com>
71646         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
71647         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
71648         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
71649         (CALL_FAIL): Likewise.
71650         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
71651         (CALL_FAIL): Macro removed.
71652         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
71654 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
71656         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
71657         for __FINITE_MATH_ONLY__ == 1.
71659 2011-09-15  Andreas Schwab  <schwab@redhat.com>
71661         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
71662         __ieee754_sqrt instead of sqrt.
71663         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
71664         __ieee754_sqrtf instead of sqrtf.
71665         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
71666         __floorf instead of floorf.
71667         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
71668         __floorf, __truncf instead of floorf, truncf.
71670 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
71672         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
71674         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
71675         __extern_always_inline.
71676         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
71677         32-bit.
71679 2011-09-14  Andreas Schwab  <schwab@redhat.com>
71681         * elf/rtld.c (dl_main): Also relocate in dependency order when
71682         doing symbol dependency testing.
71684 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
71686         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
71687         Always define `refsym'.
71689 2011-09-13  Andreas Schwab  <schwab@redhat.com>
71691         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
71692         (__FD_ELT): Renamed from __FDELT.
71693         * misc/bits/select2.h (__FD_ELT): Likewise.
71694         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
71695         __FD_MASK instead of __FDELT, __FDMASK.
71696         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
71697         Likewise.
71698         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
71699         Likewise.
71701         * elf/Makefile (gen-ldd): Fix pattern.
71703         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
71704         (init_tls): Likewise.
71706 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
71708         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
71710 2011-09-12  Andreas Schwab  <schwab@redhat.com>
71712         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
71713         `struct cmsghdr *' instead of `void *'.
71714         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
71715         Likewise.
71717 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
71719         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
71720         if non-absolute.
71721         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
71722         ldd_rewrite_script.
71724 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
71726         * configure.in: Remove --with-tls option.
71727         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
71728         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
71729         out in case it is missing.
71730         * sysdeps/ia64/elf/configure.in: Likewise.
71731         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
71732         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
71733         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
71734         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
71735         * sysdeps/sh/elf/configure.in: Likewise.
71736         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
71737         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
71738         * sysdeps/x86_64/elf/configure.in: Likewise.
71739         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
71740         * sysdeps/mach/hurd/tls.h: Likewise.
71742         [BZ #13067]
71743         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
71745         [BZ #13090]
71746         * configure.in: Fix use of AC_INIT.
71748         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
71750 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
71752         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
71753         __set_errno.
71754         * malloc/hooks.c: Likewise.
71756         [BZ #11929]
71757         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
71758         variables statically.
71759         (narenas): Initialize.
71760         (list_lock): Initialize.
71761         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
71762         initializtion of main_arena and list_lock.  Small cleanups.
71763         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
71764         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
71765         Add initializers to main_arena and mp_.
71766         (malloc_state): Remove pagesize member.  Change all users to use
71767         GLRO(dl_pagesize).
71769         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
71770         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
71771         is always initialized.
71773         * malloc/malloc.c: Removed unused configurations and dead code.
71774         * malloc/arena.c: Likewise.
71775         * malloc/hooks.c: Likewise.
71776         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
71778         * include/tls.h: Removed.  USE___THREAD must always be defined.
71779         * bits/libc-tsd.h: Don't handle !USE___THREAD.
71780         * elf/dl-libc.c: Likewise.
71781         * elf/dl-tsd.c: Likewise.
71782         * include/errno.h: Likewise.
71783         * include/netdb.h: Likewise.
71784         * include/resolv.h: Likewise.
71785         * inet/herrno-loc.c: Likewise.
71786         * inet/herrno.c: Likewise.
71787         * malloc/arena.c: Likewise.
71788         * malloc/hooks.c: Likewise.
71789         * malloc/malloc.c: Likewise.
71790         * resolv/res-state.c: Likewise.
71791         * resolv/res_libc.c: Likewise.
71792         * sysdeps/i386/dl-machine.h: Likewise.
71793         * sysdeps/ia64/dl-machine.h: Likewise.
71794         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
71795         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
71796         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
71797         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
71798         * sysdeps/sh/dl-machine.h: Likewise.
71799         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
71800         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
71801         * sysdeps/unix/i386/sysdep.S: Likewise.
71802         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
71803         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
71804         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
71805         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
71806         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
71807         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
71808         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
71809         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
71810         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
71811         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
71812         * sysdeps/unix/x86_64/sysdep.S: Likewise.
71813         * sysdeps/x86_64/dl-machine.h: Likewise.
71814         * tls.make.c: Likewise.
71816         * configure.in: Remove --with-__thread option.  Make tests for
71817         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
71818         tls_model attribute fail if no support is available.  Remove
71819         USE_IN_LIBIO.
71820         * Makeconfig: Adjust for dropped configure option.  All features are
71821         now mandatory.
71822         * Makerules: Likewise.
71823         * Versions.def: Likewise.
71824         * argp/argp-fmtstream.c: Likewise.
71825         * argp/argp-fmtstream.h: Likewise.
71826         * argp/argp-help.c: Likewise.
71827         * assert/assert.c: Likewise.
71828         * config.h.in: Likewise.
71829         * config.make.in: Likewise.
71830         * configure: Likewise.
71831         * configure.in: Likewise.
71832         * csu/Versions: Likewise.
71833         * csu/init.c: Likewise.
71834         * elf/tst-audit2.c: Likewise.
71835         * elf/tst-tls10.c: Likewise.
71836         * elf/tst-tls10.h: Likewise.
71837         * elf/tst-tls11.c: Likewise.
71838         * elf/tst-tls12.c: Likewise.
71839         * elf/tst-tls14.c: Likewise.
71840         * elf/tst-tlsmod11.c: Likewise.
71841         * elf/tst-tlsmod12.c: Likewise.
71842         * elf/tst-tlsmod13.c: Likewise.
71843         * elf/tst-tlsmod13a.c: Likewise.
71844         * elf/tst-tlsmod14a.c: Likewise.
71845         * elf/tst-tlsmod15b.c: Likewise.
71846         * elf/tst-tlsmod16a.c: Likewise.
71847         * elf/tst-tlsmod16b.c: Likewise.
71848         * elf/tst-tlsmod7.c: Likewise.
71849         * elf/tst-tlsmod8.c: Likewise.
71850         * elf/tst-tlsmod9.c: Likewise.
71851         * gmon/gmon.c: Likewise.
71852         * grp/fgetgrent_r.c: Likewise.
71853         * grp/putgrent.c: Likewise.
71854         * hurd/fopenport.c: Likewise.
71855         * include/libc-symbols.h: Likewise.
71856         * include/tls.h: Likewise.
71857         * intl/gettextP.h: Likewise.
71858         * intl/loadinfo.h: Likewise.
71859         * locale/global-locale.c: Likewise.
71860         * locale/localeinfo.h: Likewise.
71861         * mach/devstream.c: Likewise.
71862         * malloc/arena.c: Likewise.
71863         * malloc/set-freeres.c: Likewise.
71864         * misc/err.c: Likewise.
71865         * misc/getttyent.c: Likewise.
71866         * misc/mntent_r.c: Likewise.
71867         * posix/getopt.c: Likewise.
71868         * posix/wordexp.c: Likewise.
71869         * pwd/fgetpwent_r.c: Likewise.
71870         * resolv/Versions: Likewise.
71871         * resolv/res_hconf.c: Likewise.
71872         * shadow/fgetspent_r.c: Likewise.
71873         * shadow/putspent.c: Likewise.
71874         * stdio-common/printf_fphex.c: Likewise.
71875         * stdio-common/tmpfile.c: Likewise.
71876         * stdlib/abort.c: Likewise.
71877         * stdlib/fmtmsg.c: Likewise.
71878         * sunrpc/auth_unix.c: Likewise.
71879         * sunrpc/clnt_perr.c: Likewise.
71880         * sunrpc/clnt_tcp.c: Likewise.
71881         * sunrpc/clnt_udp.c: Likewise.
71882         * sunrpc/clnt_unix.c: Likewise.
71883         * sunrpc/openchild.c: Likewise.
71884         * sunrpc/svc_simple.c: Likewise.
71885         * sunrpc/svc_tcp.c: Likewise.
71886         * sunrpc/svc_udp.c: Likewise.
71887         * sunrpc/svc_unix.c: Likewise.
71888         * sunrpc/xdr.c: Likewise.
71889         * sunrpc/xdr_array.c: Likewise.
71890         * sunrpc/xdr_rec.c: Likewise.
71891         * sunrpc/xdr_ref.c: Likewise.
71892         * sunrpc/xdr_stdio.c: Likewise.
71894 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
71896         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
71898 2011-07-03  Andreas Jaeger  <aj@suse.de>
71900         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
71901         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
71902         regenerate with gen-libm-tests.pl.
71904 2010-05-12  Petr Baudis  <pasky@suse.cz>
71906         [BZ #11589]
71907         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
71908         around j0() zero points by switching to j1().
71909         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
71910         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
71911         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
71912         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
71914 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
71916         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
71917         instead of 0.
71918         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
71919         instead of 0.
71920         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
71921         Patch in part by Pavel Roskin <proski@gnu.org>.
71923         [BZ #13138]
71924         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
71925         realloc.
71926         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
71927         Free memory block if necessary.
71929         [BZ #12847]
71930         * libio/genops.c (INTDEF): For string streams the _lock pointer can
71931         be NULL.  Don't lock in this case.
71933 2011-09-09  Roland McGrath  <roland@hack.frob.com>
71935         * elf/elf.h (ELFOSABI_GNU): New macro.
71936         (ELFOSABI_LINUX): Define to that.
71938 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
71940         * string/strncat.c (strncat): Undef the symbol in case it has been
71941         defined in bits/string.h.
71943 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
71945         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
71947         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
71948         link map.
71950 2011-08-17  Andreas Jaeger  <aj@suse.de>
71952         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
71954 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
71955             Ian Lance Taylor  <iant@google.com>
71957         * math/libm-test.inc (lround_test): New testcase.
71958         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
71960 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
71962         * Makefile: Remove support for automatic cvs check-ins.
71963         * Makerules: Likewise.
71964         * config.make.in: Likewise.
71965         * configure.in: Likewise.
71966         * intl/Makefile: Likewise.
71967         * locale/Makefile: Likewise.
71968         * po/Makefile: Likewise.
71969         * posix/Makefile: Likewise.
71970         * sysdeps/gnu/Makefile: Likewise.
71971         * sysdeps/mach/hurd/Makefile: Likewise.
71972         * sysdeps/sparc/sparc32/Makefile: Likewise.
71974         [BZ #13118]
71975         * posix/Makefile (bug-regex32-ENV): Define.
71976         Patch by John Stanley <jpsinthemix@verizon.net>.
71978         * misc/Makefile (headers): Add bits/select2.h.
71979         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
71980         * misc/bits/select2.h: New file.
71981         * include/bits/select2.h: New file.
71982         * debug/Makefile (routines): Add fdelt_chk.
71983         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
71984         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
71985         FD_ISSET.
71986         * debug/fdelt_chk.c: New file.
71988         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
71989         * wcsmbs/test-wmemcmp.c: Likewise.
71990         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
71991         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
71993 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71995         * string/Makefile (strop-tests): Add memcmp.
71996         * string/test-wmemcmp.c: New file.
71997         * string/test-memcmp.c: Add wmemcmp support.
71999 2011-09-08  Roland McGrath  <roland@hack.frob.com>
72001         [BZ #13153]
72002         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
72003         2011-07-19 change.
72005         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
72006         garbage value in a __mach_port_mod_refs call in the cases of the
72007         task-self and thread-self ports.
72009 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72011         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
72013 2011-09-08  Andreas Schwab  <schwab@redhat.com>
72015         * elf/dl-load.c (lose): Check for non-null L.
72017 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
72019         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
72021         * elf/dl-libc.c (dlerror_run): Pass back error code from
72022         dl_catch_error.
72024         [BZ #13123]
72025         * elf/dl-load.c (lose): Free l_origin if it is valid.
72027         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
72028         names.
72029         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
72030         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
72031         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
72032         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
72033         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
72034         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
72036 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72038         * sysdeps/powerpc/fpu/e_hypot.c: New file.
72039         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
72040         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
72041         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
72042         * sysdeps/powerpc/fpu/k_cosf.c: New file.
72043         * sysdeps/powerpc/fpu/k_sinf.c: New file.
72044         * sysdeps/powerpc/fpu/s_cosf.c: New file.
72045         * sysdeps/powerpc/fpu/s_sinf.c: New file.
72046         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
72047         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
72049 2011-08-15  Alan Modra  <amodra@gmail.com>
72051         [BZ #13092]
72052         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
72053         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
72054         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
72055         ppc_mcount to static-only-routines.
72056         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
72057         __mcount_internal.
72058         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
72059         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
72061 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
72063         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
72064         for finite and infinity parameters.
72066 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
72068         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
72069         and add nop instructions for throughput optimization.
72070         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
72072 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
72074         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
72075         aligned copy for power7 with vector-scalar instructions.
72076         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
72078 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
72080         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
72081         AVX check.
72083 2011-09-07  Andreas Schwab  <schwab@redhat.com>
72085         [BZ #13144]
72086         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
72087         last change.
72089 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
72091         * sysdeps/unix/sysv/linux/x86_64/init-first.c
72092         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
72093         syscall wrapper around clock_gettime in __vdso_clock_gettime.
72094         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
72095         clock_gettime.
72097 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
72099         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
72100         Forgot to demangle the pointer.
72102         * sysdeps/i386/sysdep.h: Define atom_text_section.
72103         * sysdeps/x86_64/sysdep.h: Likewise.
72104         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
72105         section with atom_text_section.
72106         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
72107         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
72108         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
72109         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
72110         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
72112         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
72113         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
72114         already be defined.  Change to take two parameters and don't assign
72115         result to variable.  Adjust all users.
72116         Define INTERNAL_GETTIME if not already defined.
72117         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
72118         call.
72119         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
72120         HAVE_CLOCK_GETTIME_VSYSCALL.
72121         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
72123         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
72124         gettimeofday vsyscall, just use time.
72126 2011-09-06  Andreas Schwab  <schwab@redhat.com>
72128         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
72129         <errno.h>.
72131 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
72133         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
72134         syscall on x86-64.
72135         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
72136         syscall.
72137         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
72138         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
72139         syscall if possible.
72141 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
72143         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
72144         e_ident.  Don't pass to find_mapsXX.
72145         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
72147 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
72149         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
72150         strchr-sse2-no-bsf strrchr-sse2-no-bsf
72151         * sysdeps/x86_64/multiarch/strchr.S: Update.
72152         Check bit_slow_BSF bit.
72153         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
72154         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
72155         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
72157 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
72159         [BZ #13134]
72160         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
72161         before glibc 2.15.
72162         (tryshell): Define.
72163         (__spawni): Change last parameter to be flag.  Test
72164         SPAWN_XFLAGS_USE_PATH flag to use path or not.
72165         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
72166         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
72167         * posix/spawni.c: Likewise.
72168         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
72169         * posix/spawnp.c: Likewise.  Change normal version to use
72170         SPAWN_XFLAGS_USE_PATH.
72171         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
72172         SPAWN_XFLAGS_TRY_SHELL.
72174         [BZ #13150]
72175         * posix/glob.h: Remove gcc 1.x support.
72177         [BZ #13068]
72178         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
72180 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
72182         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
72183         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
72184         strrchr-sse2-bsf
72185         * sysdeps/i386/i686/multiarch/strchr.S: New file.
72186         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
72187         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
72188         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
72189         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
72190         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
72192 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72194         * sysdeps/x86_64/wcscmp.S: New file.
72196         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
72197         wcscmp-c wcscmp-sse2
72198         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
72199         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
72200         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
72201         * wcsmbs/wcscmp.c: Allow renaming.
72203 2011-09-05  David S. Miller  <davem@davemloft.net>
72205         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
72206         stack slot, rather than the struct return pointer slot.
72207         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
72208         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
72209         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
72210         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
72212 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
72214         * po/ja.po: Update from translation team.
72216         [BZ #13144]
72217         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
72218         kernel in 64-bit binaries.
72220 2011-09-01  David S. Miller  <davem@davemloft.net>
72222         * elf/elf.h (HWCAP_SPARC_*): Move to..
72223         * sysdeps/sparc/sysdep.h: this new file and add new values.
72224         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
72225         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
72226         _DL_HWCAP_COUNT to 24.
72227         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
72228         entries.
72229         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
72230         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
72231         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
72232         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
72233         instead of magic constants.
72234         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
72236 2011-08-31  David S. Miller  <davem@davemloft.net>
72238         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
72239         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
72240         Reimplement to do errno handling inline.
72241         (SYSCALL_ERROR_HANDLER): New macro.
72242         (__SYSCALL_STRING): Do not do errno handling in asm.
72243         (__CLONE_SYSCALL_STRING): Delete.
72244         (__INTERNAL_SYSCALL_STRING): Delete.
72245         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
72246         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
72247         (PSEUDO): Reimplement to do errno handling inline.
72248         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
72249         (SYSCALL_ERROR_HANDLER): New macro.
72250         (__SYSCALL_STRING): Do not do errno handling in asm.
72251         (__CLONE_SYSCALL_STRING): Delete.
72252         (__INTERNAL_SYSCALL_STRING): Delete.
72253         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
72254         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
72255         i386.
72256         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
72257         (inline_syscall*): Add 'err' argument.
72258         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
72259         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
72260         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
72261         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
72263         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
72264         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
72266 2011-08-30  Andreas Schwab  <schwab@redhat.com>
72268         * elf/rtld.c (dl_main): Relocate objects in dependency order.
72270 2011-08-29  Jiri Olsa <jolsa@redhat.com>
72272         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
72273         directive.
72275 2011-08-24  David S. Miller  <davem@davemloft.net>
72277         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
72279 2011-08-24  Andreas Schwab  <schwab@redhat.com>
72281         * elf/Makefile: Add rules to build and run unload8 test.
72282         * elf/unload8.c: New file.
72283         * elf/unload8mod1.c: New file.
72284         * elf/unload8mod1x.c: New file.
72285         * elf/unload8mod2.c: New file.
72286         * elf/unload8mod3.c: New file.
72288         * elf/dl-close.c (_dl_close_worker): Reset private search list if
72289         it wasn't used.
72291 2011-08-23  David S. Miller  <davem@davemloft.net>
72293         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
72294         subtract stack bias.
72295         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
72296         %sp not %fp in calculations.
72297         (_JMPBUF_UNWINDS_ADJ): Likewise.
72299         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
72300         (aio_suspend): Call it to force an exception region around the
72301         AIO_MISC_WAIT() invocation.
72303 2011-08-23  Andreas Schwab  <schwab@redhat.com>
72305         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
72306         backslash.
72308 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
72310         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
72311         protection macro.
72312         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
72313         and <dl-machine.h>.
72314         (Elf64_FuncDesc): Remove.
72316 2011-08-22  David S. Miller  <davem@davemloft.net>
72318         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
72319         sigaltstack check, add missing cfi directives.
72320         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
72321         missing cfi directives, and sigaltstack handling.
72323 2011-08-16  Andreas Schwab  <schwab@redhat.com>
72325         [BZ #11724]
72326         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
72327         object is seen twice.
72328         * elf/dl-fini.c (_dl_sort_fini): Likewise.
72330         * elf/Makefile (distribute): Add tst-initorder2.c.
72331         (tests): Add tst-initorder2.
72332         (modules-names): Add tst-initorder2a tst-initorder2b
72333         tst-initorder2c tst-initorder2d.  Add rules to build them.
72334         ($(objpfx)tst-initorder2.out): New rule.
72335         * elf/tst-initorder2.c: New file.
72336         * elf/tst-initorder2.exp: New file.
72338 2011-08-22  Andreas Schwab  <schwab@redhat.com>
72340         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
72342         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
72343         dependencies back to end of function.
72345         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
72346         $(elfobjdir)/ld.so.
72348 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
72350         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
72351         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
72352         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
72353         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
72354         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
72355         of __vdso_gettimeofday.
72356         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
72357         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
72358         attribute_hidden.
72359         (_libc_vdso_platform_setup): Remove initialization of
72360         __vdso_gettimeofday and __vdso_time.
72362 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
72364         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
72365         and fgetc_unlocked.
72366         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
72367         getc_unlocked.
72369         * elf/dl-open.c (add_to_global): Report additions to the global scope
72370         for LD_DEBUG=scopes.
72371         (dl_open_worker): Also print scope of newly loaded dependencies.
72372         (_dl_show_scope): Indicate if there is no scope.
72374         [BZ #13114]
72375         * stdio-common/Makefile (tests): Add bug24.
72376         * stdio-common/bug24.c: New file.
72378 2011-08-19  Andreas Jaeger  <aj@suse.de>
72380         [BZ #13114]
72381         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
72382         non-existant file when using close-on-exec mode.
72384 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
72386         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
72387         the very first instruction.
72389         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
72390         the CFI state in the end.
72391         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
72392         inclusion of dl-trampoline.h.
72393         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
72395 2011-08-19  Andreas Schwab  <schwab@redhat.com>
72397         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
72398         expectations for long double.
72400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
72401         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
72403 2011-08-14  David S. Miller  <davem@davemloft.net>
72405         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
72406         artificual limit depends upon the system page size.
72408 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
72410         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
72411         * resolv/Makefile: Define CFLAGS-libresolv.
72413 2011-08-17  Andreas Schwab  <schwab@redhat.com>
72415         * nss/makedb.c (compute_tables): Make variables used in nested
72416         function static.
72418 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
72420         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
72421         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
72422         if buffer was too small.
72424         * elf/pldd.c (main): Attach to all threads in the process.
72425         Rewrite /proc handling to use *at functions.
72427 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
72429         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
72430         specifies first scope to show.
72431         (dl_open_worker): Update callers.  Move printing scope of new
72432         object to before the relocation.
72433         * elf/rtld.c (dl_main): Update _dl_show_scope call.
72434         * sysdeps/generic/ldsodefs.h: Update declaration.
72436         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
72437         string for the scope number.
72439 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
72441         * nscd/servicescache.c (cache_addserv): Make sure written is always
72442         initialized.
72444 2011-08-14  Roland McGrath  <roland@hack.frob.com>
72446         * sysdeps/i386/i486/bits/atomic.h
72447         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
72448         statement expression, so as to suppress "set but not used" warning.
72449         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
72451         * string/strncat.c (STRNCAT): Use prototype definition.
72453         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
72454         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
72455         -Iprograms here.
72456         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
72457         (localedef-modules): Add localedef.
72458         (locale-modules): Add locale.
72460         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
72461         * elf/rtld.c (dl_main): Invert order of assignment in last change,
72462         to avoid a warning.
72464 2011-08-14  David S. Miller  <davem@davemloft.net>
72466         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
72467         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
72469 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
72471         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
72472         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
72473         * elf/rtld.c (dl_main): Set l_name of vDSO.
72474         Call _dl_show_scope when DL_DEBUG_SCOPES.
72475         (process_dl_debug): Recognize scopes flag and also set it for all.
72476         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
72477         Declare _dl_show_scope.
72479         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
72480         (do_dlopen): Pass caller_dlopen to dl_open.
72481         (__libc_dlopen_mode): Initialize caller_dlopen.
72483         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
72484         of libc.  Make tolower call locale-independent.  Optimize a bit by
72485         using isdigit instead of isalnum.
72486         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
72488 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
72490         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
72491         was a dependency or dynamically loaded.
72493 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
72495         * intl/l10nflist.c: Allow architecture-specific pop function.
72496         * sysdeps/x86_64/l10nflist.c: New file.
72498         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
72499         classification.
72501 2011-08-10  Andreas Schwab  <schwab@redhat.com>
72503         * include/dirent.h: Add libc_hidden_proto for scandirat and
72504         scandirat64.  Don't declare __scandirat64.
72505         * dirent/scandirat.c: Add libc_hidden_def.
72506         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
72507         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
72509 2011-08-10  David S. Miller  <davem@davemloft.net>
72511         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
72512         enum.
72513         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
72514         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
72515         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
72517 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
72519         * Versions.def [libc]: Add GLIBC_2.15.
72520         * dirent/Makefile (routines): Add scandirat and scandirat64.
72521         * dirent/Versions [libc]: Export scandirat and scandirat64 for
72522         GLIBC_2.15.
72523         * dirent/dirent.h: Declare scandirat and scandirat64.
72524         * dirent/scandirat.c: New file.
72525         * dirent/scandirat64.c: New file.
72526         * sysdeps/wordsize-64/scandirat.c: New file.
72527         * sysdeps/wordsize-64/scandirat64.c: New file.
72528         * dirent/opendir.c: Define opendirat.
72529         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
72530         using scandirat.
72531         * dirent/scandir64.c: Adjust for scandir.c change.
72532         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
72533         __scandirat64, and __scandir_cancel_handler.
72534         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
72535         additional parameter and use openat instead of open (outside of ld.so).
72536         Add new __opendir as wrapper around __opendirat.
72537         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
72538         here without requiring old scandirat implementation.
72540 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
72542         * dirent/scandir.c (cancel_handler): Renamed to
72543         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
72544         defined.  Adjust users.
72545         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
72546         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
72548 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
72550         * string/test-string.h (IMPL): Use __STRING to expand name and then
72551         stringify it.
72553         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
72554         of cleanups.
72556 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72558         * string/Makefile: Update.
72559         (strop-tests): Append strncat.
72560         * string/test-wcscmp.c: New file.
72561         New comprehensive test for wcscmp.
72562         * string/test-strcmp.c: Update.
72563         (WIDE): New define.
72565 2011-07-22  Andreas Schwab  <schwab@redhat.com>
72567         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
72568         line.
72570 2011-07-26  Andreas Schwab  <schwab@redhat.com>
72572         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
72573         encoding to ACE if AI_IDN.
72575 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
72577         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
72578         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
72580 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
72582         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
72583         Fix overflow bug in strncat.
72584         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
72586         * string/test-strncat.c: Update.
72587         Add new tests for checking overflow bugs.
72589 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
72591         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
72592         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
72593         * sysdeps/i386/i686/multiarch/strcat.S: New file.
72594         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
72595         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
72596         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
72597         * sysdeps/i386/i686/multiarch/strncat.S: New file.
72598         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
72599         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
72601         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
72602         (USE_AS_STRCAT): Define.
72603         Add strcat and strncat support.
72604         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
72606 2011-07-25  Andreas Schwab  <schwab@redhat.com>
72608         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
72609         __n bigger than INT_MAX+1.
72610         (__strncmp_g): Likewise.
72612 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
72614         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
72615         * libio/stido.h: Likewise.
72617         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
72618         (AF_NFC): Define.
72619         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
72620         (AF_NFC): Define.
72622         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
72623         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
72624         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
72625         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
72626         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
72628         [BZ #13021]
72629         * scripts/test-installation.pl: Don't expect libnss_test1 to be
72630         installed.
72632         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
72633         typo.
72634         (_dl_x86_64_save_sse): Likewise.
72636 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
72638         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
72639         OSXSAVE.
72640         (_dl_x86_64_save_sse): Likewise.
72642         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
72644         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
72646 2011-07-21  Andreas Schwab  <schwab@redhat.com>
72648         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
72649         change.
72650         (_dl_x86_64_save_sse): Use correct AVX check.
72652 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72654         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
72655         bug in strncpy/strncat.
72656         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
72658 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
72660         * string/tester.c (test_strcat): Add tests for different alignments
72661         of source and destination.
72662         (test_strncat): Likewise.
72664 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
72666         [BZ #12852]
72667         * posix/glob.c (glob): Check passed in values before using them in
72668         expressions to avoid some overflows.
72669         (glob_in_dir): Likewise.
72671         [BZ #13007]
72672         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
72673         check for AVX enablement so that we don't crash with old kernels and
72674         new hardware.
72675         * elf/tst-audit4.c: Add same checks here.
72676         * elf/tst-audit6.c: Likewise.
72678         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
72680 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
72682         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
72684 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
72686         * po/cs.po: Update from translation team.
72687         * po/bg.po: Likewise.
72689 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
72691         * misc/sys/cdefs.h: Add support for const attribute.
72692         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
72693         to gnu_dev_{major,minor,makedev} functions.
72695 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
72697         * intl/dcigettext.c (get_output_charset): Add missing bracket.
72699 2011-07-20  Andreas Schwab  <schwab@redhat.com>
72701         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
72702         strlen results.
72704 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72706         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
72707         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
72708         register in order to avoid conflicts with the soft frame pointer
72709         being held in r11 when necessary.
72710         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
72711         (INTERNAL_VSYSCALL_NCS): Likewise.
72713 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
72715         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
72716         * elf/dl-fini.c (_dl_fini): Adjust caller.
72717         * elf/dl-close.c (_dl_close_worker): Likewise.
72718         * sysdeps/generic/ldsodefs.h: Adjust declaration.
72720 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
72722         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
72723         "aux_cache->nlibs < 0".
72725         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
72726         in the reload-count case.
72728 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
72730         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
72731         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
72732         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
72733         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
72734         * sysdeps/x86_64/multiarch/strcat.S: New file.
72735         * sysdeps/x86_64/multiarch/strncat.S: New file.
72736         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
72737         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
72738         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
72739         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
72740         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
72741         (USE_AS_STRCAT): Define.
72742         Add strcat and strncat support.
72743         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
72744         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
72745         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
72746         * string/strncat.c: Update.
72747         (USE_AS_STRNCAT): Define.
72748         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72749         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
72750         and i7.
72751         * sysdeps/x86_64/multiarch/init-arch.h
72752         (bit_Prefer_PMINUB_for_stringop): New.
72753         (index_Prefer_PMINUB_for_stringop): Likewise.
72754         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
72755         bit_Prefer_PMINUB_for_stringop.
72757 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
72759         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
72760         buffer64.
72761         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
72762         of casting of buffer.
72763         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
72764         buffer32 and buffer64.
72765         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
72766         writes instead of casting of buffer.
72767         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
72768         buffer32.
72769         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
72770         casting of buffer.
72772 2011-07-19  Andreas Schwab  <schwab@redhat.com>
72774         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
72776 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
72778         * nscd/nscd.c (termination_handler): Don't do anything for a database
72779         if it has not yet been initialized.
72781 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
72783         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
72785 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
72787         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
72789 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
72791         * po/nl.po: Update from translation team.
72792         * po/sv.po: Likewise.
72794 2011-07-16  Roland McGrath  <roland@hack.frob.com>
72796         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
72797         now disallowed by GCC.
72799         * configure.in (use-default-link): Default to yes if a test -shared
72800         link meets our qualifications.
72801         * configure: Regenerated.
72803         * config.make.in (output-format): New variable.
72804         * configure.in: Check for ld --print-output-format support.
72805         * configure: Regenerated.
72806         * Makerules ($(common-objpfx)format.lds)
72807         [$(output-format) != unknown]: Just use $(output-format),
72808         instead of the linker-script munging.
72810 2011-07-14  Roland McGrath  <roland@hack.frob.com>
72812         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
72813         of $(common-objpfx)shlib.lds.
72814         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
72816         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
72817         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
72819         * configure.in (-z relro check): Adjust test code to add a large
72820         writable data section after it.
72821         * configure: Regenerated.
72823 2011-07-11  Roland McGrath  <roland@hack.frob.com>
72825         * configure.in (-z relro check): Fix test code to make the variable
72826         truly const.
72827         * configure: Regenerated.
72829 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
72831         * nscd/nscd.h (struct traced_file): Define.
72832         (struct database_dyn): Remove inotify_descr, reset_res, and filename
72833         elements.  Add traced_files.
72834         (inotify_fd): Declare.
72835         (register_traced_file): Declare.
72836         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
72837         (inotify_fd): Export.
72838         (resolv_conf_descr): Remove.
72839         (nscd_init): Move inotify descriptor creation to main.
72840         Don't register files for notification here.
72841         (register_traced_file): New function.
72842         (invalidate_cache): Don't use reset_res to determine whether to call
72843         res_init, go through the list of registered files.
72844         (main_loop_poll): The inotify descriptors are now stored in the
72845         structures for the traced files.
72846         (main_loop_epoll): Likewise.
72847         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
72848         to __nss_disable_nscd.
72849         * nscd/cache.c (prune_cache): There is no single inotify descriptor
72850         for a database anymore.  Check the records for all the registered
72851         files instead.
72852         * nss/Makefile (libnss_files-routines): Add files-init.
72853         (libnss_db-routines): Add db-init.
72854         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
72855         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
72856         * nss/nss_db/db-init.c: New file.
72857         * nss/nss_files/files-init.c: New file.
72858         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
72859         __nss_lookup_function.
72860         (__nss_lookup_function): Call nss_load_library.
72861         (nss_load_all_libraries): New function.
72862         (__nss_disable_nscd): Take parameter with callback function for files
72863         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
72864         used for the cached services.
72865         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
72866         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
72867         options for features to all the files in nscd.
72869         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
72871 2011-07-10  Roland McGrath  <roland@hack.frob.com>
72873         * csu/elf-init.c (__libc_csu_init): Comment typo.
72875 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
72877         * po/pl.po: Update from translation team.
72878         * po/ja.po: Likewise.
72879         * po/ru.po: Likewise.
72880         * po/ko.po: Likewise.
72881         * po/fr.po: Likewise.
72883 2011-07-09  Roland McGrath  <roland@hack.frob.com>
72885         * configure.in (.ctors/.dtors header and trailer check):
72886         Use an empirical test on a built program.
72887         * configure: Regenerated.
72889         * configure.in (-z relro check): Use an empirical test on a built DSO.
72890         Detect, but do not require, on ia64.
72891         * configure: Regenerated.
72893         * configure.in (READELF): Find it with AC_CHECK_TOOL.
72894         Update tests that use readelf to use $READELF instead.
72895         * configure: Regenerated.
72897 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
72899         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
72900         if the result is not used.
72902 2011-07-05  Andreas Jaeger  <aj@suse.de>
72904         [BZ#9696]
72905         * stdlib/tst-strtod.c: Add testcase.
72907 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
72909         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
72910         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
72911         The latter has a higher limit.  Take additional parameter to pass to
72912         the new function.
72913         (__pathconf): Pass file to __statfs_link_max.
72914         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
72915         __statfs_link_max.
72916         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
72917         __statfs_link_max.
72919         [BZ #12868]
72920         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
72921         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
72922         Handle Lustre.
72923         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
72924         (__statfs_filesize_max): Likewise.
72925         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
72927 2011-07-05  Andreas Jaeger  <aj@suse.de>
72929         * resolv/res_comp.c (dn_skipname): Remove unused variable.
72931 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
72933         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
72934         `status' variable.
72935         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
72936         Likewise.
72938 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
72940         * Makefile (strop-tests): Add strncat.
72941         * string/test-strncat.c: New file.
72943 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
72945         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
72947 2011-06-21  Andreas Jaeger  <aj@suse.de>
72949         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
72950         Copy rule from iconvdata/Makefile.
72952 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
72954         [BZ #12922]
72955         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
72956         but no long options are defined, just return 'W'.
72958 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
72960         [BZ #9696]
72961         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
72963 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
72965         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
72966         netgroups to read.
72967         (innetgr): Likewise.
72969 2011-07-05  Roland McGrath  <roland@hack.frob.com>
72971         * config.make.in (install_root): Default to $(DESTDIR).
72973 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
72975         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
72977 2011-07-02  Roland McGrath  <roland@hack.frob.com>
72979         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
72981         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
72982         containing directory rather than embedding absolute directory names.
72984         * scripts/check-local-headers.sh: Rewritten using awk.
72985         Match by word, not by line.  Print error messages for matches.
72986         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
72988         * Makerules [shlib-lds-flags empty]:
72989         ($(common-objpfx)libc_pic.opts): New target.
72990         ($(common-objpfx)libc_pic.os.clean): New target.
72991         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
72993         * config.make.in (OBJCOPY): New variable.
72994         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
72995         * configure: Regenerated.
72997         * config.make.in (use-default-link): New variable.
72998         * configure.in (use_default_link): Grok --with-default-link to set it.
72999         * configure: Regenerated.
73000         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
73001         (shlib-lds, shlib-lds-flags): Define to empty.
73003         * Makerules (shlib-lds): New variable.
73004         (shlib-lds-flags): New variable.
73005         (build-shlib, build-moduile, build-module-asneeded): Use it.
73006         ($(common-objpfx)libc.so): Use $(shlib-lds).
73007         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
73008         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
73010         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
73011         DT_FLAGS/DT_FLAGS_1 with zero flags.
73013         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
73014         linker script munging.
73016 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
73018         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
73019         as 128-bit value.
73020         * crypt/sha512.c (sha512_process_block): Perform total addition using
73021         128-bit if possible.
73022         (__sha512_finish_ctx): Likewise.
73023         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
73024         as 64-bit value.
73025         * crypt/sha256.c (SWAP64): Define.
73026         (sha256_process_block): Perform total addition using 64-bit if
73027         possible.
73028         (__sha256_finish_ctx): Likewise.
73030 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
73032         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
73033         * nscd/initgrcache.c (addinitgroupsX): Likewise.
73034         * nscd/hstcache.c (cache_addhst): Likewise.
73035         * nscd/grpcache.c (cache_addgr): Likewise.
73036         * nscd/aicache.c (addhstaiX): Likewise.
73037         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
73039 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
73041         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
73042         * nscd/initgrcache.c (addinitgroupsX): Likewise.
73043         * nscd/hstcache.c (cache_addhst): Likewise.
73044         * nscd/grpcache.c (cache_addgr): Likewise.
73045         * nscd/aicache.c (addhstaiX): Likewise.
73047 2011-07-01  Andreas Schwab  <schwab@redhat.com>
73049         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
73050         domain only when needed.
73052 2011-06-30  Andreas Schwab  <schwab@redhat.com>
73054         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
73055         is always restored.
73057 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
73059         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
73060         are re-adding the entry.
73061         * nscd/servicescache.c (cache_addserv): Likewise.
73063 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
73065         * sysdeps/generic/dl-irel.h: fix protection against multiple
73066         inclusions.
73067         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
73069 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
73071         [BZ #12935]
73072         * malloc/memusage.sh: Fix quoting in message.
73073         * debug/xtrace.sh: Likewise.
73075         * configure.in: Remove support for --experimental-malloc option, make
73076         it the default.
73077         * config.make.in: Likewise.
73078         * malloc/Makefile: Likewise.
73080 2011-06-27  Andreas Schwab  <schwab@redhat.com>
73082         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
73083         two-byte characters.
73085 2011-06-27  Roland McGrath  <roland@hack.frob.com>
73087         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
73088         AC_CACHE_CHECK invocation.
73089         * configure: Regenerated.
73091         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
73093 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
73095         [BZ #12350]
73096         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
73097         bit from old_res_options.
73099         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
73101         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
73102         value type for setfct.
73104 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
73106         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
73107         __gettimeofday instead of gettimeofday.
73109 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
73111         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
73113 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
73115         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
73117         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
73118         info.
73120 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
73122         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
73123         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
73124         strcpy-sse2-unaligned strncpy-sse2-unaligned
73125         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
73126         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
73127         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
73128         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
73129         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
73130         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
73131         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
73132         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
73133         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
73134         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
73135         (STRCPY): Support SSE2 and SSSE3 versions.
73137 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
73139         [BZ #12874]
73140         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
73141         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
73142         kernels which artificially limit size of requests.
73144 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
73146         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
73147         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
73148         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
73149         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
73150         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
73151         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
73152         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
73153         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
73154         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
73155         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
73156         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
73157         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
73158         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
73159         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
73160         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
73161         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73162         Enable unaligned load optimization for Intel Core i3, i5 and i7
73163         processors.
73164         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
73165         Define.
73166         (index_Fast_Unaligned_Load): Define.
73167         (HAS_FAST_UNALIGNED_LOAD): Define.
73169 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
73171         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
73173 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
73175         [BZ #12907]
73176         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
73177         until it is clear that the information is realy needed.
73178         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
73180 2011-06-22  Andreas Schwab  <schwab@redhat.com>
73182         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
73184 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
73186         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
73187         /sys/devices/system/cpu/online if it is usable.
73189         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
73190         reading the information from the /proc filesystem to once a second.
73192 2011-06-21  Andreas Jaeger  <aj@suse.de>
73194         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
73195         NULL after inclusion of kernel headers.
73197 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
73199         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
73200         calls to internal_setent.
73202         [BZ #12885]
73203         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
73204         addresses using gethostbyname4_r ignore IPv4 addresses.
73206         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
73207         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
73209         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
73211 2011-06-20  David S. Miller  <davem@davemloft.net>
73213         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
73214         inclusions.
73215         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
73217         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
73218         (elf_irel): Use it.
73219         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
73220         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
73221         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
73222         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
73223         * sysdeps/x86_64/dl-irel.h: Likewise.
73225         * elf/dl-runtime.c: Use elf_ifunc_invoke.
73226         * elf/dl-sym.c: Likewise.
73228 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
73230         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
73231         need to dereference resplen2.
73233 2011-06-14  Andreas Schwab  <schwab@redhat.com>
73235         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
73237 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
73239         * Makeconfig: Define vardbdir and inst_vardbdir.
73240         * nss/Makefile: Add rules to install db-Makefile.
73242         * nss/nss_db/db-XXX.c: Cleanup.
73244         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
73245         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
73246         GLIBC_PRIVATE.
73247         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
73248         * nss/makedb.c: Implement -g option to specify that value strings
73249         are generated and should not be added to table iterated over for
73250         get*ent calls.
73251         * nss/nss_db/db-initgroups.c: New file.
73253         * nss/getent.c: Add support for initgroups lookups through getgrouplist
73254         interface.
73256         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
73257         (internal_getgrouplist): Adjust to name change.
73258         Update use_initgroups_entry if this is not the first call.
73259         * nss/databases.def: Add initgroups entry.
73261         * nss/makedb.c (compute_tables): Check result of multiple hash table
73262         sizes to minimize maximum chain length.
73264 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
73266         * Versions.def: Add entry for libnss_db.
73267         * shlib-versions: Likewise.
73268         * nss/Makefile: Add rules to build libnss_db.
73269         * nss/Versions: Add libnss_db information.  Organize libnss_files
73270         entries better.
73271         * nss/db-Makefile: Add gshadow support.  Change rules for the new
73272         makedb progra.  Some minor improvements to generate smaller files.
73273         * nss/nss_db/nss_db.h: Move NSS database header data structures to
73274         here from...
73275         * nss/makedb.c: ...here.
73276         Improve database format to be smaller and require less memory at
73277         runtime.
73278         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
73279         db anymore.
73280         * nss/nss_db/db-netgrp.c: Likewise.
73281         * nss/nss_db/db-open.c: Likewise.
73282         * nss/nss_files/flies-XXX.x: Adjust comments.
73283         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
73284         * nss/nss_files/files-grp.c: Likewise.
73285         * nss/nss_files/files-hosts.c: Likewise.
73286         * nss/nss_files/files-network.c: Likewise.
73287         * nss/nss_files/files-proto.c: Likewise.
73288         * nss/nss_files/files-pwd.c: Likewise.
73289         * nss/nss_files/files-rpc.c: Likewise.
73290         * nss/nss_files/files-service.c: Likewise.
73291         * nss/nss_files/files-sgrp.c: Likewise.
73292         * nss/nss_files/files-spwd.c: Likewise.
73293         * nss/nss_db/db-alias.c: Removed.
73294         * nss/nss_db/dummy-db.h: Removed.
73296 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
73298         * nss/makedb.c: Rewritten to not use database library.
73299         * nss/Makefile: Update to build new makedb program.
73301 2011-06-14  Andreas Jaeger  <aj@suse.de>
73303         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
73304         memset declaration.
73306 2011-06-10  Andreas Schwab  <schwab@redhat.com>
73308         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
73309         tmpbuf.
73311 2011-06-10  Roland McGrath  <roland@hack.frob.com>
73313         * Makerules (shlib.lds): Fail if the linker script comes out empty.
73314         * elf/Makefile ($(objpfx)ld.so): Likewise.
73316         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
73317         Don't list ld.so twice in dependencies.
73319         * posix/bug-regex31.c: Include <stdlib.h>.
73321         * nscd/hstcache.c (cache_addhst): Remove unused variable.
73323         * nis/nss_compat/compat-spwd.c
73324         (getspent_next_nss_netgr): Remove unused variable.
73325         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
73327         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
73328         nonmembers" output to use the right array.
73330         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
73332         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
73334         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
73335         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
73336         * catgets/gencat.c (read_input_file): Likewise.
73337         * locale/programs/locarchive.c (enlarge_archive): Likewise.
73339         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
73340         variable definition inside #if's controlling its use.
73342         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
73344         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
73346         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
73348         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
73349         unreachable code.
73351         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
73353         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
73354         * configure: Regenerated.
73356         * Makerules: Revert last change.
73357         * elf/Makefile: Likewise.
73359 2011-06-09  Roland McGrath  <roland@hack.frob.com>
73361         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
73362         * elf/Makefile ($(objpfx)librtld.os): Likewise.
73363         (reloc-link): Likewise.
73365 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
73367         * elf/Makefile: Add rules to build pldd.
73368         * elf/pldd.c: New file.
73369         * elf/pldd-xx.c: New file.
73371 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
73373         * version.h: Update for 2.15 development version.
73375 2011-06-07  David S. Miller  <davem@davemloft.net>
73377         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
73378         ifuncs.
73379         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
73380         elf_machine_lazy_rel): Likewise.
73381         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
73382         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
73383         elf_machine_lazy_rel): Likewise.
73384         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
73385         dl_hwcap via passed in argument.
73386         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
73387         Likewise.
73389 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73391         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
73393 2011-06-06  Roland McGrath  <roland@hack.frob.com>
73395         [BZ #12849]
73396         * manual/fdl-1.1.texi: New file, verbatim from:
73397         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
73398         * manual/lgpl-2.1.texi: New file, verbatim from:
73399         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
73400         * manual/Makefile (licenses): New variable, list those new file names.
73401         (texis): Use it.
73402         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
73404         * manual/fdl.texi: File removed.
73405         * manual/lesser.texi: File removed.
73406         * manual/libc.texinfo (Copying, Documentation License):
73407         Use new @include file names, put @appendix directive before @include.
73409 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
73411         [BZ #12841]
73412         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
73413         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
73414         (mq_open): Add __NTH.
73416 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
73418         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73419         Assume Intel Core i3/i5/i7 processor if AVX is available.
73421 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
73423         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
73424         typo.
73426 2011-05-31  Andreas Schwab  <schwab@redhat.com>
73428         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
73429         memory.  Use alloca_account.  Fix memory leak when retrying.
73431 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
73433         * version.h (RELEASE): Bump for 2.14 release.
73434         * include/features.h (__GLIBC_MINOR__): Bump to 14.
73436         * config.make.in (RANLIB): Remove entry.
73438 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
73440         * po/Makefile (po-sed-cmd): Add ksh to extensions.
73441         (libc.pot): Work around missing support for .ksh extension in xgettext.
73443         [BZ #12684]
73444         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
73445         if both request failed.
73446         (send_dg): In case of server errors clear resplen or *resplen2.
73448         [BZ #12454]
73449         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
73450         when there are multiple maps.
73451         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
73452         (_dl_fini): Remove test here.
73454         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
73456 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
73458         [BZ #12350]
73459         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
73460         bit from old_res_options.
73461         (gaih_inet): Likewise.
73463         [BZ #11099]
73464         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
73465         as signed.
73467         * resolv/res_init.c (res_setoptions): Make the code more compact.
73469         [BZ #11558]
73470         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
73471         set RES_USEVC.
73473         [BZ #11634]
73474         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
73476         * malloc/malloc.h: Mark malloc hook variables as deprecated.
73478         [BZ #11781]
73479         * malloc/malloc.h: Declare malloc hook variables as volatile.
73481         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
73482         in last patch.
73484         [BZ #11799]
73485         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
73486         raise in the comment.
73487         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
73488         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
73489         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
73491 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
73493         [BZ #12811]
73494         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
73495         grow the buffers more if it already has to be sufficient.
73496         (build_wcs_upper_buffer): Likewise.
73497         * posix/regexec.c (check_matching): Likewise.
73498         (clean_state_log_if_needed): Likewise.
73499         (extend_buffers): Don't enlarge buffers beyond size of the input
73500         buffer.
73501         Patches mostly by Emil Wojak <emil@wojak.eu>.
73502         * posix/bug-regex32.c: New file.
73503         * posix/Makefile (tests): Add bug-regex32.
73505         * locale/findlocale.c (_nl_find_locale): Return right away if
73506         _nl_explode_name failed.
73507         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
73509         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
73511         * debug/xtrace.sh: Unify messages.
73512         * malloc/memusage.sh: Likewise.
73514         [BZ #12813]
73515         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
73516         time symbol from vDSO.  Substitute with vsyscall if not available.
73517         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
73518         __vdso_time.
73520         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
73521         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
73522         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
73523         Add sendmmsg and internal_sendmmsg.
73524         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
73525         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
73526         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
73528         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
73529         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
73530         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
73532 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
73534         [BZ #12813]
73535         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
73536         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
73537         available.
73538         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
73539         __vdso_getcpu.
73541         [BZ #12814]
73542         * iconvdata/Makefile (tests): Add bug-iconv9.
73543         * iconvdata/bug-iconv9.c: New file.
73545 2011-05-27  Andreas Schwab  <schwab@redhat.com>
73547         [BZ #12814]
73548         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
73550 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
73552         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
73553         (struct user_regs_struct): Change intcs field back to cs.
73555 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
73557         * po/ja.po: Update from translation team.
73559 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
73561         [BZ #12795]
73562         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
73563         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
73565 2011-05-20  Andreas Schwab  <schwab@redhat.com>
73567         * stdlib/longlong.h: Update from GCC.
73569 2011-05-23  Andreas Schwab  <schwab@redhat.com>
73571         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
73572         parameter name.
73573         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
73574         Add parameter name.
73575         (__sysconf): Pass it down.
73577 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
73579         [BZ #12671]
73580         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
73581         some situations.
73582         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
73583         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
73584         add in in __libc_use_alloca calls.  Adjust callers.
73585         (glob): Use malloc in some situations.
73587         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
73588         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
73589         pltexit.
73591 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
73593         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
73594         and CLOCK_BOOTTIME_ALARM.
73596         [BZ #12782]
73597         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
73598         is returned.
73600         * string/_strerror.c (__strerror_r): Print negative errors as signed
73601         numbers.
73603         [BZ #12777]
73604         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
73605         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
73606         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
73608         * configure.in: Fix typo in redirection and correct removal of test
73609         files in two cases.
73611         [BZ #12788]
73612         * locale/setlocale.c (new_composite_name): Fix test to check for
73613         identical name of all categories.
73615         [BZ #12792]
73616         * libio/filedoalloc.c (local_isatty): New function.
73617         (_IO_file_doallocate): Use local_isatty.
73618         * stdio-common/perror.c (perror): In case a new stream is used
73619         forward the stream error.
73620         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
73621         error flag.
73623 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
73625         [BZ #11884]
73626         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
73627         alloca.
73628         * include/alloca.h (extend_alloca_account): Define.
73630         [BZ #11857]
73631         * posix/regex.h: Fix comments with documentation of user-accessible
73632         fields after compilation and describe correct free'ing of pattern
73633         after re_compile_pattern.
73634         Patch by Reuben Thomas <rrt@sc3d.org>.
73636 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
73638         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
73639         and -mno-altivec to prevent the compiler from using Altivec and/or
73640         VSX instructions when the corresponding registers are not available.
73642 2011-05-19  Andreas Schwab  <schwab@redhat.com>
73644         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
73646 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
73648         * libio/freopen.c (freopen): Use __dup2, not dup2.
73649         * libio/freopen64.c (freopen64): Likewise.
73651 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
73653         [BZ #12775]
73654         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
73655         * math/Makefile (tests): Add test-powl.
73656         (CFLAGS-test-powl.c): Define.
73657         * math/test-powl.c: New file.
73659 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
73661         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
73663 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
73665         [BZ #11837]
73666         * iconvdata/gb18030.c: Update to GB18020-2005.
73668 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
73670         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
73671         RE_SYNTAX_POSIX_AWK): Update to match recent development.
73672         Patch by Aharon Robbins <arnold@skeeve.com>.
73674         [BZ #11892]
73675         * stdlib/putenv.c (putenv): Don't always create copy of the variable
73676         on the stack.
73678         [BZ #11895]
73679         * misc/pselect.c (__pselect): Handle timeout value errors hidden
73680         through underflows.
73682         [BZ #12766]
73683         * misc/error.c (error_at_line): Ensure file_name and old_file_name
73684         point to strings before performing equality test for error_one_per_line
73685         mode.
73687         [BZ #11697]
73688         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
73690         [BZ #11820]
73691         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
73692         (struct user_fpregs_struct): Avoid __uint*_t types.
73694         [BZ #6420]
73695         * malloc/mtrace.c (tr_where): Add additional parameter to point to
73696         symbol info.  Use it instead of calling _dl_addr locally.
73697         (lock_and_info): New function.
73698         (tr_freehook): Call lock_and_info and pass symbol info as additional
73699         parameter to tr_where.
73700         (tr_mallochook): Likewise.
73701         (tr_reallochook): Likewise.
73702         (tr_memalignhook): Likewise.
73704         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
73705         used and couldn't be at all thread-safe.
73707 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
73709         * libio/freopen.c (freopen): Don't close old file descriptor
73710         before the new one is opened.  Instead dup the new file descriptor
73711         to the old one after the new stream is created.
73712         * libio/freopen64.c (freopen64): Likewise.
73713         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
73714         * libio/fileops.c (_IO_new_file_close_it): Handle new
73715         _IO_FLAGS2_NOCLOSE flag.
73716         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
73717         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
73718         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
73719         _IO_FLAGS2_NOCLOSE flag.
73720         * include/unistd.h: Add hidden_proto for dup3.
73721         Define __have_dup3.
73722         * io/dup3.c: Define hidden symbol.
73723         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
73725         [BZ #7101]
73726         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
73727         when an incomplete long option is used.
73728         * posix/tst-getopt_long1.c: New file.
73729         * posix/Makefile (tests): Add tst-getopt_long1.
73731         [BZ #10138]
73732         * scripts/config.guess: Update from autoconf-2.68.
73733         * scripts/config.sub: Likewise.
73735         [BZ #10157]
73736         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
73737         tests into ...
73738         (has_cpuclock): ...this.  New function.
73739         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
73740         macro here based on has_cpuclock code.
73742         [BZ #10149]
73743         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
73744         First byte (not low byte) is now always NUL.
73745         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
73747         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
73748         Use non-cancelable interfaces.
73750         [BZ #9809]
73751         * locale/iso-639.def: Add entry for Sorani.
73753         [BZ #11901]
73754         * include/stdlib.h: Move include protection to the right place.
73755         Define abort_msg_s.  Declare __abort_msg with it.
73756         * stdlib/abort.c (__abort_msg): Adjust type.
73757         * assert/assert.c (__assert_fail_base): New function.  Majority
73758         of code from __assert_fail.  Allocate memory for __abort_msg with
73759         mmap.
73760         (__assert_fail): Now call __assert_fail_base.
73761         * assert/assert-perr.c: Remove bulk of implementation.  Use
73762         __assert_fail_base.
73763         * include/assert.hL Declare __assert_fail_base.
73764         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
73765         mmap.
73766         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
73768 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
73770         [BZ #11952]
73771         [BZ #12453]
73772         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
73773         until all modules are registered in the DTV.
73774         * elf/Makefile: Add rules to build and run tst-tls19.
73775         * elf/tst-tls19.c: New file.
73776         * elf/tst-tls19mod1.c: New file.
73777         * elf/tst-tls19mod2.c: New file.
73778         * elf/tst-tls19mod3.c: New file.
73779         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
73781         [BZ #12083]
73782         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
73783         correctly.
73785         [BZ #12601]
73786         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
73787         two-byte sequence errors.
73788         * iconvdata/Makefile (tests): Add bug-iconv8.
73789         * iconvdata/bug-iconv8.c: New file.
73791         [BZ #12626]
73792         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
73793         buf2 definition.
73795         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
73797         [BZ #12432]
73798         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
73799         (dummy_getcfa): New function.
73800         (init): Get _Unwind_GetCFA address, use dummy if not found.
73801         (backtrace_helper): In recursion check, also check whether CFA changes.
73802         (__backtrace): Completely initialize arg.
73804         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
73805         storing incomplete byte sequence in state object.  Avoid testing for
73806         guaranteed too small input if we know there is enough data available.
73808 2011-05-11  Andreas Schwab  <schwab@redhat.com>
73810         * Makeconfig (+link-pie): Indent.
73811         * Rules (binaries-pie): Define if $(have-fpie) and
73812         $(build-shared).
73813         (binaries-shared): Also filter out $(binaries-pie).
73814         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
73815         * nscd/Makefile (others-pie): Add nscd.
73816         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
73817         ($(objpfx)nscd): Remove command override.
73818         * login/Makefile (others-pie): Add pt_chown.
73819         ($(objpfx)pt_chown): Remove command override.
73820         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
73821         remove command overrides.
73823 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
73825         * libio/tst_putwc.c: Fix error messages.
73827         [BZ #12724]
73828         * libio/fileops.c (_IO_new_file_close_it): Always flush when
73829         currently writing and seek to current position when not.
73830         * libio/Makefile (tests): Add bug-fclose1.
73831         * libio/bug-fclose1.c: New file.
73833 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
73835         [BZ #12511]
73836         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
73837         don't set DF_1_NODELETE here.
73838         (do_lookup_x): When entering new entry test for copy relocation
73839         and if necessary set DF_1_NODELETE flag.
73840         * elf/tst-unique4.cc: New file.
73841         * elf/tst-unique4.h: New file.
73842         * elf/tst-unique4lib.cc: New file.
73843         * elf/Makefile: Add rules to build and run tst-unique4.
73844         Patch by Piotr Bury <pbury@goahead.com>.
73846 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
73848         [BZ #12052]
73849         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
73851         [BZ #12625]
73852         * misc/mntent_r.c (addmntent): Flush the stream after the output
73854         [BZ #12393]
73855         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
73856         (is_trusted_path_normalize): Skip initial colon.  Append slash
73857         to empty buffer.  Duplicate is_trusted_path code but allow
73858         constructed patch to be prefix.
73859         (is_dst): Allow $ORIGIN followed by /.
73860         (_dl_dst_substitute): Correct clearing of check_for_trusted.
73861         Correct testing of result of is_trusted_path_normalize
73862         (decompose_rpath): Fix warning.
73864 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
73866         [BZ #11257]
73867         * grp/initgroups.c (internal_getgrouplist): When we found the service
73868         list through the initgroups entry in nsswitch.conf do not always
73869         continue on a successful lookup.  Don't always use the
73870         __nss_group_database value if it is set.
73871         * nss/nsswitch.conf (initgroups): Change action for successful db
73872         lookup to continue for compatibility.
73874 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
73876         [BZ #11532]
73877         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
73878         and CP774 modules.
73879         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
73880         and CP774 modules.
73881         * iconvdata/tst-tables.sh: Likewise.
73882         * iconvdata/cp770.c: New file.
73883         * iconvdata/cp771.c: New file.
73884         * iconvdata/cp772.c: New file.
73885         * iconvdata/cp773.c: New file.
73886         * iconvdata/cp774.c: New file.
73887         * iconvdata/testdata/CP770: New file.
73888         * iconvdata/testdata/CP770..UTF8: New file.
73889         * iconvdata/testdata/CP771: New file.
73890         * iconvdata/testdata/CP771..UTF8: New file.
73891         * iconvdata/testdata/CP772: New file.
73892         * iconvdata/testdata/CP772..UTF8: New file.
73893         * iconvdata/testdata/CP773: New file.
73894         * iconvdata/testdata/CP773..UTF8: New file.
73895         * iconvdata/testdata/CP774: New file.
73896         * iconvdata/testdata/CP774..UTF8: New file.
73898         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
73899         END CHARMAP line.
73900         * iconvdata/gen-8bit-gap.sh: Likewise.
73901         * iconvdata/gen-8bit.sh: Likewise.
73903         * locale/iso-639.def: Add ary entry.
73905         [BZ #11258]
73906         * locale/C-translit.h.in: Add U20A1 transliteration.
73908         [BZ #12178]
73909         * locale/iso-639.def: Add wae entry.
73910         Patch by Kevin Bortis <bortis@translate-wae.ch>.
73912         [BZ #12545]
73913         * locale/programs/localedef.c (construct_output_path): Use ssize_t
73914         for n.
73916         [BZ #12711]
73917         * locale/C-translit.h.in: Add entry for U20B9.
73918         Patch by pravin.d.s@gmail.com.
73920 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
73922         [BZ #12713]
73923         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
73924         ENAMETOOLONG use generic getcwd.
73925         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
73926         in rtld.  Use *stat64.
73927         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
73928         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
73929         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
73930         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
73931         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
73932         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
73933         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
73934         __fstatat64 macros.
73935         * include/dirent.h: Add libc_hidden_proto for rewinddir.
73936         * dirent/rewinddir.c: Add libc_hidden_def.
73937         * sysdeps/mach/hurd/rewinddir.c: Likewise.
73938         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
73940         * include/dirent.h (__alloc_dir): Add flags parameter.
73941         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
73942         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
73943         __alloc_dir.
73944         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
73945         from fdopendir if O_CLOEXEC is already set.
73947 2011-03-15  Alan Modra  <amodra@gmail.com>
73949         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
73950         l_tls_firstbyte_offset non-zero.  Save padding offset in
73951         l_tls_firstbyte_offset for later use.
73952         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
73953         freeing static tls block.
73955 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
73957         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
73958         where #ifdef was intended.  The intent is to prevent ARG_MAX from
73959         being defined by the kernel headers.
73961 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
73963         [BZ #12734]
73964         * resolv/resolv.h: Define RES_NOTLDQUERY.
73965         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
73966         no-tld-query and set RES_NOTLDQUERY.
73967         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
73968         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
73969         modern BIND to search name as TLD unless forbidden.
73971 2011-05-07  Petr Baudis  <pasky@suse.cz>
73972             Ulrich Drepper  <drepper@gmail.com>
73974         [BZ #12393]
73975         * elf/dl-load.c (fillin_rpath): Move trusted path check...
73976         (is_trusted_path): ...to here.
73977         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
73978         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
73979         using is_trusted_path_normalize() in setuid scripts.
73981 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
73983         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
73984         __BEGIN/__END_DECLS.
73986 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
73988         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
73989         NSS_STATUS_NOTFOUND if no record was found.
73991 2011-05-05  Andreas Schwab  <schwab@redhat.com>
73993         * sunrpc/Makefile (headers): Add rpc/netdb.h.
73994         (headers-not-in-tirpc): Remove rpc/netdb.h
73995         * resolv/netdb.h: Revert last change.
73997 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
73999         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
74000         circular dependency between libgcc.a and libc.a.
74002 2011-05-05  Andreas Schwab  <schwab@redhat.com>
74004         * resolv/netdb.h: Don't include <rpc/netdb.h>.
74005         * nis/Makefile: Don't install rpcsvc/*.
74006         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
74007         instead of <rpc/types.h>.
74008         (MAXHOSTNAMELEN): Define.
74010 2011-05-03  Andreas Schwab  <schwab@redhat.com>
74012         * elf/ldconfig.c (add_dir): Don't crash on empty path.
74014 2011-04-28  Maciej Babinski  <mbabinski@google.com>
74016         [BZ #12714]
74017         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
74018         gethostbyname4_r when IPv6 results are possible.
74020 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
74022         [BZ #12723]
74023         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
74024         _PC_PIPE_BUF handling.
74026 2011-04-30  Bruno Haible  <bruno@clisp.org>
74028         [BZ #12717]
74029         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
74030         * resolv/netdb.h (getnameinfo): Change type of flags parameter
74031         to 'int'.
74032         * inet/getnameinfo.c (getnameinfo): Likewise.
74034 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
74036         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
74037         to groups setting in database lookup.
74038         * nss/nsswitch.conf: Add initgroups entry.
74040 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
74042         [BZ #12685]
74043         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
74044         mode string.
74045         Patch by Eric Blake <eblake@redhat.com>.
74047 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
74049         * sunrpc/Makefile (need-export-routines): Add svc_run.
74050         (routines): Remove svc_run.
74051         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
74052         * sunrpc/clnt_perr.c (clnt_perrno): Export.
74053         * sunrpc/svc_run.c (svc_run): Likewise.
74054         * sunrpc/svc_udp.c (svcudp_create): Likewise.
74056 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
74058         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
74059         problem in reallocation in last patch.
74061 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
74063         * sunrpc/Makefile: Move inclusion of Rules.
74065 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
74067         * nss/nss_files/files-initgroups.c: New file.
74068         * nss/Makefile (libnss_files-routines): Add files-initgroups.
74069         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
74070         _nss_files_initgroups_dyn.
74072 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
74074         * elf/elf.h (R_ARM_IRELATIVE): Define.
74076 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
74078         * po/ru.po: Update from translation team.
74080 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
74082         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
74083         dependencies.
74085 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
74087         [BZ #12653]
74088         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
74089         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
74090         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
74091         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
74092         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
74094 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
74096         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
74097         differing bytes.
74098         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
74099         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
74100         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
74102 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
74104         [BZ #12420]
74105         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
74106         storing it.
74107         * stdlib/bug-getcontext.c: New file.
74108         * stdlib/Makefile: Add rules to build and run bug-getcontext.
74110 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74112         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
74113         instructions into .machine "z9-109".
74114         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
74115         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
74117 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74119         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
74120         between environment variables and auxiliary vector.
74122 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
74124         * Makefile: Add rules to build linkobj/libc.so.
74125         * include/libc-symbols.h: Define libc_hidden_nolink.
74126         * include/rpc/auth.h: Mark functions which are to be hidden.
74127         * include/rpc/auth_des.h: Likewise.
74128         * include/rpc/auth_unix.h: Likewise.
74129         * include/rpc/clnt.h: Likewise.
74130         * include/rpc/des_crypt.h: Likewise.
74131         * include/rpc/key_prot.h: Likewise.
74132         * include/rpc/pmap_clnt.h: Likewise.
74133         * include/rpc/pmap_prot.h: Likewise.
74134         * include/rpc/pmap_rmt.h: Likewise.
74135         * include/rpc/rpc_msg.h: Likewise.
74136         * include/rpc/svc.h: Likewise.
74137         * include/rpc/svc_auth.h: Likewise.
74138         * include/rpc/xdr.h: Likewise.
74139         * nis/Makefile: Link all DSOs against linkobj/libc.so.
74140         * nss/Makefile: Likewise.
74141         * sunrpc/Makefile: Don't install headers.  Build library with normal
74142         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
74143         * sunrpc/auth_des.c: Hide exported symbols by default, export some
74144         for the compat linking library.  Remove use of INTDEF/INTUSE.
74145         * sunrpc/auth_none.c: Likewise.
74146         * sunrpc/auth_unix.c: Likewise.
74147         * sunrpc/authdes_prot.c: Likewise.
74148         * sunrpc/authuxprot.c: Likewise.
74149         * sunrpc/clnt_gen.c: Likewise.
74150         * sunrpc/clnt_perr.c: Likewise.
74151         * sunrpc/clnt_raw.c: Likewise.
74152         * sunrpc/clnt_simp.c: Likewise.
74153         * sunrpc/clnt_tcp.c: Likewise.
74154         * sunrpc/clnt_udp.c: Likewise.
74155         * sunrpc/clnt_unix.c: Likewise.
74156         * sunrpc/des_crypt.c: Likewise.
74157         * sunrpc/des_soft.c: Likewise.
74158         * sunrpc/get_myaddr.c: Likewise.
74159         * sunrpc/key_call.c: Likewise.
74160         * sunrpc/key_prot.c: Likewise.
74161         * sunrpc/netname.c: Likewise.
74162         * sunrpc/pm_getmaps.c: Likewise.
74163         * sunrpc/pm_getport.c: Likewise.
74164         * sunrpc/pmap_clnt.c: Likewise.
74165         * sunrpc/pmap_prot.c: Likewise.
74166         * sunrpc/pmap_prot2.c: Likewise.
74167         * sunrpc/pmap_rmt.c: Likewise.
74168         * sunrpc/publickey.c: Likewise.
74169         * sunrpc/rpc_cmsg.c: Likewise.
74170         * sunrpc/rpc_common.c: Likewise.
74171         * sunrpc/rpc_dtable.c: Likewise.
74172         * sunrpc/rpc_prot.c: Likewise.
74173         * sunrpc/rpc_thread.c: Likewise.
74174         * sunrpc/rtime.c: Likewise.
74175         * sunrpc/svc.c: Likewise.
74176         * sunrpc/svc_auth.c: Likewise.
74177         * sunrpc/svc_authux.c: Likewise.
74178         * sunrpc/svc_raw.c: Likewise.
74179         * sunrpc/svc_run.c: Likewise.
74180         * sunrpc/svc_simple.c: Likewise.
74181         * sunrpc/svc_tcp.c: Likewise.
74182         * sunrpc/svc_udp.c: Likewise.
74183         * sunrpc/svc_unix.c: Likewise.
74184         * sunrpc/svcauth_des.c: Likewise.
74185         * sunrpc/xcrypt.c: Likewise.
74186         * sunrpc/xdr.c: Likewise.
74187         * sunrpc/xdr_array.c: Likewise.
74188         * sunrpc/xdr_float.c: Likewise.
74189         * sunrpc/xdr_intXX_t.c: Likewise.
74190         * sunrpc/xdr_mem.c: Likewise.
74191         * sunrpc/xdr_rec.c: Likewise.
74192         * sunrpc/xdr_ref.c: Likewise.
74193         * sunrpc/xdr_sizeof.c: Likewise.
74194         * sunrpc/xdr_stdio.c: Likewise.
74196 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
74198         [BZ #12650]
74199         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
74200         * sysdeps/ia64/dl-tls.h: Likewise.
74201         * sysdeps/powerpc/dl-tls.h: Likewise.
74202         * sysdeps/s390/dl-tls.h: Likewise.
74203         * sysdeps/sh/dl-tls.h: Likewise.
74204         * sysdeps/sparc/dl-tls.h: Likewise.
74205         * sysdeps/x86_64/dl-tls.h: Likewise.
74206         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
74208 2011-03-14  Andreas Schwab  <schwab@redhat.com>
74210         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
74211         rpath element also skip the following colon.
74212         (expand_dynamic_string_token): Add is_path parameter and pass
74213         down to DL_DST_REQUIRED and _dl_dst_substitute.
74214         (decompose_rpath): Call expand_dynamic_string_token with
74215         non-zero is_path.  Ignore empty rpaths.
74216         (_dl_map_object_from_fd): Call expand_dynamic_string_token
74217         with zero is_path.
74219 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
74221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
74222         Make cancelable.
74224 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
74226         [BZ #12655]
74227         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
74228         Patch by Filipe David Manana <fdmanana@apache.org>.
74230 2011-04-07  Andreas Schwab  <schwab@redhat.com>
74232         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
74233         Maintain aligned stack.
74234         (CHECK_RSP): Remove unused macro.
74236 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
74238         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
74239         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
74241 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
74243         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
74245         * include/features.h: Mention __USE_XOPEN2K8 in comment.
74247 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
74249         [BZ #12518]
74250         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
74251         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
74252         * sysdeps/x86_64/memmove.c: New file.
74253         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
74254         (memcpy): Renamed to ...
74255         (__new_memcpy): This.
74256         (memcpy): Provide GLIBC_2_14 memcpy.
74257         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
74258         (memcpy): Provide GLIBC_2_2_5 memcpy.
74260 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
74262         [BZ #12631]
74263         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
74265 2011-03-30  Andreas Schwab  <schwab@redhat.com>
74267         * misc/syncfs.c: New file.
74268         * misc/Makefile (routines): Add syncfs.
74269         * posix/unistd.h: Declare syncfs.
74270         * sysdeps/unix/syscalls.list: Add syncfs.
74272 2011-04-01  Andreas Schwab  <schwab@redhat.com>
74274         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
74275         open_by_handle_at.
74276         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
74277         * sysdeps/unix/sysv/linux/ia64/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/syscalls.list: Likewise.
74282         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
74284 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
74286         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
74287         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
74288         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
74289         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
74290         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
74291         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
74292         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
74294         * io/Makefile: Compile fallocate.c, fallocate64.c, and
74295         sync_file_range.c with -fexceptions.
74296         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
74297         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
74298         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
74299         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
74300         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
74301         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
74302         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
74303         sync_file_range as cancellation point
74304         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
74305         now a wrapper around __call_sync_file_range with cancellation handling.
74306         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
74307         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
74308         function name to __call_sync_file_range.
74309         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
74310         Add call_sync_file_range.
74312 2011-04-01  Andreas Schwab  <schwab@redhat.com>
74314         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
74315         bits/timex.h.
74317 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
74319         * iconv/iconv.h: Fix typo in comment.
74320         * io/fcntl.h: Likewise.
74321         * libio/stdio.h: Likewise.
74322         * posix/spawn.h: Likewise.
74323         * posix/unistd.h: Likewise.
74324         * stdlib/stdlib.h: Likewise.
74325         * time/time.h: Likewise.
74326         * wcsmbs/wchar.h: Likewise.
74328         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
74329         open_by_handle): Add.
74330         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
74331         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
74332         Augment a few comments.
74333         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
74334         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
74335         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
74336         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
74337         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
74338         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
74339         open_by_handle.
74341         * io/fcntl.h (AT_EMPTY_PATH): Define.
74343 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
74345         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
74346         * sysdeps/unix/sysv/linux/bits/time.h: New file.
74347         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
74348         to...
74349         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
74350         * Versions.def: Add GLIBC_2.14.
74351         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
74352         Export.
74354 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
74356         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
74357         round counter.
74358         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
74360 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
74362         [BZ #12597]
74363         * string/test-strncmp.c (do_page_test): New function.
74364         (check2): Likewise.
74365         (test_main): Call check2.
74366         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
74368 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
74370         [BZ #12587]
74371         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
74372         Handle cache information in CPU leaf 4.
74373         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
74375 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
74377         [BZ #12583]
74378         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
74379         character representation.
74380         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
74382 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
74384         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
74385         END(__isnan) to END(__isnanf) to match function entry point/label
74386         EALIGN(__isnanf,...).
74388 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
74390         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
74392 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
74394         [BZ #12510]
74395         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
74396         copy from the symbol referenced in the relocation to initialize the
74397         used variable.
74398         Patch by Piotr Bury <pbury@goahead.com>.
74399         * elf/Makefile: Add rules to build and tst-unique3.
74400         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
74401         * elf/tst-unique3.cc: New file.
74402         * elf/tst-unique3.h: New file.
74403         * elf/tst-unique3lib.cc: New file.
74404         * elf/tst-unique3lib2.cc: New file.
74406         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
74408 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
74410         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
74411         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
74412         to _start.
74414 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
74416         * elf/dl-load.c (_dl_map_object): If we are looking for the first
74417         to-be-loaded object along a path to loader is ld.so.
74419 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
74420             Ulrich Drepper  <drepper@gmail.com>
74422         * sysdeps/x86_64/memset.S: After aligning destination, code
74423         branches to different locations depending on the value of
74424         misalignment, when multiarch is enabled. Fix this.
74426 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
74428         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
74429         Set _x86_64_preferred_memory_instruction for AMD processsors.
74430         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74431         Set bit_Prefer_SSE_for_memop for AMD processors.
74433 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
74435         * libio/fmemopen.c (fmemopen): Optimize a bit.
74437 2011-03-03  Andreas Schwab  <schwab@redhat.com>
74439         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
74441 2011-03-03  Roland McGrath  <roland@redhat.com>
74443         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
74445 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
74447         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
74448         __bzero_ultra1 instead of __memset_ultra1.
74450 2011-02-23  Andreas Schwab  <schwab@redhat.com>
74451             Ulrich Drepper  <drepper@gmail.com>
74453         [BZ #12509]
74454         * include/link.h (struct link_map): Add l_orig_initfini.
74455         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
74456         returning unsuccessfully.
74457         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
74458         close of a file loaded at startup, restore the original l_initfini
74459         list.
74460         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
74461         list, store the pointer.
74462         * elf/Makefile ($(objpfx)noload-mem): New rule.
74463         (noload-ENV): Define.
74464         (tests): Add $(objpfx)noload-mem.
74465         * elf/noload.c: Include <memcheck.h>.
74466         (main): Call mtrace.  Close all opened handles.
74468 2011-02-17  Andreas Schwab  <schwab@redhat.com>
74470         [BZ #12454]
74471         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
74472         dependencies are missing.
74474 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74476         Fix __if_freereq crash: Unlike the generic version which uses free,
74477         Hurd needs munmap.
74478         * sysdeps/mach/hurd/ifreq.h: New file.
74480 2011-01-27  Petr Baudis  <pasky@suse.cz>
74481             Ulrich Drepper  <drepper@gmail.com>
74483         [BZ 12445]#
74484         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
74485         to extend_alloca().
74486         * stdio-common/bug23.c: New file.
74487         * stdio-common/Makefile (tests): Add bug23.
74489 2010-09-28  Andreas Schwab  <schwab@redhat.com>
74490             Ulrich Drepper  <drepper@gmail.com>
74492         [BZ #12489]
74493         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
74494         before performing relro protection.  At old place add assertion
74495         to make sure nothing changed.
74497 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
74498             Glauber de Oliveira Costa  <glommer@gmail.com>
74500         * elf/elf.h: Add new ARM TLS relocs.
74502 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
74504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
74505         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
74506         cast from r3.
74507         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
74508         'tests' variable.
74509         * sysdeps/wordsize-64/tst-writev.c: New file.
74511 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
74513         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
74514         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
74515         insns in _dl_start to prevent a TOC reference before relocs are
74516         resolved.
74518 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
74520         [BZ #12469]
74521         * Makeconfig: Remove RANLIB definition.
74522         * Makerules: Don't use RANLIB.
74523         * aclocal.m4: Remove ranlib test.
74524         * configure.in: No need to check for ranlib.
74525         * elf/rtld-Rules: Don't use RANLIB.
74527 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74529         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
74530         protection macro.
74531         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
74532         inclusion protection macro.
74534         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
74535         SIGRTMIN and SIGRTMAX and print information in that case only when
74536         SIGRTMIN is defined.
74538 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
74540         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
74541         arginfo fn returning -1.
74543         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
74544         and thousands string is zero terminated.
74546 2011-02-03  Andreas Schwab  <schwab@redhat.com>
74548         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
74549         sysdeps/unix/sysv/linux/bits/socket.h.
74551 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74553         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
74554         (__CPU_COUNT): Remove old macros.
74555         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
74556         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
74557         (__CPU_ALLOC, __CPU_FREE): Add macros.
74558         (__sched_cpualloc, __sched_cpufree): Add declarations.
74560 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
74562         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
74563         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
74564         * nscd/aicache.c (addhstaiX): Return timeout of added value.
74565         (readdhstai): Return value of addhstaiX call.
74566         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
74567         (addgrbyX): Return value returned by cache_addgr.
74568         (readdgrbyname): Return value returned by addgrbyX.
74569         (readdgrbygid): Likewise.
74570         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
74571         (addpwbyX): Return value returned by cache_addpw.
74572         (readdpwbyname): Return value returned by addhstbyX.
74573         (readdpwbyuid): Likewise.
74574         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
74575         (addservbyX): Return value returned by cache_addserv.
74576         (readdservbyname): Return value returned by addservbyX:
74577         (readdservbyport): Likewise.
74578         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
74579         (addhstbyX): Return value returned by cache_addhst.
74580         (readdhstbyname): Return value returned by addhstbyX.
74581         (readdhstbyaddr): Likewise.
74582         (readdhstbynamev6): Likewise.
74583         (readdhstbyaddrv6): Likewise.
74584         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
74585         (readdinitgroups): Return value returned by addinitgroupsX.
74586         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
74587         (prune_cache): Keep track of timeout value of re-added entries.
74588         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
74589         * nscd/nscd.h: Adjust prototypes of readd* functions.
74591 2011-02-04  Roland McGrath  <roland@redhat.com>
74593         * nis/nis_server.c (nis_servstate): Use the right name for 0.
74594         (nis_stats): Likewise.
74595         * nis/nis_modify.c (nis_modify): Likewise.
74596         * nis/nis_remove.c (nis_remove): Likewise.
74597         * nis/nis_add.c (nis_add): Likewise.
74599         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
74601         * posix/fnmatch_loop.c: Add some consts.
74603         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
74605 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
74607         [BZ #12460]
74608         * config.make.in (config-cflags-novzeroupper): Define.
74609         * configure.in: Substitute libc_cv_cc_novzeroupper.
74610         * elf/Makefile (AVX-CFLAGS): Define.
74611         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
74612         (CFLAGS-tst-auditmod4a.c): Likewise.
74613         (CFLAGS-tst-auditmod4b.c): Likewise.
74614         (CFLAGS-tst-auditmod6b.c): Likewise.
74615         (CFLAGS-tst-auditmod6c.c): Likewise.
74616         (CFLAGS-tst-auditmod7b.c): Likewise.
74617         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
74619 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
74621         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
74622         function to the callback.
74623         Patch partly by Jiri Olsa <jolsa@redhat.com>.
74625 2011-02-02  Andreas Schwab  <schwab@redhat.com>
74627         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
74628         of errno.
74630 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
74632         [BZ #11724]
74633         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
74634         of constructors.
74635         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
74636         of destructors.
74637         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
74639         [BZ #11724]
74640         * elf/Makefile: Add rules to build and run new test.
74641         * elf/tst-initorder.c: New file.
74642         * elf/tst-initorder.exp: New file.
74643         * elf/tst-initordera1.c: New file.
74644         * elf/tst-initordera2.c: New file.
74645         * elf/tst-initordera3.c: New file.
74646         * elf/tst-initordera4.c: New file.
74647         * elf/tst-initorderb1.c: New file.
74648         * elf/tst-initorderb2.c: New file.
74649         * elf/tst-order-a1.c: New file.
74650         * elf/tst-order-a2.c: New file.
74651         * elf/tst-order-a3.c: New file.
74652         * elf/tst-order-a4.c: New file.
74653         * elf/tst-order-b1.c: New file.
74654         * elf/tst-order-b2.c: New file.
74655         * elf/tst-order-main.c: New file.
74656         New test case by George Gensure <werkt0@gmail.com>.
74658 2010-10-01  Andreas Schwab  <schwab@redhat.com>
74660         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
74661         decoding ACE if AI_CANONIDN.
74663 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
74665         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
74667 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
74669         * version.h (RELEASE): Bump for 2.13 release.
74670         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
74672         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
74674         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
74675         MADV_NOHUGEPAGE.
74676         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
74677         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
74678         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
74679         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
74680         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
74681         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
74683         * posix/getconf.c: Update copyright year.
74684         * catgets/gencat.c: Likewise.
74685         * csu/version.c: Likewise.
74686         * debug/catchsegv.sh: Likewise.
74687         * debug/xtrace.sh: Likewise.
74688         * elf/ldconfig.c: Likewise.
74689         * elf/ldd.bash.in: Likewise.
74690         * elf/sprof.c (print_version): Likewise.
74691         * iconv/iconv_prog.c: Likewise.
74692         * iconv/iconvconfig.c: Likewise.
74693         * locale/programs/locale.c: Likewise.
74694         * locale/programs/localedef.c: Likewise.
74695         * malloc/memusage.sh: Likewise.
74696         * malloc/mtrace.pl: Likewise.
74697         * nscd/nscd.c (print_version): Likewise.
74698         * nss/getent.c: Likewise.
74700         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
74701         PF_CAIF, and PF_ALG.
74702         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
74704 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
74706         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
74707         (modules-names): Use them.
74708         (ifunc-test-modules, ifunc-pie-tests): Define.
74709         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
74710         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
74711         (test-extras): Likewise.
74712         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
74713         $(compile-command.c).
74714         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
74715         (all-built-dso): Define.
74716         (check-textrel.out, check-execstack.out): Depend on it.
74718         * configure.in: Don't override --enable-multi-arch.
74720 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
74722         [BZ #6812]
74723         * nscd/hstcache.c (tryagain): Define.
74724         (cache_addhst): Return tryagain not notfound for temporary errors.
74725         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
74726         failed.
74728 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
74730         [BZ #10563]
74731         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
74732         to make the syscall.
74733         * sysdeps/unix/sysv/linux/setgroups.c: New file.
74735         [BZ #12378]
74736         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
74737         and fall back to matching as normal character if the string ends before
74738         the matching ']' is found.  This is what POSIX requires.
74739         * posix/testfnm.c: Adjust test result.
74740         * posix/globtest.sh: Adjust test result.  Add new test.
74741         * posix/tst-fnmatch.input: Likewise.
74742         * posix/tst-fnmatch2.c: Add new test.
74744 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
74746         * elf/Makefile (check-execstack): Revert last change.  Depend on
74747         check-execstack.h.
74748         (check-execstack.h): New target.
74749         (generated): Add check-execstack.h.
74750         * elf/check-execstack.c: Include "check-execstack.h".
74751         (main): Revert last change.
74752         (handle_file): Return zero if GNU_STACK is absent and
74753         DEFAULT_STACK_PERMS doesn't include PF_X.
74755 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
74757         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
74758         in child fails because the descriptor is already closed.
74759         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
74760         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
74761         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
74763         [BZ #12397]
74764         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
74765         syscall.
74767         [BZ #10484]
74768         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
74769         temporary buffer used to handle multi lookups locally.
74770         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
74772 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
74774         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
74775         loader is ld.so.
74777 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
74779         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
74780         alignment for SSE2.
74782 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
74784         [BZ #12394]
74785         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
74786         characters.  When rounding increased number of integer digits recompute
74787         number of groups.
74788         * stdio-common/tst-grouping.c: New file.
74789         * stdio-common/Makefile: Add rules to build and run tst-grouping.
74791 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
74793         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
74794         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
74796         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
74797         void.
74798         * bits/select.h: Likewise.
74800 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
74802         * po/ja.po: Update from translation team.
74804 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
74806         [BZ #11155]
74807         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
74808         implementation just like for lxstat, fxstatat, et al.
74810 2010-12-27  Jim Meyering  <meyering@redhat.com>
74812         [BZ #12348]
74813         * posix/regexec.c (build_trtable): Return failure indication upon
74814         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
74816 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
74818         [BZ #12201]
74819         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
74820         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
74821         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
74822         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
74824         [BZ #12207]
74825         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
74827         [BZ #12204]
74828         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
74829         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
74831 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
74833         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
74834         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
74835         script has SORT_BY_INIT_PRIORITY.
74836         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
74837         NO_CTORS_DTORS_SECTIONS is defined.
74838         * elf/soinit.c: Likewise.
74839         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
74840         NO_CTORS_DTORS_SECTIONS is defined.
74841         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
74842         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
74843         * sysdeps/sh/init-first.c: Likewise.
74844         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
74846 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
74848         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
74849         always use the slow path.
74851 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
74853         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
74854         similar rule which adds the sysdep directories to the header search in
74855         order to pick up the correct platform stackinfo.h.
74856         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
74857         perform test if it is, otherwise return successfully without testing.
74858         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
74859         DEFAULT_STACK_PERMS define in stackinfo.h.
74860         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
74861         defined in stackinfo.h.
74862         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
74863         DEFAULT_STACK_PERMS defined in stackinfo.h.
74864         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
74865         * sysdeps/ia64/stackinfo.h: Likewise.
74866         * sysdeps/s390/stackinfo.h: Likewise.
74867         * sysdeps/sh/stackinfo.h: Likewise.
74868         * sysdeps/sparc/stackinfo.h: Likewise.
74869         * sysdeps/x86_64/stackinfo.h: Likewise.
74870         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
74871         PF_X for powerpc64.  Retain PF_X for powerpc32.
74873 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
74875         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
74876         accurately.
74877         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
74878         GETDENTS_64BIT_ALIGNED.
74880 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
74882         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
74884 2010-12-10  Andreas Schwab  <schwab@redhat.com>
74886         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
74887         _GNU_SOURCE.
74889         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
74890         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
74891         Remove __restrict.
74892         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
74893         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
74895 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
74897         [BZ #11655]
74898         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
74899         are initialized.
74901 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
74903         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
74905 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
74907         * po/it.po: Update from translation team.
74909 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
74911         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
74912         unused codes.
74914 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
74916         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
74918 2010-11-24  Andreas Schwab  <schwab@redhat.com>
74920         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
74921         specially.
74922         (gaih_getanswer_slice): Likewise.
74924 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
74926         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
74928 2010-05-31  Petr Baudis  <pasky@suse.cz>
74930         [BZ #11149]
74931         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
74932         silently even in the chroot mode.
74934 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
74936         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
74937         last patch a bit.  Pretty printing
74939 2010-05-31  Petr Baudis <pasky@suse.cz>
74941         [BZ #10085]
74942         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
74943         initialization of skip_initgroups_dyn.
74945 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
74947         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
74948         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
74950 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
74952         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
74954 2010-11-11  Andreas Schwab  <schwab@redhat.com>
74956         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
74957         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
74958         (tst-fnmatch-ENV): Set MALLOC_TRACE.
74959         ($(objpfx)tst-fnmatch-mem): New rule.
74960         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
74961         * posix/tst-fnmatch.c (main): Call mtrace.
74963 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
74965         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74966         Support Intel processor model 6 and model 0x2c.
74968 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
74970         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
74971           signed comparison.
74973 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
74975         [BZ #12205]
74976         * string/test-strncasecmp.c (check_result): New function.
74977         (do_one_test): Use it.
74978         (check1): New function.
74979         (test_main): Use it.
74980         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
74981         Support strcasecmp and strncasecmp.
74983 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
74985         [BZ #12194]
74986         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
74987         * sysdeps/x86_64/bits/byteswap.h: Likewise.
74989 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
74991         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
74992         IFUNC support.
74993         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
74994         memset-x86-64.
74995         * sysdeps/x86_64/multiarch/bzero.S: New file.
74996         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
74997         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
74998         * sysdeps/x86_64/multiarch/memset.S: New file.
74999         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
75000         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75001         Set bit_Prefer_SSE_for_memop for Intel processors.
75002         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
75003         Define.
75004         (index_Prefer_SSE_for_memop): Define.
75005         (HAS_PREFER_SSE_FOR_MEMOP): Define.
75007 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
75009         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
75010         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
75012 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
75014         [BZ #12191]
75015         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
75016         (__x86_64_raw_data_cache_size_half): Likewise.
75017         (__x86_64_raw_shared_cache_size): Likewise.
75018         (__x86_64_raw_shared_cache_size_half): Likewise.
75020         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
75021         (__x86_64_raw_data_cache_size_half): Likewise.
75022         (__x86_64_raw_shared_cache_size): Likewise.
75023         (__x86_64_raw_shared_cache_size_half): Likewise.
75024         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
75025         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
75026         and __x86_64_raw_shared_cache_size_half.  Round
75027         __x86_64_data_cache_size_half, __x86_64_data_cache_size
75028         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
75029         to multiple of 256 bytes.
75031 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
75033         [BZ #12167]
75034         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
75035         of inacessible symlinks.  Verify result of symlink before returning it.
75036         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
75037         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
75039 2010-10-28  Erich Ritz  <erichritz@gmail.com>
75041         * math/math.h (isinf): Fix typo in comment.
75043 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
75045         * po/da.po: Update from translation team.
75047 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
75049         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
75050         is added to the list.
75052 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75053             Ulrich Drepper  <drepper@gmail.com>
75055         * elf/dl-object.c (_dl_new_object): Don't append the new object to
75056         the global list here.  Move code to...
75057         (_dl_add_to_namespace_list): ...here.  New function.
75058         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
75059         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
75060         * elf/dl-load.c (lose): Don't remove the element from the list.
75061         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
75062         (_dl_map_object): Likewise.
75064 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
75066         [BZ #12159]
75067         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
75068         into all bytes of SSE register.
75069         Patch by Richard Li <richardpku@gmail.com>.
75071 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
75073         [BZ #12140]
75074         * malloc/malloc.c (_int_free): Fill correct number of bytes when
75075         perturbing.
75077 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
75079         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
75080         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
75081         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
75082         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
75083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
75084         submachine.
75085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
75087 2010-10-22  Andreas Schwab  <schwab@redhat.com>
75089         * include/dlfcn.h (__RTLD_SECURE): Define.
75090         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
75091         mode & __RTLD_SECURE instead.
75092         (open_path): Rename preloaded parameter to secure.
75093         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
75094         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
75095         * elf/dl-deps.c (openaux): Likewise.
75096         * elf/rtld.c (struct map_args): Remove is_preloaded.
75097         (map_doit): Don't use it.
75098         (dl_main): Likewise.
75099         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
75100         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
75102 2010-09-09  Andreas Schwab  <schwab@redhat.com>
75104         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
75105         (sysd-rules-targets): Remove duplicates.
75106         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
75107         rtld-%.$o dependency.
75109 2010-10-18  Andreas Schwab  <schwab@redhat.com>
75111         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
75112         _dl_map_object do it.
75114 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
75116         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
75117         fast fma builtins, define the macros in the C99 standard.
75118         (FP_FAST_FMAF): Likewise.
75119         (FP_FAST_FMAL): Likewise.
75120         * sysdeps/x86_64/bits/mathdef.h: Likewise.
75122         * bits/mathdef.h: Update copyright year.
75123         * sysdeps/powerpc/bits/mathdef.h: Likewise.
75125 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
75127         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
75128         builtins, define the macros in the C99 standard.
75129         (FP_FAST_FMAF): Likewise.
75130         (FP_FAST_FMAL): Likewise.
75131         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
75132         multiply/add.
75133         (FP_FAST_FMAF): Likewise.
75135 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
75137         [BZ #3268]
75138         * math/libm-test.inc (fma_test): Some new testcases.
75139         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
75140         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
75141         y and infinite z.  Do multiplication by C already in long double.
75142         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
75143         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
75144         y and infinite z.  Do bitwise or of inexact bit into u.d.
75145         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
75146         * sysdeps/i386/fpu/s_fmaf.S: Removed.
75147         * sysdeps/i386/fpu/s_fma.S: Removed.
75148         * sysdeps/i386/fpu/s_fmal.S: Removed.
75150 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
75152         [BZ #3268]
75153         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
75154         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
75155         computation is not scheduled after fetestexcept.  Fix value
75156         of minimum denormal long double.
75158 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
75160         [BZ #3268]
75161         * math/libm-test.inc (fma_test): Add some more tests.
75162         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
75163         correctly.
75165 2010-10-15  Andreas Schwab  <schwab@redhat.com>
75167         * scripts/data/localplt-s390-linux-gnu.data: New file.
75168         * scripts/data/localplt-s390x-linux-gnu.data: New file.
75170 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
75172         [BZ #3268]
75173         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
75174         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
75175         instead of dbl-64.
75176         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
75177         inlines.
75178         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
75179         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
75180         if one of x and y is very large and the other is subnormal.
75181         * sysdeps/s390/fpu/s_fmaf.c: New file.
75182         * sysdeps/s390/fpu/s_fma.c: New file.
75183         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
75184         * sysdeps/powerpc/fpu/s_fma.S: New file.
75185         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
75186         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
75187         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
75189 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
75191         [BZ #3268]
75192         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
75193         fma tests.
75194         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
75195         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
75196         * sysdeps/i386/i686/multiarch/s_fma.c: Include
75197         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
75198         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
75199         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
75200         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
75202 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
75204         [BZ #12078]
75205         * posix/regcomp.c (parse_branch): One more memory leak plugged.
75206         * posix/bug-regex31.input: Add test case.
75208 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
75210         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
75211         * posix/bug-regex31.input: New file.
75213         [BZ #12078]
75214         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
75215         (parse_sub_exp): Fix last change, use postorder.
75217         * posix/bug-regex31.c: New file.
75218         * posix/Makefile: Add rules to build and run bug-regex31.
75220         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
75222         [BZ #12078]
75223         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
75225         [BZ #12108]
75226         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
75227         to have entries in sys_siglist.
75229         [BZ #12093]
75230         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
75231         be NULL.
75233 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
75235         [BZ #3268]
75236         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
75237         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
75238         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
75239         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
75240         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
75241         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
75242         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
75243         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
75244         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
75245         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
75246         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
75247         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
75248         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
75249         * math/ftestexcept.c (fetestexcept): Likewise.
75250         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
75251         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
75252         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
75253         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
75254         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
75255         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
75256         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
75258 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
75260         [BZ #12107]
75261         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
75262         newline.
75264 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
75266         * string/bug-strstr1.c: New file.
75267         * string/Makefile: Add rules to build and run bug-strstr1.
75269 2010-10-05  Eric Blake  <eblake@redhat.com>
75271         [BZ #12092]
75272         * string/str-two-way.h (two_way_long_needle): Always clear memory
75273         when skipping input due to the shift table.
75275 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
75277         [BZ #12005]
75278         * malloc/mcheck.c: Handle large requests.
75280         [BZ #12077]
75281         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
75282         for strncmp and strncasecmp.
75283         * string/stratcliff.c: Add tests for strcmp and strncmp.
75284         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
75286 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
75288         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
75289         __set_fpscr.
75291 2010-09-30  Andreas Jaeger  <aj@suse.de>
75293         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
75294         (CGROUP_SUPER_MAGIC): Define.
75295         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
75296         Handle btrfs and cgroup file systems.
75297         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
75298         Likewise.
75300 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
75302         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
75303         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
75305 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75307         [BZ #12067]
75308         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
75309         trying to locate the ELF header.
75311 2010-09-27  Andreas Schwab  <schwab@redhat.com>
75313         [BZ #11611]
75314         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
75315         Mask out sign-bit copies when constructing f_fsid.
75317 2010-09-24  Petr Baudis <pasky@suse.cz>
75319         * debug/stack_chk_fail_local.c: Add missing licence exception.
75320         * debug/warning-nop.c: Likewise.
75322 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
75324         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
75325         implementing getdents64 using getdents syscall, set d_type if
75326         __ASSUME_GETDENTS32_D_TYPE.
75328 2010-09-16  Andreas Schwab  <schwab@redhat.com>
75330         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
75331         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
75333 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
75335         [BZ #12037]
75336         * posix/unistd.h: Undo change of feature selection for ftruncate from
75337         2010-01-11.
75339 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
75341         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
75342         detection.
75344 2010-09-20  Andreas Schwab  <schwab@redhat.com>
75346         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
75347         fanotify_mark.
75348         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
75350 2010-09-14  Andreas Schwab  <schwab@redhat.com>
75352         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
75353         variables after CHECK_SP call.
75354         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
75356 2010-09-13  Andreas Schwab  <schwab@redhat.com>
75357             Ulrich Drepper  <drepper@redhat.com>
75359         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
75360         re-relocationg ld.so.
75361         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
75362         _dl_init_paths call.
75363         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
75364         here anymore.
75366 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
75368         * resolv/res_init.c (__res_vinit): Count the default server we added.
75370 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
75371             Ulrich Drepper  <drepper@redhat.com>
75373         [BZ #11968]
75374         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
75375         (____longjmp_chk): Use %ebx for saving value across system call.
75376         Add unwind info.
75378 2010-09-06  Andreas Schwab  <schwab@redhat.com>
75380         * manual/Makefile: Don't mix pattern rules with normal rules.
75382 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
75384         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
75385         operation.
75386         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
75387         * libio/iofopncook.c (_IO_cookie_init): Likewise.
75388         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
75389         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
75390         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
75391         Likewise.
75393 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
75395         [BZ #11979]
75396         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
75397         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
75399 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
75401         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
75402         * sysdeps/x86_64/addmul_1.S: Likewise.
75403         * sysdeps/x86_64/lshift.S: Likewise.
75404         * sysdeps/x86_64/mul_1.S: Likewise.
75405         * sysdeps/x86_64/rshift.S: Likewise.
75406         * sysdeps/x86_64/sub_n.S: Likewise.
75407         * sysdeps/x86_64/submul_1.S: Likewise.
75409 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75411         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
75412         Define __sched_param instead of SCHED_* and sched_param when
75413         <bits/sched.h> is included with __need_schedparam defined.
75414         * bits/sched.h [__need_schedparam]
75415         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
75416         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
75417         (__defined_schedparam): Define to 1.
75418         (__sched_param): New structure, identical to sched_param.
75419         (__need_schedparam): Undefine.
75421 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
75423         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
75424         (epoll_create1): Declare.
75426         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
75428 2010-08-31  Andreas Schwab  <schwab@redhat.com>
75430         [BZ #7066]
75431         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
75432         shifting retval into place.
75434 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
75436         * nis/rpcsvc/nis.h: Update copyright notice.
75437         * nis/rpcsvc/nis.x: Likewise.
75438         * nis/rpcsvc/nis_callback.h: Likewise.
75439         * nis/rpcsvc/nis_callback.x: Likewise.
75440         * nis/rpcsvc/nis_object.x: Likewise.
75441         * nis/rpcsvc/nis_tags.h: Likewise.
75442         * nis/rpcsvc/yp.h: Likewise.
75443         * nis/rpcsvc/yp.x: Likewise.
75444         * nis/rpcsvc/ypupd.h: Likewise.
75445         * nis/yp_xdr.c: Likewise.
75446         * nis/ypupdate_xdr.c: Likewise.
75448         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
75449         mainly the body of pmap_getport.  Add parameters to specify timeouts.
75450         (pmap_getport): Use __libc_rpc_getport.
75451         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
75452         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
75453         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
75455 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
75457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
75458         fanotify_mark.
75460 2010-08-27  Roland McGrath  <roland@redhat.com>
75462         * sysdeps/i386/i686/multiarch/Makefile
75463         (CFLAGS-varshift.c): New variable.
75465 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
75467         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
75468         * sysdeps/i386/i686/multiarch/varshift.c: New file.
75470         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
75472         * sysdeps/x86_64/strlen.S: Minimal code improvement.
75474 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
75476         * sysdeps/x86_64/strlen.S: Unroll the loop.
75477         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
75478         strlen-sse2 strlen-sse2-bsf.
75479         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
75480         __strlen_no_bsf if bit_Slow_BSF is set.
75481         (__strlen_sse42): Removed.
75482         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
75483         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
75485 2010-08-25  Roland McGrath  <roland@redhat.com>
75487         * sysdeps/x86_64/multiarch/varshift.S: File removed.
75488         * sysdeps/x86_64/multiarch/varshift.c: New file.
75489         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
75490         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
75491         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
75492         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
75494 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
75496         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
75497         strlen-sse2 strlen-sse2-bsf.
75498         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
75499         __strlen_sse2_bsf if bit_Slow_BSF is unset.
75500         (__strlen_sse2): Removed.
75501         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
75502         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
75503         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
75504         bit_Slow_BSF for Atom.
75505         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
75506         (index_Slow_BSF): Define.
75507         (HAS_SLOW_BSF): Define.
75509 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
75511         [BZ #10851]
75512         * resolv/res_init.c (__res_vinit): When no server address at all
75513         is given default to loopback.
75515 2010-08-24  Roland McGrath  <roland@redhat.com>
75517         * configure.in: Remove config-name.h generation.
75518         * configure: Regenerated.
75519         * config-name.in: File removed.
75520         * scripts/config-uname.sh: New file.
75521         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
75522         ($(objdir)config-name.h): New target.
75524         * sunrpc/rpc_parse.h: Avoid nested comment.
75526 2010-08-24  Richard Henderson  <rth@redhat.com>
75527             Ulrich Drepper  <drepper@redhat.com>
75528             H.J. Lu  <hongjiu.lu@intel.com>
75530         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
75531         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
75532         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
75533         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
75534         _mm_alignr_epi8 with _mm_loadu_si128.
75535         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
75536         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
75537         (__m128i_shift_right): Removed.
75538         * sysdeps/i386/i686/multiarch/varshift.h: New file.
75539         * sysdeps/i386/i686/multiarch/varshift.S: New file.
75540         * sysdeps/x86_64/multiarch/varshift.h: New file.
75541         * sysdeps/x86_64/multiarch/varshift.S: New file.
75543 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
75545         * configure.in: Move assembler checks to before sysdep dir checking.
75547 2010-08-20  Petr Baudis  <pasky@suse.cz>
75549         * LICENSES: Sync the sunrpc license.
75551 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
75553         * sunrpc/auth_des.c: Update copyright notice once again.
75554         * sunrpc/auth_none.c: Likewise.
75555         * sunrpc/auth_unix.c: Likewise.
75556         * sunrpc/authdes_prot.c: Likewise.
75557         * sunrpc/authuxprot.c: Likewise.
75558         * sunrpc/bindrsvprt.c: Likewise.
75559         * sunrpc/clnt_gen.c: Likewise.
75560         * sunrpc/clnt_perr.c: Likewise.
75561         * sunrpc/clnt_raw.c: Likewise.
75562         * sunrpc/clnt_simp.c: Likewise.
75563         * sunrpc/clnt_tcp.c: Likewise.
75564         * sunrpc/clnt_udp.c: Likewise.
75565         * sunrpc/clnt_unix.c: Likewise.
75566         * sunrpc/des_crypt.c: Likewise.
75567         * sunrpc/des_soft.c: Likewise.
75568         * sunrpc/get_myaddr.c: Likewise.
75569         * sunrpc/getrpcport.c: Likewise.
75570         * sunrpc/key_call.c: Likewise.
75571         * sunrpc/key_prot.c: Likewise.
75572         * sunrpc/openchild.c: Likewise.
75573         * sunrpc/pm_getmaps.c: Likewise.
75574         * sunrpc/pm_getport.c: Likewise.
75575         * sunrpc/pmap_clnt.c: Likewise.
75576         * sunrpc/pmap_prot.c: Likewise.
75577         * sunrpc/pmap_prot2.c: Likewise.
75578         * sunrpc/pmap_rmt.c: Likewise.
75579         * sunrpc/rpc/auth.h: Likewise.
75580         * sunrpc/rpc/auth_unix.h: Likewise.
75581         * sunrpc/rpc/clnt.h: Likewise.
75582         * sunrpc/rpc/des_crypt.h: Likewise.
75583         * sunrpc/rpc/key_prot.h: Likewise.
75584         * sunrpc/rpc/netdb.h: Likewise.
75585         * sunrpc/rpc/pmap_clnt.h: Likewise.
75586         * sunrpc/rpc/pmap_prot.h: Likewise.
75587         * sunrpc/rpc/pmap_rmt.h: Likewise.
75588         * sunrpc/rpc/rpc.h: Likewise.
75589         * sunrpc/rpc/rpc_des.h: Likewise.
75590         * sunrpc/rpc/rpc_msg.h: Likewise.
75591         * sunrpc/rpc/svc.h: Likewise.
75592         * sunrpc/rpc/svc_auth.h: Likewise.
75593         * sunrpc/rpc/types.h: Likewise.
75594         * sunrpc/rpc/xdr.h: Likewise.
75595         * sunrpc/rpc_clntout.c: Likewise.
75596         * sunrpc/rpc_cmsg.c: Likewise.
75597         * sunrpc/rpc_common.c: Likewise.
75598         * sunrpc/rpc_cout.c: Likewise.
75599         * sunrpc/rpc_dtable.c: Likewise.
75600         * sunrpc/rpc_hout.c: Likewise.
75601         * sunrpc/rpc_main.c: Likewise.
75602         * sunrpc/rpc_parse.c: Likewise.
75603         * sunrpc/rpc_parse.h: Likewise.
75604         * sunrpc/rpc_prot.c: Likewise.
75605         * sunrpc/rpc_sample.c: Likewise.
75606         * sunrpc/rpc_scan.c: Likewise.
75607         * sunrpc/rpc_scan.h: Likewise.
75608         * sunrpc/rpc_svcout.c: Likewise.
75609         * sunrpc/rpc_tblout.c: Likewise.
75610         * sunrpc/rpc_util.c: Likewise.
75611         * sunrpc/rpc_util.h: Likewise.
75612         * sunrpc/rpcinfo.c: Likewise.
75613         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
75614         * sunrpc/rpcsvc/key_prot.x: Likewise.
75615         * sunrpc/rpcsvc/klm_prot.x: Likewise.
75616         * sunrpc/rpcsvc/mount.x: Likewise.
75617         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
75618         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
75619         * sunrpc/rpcsvc/rex.x: Likewise.
75620         * sunrpc/rpcsvc/rstat.x: Likewise.
75621         * sunrpc/rpcsvc/rusers.x: Likewise.
75622         * sunrpc/rpcsvc/sm_inter.x: Likewise.
75623         * sunrpc/rpcsvc/spray.x: Likewise.
75624         * sunrpc/rpcsvc/yppasswd.x: Likewise.
75625         * sunrpc/rtime.c: Likewise.
75626         * sunrpc/svc.c: Likewise.
75627         * sunrpc/svc_auth.c: Likewise.
75628         * sunrpc/svc_authux.c: Likewise.
75629         * sunrpc/svc_raw.c: Likewise.
75630         * sunrpc/svc_run.c: Likewise.
75631         * sunrpc/svc_simple.c: Likewise.
75632         * sunrpc/svc_tcp.c: Likewise.
75633         * sunrpc/svc_udp.c: Likewise.
75634         * sunrpc/svc_unix.c: Likewise.
75635         * sunrpc/svcauth_des.c: Likewise.
75636         * sunrpc/xcrypt.c: Likewise.
75637         * sunrpc/xdr.c: Likewise.
75638         * sunrpc/xdr_array.c: Likewise.
75639         * sunrpc/xdr_float.c: Likewise.
75640         * sunrpc/xdr_mem.c: Likewise.
75641         * sunrpc/xdr_rec.c: Likewise.
75642         * sunrpc/xdr_ref.c: Likewise.
75643         * sunrpc/xdr_sizeof.c: Likewise.
75644         * sunrpc/xdr_stdio.c: Likewise.
75646         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
75647         handling.
75649 2010-08-19  Andreas Schwab  <schwab@redhat.com>
75651         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
75653 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
75655         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
75656         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
75657         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
75658         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
75659         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
75660         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
75661         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
75662         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
75663         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
75664         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
75665         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
75666         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
75667         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
75668         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
75670 2010-07-26  Anton Blanchard  <anton@samba.org>
75672         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
75673         * malloc/arena.c (heap_trim): Likewise.
75675 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
75677         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
75678         here.  Not...
75679         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
75680         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
75682 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
75684         * sysdeps/i386/elf/Makefile: New file.
75686 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
75688         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
75689         from fanotify_init.
75690         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
75691         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
75693 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
75695         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
75696         of strncasecmp_l.
75697         * sysdeps/multiarch/strcmp.S: Likewise.
75699 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
75701         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
75702         strncase_l-nonascii.
75703         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
75704         Add strncase_l-ssse3.
75705         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
75706         * sysdeps/x86_64/strcmp.S: Likewise.
75707         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
75708         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
75709         * sysdeps/x86_64/strncase.S: New file.
75710         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
75711         * sysdeps/x86_64/strncase_l.S: New file.
75712         * string/Makefile (strop-tests): Add strncasecmp.
75713         * string/test-strncasecmp.c: New file.
75715         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
75716         warning.
75718         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
75719         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
75721 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
75723         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
75725 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
75727         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
75728         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
75729         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
75731 2010-05-01  Alan Modra  <amodra@gmail.com>
75733         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
75734         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
75735         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
75736         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
75737         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
75738         tidying.  Don't tail-call __sigjmp_save for static lib.
75739         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
75740         save location.
75741         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
75742         (CALL_MCOUNT): Add eh info, and nop after bl.
75743         (TAIL_CALL_SYSCALL_ERROR): New macro.
75744         (PSEUDO_RET): Use it.
75745         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
75746         Correct save location of integer regs and cr.
75747         (_dl_profile_resolve): Correct cr save location.  Delete nops
75748         after bl when SHARED.  Reduce cfi size a little by better
75749         placement of cfi directives.
75750         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
75751         make a stack frame.  Instead use parm save area as a temp.
75752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
75753         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
75754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
75755         Don't make a stack frame for parent, use parm save area.
75756         Increase child stack frame to 112 bytes.  Don't save unused reg,
75757         and adjust reg usage.  Set up cfi on error recovery and
75758         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
75759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
75760         (__makecontext): Add dummy nop after jump to exit.
75761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
75762         Use correct parm save area and cr save, reduce stack frame.
75763         Correct cfi for possible PSEUDO_RET frame setup.
75764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
75765         Branch to local label emitted by PSEUDO_RET rather than
75766         __syscall_error.
75768 2010-08-12  Andreas Schwab  <schwab@redhat.com>
75770         [BZ #11904]
75771         * locale/programs/locale.c (print_assignment): New function.
75772         (show_locale_vars): Use it.
75774 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
75776         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
75777         field.
75778         (struct statfs64): Likewise.
75779         (_STATFS_F_FLAGS): Define.
75780         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
75781         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
75782         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
75783         (ST_VALID): Define locally.
75784         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
75785         __statvfs_getflags, use the provided value.
75786         * sysdeps/unix/sysv/linux/kernel-features.h: Define
75787         __ASSUME_STATFS_F_FLAGS.
75789         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
75791         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
75792         Add sys/fanotify.h.
75793         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
75794         fanotify_mask for GLIBC_2.13.
75795         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
75796         fanotify_init and fanotify_mark.
75797         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
75798         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
75800         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
75801         Add prlimit.
75802         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
75803         prlimit64 for GLIBC_2.13.
75804         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
75805         prlimit64.
75806         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
75807         syscall.
75808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
75809         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
75810         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
75811         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
75812         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
75813         add prlimit alias.
75814         * sysdeps/unix/sysv/linux/prlimit.c: New file.
75816         [BZ #11903]
75817         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
75818         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
75820         * nss/Makefile: Add rules to build and run tst-nss-test1.
75821         * shlib-versions: Add entry for libnss_test1.
75822         * nss/nss_test1.c: New file.
75823         * nss/tst-nss-test1.c: New file.
75825         * nss/nsswitch.c (__nss_database_custom): Define new variable.
75826         (__nss_configure_lookup): Set appropriate entry in
75827         __nss_configure_lookup to true.
75828         * nss/nsswitch.h: Define enum with indeces of databases in
75829         databases and __nss_database_custom arrays.  Declare
75830         __nss_database_custom.
75831         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
75832         to avoid using nscd when custom rules are installed.
75833         * nss/getXXbyYY_r.c: Likewise.
75834         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
75836         * nss/nss_files/files-parse.c: Whitespace fixes.
75838 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
75840         [BZ #11883]
75841         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
75842         * posix/fnmatch_loop.c: Likewise.
75844 2010-07-17  Andi Kleen  <ak@linux.intel.com>
75846         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
75847         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
75848         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
75849         * Versions.def [GLIBC_2.13]: Add.
75851 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
75853         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
75854         Also fail if tpwd after pwuid call is NULL.
75856 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75858         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
75859         when converting to ms.
75861 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75863         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
75864         EOPNOTSUPP errors with ENOTTY.
75865         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
75866         EOPNOTSUPP errors with ENOTTY.
75868 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
75870         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
75871         Add strcasecmp_l-ssse3.
75872         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
75873         strcasecmp.
75874         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
75875         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
75876         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
75878 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
75880         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
75882         * string/Makefile (strop-tests): Add strcasecmp.
75883         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
75884         strcasecmp_l-nonascii.
75885         (gen-as-const-headers): Add locale-defines.sym.
75886         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
75887         * sysdeps/x86_64/strcasecmp.S: New file.
75888         * sysdeps/x86_64/strcasecmp_l.S: New file.
75889         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
75890         * sysdeps/x86_64/locale-defines.sym: New file.
75891         * string/test-strcasecmp.c: New file.
75893         * string/test-strcasestr.c: Test both ends of the range of characters.
75894         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
75896 2010-07-29  Roland McGrath  <roland@redhat.com>
75898         [BZ #11856]
75899         * manual/locale.texi (Yes-or-No Questions): Fix example code.
75901 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
75903         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
75904         for ld.so.
75906 2010-07-27  Andreas Schwab  <schwab@redhat.com>
75908         * manual/memory.texi (Malloc Tunable Parameters): Document
75909         M_PERTURB.
75911 2010-07-26  Roland McGrath  <roland@redhat.com>
75913         [BZ #11840]
75914         * configure.in (-fgnu89-inline check): Set and substitute
75915         gnu89_inline, not libc_cv_gnu89_inline.
75916         * configure: Regenerated.
75917         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
75919 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
75921         * string/test-strnlen.c: New file.
75922         * string/Makefile (strop-tests): Add strnlen.
75923         * string/tester.c (test_strnlen): Add a few more test cases.
75924         * string/tst-strlen.c: Better error reporting.
75926         * sysdeps/x86_64/strnlen.S: New file.
75928 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
75930         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
75931         lower-latency instructions.
75933 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
75935         * string/test-strcasestr.c: New file.
75936         * string/test-strstr.c: New file.
75937         * string/Makefile (strop-tests): Add strstr and strcasestr.
75938         * string/str-two-way.h: Don't undefine MAX.
75939         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
75941 2010-07-21  Andreas Schwab  <schwab@redhat.com>
75943         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
75944         strcasestr-nonascii.
75945         (CFLAGS-strcasestr-nonascii.c): Define.
75946         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
75947         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
75948         Remove unused attribute.
75950 2010-07-20  Roland McGrath  <roland@redhat.com>
75952         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
75953         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
75954         ld.so.cache was broken.  With it, there is no way to disable dsocaps
75955         like LD_HWCAP_MASK can disable hwcaps.
75957 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
75959         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
75961 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
75963         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
75964         call in strcasestr.
75965         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
75966         __strcasestr_sse42_nonascii.
75967         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
75968         strcasestr-nonascii.c.
75969         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
75971 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
75973         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
75974         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
75975         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
75976         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
75978 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
75980         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
75981         fcntl.
75983 2010-07-06  Andreas Schwab  <schwab@redhat.com>
75985         [BZ #11577]
75986         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
75987         dl_signal_cerror.
75989 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
75991         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
75992         _PC_PIPE_BUF using F_GETPIPE_SZ.
75994 2010-07-05  Roland McGrath  <roland@redhat.com>
75996         * manual/arith.texi (Rounding Functions): Fix rint description
75997         implicit in round description.
75999 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
76001         * elf/Makefile: Fix linking for a few tests to make recent linker
76002         happy.
76004 2010-06-30  Andreas Schwab  <schwab@redhat.com>
76006         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
76007         $(common-objpfx)libc_nonshared.a.
76009 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
76011         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
76012         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
76013         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
76014         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
76015         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
76016         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
76017         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
76018         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
76019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
76020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
76021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
76022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
76023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
76024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
76025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
76026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
76027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
76028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
76029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
76030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
76031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
76032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
76033         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
76034         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
76035         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
76036         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
76037         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
76038         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
76039         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
76040         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
76041         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
76042         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
76043         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
76044         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
76045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
76046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
76047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
76048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
76049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
76050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
76051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
76052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
76053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
76054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
76055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
76056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
76057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
76058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
76060 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
76062         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
76063         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
76064         * string/memmove.c (memmove): Renamed to ...
76065         (MEMMOVE): ...this.  Default to memmove.
76066         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
76067         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
76068         (END_CHK): Define.
76069         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76070         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
76071         mempcpy-ssse3-back memmove-ssse3-back.
76072         * sysdeps/x86_64/multiarch/bcopy.S: New file .
76073         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
76074         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
76075         * sysdeps/x86_64/multiarch/memcpy.S: New file.
76076         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
76077         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
76078         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
76079         * sysdeps/x86_64/multiarch/memmove.c: New file.
76080         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
76081         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
76082         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
76083         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
76084         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
76085         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
76086         Define.
76087         (index_Fast_Copy_Backward): Define.
76088         (HAS_ARCH_FEATURE): Define.
76089         (HAS_FAST_REP_STRING): Define.
76090         (HAS_FAST_COPY_BACKWARD): Define.
76092 2010-06-21  Andreas Schwab  <schwab@redhat.com>
76094         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
76095         Restore proper fallback handling.
76097 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
76099         [BZ #11701]
76100         * posix/group_member.c (__group_member): Correct checking loop.
76102         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
76103         OOM in getpwuid_r correctly.  Return error number when the caller
76104         should return, otherwise -1.
76105         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
76106         call returning > 0 value.
76107         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
76109 2010-06-07  Andreas Schwab  <schwab@redhat.com>
76111         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
76112         libc_nonshared.a from targets in modules-names.
76114 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
76116         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
76117         requires it.
76119 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
76121         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
76122         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
76123         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
76124         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
76126 2010-06-02  Andreas Schwab  <schwab@redhat.com>
76128         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
76130 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
76132         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
76133         and F_GETPIPE_SZ.
76134         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
76135         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
76136         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
76137         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
76138         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
76139         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
76141 2010-06-14  Roland McGrath  <roland@redhat.com>
76143         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
76145 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
76147         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
76148         __REDIRECT followed by __THROW.
76149         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
76150         * posix/getopt.h (getopt): Likewise.
76152 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
76154         * hurd/lookup-at.c (__file_name_lookup_at): Accept
76155         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
76156         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
76157         in AT_FLAGS.
76158         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
76159         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
76161 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
76163         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
76165 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
76167         [BZ #11640]
76168         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76169         Properly check family and model.
76171 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
76173         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
76175 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
76177         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
76179 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
76181         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
76182         symbol reference.
76184 2010-05-19  Andreas Schwab  <schwab@redhat.com>
76186         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
76187         symbol reference.
76189 2010-05-21  Andreas Schwab  <schwab@redhat.com>
76191         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
76192         and internal_recvmmsg.
76193         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
76194         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
76195         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
76196         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
76198         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
76199         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
76200         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
76202 2010-05-20  Andreas Schwab  <schwab@redhat.com>
76204         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
76206 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
76208         POWER7 optimizations.
76209         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
76210         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
76212 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
76214         * version.h: Update for 2.13 development version.
76216 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
76218         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
76219         exceptions.  Return 0.
76221 2010-05-07  Roland McGrath  <roland@redhat.com>
76223         * elf/ldconfig.c (main): Add a const.
76225 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
76227         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
76228         (args_options): Add no-idn option.
76229         (ahosts_keys_int): Add idn_flags to ai_flags.
76230         (parse_option): Handle 'i' option to clear idn_flags.
76232         * malloc/malloc.c (_int_free): Possible race in the most recently
76233         added check.  Only act on the data if no current modification
76234         happened.
76236 See ChangeLog.17 for earlier changes.