Fix ldbl-128ibm log1pl (sNaN) (bug 20234).
[glibc.git] / ChangeLog
blob81192ce5b847ebef6b5dfcf77039dbf5ee98e4fe
1 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
3         [BZ #20234]
4         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
5         infinity or NaN input to itself.
7         [BZ #20233]
8         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
9         to itself.
11         [BZ #20232]
12         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
13         itself.
15 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
17         * sysdeps/x86_64/start.S (_start): Always indirect branch to
18         __libc_start_main via GOT.
20 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
22         * sysdeps/x86_64/memcopy.h: New file.
23         * sysdeps/x86_64/wordcopy.c: Likewise.
25 2016-06-09  Florian Weimer  <fweimer@redhat.com>
27         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
28         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
29         <cstdlib>.
30         (optimization_barrier): New.
31         (do_test): Use it.  Call quick_exit in the global namespace.
32         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
33         instead of <cstdlib>, <thread>.
34         (optimization_barrier): New.
35         (non_main_thread): Adjust declaration.  Call optimization_barrier.
36         Call quick_exit in the global namespace.
37         (do_test): Call optimization_barrier.  Use pthread_create,
38         pthread_join instead of std::thread.
40 2016-06-09  Andreas Schwab  <schwab@suse.de>
42         [BZ #19755]
43         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
44         new entries in auto-propagate mode.
45         * nscd/grpcache.c (cache_addgr): Likewise.
47 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@gmail.com>
49         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
50         New functions.
51         (add_temp_file): Use them.
53 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
55         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
57 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
59         [BZ #20229]
60         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
61         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
62         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
64         [BZ #20228]
65         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
66         itself.
67         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
68         * math/libm-test.inc (log10_test_data): Add sNaN tests.
70         [BZ #20227]
71         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
72         itself.
73         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
74         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
75         * math/libm-test.inc (log_test_data): Add sNaN tests.
77         [BZ #20226]
78         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
79         itself.
80         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
81         * math/libm-test.inc (exp_test_data): Add sNaN tests.
82         (exp10_test_data): Likewise.
83         (expm1_test_data): Likewise.
85         [BZ #20225]
86         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
87         itself.
88         * math/s_ldexpf.c (__ldexpf): Likewise.
89         * math/s_ldexpl.c (__ldexpl): Likewise.
90         * math/w_scalbln.c (__w_scalbln): Likewise.
91         * math/w_scalblnf.c (__w_scalblnf): Likewise.
92         * math/w_scalblnl.c (__w_scalblnl): Likewise.
93         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
94         (scalbln_test_data): Likewise.
96         [BZ #20224]
97         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
98         argument to itself.
99         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
101 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
103         [BZ #19776]
104         * sysdeps/x86_64/memcpy.S: Make it dummy.
105         * sysdeps/x86_64/mempcpy.S: Likewise.
106         * sysdeps/x86_64/memmove.S: New file.
107         * sysdeps/x86_64/memmove_chk.S: Likewise.
108         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
109         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
110         * sysdeps/x86_64/memmove.c: Removed.
111         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
112         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
113         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
114         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
115         Likewise.
116         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
117         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
118         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
119         memcpy-sse2-unaligned, memmove-avx-unaligned,
120         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
121         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
122         (__libc_ifunc_impl_list): Replace
123         __memmove_chk_avx512_unaligned_2 with
124         __memmove_chk_avx512_unaligned.  Remove
125         __memmove_chk_avx_unaligned_2.  Replace
126         __memmove_chk_sse2_unaligned_2 with
127         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
128         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
129         with __memmove_avx512_unaligned.  Replace
130         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
131         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
132         with __memcpy_chk_avx512_unaligned.  Remove
133         __memcpy_chk_avx_unaligned_2.  Replace
134         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
135         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
136         Replace __memcpy_avx512_unaligned_2 with
137         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
138         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
139         with __mempcpy_chk_avx512_unaligned.  Remove
140         __mempcpy_chk_avx_unaligned_2.  Replace
141         __mempcpy_chk_sse2_unaligned_2 with
142         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
143         Replace __mempcpy_avx512_unaligned_2 with
144         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
145         Replace __mempcpy_sse2_unaligned_2 with
146         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
147         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
148         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
149         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
150         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
151         (ENTRY): Removed.
152         (END): Likewise.
153         (ENTRY_CHK): Likewise.
154         (libc_hidden_builtin_def): Likewise.
155         Don't include ../memcpy.S.
156         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
157         __memcpy_chk_avx512_unaligned_erms and
158         __memcpy_chk_avx512_unaligned.  Use
159         __memcpy_chk_avx_unaligned_erms and
160         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
161         Default to __memcpy_chk_sse2_unaligned.
162         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
163         Change function suffix from unaligned_2 to unaligned.
164         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
165         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
166         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
167         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
168         (ENTRY): Removed.
169         (END): Likewise.
170         (ENTRY_CHK): Likewise.
171         (libc_hidden_builtin_def): Likewise.
172         Don't include ../mempcpy.S.
173         (mempcpy): New.  Add a weak alias.
174         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
175         __mempcpy_chk_avx512_unaligned_erms and
176         __mempcpy_chk_avx512_unaligned.  Use
177         __mempcpy_chk_avx_unaligned_erms and
178         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
179         Default to __mempcpy_chk_sse2_unaligned.
181 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
183         [BZ #19881]
184         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
185         into ...
186         * sysdeps/x86_64/memset.S: This.
187         (__bzero): Removed.
188         (__memset_tail): Likewise.
189         (__memset_chk): Likewise.
190         (memset): Likewise.
191         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
192         defined.
193         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
194         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
195         (__memset_zero_constant_len_parameter): Check SHARED instead of
196         PIC.
197         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
198         memset-avx2 and memset-sse2-unaligned-erms.
199         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
200         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
201         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
202         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
203         (__bzero): Enabled.
204         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
205         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
206         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
207         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
208         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
209         (memset): Removed.
210         (__memset_chk): Likewise.
211         (MEMSET_SYMBOL): New.
212         (libc_hidden_builtin_def): Replace __memset_sse2 with
213         __memset_sse2_unaligned.
214         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
215         __memset_chk_sse2 and __memset_chk_avx2 with
216         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
217         Use __memset_chk_sse2_unaligned_erms or
218         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
219         __memset_chk_avx512_unaligned_erms and
220         __memset_chk_avx512_unaligned.
222 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
224         * math/gen-auto-libm-test.c (fp_format_desc): remove
225         suffix member.
226         (output_generic_value): Remove usage of suffix member,
227         and the resulting unuse of the fp_format argument.
228         (output_for_one_input_case): Remove unused fp_format
229         parameter.
231         * math/auto-libm-test-out: Regenerate.
233         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
234         usage with TEST_COND_ibm128.
235         (TEST_COND_flt_32): Remove.
236         (TEST_COND_dbl_64): Remove.
237         (TEST_COND_ldbl_96_intel): Remove.
238         (TEST_COND_ldbl_96_m68k): Remove.
239         (TEST_COND_ldbl_128): Remove.
241 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
243         * auto-libm-test-in:
244         Replace flt-32 usage with binary32.
245         Replace dbl-64 usage with binary64.
246         Replace ldbl-intel-96 usage with intel96.
247         Replace ldbl-m68k-96 usage with m68k96.
248         Replace ldbl-128ibm usage with ibm128.
249         Replace ldbl-128 usage with binary128.
251         * auto-libm-test-out: Regenerate.
253 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
255         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
256         (parse_ulps): Dynamically generate type name matching
257         string from all_floats.
258         (get_ulps): Generate the ulps as an array instead.
259         (output_ulps): Dynamically compose the type based
260         on the number of supported formats, and print
261         the indices as type specific helper macros.
263         * math/libm-test.inc: Remove comment about CHOOSE.
264         (ulp_data): Generate the type in libm-test-ulps.h.
265         (ULP_IDX): New macro.
266         (find_ulps): Update usage of max_ulp.
268         * math/test-double-vlen2.h (CHOOSE): Remove.
269         * math/test-double-vlen4.h (CHOOSE): Likewise.
270         * math/test-double-vlen8.h (CHOOSE): Likewise.
271         * math/test-float.c (CHOOSE): Likewise.
272         * math/test-float-finite.c (CHOOSE): Likewise.
273         * math/test-double.c (CHOOSE): Likewise.
274         * math/test-double-finite.c (CHOOSE): Likewise.
275         * math/test-idouble.c (CHOOSE): Likewise.
276         * math/test-ifloat.c (CHOOSE): Likewise.
277         * math/test-ildoubl.c (CHOOSE): Likewise.
278         * math/test-ldouble-finite.c (CHOOSE): Likewise.
279         * math/test-ldouble.c (CHOOSE): Likewise.
281         * math/test-float.h (TEST_FLOAT): Remove.
282         * math/test-double.h (TEST_DOUBLE): Likewise.
283         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
285 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
287         * math/gen-libm-test.pl: (apply_lit): New subroutine.
288         (parse_args): Strip C suffix from floating point literals
289         typed with 'f' and wrap them with LIT().
291         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
292         (test_ff_f_data_nexttoward): Rename to
293         (test_fj_f_data): New struct.
294         (nexttoward_test_data): Relabel tests as
295         TEST_fj_f instead of TEST_ff_f.
297 2016-06-08  Florian Weimer  <fweimer@redhat.com>
299         Emacs bug 23726.
300         * malloc/malloc.c (dumped_main_arena_start): Update comment.
301         (__libc_realloc): Correct size computation for dumped fake mmapped
302         chunks.
304 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
306         [BZ #20219]
307         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
308         to itself.
309         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
311         [BZ #20218]
312         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
313         to itself.
314         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
316 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
318         [BZ #20195]
319         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
320         check to ...
321         (init_cpu_features): Here.
323 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
325         [BZ #20214]
326         * sysdeps/unix/sysv/linux/bits/in.h
327         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
328          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
329         Define to 1.
330         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
331          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
332         Define to 0.
333         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
334         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
336 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
338         [BZ #20198]
339         * stdlib/Makefile (tests): Add tst-quick_exit, and
340         tst-thread-quick_exit.
341         [ifeq ($(have-cxx-thread_local),yes)]
342         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
343         (CFLAGS-tst-thread-quick_exit.o): Likewise.
344         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
345         (LDLIBS-tst-thread-quick_exit): Likewise.
346         [ifneq ($(have-cxx-thread_local),yes)]
347         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
348         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
349         If run_dtors is true call __call_tls_dtors.
350         (exit): Call __run_exit_handlers with run_dtors set to true.
351         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
352         definition.
353         * stdlib/quick_exit.c (quick_exit): Remove function.
354         (__new_quick_exit): New function.
355         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
356         function.
357         * stdlib/tst-quick_exit.cc: New file.
358         * stdlib/tst-thread-quick_exit.cc: New file.
359         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
360         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
361         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
362         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
363         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
364         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
365         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
366         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
367         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
368         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
369         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
370         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
371         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
372         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
373         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
374         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
379         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
380         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
381         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
382         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
383         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
384         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
385         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
386         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
387         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
388         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
390 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
392         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
393         a typo in comments.
395 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
397         [BZ #20213]
398         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
399         argument to itself.
400         * math/libm-test.inc (asin_test_data): Add sNaN tests.
402 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
404         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
405         required flags.
406         (CFLAGS-pwritev64.c): Likewise.
407         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
408         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
409         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
410         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
411         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
412         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
413         syscall from auto-generation.
414         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
415         [WORDSIZE == 64] (pwritev64): Remove macro.
416         [!PWRITEV] (PWRITEV): Likewise.
417         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
418         [!PWRITEV] (PWRITE): Likewise.
419         [!PWRITEV] (OFF_T): Likewise.
420         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
421         (LO_HI_LONG): Remove macro.
422         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
423         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
424         (PWRITEV): Remove macro.
425         (PWRITEV_REPLACEMENTE): Likewise.
426         (PWRITE): Likewise.
427         (OFF_T): Likewise.
428         (pwritev64): New function.
429         * nptl/tst-cancel4.c (tf_writev): Add test.
431         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
432         required flags.
433         (CFLAGS-preadv64.c): Likewise.
434         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
435         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
436         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
437         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
438         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
439         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
440         syscall from auto-generation.
441         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
442         [WORDSIZE == 64] (preadv64): Remove macro.
443         [!PREADV] (PREADV): Likewise.
444         [!PREADV] (PREADV_REPLACEMENT): Likewise.
445         [!PREADV] (PREAD): Likewise.
446         [!PREADV] (OFF_T): Likewise.
447         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
448         (LO_HI_LONG): Remove macro.
449         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
450         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
451         (PREADV): Remove macro.
452         (PREADV_REPLACEMENTE): Likewise.
453         (PREAD): Likewise.
454         (OFF_T): Likewise.
455         (preadv64): New function.
456         * nptl/tst-cancel4.c (tf_preadv): Add test.
458 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
460         [BZ #20212]
461         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
462         argument to itself.
463         * math/libm-test.inc (acos_test_data): Add sNaN tests.
465 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
467         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
468         New symbol defined as libc_hidden_def.
469         (strcasestr): Became a weak alias to __strcasestr.
470         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
471         according to multi-arch support.  Move __stpncpy hidden
472         definition from here to...
473         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
474         symbol stpncpy.
475         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
476         libc_hidden_builtin_def.
477         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
478         memset symbol to use when multi-arch support is available.
480 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
482         * dlfcn/tst-rec-dlopen.c: Include string.h.
484 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
486         * manual/install.texi: Remove mention of --without-tls
487         * INSTALL: Regenerate.
489 2016-06-05  Florian Weimer  <fweimer@redhat.com>
491         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
492         Remove.
493         (call_function, interposed_malloc_called): New variables.
494         (malloc): New function.
495         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
496         and clear call_function as needed.
498 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
500         * include/wchar.h (__wmemset): Use __typeof.
502 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
504         * include/wchar.h (__wmemset): Declare function without typeof.
506 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
508         [BZ #20205]
509         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
510         exponent when incrementing negative subnormal with low mantissa
511         word zero.
512         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
513         Add another test.
515 2016-06-03  Florian Weimer  <fweimer@redhat.com>
517         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
518         __wmemset instead of wmemset.
520 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
522         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
523         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
524         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
525         __USE_KERNEL_IPV6_DEFS to 0.
526         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
527         Update comment.
529 2016-06-01  Florian Weimer  <fweimer@redhat.com>
531         [BZ #19861]
532         Do not use IFUNC resolver with potentially unrelocated symbol.
533         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
534         (DEFINE_FORK): Remove macro and inline definition.
535         (fork_alias): Renamed from fork_ifunc.
536         (__fork_alias): Renamed from __fork_ifunc.
538 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
540         [BZ 19653]
541         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
542         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
544 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
546         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
547         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
548         i386-linux-gnu).
549         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
550         Set to no.
551         * sysdeps/mach/hurd/configure: Refresh.
553 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
555         [BZ #20178]
556         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
557         on failure instead of exit.
559 2016-05-30  Roland McGrath  <roland@hack.frob.com>
561         [BZ #3629]
562         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
563         of POSIX.1-2008.
565 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
567         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
568           Use PLT entry for calling _hurd_self_sigstate.
570 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
572         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
573         available logical processors with SMT level type sharing L2
574         cache for Intel processors.
576 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
578         [BZ #20160]
579         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
580         argument to itself before returning the result.
581         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
582         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
583         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
584         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
585         Likewise.
586         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
587         Likewise.
588         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
589         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
590         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
591         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
592         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
593         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
595         [BZ #20160]
596         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
597         argument to itself before returning the result.
598         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
599         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
600         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
601         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
602         Likewise.
603         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
604         Likewise.
605         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
606         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
607         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
608         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
609         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
610         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
612 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
614         * libm-test.inc: Replace usage of M_El with
615         (lit_e): New macro.
617 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
619         * libm-test.inc: Replace usage of M_PI_4l with
620         (lit_pi_4_d): New macro.
622 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
624         * libm-test.inc: Replace usage of M_PIl with
625         (lit_pi): New macro.
627 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
629         * libm-test.inc: Replace usage of M_PI2l with
630         (lit_pi_2_d): New macro.
632         * math/test-double.h (LITM): New macro.
633         * math/test-float.h (LITM): Likewise.
634         * math/test-ldouble.h (LITM): Likewise.
636 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
638         * libm-test.inc (M_PI_34l): Rename to
639         (lit_pi_3_m_4_d): New Macro.
640         (M_PI_34_LOG10El): Rename to
641         (lit_pi_3_m_4_ln10_m_d): New Macro.
642         (M_PI2_LOG10El): Rename to
643         (lit_pi_2_ln10_m_d):  New Macro.
644         (M_PI4_LOG10El): Rename to
645         (lit_pi_4_ln10_m_d):  New Macro.
646         (M_PI_LOG10El): Rename to
647         (lit_pi_ln10_d):  New Macro.
649 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
651         [BZ #20157]
652         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
653         determine whether to negate low half if [_ARCH_PPCGR], and integer
654         comparison otherwise.
655         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
656         determine whether to negate low half.
658         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
659         (NO_TEST_INLINE_DOUBLE): Likewise.
660         (TEST_COND_x86_64): Likewise.
661         (TEST_COND_x86): Likewise.
662         (M_PI_6l): Likewise.
664 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
666         * math/libm-test.inc:
667         (TEST_FLOAT): Change usage to TEST_COND_binary32.
668         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
669         (TEST_LDOUBLE): Update usage to evaluate as true if
670         the guarded tests match the property being tested.
671         (LDBL_MAX_EXP): Change to MAX_EXP.
672         (LDBL_MIN_EXP): Change to MIN_EXP.
673         (LDBL_MANT_DIG): Change to MANT_DIG, except for
674         nexttoward tests.
676 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
678         * math/libm-test.inc:
679         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
680         (TYPE_MIN): Likewise.
681         (TYPE_TRUE_MIN): Likewise.
682         (TYPE_MAX): Likewise.
683         (MIN_EXP): Likewise.
684         (MAX_EXP): Likewise.
685         (MANT_DIG): Likewise.
687         (FSTR_MAX): New macro.
688         (__CONCATX): Likewise.
689         (QTYPE_STR): Likewise.
690         (TEST_COND_binary32): Likewise.
691         (TEST_COND_binary64): Likewise.
692         (TEST_COND_binary128): Likewise.
693         (TEST_COND_ibm128): Likewise.
694         (TEST_COND_intel96): Likewise.
695         (TEST_COND_m68k96): Likewise.
697         (TEST_COND_flt_32): Redefine as equivalent format test macro.
698         (TEST_COND_dbl_64): Likewise.
699         (TEST_COND_ldbl_96_intel): Likewise.
700         (TEST_COND_ldbl_96_m68k): Likewise.
701         (TEST_COND_ldbl_128): Likewise.
702         (TEST_COND_ldbl_128ibm): Likewise.
704         (plus_zero): Redefine using LIT macro.
705         (minus_zero): Likewise.
706         (plus_infty): Redefine as (INF).
707         (minux_infty): Redefine as (-INF).
708         (max_value): Redefine as TYPE_MAX.
709         (min_value): Redefine as TYPE_MIN.
710         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
712         (print_float): Refactor to use snprintf to convert FLOAT values
713         to string. This brings it closer to dropin replacement of strtof
714         for the TS 18661 defined types.
715         (update_stats): Likewise.
716         (print_complex_function_ulps): Likewise.
717         (print_max_error): Likewise.
718         (print_complex_max_error): Likewise.
719         (check_float_internal): Likewise.
721         * math/test-float.h (PREFIX): New macro.
722         (LIT): Likewise.
723         (TYPE_STR): Likewise.
724         (FTOSTR): Likewise.
726         * math/test-double.h (PREFIX): New macro.
727         (LIT): Likewise.
728         (TYPE_STR): Likewise.
729         (FTOSTR): Likewise.
731         * math/test-ldouble.h (PREFIX): New macro.
732         (LIT): Likewise.
733         (TYPE_STR): Likewise.
734         (FTOSTR): Likewise.
736 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
738         [BZ #20156]
739         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
740         to itself when zero or not finite.
741         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
742         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
743         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
744         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
746 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
748         [BZ #20153]
749         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
750         x * x + x for infinities and NaNs.
752         [BZ #20151]
753         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
754         argument to itself before returning result.
755         (__ieee754_y0l): Likewise.
756         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
757         (__ieee754_y1l).
759         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
760         (atan_test_data): Likewise.
761         (ceil_test_data): Likewise.
762         (cos_test_data): Likewise.
763         (cosh_test_data): Likewise.
764         (erf_test_data): Likewise.
765         (exp2_test_data): Likewise.
766         (fabs_test_data): Likewise.
767         (floor_test_data): Likewise.
768         (ilogb_test_data): Likewise.
769         (j0_test_data): Likewise.
770         (j1_test_data): Likewise.
771         (jn_test_data): Likewise.
772         (lgamma_test_data): Likewise.
773         (lrint_test_data): Likewise.
774         (llrint_test_data): Likewise.
775         (logb_test_data): Likewise.
776         (lround_test_data): Likewise.
777         (llround_test_data): Likewise.
778         (nearbyint_test_data): Likewise.
779         (rint_test_data): Likewise.
780         (round_test_data): Likewise.
781         (sin_test_data): Likewise.
782         (sincos_test_data): Likewise.
783         (sinh_test_data): Likewise.
784         (sqrt_test_data): Likewise.
785         (tan_test_data): Likewise.
786         (tanh_test_data): Likewise.
787         (tgamma_test_data): Likewise.
788         (trunc_test_data): Likewise.
789         (y0_test_data): Likewise.
790         (y1_test_data): Likewise.
791         (yn_test_data): Likewise.
793         * math/libm-test.inc: Update comment about NaN testing.
794         (TEST_SNAN): New macro.
795         (snan_value): Likewise.
796         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
797         (fpclassify_test_data): Add sNaN tests.
798         (isfinite_test_data): Likewise.
799         (isinf_test_data): Likewise.
800         (isnan_test_data): Likewise.
801         (isnormal_test_data): Likewise.
802         (issignaling_test_data): Likewise.
803         (signbit_test_data): Likewise.
804         * math/gen-libm-test.pl (%beautify): Add snan_value.
805         (show_exceptions): Add argument $test_snan.
806         (parse_args): Handle snan_value as non-finite.  Update call to
807         show_exceptions.
808         * math/Makefile (libm-test-no-inline-cflags): Add
809         -fsignaling-nans.
811 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
813         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
814         (CFLAGS-oldsendmsg.c): Add rule.
815         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
816         Correct recvmsg symbol name.
817         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
818         Likewise.
820 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
822         * sysdeps/unix/sysv/linux/Makefile
823         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
824         oldsendmmsg.
825         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
826         sendmmsg.
827         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
828         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
829         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
830         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
832         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
833         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
834         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
835         Likewise.
836         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
837         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
838         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
839         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
840         iovlen and controllen fields to adjust to POSIX specification.
841         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
843         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
844         and change to correct expected type.
845         (msghdr.msg_controllen): Likewise.
846         (cmsghdr.cmsg_len): Likewise.
847         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
848         expected POSIX assumption about the size.
849         (msghdr.msg_controllen): Likewise.
850         (msghdr.__glibc_reserved1): Likewise.
851         (msghdr.__glibc_reserved2): Likewise.
852         (cmsghdr.cmsg_len): Likewise.
853         (cmsghdr.__glibc_reserved1): Likewise.
854         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
855         Add ptw-oldrecvmsg and ptw-oldsendmsg.
856         (CFLAGS-sendmsg.c): Remove rule.
857         (CFLAGS-recvmsg.c): Likewise.
858         (CFLAGS-oldsendmsg.c): Add rule.
859         (CFLAGS-oldrecvmsg.c): Likewise.
860         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
861         recvmsg and sendmsg.
862         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
863         Likewise.
864         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
865         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
866         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
867         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
868         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
869         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
870         Likewise.
871         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
872         Likewise.
873         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
874         Likewise.
875         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
876         Likewise.
877         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
878         Likewise.
879         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
880         Likewise.
881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
882         (GLIBC_2.24): Likewise.
883         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
884         Likewise.
885         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
886         Likewise.
887         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
888         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
889         Likewise.
890         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
891         Likewise.
892         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
893         Likewise.
894         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
895         (GLIBC_2.24): Likewise.
896         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
897         Likewise.
898         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
899         Likewise.
900         * sysdeps/unix/sysv/linux/Makefile
901         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
902         (CFLAGS-sendmsg.c): Add rule.
903         (CFLAGS-recvmsg.c): Likewise.
904         (CFLAGS-oldsendmsg.c): Likewise.
905         (CFLAGS-oldrecvmsg.c): Likewise.
906         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
907         initialization.
908         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
909         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
910         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
911         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
912         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
913         iovlen and controllen fields to adjust to POSIX specification.
914         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
915         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
916         added recvmsg and sendmsg.
917         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
918         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
919         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
920         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
921         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
922         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
923         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
924         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
925         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
926         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
927         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
928         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
930         Likewise.
931         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
933         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
934         Likewise.
935         Likewise.
936         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
937         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
938         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
939         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
940         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
941         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
942         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
943         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
944         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
945         Likewise.
946         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
947         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
949         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
950         from auto-generation.
951         (sendmsg): Likewise.
952         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
953         (sendmsg): Likewise.
954         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
955         (sendmsg): Likewise.
956         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
957         (sendmsg): Likewise.
958         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
959         (sendmsg): Likewise.
960         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
961         (sendmsg): Likewise.
962         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
963         Likewise.
964         (sendmsg): Likewise.
965         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
966         (sendmsg): Likewise.
967         * sysdeps/unix/sysv/linux/i386/kernel-features.h
968         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
969         Remove.
970         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
971         Likewise.
972         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
973         Undefine.
974         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
975         Likewise.
976         * sysdeps/unix/sysv/linux/kernel-features.h
977         (__ASSUME_SENDMSG_SYSCALL): Define.
978         (__ASSUME_RECVMSG_SYSCALL): Likewise.
979         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
980         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
981         Remove.
982         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
983         Likewise.
984         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
985         Undefine.
986         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
987         Likewise.
988         * sysdeps/unix/sysv/linux/s390/kernel-features.h
989         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
990         Remove.
991         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
992         Likewise.
993         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
994         Undefine.
995         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
996         Likewise.
997         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
998         (__ASSUME_SENDMSG_SYSCALL): Undefine.
999         (__ASSUME_RECVMSG_SYSCALL): Likewise.
1000         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1001         (__ASSUME_SENDMSG_SYSCALL): Likewise.
1002         (__ASSUME_RECVMSG_SYSCALL): Likewise.
1003         * sysdeps/unix/sysv/linux/sh/kernel-features.h
1004         (__ASSUME_SENDMSG_SYSCALL): Likewise.
1005         (__ASSUME_RECVMSG_SYSCALL): Likewise.
1007 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1009         * stdlib/gen-tst-strtod-round.c: Add backslash to
1010         compile command in comment.
1011         (printfp): Remove the literal suffix, and define an infinite
1012         value as INF to avoid expansion clash with INFINITY.
1013         (round_str): Remove the literal suffix.
1014         (round_for_all): Likewise, remove the now duplicate ldbl-64
1015         entry, and remove some magic constants.
1017         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
1018         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
1019         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
1020         (_CONCAT): New macro.
1021         (CONCAT): Likewise.
1022         (CHOOSE_ld): Likewise.
1023         (CHOOSE_f): Likewise.
1024         (CHOOSE_d): Likewise.
1025         (FTYPE_MEMBER): Likewise.
1026         (BOOL_MEMBER): Likewise.
1027         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
1028         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
1029         (_XNTRY): Likewise.
1030         (XNTRY): Likewise.
1031         (_ENTRY): Likewise.
1032         (ENTRY): Likewise.
1033         (test_exactness): Generate members via macro.
1034         (test_results): Likewise.
1035         (test): Update members.
1036         (TEST): Redefine using new macros.
1037         (INF): New macro.
1038         (fetestmodes): New structure.
1039         (do_test): Refactor to be type generic.
1040         (test_in_one_mode): Refactor duplicate code into
1041         (GEN_ONE_TEST): New macro.
1043         * stdlib/tst-strtod-round-data.h: Regenerate.
1045         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
1046         Extend to pass additional arbitrary parameters to
1047         generators.
1049 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
1051         [BZ #15479]
1052         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
1053         floating-point state after first floating-point operation on
1054         input.  Restore full floating-point state instead of just rounding
1055         mode.
1056         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
1057         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
1058         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
1059         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
1060         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
1062         [BZ #15479]
1063         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
1064         floating-point state after first floating-point operation on
1065         input.  Restore full floating-point state instead of just rounding
1066         mode.
1067         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
1068         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
1069         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
1070         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
1071         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
1073 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1075         [BZ #19727]
1076         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
1077         valid high surrogate.
1078         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
1079         of an utf16 surrogate.
1080         * iconv/gconv_simple.c (BODY): Likewise.
1081         * iconvdata/bug-iconv12.c: New file.
1082         * iconvdata/Makefile (tests): Add bug-iconv12.
1084 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1086         [BZ #19726]
1087         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
1088         outptrp in case of an illegal input.
1089         * iconv/tst-iconv6.c: New file.
1090         * iconv/Makefile (tests): Add tst-iconv6.
1092 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1094         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
1095         an error in case of a value in range of an utf16 low surrogate.
1097 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1099         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
1100         an error in case of a value in range of an utf16 low surrogate.
1102 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1104         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
1105         Move to ...
1106         * sysdeps/s390/Makefile: ... here.
1107         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
1108         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
1109         (BRANCH_ON_COUNT): New define.
1110         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
1111         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
1112         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
1113         run on s390-32, too.
1114         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
1115         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
1116         run on s390-32, too.
1117         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
1118         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
1119         run on s390-32, too.
1121 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1123         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
1124         etf3eh or new vector loop-variant.
1126 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1128         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
1129         etf3eh or new vector loop-variant.
1131 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1133         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
1134         or new vector loop-variant.
1136 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1138         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
1139         Rename to TR_LOOP and usage of tr instead of troo instruction.
1141 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1143         * sysdeps/s390/multiarch/gconv_simple.c: New File.
1144         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
1146 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1148         * sysdeps/s390/multiarch/8bit-generic.c: New File.
1149         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
1150         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
1151         New override define.
1152         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
1154 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1156         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
1157         * sysdeps/s390/configure.ac: Add test for S390 vector register
1158         support in gcc.
1159         * sysdeps/s390/configure: Regenerated.
1161 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1163         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
1164         Install file from $(objpfx)gconv-modules.
1165         ($(objpfx)gconv-modules): Concatenate architecture specific file
1166         in variable sysdeps-gconv-modules and gconv-modules in src dir.
1167         * sysdeps/s390/gconv-modules: New file.
1168         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
1169         Deleted.
1170         ($(objpfx)gconv-modules-s390): Deleted.
1171         (sysdeps-gconv-modules): New variable.
1173 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
1175         [BZ #15479]
1176         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
1177         of immediate operand to rounding instruction.
1178         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
1179         Likewise.
1180         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
1181         Likewise.
1182         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
1183         Likewise.
1185 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1187         * math/libm-test.inc (MIN_EXP): Directly define as
1188         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
1190 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1192         * math/libm-test.inc (MANT_DIG): Directly define as
1193         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
1195 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1197         * stdlib/gen-tst-strtod-round.c (main):
1198           Change usage to more closely match the generated
1199           output.  Add usage and compilation instructions.
1200           (string_to_fp): Add and use FILE* parameter as
1201           output target.
1202           (print_fp): Likewise.
1203           (round_str): Likewise.
1204           (round_for_all): Likewise.
1205         * stdlib/tst-strtod-round.c (tests): Move into
1206         * stdlib/tst-strtod-round-data.h: New file.
1208 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
1210         [BZ #15479]
1211         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
1212         (__round): Do not force "inexact" exception.
1213         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
1214         variable.
1215         (__round): Do not force "inexact" exception.
1216         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
1217         (__roundf): Do not force "inexact" exception.
1218         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
1219         (__roundl): Do not force "inexact" exception.
1220         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
1221         (__roundl): Do not force "inexact" exception.
1222         * math/libm-test.inc (round_test_data): Do not allow spurious
1223         "inexact" exceptions.
1225         [BZ #15479]
1226         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
1227         exception in comment.
1228         (huge): Remove variable.
1229         (__floor): Do not force "inexact" exception.
1230         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
1231         "inexact" exception in comment.
1232         (huge): Remove variable.
1233         (__floor): Do not force "inexact" exception.
1234         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
1235         exception in comment.
1236         (huge): Remove variable.
1237         (__floorf): Do not force "inexact" exception.
1238         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
1239         exception in comment.
1240         (huge): Remove variable.
1241         (__floorl): Do not force "inexact" exception.
1243         [BZ #15479]
1244         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
1245         exception in comment.
1246         (huge): Remove variable.
1247         (__ceil): Do not force "inexact" exception.
1248         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
1249         "inexact" exception in comment.
1250         (huge): Remove variable.
1251         (__ceil): Do not force "inexact" exception.
1252         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
1253         (__ceilf): Do not force "inexact" exception.
1254         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
1255         exception in comment.
1256         (huge): Remove variable.
1257         (__ceill): Do not force "inexact" exception.
1259 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
1261         * config.h.in (BIND_NOW): New.
1262         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
1263         * configure: Regenerated.
1264         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
1265         indirect branch via the GOT slot.
1267 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
1269         [BZ #19765]
1270         * sysdeps/s390/mempcpy.S: New File.
1271         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
1272         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
1273         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1274         Add mempcpy variants.
1275         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
1276         (memcpy): Adjust to be usable from mempcpy entry point.
1277         (__memcpy_mvcle): Likewise.
1278         * sysdeps/s390/s390-64/memcpy.S: Likewise.
1279         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
1280         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
1281         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
1282         (__memcpy_z10): Likewise.
1283         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
1285 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
1287         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
1288         Remove __GI_ symbol.
1289         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
1290         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
1291         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
1292         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
1293         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
1294         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
1296 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
1298         * sysdeps/s390/s390-64/memcpy.S (memcpy):
1299         Use cghi instead of chi to compare 64bit value.
1301 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
1303         * sysdeps/s390/s390-32/memcpy.S (memcpy):
1304         Jump to 1MB check before executing mvc-loop.
1306 2016-05-24  Florian Weimer  <fweimer@redhat.com>
1308         [BZ #6527]
1309         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
1310         unconditionally.
1311         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
1313 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1315         * stdlib/tst-strtod6.c (do_test): Use new type generic
1316         invocation of the test function.
1317         (test): Refactor into ...
1318         (TEST_STRTOD): New macro base function.
1320 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1322         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
1323         (TEST_STRTOD): New macro.
1324         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
1326 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1328         * stdlib/tst-strtod6.c (do_test): Use new type generic
1329         invocation of the test function.
1330         (test): Refactor into ...
1331         (TEST_STRTOD): New macro base function.
1333 2016-05-23  Florian Weimer  <fweimer@redhat.com>
1335         CVE-2016-4429
1336         [BZ #20112]
1337         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
1338         payload.
1340 2016-05-23  Florian Weimer  <fweimer@redhat.com>
1342         [BZ #20111]
1343         * bits/sockaddr.h (_SS_SIZE): Define.
1344         * bits/socket.h (_SS_SIZE): Remove.
1345         (_SS_PADSIZE): Adjust to account for all padding.
1346         (struct sockaddr_storage): Update comment.  Avoid implicit
1347         padding.
1348         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
1349         (_SS_PADSIZE): Adjust to account for all padding.
1350         (struct sockaddr_storage): Update comment.  Avoid implicit
1351         padding.
1352         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
1353         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
1354         (_SS_PADSIZE): Adjust to account for all padding.
1355         (struct sockaddr_storage): Update comment.  Avoid implicit
1356         padding.
1357         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
1358         __SS_SIZE is 126 in this version.
1359         * inet/tst-sockaddr.c: New file.
1360         * inet/Makefile (tests): Add tst-sockaddr.c
1361         (tst-sockaddr.c): Compile with non-strict aliasing.
1363 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
1365         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
1366         [XPG3 || XPG4].
1367         (NL_ARGMAX): Also expect for [XPG3].
1368         (NL_LANGMAX): Likewise.
1369         (NL_MSGMAX): Likewise.
1370         (NL_NMAX): Likewise.
1371         (NL_SETMAX): Likewise.
1372         (NL_TEXTMAX): Likewise.
1373         (NZERO): Likewise.
1374         (TMP_MAX): Likewise.
1375         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
1376         variable.
1378         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
1379         (PF_MAX): Update value.
1380         (AF_KCM): New macro.
1381         (SOL_NETBEUI): Likewise.
1382         (SOL_LLC): Likewise.
1383         (SOL_DCCP): Likewise.
1384         (SOL_NETLINK): Likewise.
1385         (SOL_TIPC): Likewise.
1386         (SOL_RXRPC): Likewise.
1387         (SOL_PPPOL2TP): Likewise.
1388         (SOL_BLUETOOTH): Likewise.
1389         (SOL_PNPIPE): Likewise.
1390         (SOL_RDS): Likewise.
1391         (SOL_IUCV): Likewise.
1392         (SOL_CAIF): Likewise.
1393         (SOL_ALG): Likewise.
1394         (SOL_NFC): Likewise.
1395         (SOL_KCM): Likewise.
1396         (MSG_BATCH): New enum value and macro.
1398 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
1400         [BZ #18185]
1401         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
1402         sharing L2 cache to 2 for Knights Landing.
1404 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
1406         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
1407         (FTW_DP): Do not expect for [XPG3 || XPG4].
1408         (FTW_SL): Do not expect for [XPG3].
1409         (FTW_SLN): Likewise.
1410         (FTW_PHYS): Likewise.
1411         (FTW_MOUNT): Likewise.
1412         (FTW_DEPTH): Likewise.
1413         (FTW_CHDIR): Likewise.
1414         (nftw): Likewise.
1415         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
1416         variable.
1418 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
1420         * manual/errno.texi: Fix various typos & grammar errors.
1422 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
1424         * manual/intro.texi: Fix duplicated typo.
1426 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
1428         [BZ #13304]
1429         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
1430         <float.h>, <math_private.h> and <stdlib.h>.
1431         (add_split): New function.
1432         (mul_split): Likewise.
1433         (ext_val): New typedef.
1434         (store_ext_val): New function.
1435         (mul_ext_val): New function.
1436         (compare): New function.
1437         (add_split_ext): New function.
1438         (__fmal): After checking for Inf, NaN and zero, compute result as
1439         an exact sum of scaled double values in round-to-nearest before
1440         adding those up and adjusting for other rounding modes.
1441         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
1442         tests of fma.
1443         * math/auto-libm-test-out: Regenerated.
1445 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
1447         [BZ #20119]
1448         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
1449         processor level type mask for CPUID with EAX == 11.
1451 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
1453         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
1454         logical threads if the HTT bit is 0.
1455         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
1456         (index_cpu_HTT): Likewise.
1457         (reg_HTT): Likewise.
1459 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
1461         [BZ #20115]
1462         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
1463         Remove alignments on jump targets.
1465 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
1467         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
1468         (getpwent): Likewise.
1469         (setpwent): Likewise.
1470         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
1471         variable.
1473         * conform/data/search.h-data (insque): Do not expect for [XPG3].
1474         (remque): Likewise.
1475         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
1476         variable.
1478 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
1480         * math/libm-test.inc: Update comment not to refer to signs of NaNs
1481         not being tested.
1483 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
1485         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
1486         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
1487         call.
1488         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
1489         (__condvar_cleanup1): Likewise.
1491 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
1493         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
1494         New
1495         (__pthread_unwind): Renamed to ...
1496         (PTHREAD_UNWIND): This.
1497         (__pthread_enable_asynccancel): Replace
1498         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
1500 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
1502         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
1503         (CLONE_NEWCGROUP): New macro.
1505         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
1506         (Q_GETNEXTQUOTA): New macro.
1508 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
1510         [BZ #19907]
1511         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
1512         buffer updated by the previous run.
1513         * string/test-memcpy.c (do_one_test): Likewise.
1514         * benchtests/bench-memmove.c (do_one_test): Add a comment.
1515         * string/test-memmove.c (do_one_test): Likewise.
1517 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
1519         [BZ #20094]
1520         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
1521         not [__USE_XOPEN].
1522         (unlockpt): Likewise.
1523         (ptsname): Likewise.
1524         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
1525         variable.
1527         [BZ #20076]
1528         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
1529         instead of [__USE_UNIX98].
1530         (S_ISSOCK): Likewise.
1531         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
1532         variable.
1534         [BZ #20074]
1535         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
1536         [__USE_POSIX].
1537         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
1538         variable.
1540         [BZ #20051]
1541         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
1542         (ttyslot): Do not declare.
1543         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
1544         (ttyslot): New prototype.
1545         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
1546         variable.
1547         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
1549 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
1551         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
1553 2016-05-13  Florian Weimer  <fweimer@redhat.com>
1555         Fix race condition in tst-mallocfork2, use fewer resources.
1556         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
1557         to current process group.
1558         (signal_sender): Yield in the non-sleeping case.
1560 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
1562         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
1563         (ecvt): Likewise.
1564         (fcvt): Likewise.
1565         (gcvt): Likewise.
1566         (getsubopt): Likewise.
1567         (grantpt): Likewise.
1568         (initstate): Likewise.
1569         (l64a): Likewise.
1570         (mktemp): Likewise.
1571         (mkstemp): Likewise.
1572         (ptsname): Likewise.
1573         (random): Likewise.
1574         (realpath): Likewise.
1575         (setstate): Likewise.
1576         (srandom): Likewise.
1577         (ttyslot): Likewise.
1578         (unlockpt): Likewise.
1579         (valloc): Likewise.
1581         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
1582         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
1583         variable.
1585 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
1587         [BZ #20072]
1588         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
1589         init_cpu_features only if SHARED is defined.
1590         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
1592 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
1594         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
1595         non-inclusive caches on Intel processors.
1597 2016-05-13  Florian Weimer  <fweimer@redhat.com>
1599         * malloc/malloc.c (dumped_main_arena_start)
1600         (dumped_main_arena_end): New variables.
1601         (DUMPED_MAIN_ARENA_CHUNK): New macro.
1602         (do_check_chunk): Skip dumped fake mmapped chunks.
1603         (munmap_chunk): Likewise.
1604         (__libc_free): Do not adjust statistics for fake mmapped chunks.
1605         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
1606         mmapped chunks.
1607         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
1608         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
1609         and dumped_main_arena_end to cover the dumped heap.
1611 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
1613         * conform/data/time.h-data (getdate_err): Do not expect for
1614         [XPG3].
1615         (getdate): Likewise.
1616         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
1617         variable.
1619         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
1620         (F_ULOCK): Likewise.
1621         (F_TEST): Likewise.
1622         (F_TLOCK): Likewise.
1623         (useconds_t): Likewise.
1624         (intptr_t): Do not expect for [XPG3] or [XPG4].
1625         (brk): Do not expect for [XPG3]
1626         (fchown): Likewise.
1627         (fchdir): Likewise.
1628         (ftruncate): Likewise.
1629         (getdtablesize): Likewise.
1630         (gethostid): Likewise.
1631         (getpagesize): Likewise.
1632         (getpgid): Likewise.
1633         (getsid): Likewise.
1634         (getwd): Likewise.
1635         (lchown): Likewise.
1636         (lockf): Likewise.
1637         (readlink): Likewise.
1638         (sbrk): Likewise.
1639         (setpgrp): Likewise.
1640         (setregid): Likewise.
1641         (setreuid): Likewise.
1642         (symlink): Likewise.
1643         (sync): Likewise.
1644         (truncate): Likewise.
1645         (ualarm): Likewise.
1646         (usleep): Likewise.
1647         (vfork): Likewise.
1648         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
1649         variable.
1651         [BZ #20054]
1652         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
1653         not [__USE_UNIX98].
1654         * conform/data/unistd.h-data (gethostname): Do not expect for
1655         [XPG3].
1657         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
1658         [!POSIX] (S_IFBLK): Likewise.
1659         [!POSIX] (S_IFCHR): Likewise.
1660         [!POSIX] (S_IFIFO): Likewise.
1661         [!POSIX] (S_IFREG): Likewise.
1662         [!POSIX] (S_IFDIR): Likewise.
1663         [!POSIX] (S_IFLNK): Likewise.
1664         [!POSIX] (S_IFSOCK): Likewise.
1665         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
1666         variable.
1667         (test-xfail-XPG4/fcntl.h/conform): Likewise.
1669 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
1671         * sysdeps/aarch64/memset.S (__memset):
1672         Rewrite of optimized memset.
1674 2016-05-12  Florian Weimer  <fweimer@redhat.com>
1676         [BZ #19703]
1677         Partially async-signal-safe fork for single-threaded processes.
1678         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
1679         variable.  Do not acquire and reset/release malloc and libio locks
1680         in single-threaded processes.
1681         * malloc/tst-mallocfork2.c: New file.
1682         * malloc/Makefile (tests): Add it.
1684 2016-05-12  Florian Weimer  <fweimer@redhat.com>
1686         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
1687         argument.  Use scratch buffer instead of extend_alloca.
1688         (gethosts): Use scratch buffer instead of extend_alloca.
1689         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
1690         extend_alloca.
1691         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
1693 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
1695         [BZ #20055]
1696         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
1697         instead of [__USE_UNIX98].
1698         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
1699         [__USE_UNIX98].
1700         * conform/data/termios.h-data (tcgetsid): Do not expect for
1701         [XPG3].
1702         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
1703         variable.
1704         (test-xfail-XPG4/termios.h/conform): Likewise.
1706 2016-05-11  Florian Weimer  <fweimer@redhat.com>
1708         Do not use mcheck in localedef.
1709         * locale/programs/localedef.c (turn_on_mcheck)
1710         (__malloc_initialize_hook): Remove.
1712 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
1714         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
1715         * sysdeps/s390/s390-64/Makefile: Likewise.
1717 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
1719         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
1720         Remove ifunc-defines.sym.
1721         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
1722         Likewise.
1723         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
1724         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
1725         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
1726         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
1727         rtld-global-offsets.sym.
1728         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
1729         * sysdeps/x86/cpu-features-offsets.sym: This.
1730         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
1731         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
1733 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
1735         [BZ #20073]
1736         * io/sys/stat.h (fchmod): Declare for
1737         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
1738         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
1739         variable.
1741         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
1742         [XPG3] (S_IFSOCK): Likewise.
1743         [XPG3] (S_ISVTX): Likewise.
1744         [XPG3] (S_ISLNK): Likewise.
1745         [XPG3] (S_ISSOCK): Likewise.
1746         [XPG3] (fchmod): Likewise.
1747         [XPG3] (lstat): Likewise.
1748         [XPG3] (mknod): Likewise.
1750         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
1751         [XPG3].  Expect type long and XFAIL for [XPG4].
1752         (st_blocks): Likewise.
1754         [BZ #20044]
1755         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
1756         (pthread_atfork): New prototype.
1757         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
1758         variable.
1760         [BZ #20043]
1761         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
1762         prototype.
1764 2016-05-10  Florian Weimer  <fweimer@redhat.com>
1766         [BZ #20017]
1767         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
1768         gmtime.
1770 2016-05-10  Florian Weimer  <fweimer@redhat.com>
1772         [BZ #19994]
1773         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
1774         flag in _res.options.
1776 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
1778         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
1779         [XPG3 || XPG4].
1780         (blksize_t): Likewise.
1781         (clockid_t): Likewise.
1782         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
1783         variable.
1784         (test-xfail-XPG4/sys/types.h/conform): Likewise.
1786 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
1788         * sysdeps/unix/sysv/linux/s390/init-first.c:
1789         Add VDSO_SYMBOL(getcpu).
1790         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
1791         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
1792         Add VDSO_SYMBOL(getcpu).
1793         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
1794         New define HAVE_GETCPU_VSYSCALL.
1795         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1797 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
1799         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
1800         instead of <sysdeps/x86_64/cacheinfo.c>.
1801         * sysdeps/x86_64/cacheinfo.c: Moved to ...
1802         * sysdeps/x86/cacheinfo.c: Here.
1804 2016-05-04  Florian Weimer  <fweimer@redhat.com>
1806         * malloc/malloc-internal.h: Adjust header file guard.
1808 2016-05-04  Florian Weimer  <fweimer@redhat.com>
1810         [BZ #19787]
1811         * inet/getnameinfo.c (check_sprintf_result): New function.
1812         (CHECKED_SNPRINTF): New macro.
1813         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
1814         to the host buffer.
1815         (gni_host_local): Use checked_copy to copy the host name.
1816         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
1817         (gni_serv_local): Use checked_copy to copy the service name.
1818         (getnameinfo): Remove unnecessary truncation of result buffers.
1820 2016-05-04  Florian Weimer  <fweimer@redhat.com>
1822         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
1823         in case of inet_ntop failure.
1825 2016-05-04  Florian Weimer  <fweimer@redhat.com>
1827         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
1828         avoid long lines.
1829         (gni_host_inet_numeric): Likewise.  Reduce scope of local
1830         variables.
1831         (gni_host_inet, gni_host_local): Add comment.
1832         (gni_host): Add comment.  Use temporary to avoid long lines.
1834 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1836         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
1837         registers specifiers where general purpose registers specifiers should
1838         have been used.
1840 2016-05-04  Florian Weimer  <fweimer@redhat.com>
1842         [BZ #19779]
1843         CVE-2016-1234
1844         Avoid copying names of directory entries.
1845         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
1846         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
1847         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
1848         (struct readdir_result): New type.
1849         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
1850         (GL_READDIR): New macros.
1851         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
1852         (convert_dirent, convert_dirent64): New functions.
1853         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
1854         convert_dirent64.  Adjust references to the readdir result.
1855         * sysdeps/unix/sysv/linux/i386/glob64.c:
1856         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
1857         * posix/bug-glob2.c (LONG_NAME): Define.
1858         (filesystem): Add LONG_NAME.
1859         (my_DIR): Increase the size of room_for_dirent.
1861 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
1863         [BZ #20041]
1864         * misc/sys/select.h (__need_timespec): Only define if
1865         [__USE_XOPEN2K].
1866         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
1867         variable.
1868         (test-xfail-XPG4/utmpx.h/conform): Likewise.
1869         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
1870         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
1872 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1873             Segher Boessenkool  <segher@gcc.gnu.org>
1875         [BZ #20004]
1876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
1877         (__novec_swapcontext): Add missing load.
1879 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
1881         [BZ #20023]
1882         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
1883         <time.h>.
1884         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
1885         variable.
1886         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
1888 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
1891         flags CLONE_VM compare.
1893 2016-05-02  Florian Weimer  <fweimer@redhat.com>
1895         [BZ #20031]
1896         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
1897         completely empty.
1899 2016-05-02  Florian Weimer  <fweimer@redhat.com>
1901         [BZ #19573]
1902         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
1903         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
1904         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
1905         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
1906         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
1907         (hesiod_free_list): Mark as hidden.
1908         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
1909         res_set, res_get.
1910         * hesiod/hesiod.c: Remove unnecessary forward declarations.
1911         (init, __hesiod_res_get, __hesiod_res_set): Remove.
1912         (hesiod_init): Remove obsolete res_ninit call.
1913         (hesiod_end): Do not free resolver state.  Do not invoke callback.
1914         (hesiod_bind): Do not call init.
1915         (get_txt_records): Use res_mkquery, res_send instead of
1916         res_nmkquery, res_nsend.
1917         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
1918         instead of _nss_hesiod_init.
1919         (_nss_hesiod_initgroups_dyn): Likewise.
1920         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
1921         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
1922         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
1924 2016-05-02  Florian Weimer  <fweimer@redhat.com>
1926         * hesiod/hesiod_p.h (DEF_RHS): Remove.
1927         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
1929 2016-05-02  Florian Weimer  <fweimer@redhat.com>
1931         * hesiod/hesiod.h: Remove RCS keyword.
1932         * hesiod/hesiod_p.h: Likewise.
1934         * hesiod/hesiod.c: Likewise.
1936 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
1938         [BZ #12450]
1939         * locale/iso-639.def: Add Samogitian/sgs.
1941 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
1943         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
1945         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
1947 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
1948             Carlos O'Donell  <carlos@redhat.com>
1950         [BZ #19072]
1951         * grp/Makefile (headers): Add grp-merge.h
1952         (routines): Add grp-merge.
1953         * grp/getgrgid_r.c: Include grp-merge.h.
1954         (DEEPCOPY_FN): Define.
1955         (MERGE_FN): Define.
1956         * grp/getgrname_r.c: Include grp-merge.h.
1957         (DEEPCOPY_FN): Define.
1958         (MERGE_FN): Define.
1959         * grp/grp-merge.c: New file.
1960         * grp/grp-merge.h: New file.
1961         * include/grp-merge.h: New file.
1962         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
1963         __copy_grp@GLIBC_PRIVATE.
1964         * manual/nss.texi (Actions in the NSS configuration): Describe
1965         return, continue, and merge.
1966         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
1967         (DEEPCOPY_FN): Define.
1968         (MERGE_FN): Define.
1969         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
1970         (DEEPCOPY_FN): Define.
1971         (MERGE_FN): Define.
1972         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
1973         [!MERGE_FN]: Define __merge_einval.
1974         (CHECK_MERGE): Define.
1975         (REENTRANT_NAME): Process merge if do_merge is true.
1976         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
1977         (__nss_getent_r): Likewise.
1978         * nss/nsswitch.c (nss_parse_service_list): Likewise.
1979         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
1981 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1983         [BZ #20012]
1984         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
1985         length to calculate the buffer to read.
1986         (fmemopen_write): Set the buffer position based on bytes written.
1987         (fmemopen_seek): Return EINVAL for invalid whence modes.
1989         [BZ #19957]
1990         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
1991         tst-getpid2.
1992         (test): Add tst-clone2.
1993         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
1994         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
1995         pid/tid fields for CLONE_VM.
1996         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
1997         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
1998         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
1999         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
2000         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
2001         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
2002         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
2003         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
2004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
2005         Likewise.
2006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
2007         Likewise.
2008         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
2009         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
2010         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
2011         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
2012         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
2013         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
2014         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
2015         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
2017 2016-04-29  Florian Weimer  <fweimer@redhat.com>
2019         [BZ #19642]
2020         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
2021         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
2022         (gni_serv_local, gni_serv): New functions extracted from
2023         getnameinfo.
2024         (getnameinfo): Call gni_host and gni_serv to perform the
2025         processing.  Always free scratch buffer.
2027 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2029         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
2030         remaining bytes in the dest string, with zeros.
2032 2016-04-29  Florian Weimer  <fweimer@redhat.com>
2034         [BZ #20010]
2035         CVE-2016-3706
2036         * sysdeps/posix/getaddrinfo.c
2037         (convert_hostent_to_gaih_addrtuple): New function.
2038         (gethosts): Call convert_hostent_to_gaih_addrtuple.
2039         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
2040         AF_INET data.
2042 2016-04-29  Florian Weimer  <fweimer@redhat.com>
2044         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
2045         callback function gl_readdir.
2046         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
2047         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
2048         (glob_in_dir): Remove len.  Use strdup instead of malloc and
2049         memcpy to copy the name.
2050         * manual/pattern.texi (Calling Glob): Document requirements for
2051         implementations of the gl_readdir callback function.
2052         * manual/examples/mkdirent.c: New example.
2053         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
2054         per the manual guidance.
2055         * posix/tst-gnuglob.c (my_readdir): Likewise.
2057 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
2059         [BZ #20014]
2060         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
2061         not [__USE_POSIX].
2062         (getchar_unlocked): Likewise.
2063         (putc_unlocked): Likewise.
2064         (putchar_unlocked): Likewise.
2065         (flockfile): Likewise.
2066         (ftrylockfile): Likewise.
2067         (funlockfile): Likewise.
2068         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
2069         variable.
2070         (test-xfail-XPG4/stdio.h/conform): Likewise.
2072         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
2073         Expect constant.
2074         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
2075         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
2076         variable.
2077         (test-xfail-XPG4/langinfo.h/conform): Likewise.
2078         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
2080         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
2081         [__USE_LARGEFILE64] (off64_t): Likewise.
2082         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
2083         variable.
2085 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2087         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
2089 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2091         * resolv/inet_addr.c: Reindent preprocessor conditionals.
2092         * resolv/res_init.c: Likewise.
2093         * resolv/res_mkquery.c: Likewise.
2095 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2097         * resolv/res_init.c (isascii): Do not define.  Use definition in
2098         <ctype.h>.
2099         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
2100         (LOG_AUTH): Remove.
2101         (SPRINTF): Remove, adjust caller.
2102         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
2104 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2106         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
2107         SUNSECURITY conditional.
2108         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
2110 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2112         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
2113         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
2114         Remove BSD-related preprocessor conditionals.
2115         * conf/portability.h: Remove.
2117 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2119         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
2120         * resolv/res_data.c: Likewise.
2122 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2124         * resolv/res_comp.c: Remove code conditional on __ultrix__.
2125         * resolv/res_data.c: Remove code conditional on ultrix.
2127 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2129         * resolv/res_init.c (RFC1535): Do not define.  Remove
2130         RFC1535 preprocessor conditionals.
2131         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
2132         because there configuration options which make the resolver
2133         behavior different.
2135 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2137         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
2138         RESOLVSORT preprocessor conditionals.
2139         * resolv/nss_dns/dns-host.c: Likewise.
2140         * resolv/res_init.c: Likewise.
2142 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2144         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
2145         is never defined.
2147 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2149         * inet/inet_lnaof.c: Remove SCSS keyword.
2150         * inet/inet_mkadr.c: Likewise.
2151         * inet/inet_net.c: Likewise.
2152         * inet/inet_netof.c: Likewise.
2153         * inet/rcmd.c: Likewise.
2154         * inet/rexec.c: Likewise.
2155         * inet/ruserpass.c: Likewise.
2157 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2159         * resolv/inet_addr.c: Remove _LIBC conditionals.
2160         * resolv/res_data.c: Likewise.
2161         * resolv/res_init.c: Likewise.
2162         * resolv/res_mkquery.c: Likewise.
2163         * resolv/res_libc.c: Update comment.
2164         * resolv/README: Update.
2166 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2168         * resolv/gethnamaddr.c: Remove SCSS keyword.
2169         * resolv/herror.c: Likewise.
2170         * resolv/inet_addr.c: Likewise.
2171         * resolv/inet_net_ntop.c: Likewise.
2172         * resolv/inet_net_pton.c: Likewise.
2173         * resolv/inet_neta.c: Likewise.
2174         * resolv/inet_ntop.c: Likewise.
2175         * resolv/inet_pton.c: Likewise.
2176         * resolv/ns_date.c: Remove RCS keyword.
2177         * resolv/ns_name.c: Likewise.
2178         * resolv/ns_netint.c: Likewise.
2179         * resolv/ns_parse.c: Likewise.
2180         * resolv/ns_print.c: Likewise.
2181         * resolv/ns_samedomain.c: Likewise.
2182         * resolv/ns_ttl.c: Likewise.
2183         * resolv/nsap_addr.c: Likewise.
2184         * resolv/res_comp.c: Remove SCSS and RCS keyword.
2185         * resolv/res_data.c: Remove RCS keyword.
2186         * resolv/res_debug.c: Remove SCSS and RCS keyword.
2187         * resolv/res_init.c: Likewise.
2188         * resolv/res_mkquery.c: Likewise.
2189         * resolv/res_query.c: Likewise.
2190         * resolv/res_send.c: Likewise.
2192 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
2194         * conform/data/stdio.h-data (fdopen): Expect also for
2195         [XPG3 || XPG4].
2197         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
2198         (fseeko): Likewise.
2199         (ftello): Likewise.
2200         (ftrylockfile): Likewise.
2201         (funlockfile): Likewise.
2202         (getc_unlocked): Likewise.
2203         (getchar_unlocked): Likewise.
2204         (putc_unlocked): Likewise.
2205         (putchar_unlocked): Likewise.
2207 2016-04-27  Florian Weimer  <fweimer@redhat.com>
2209         [BZ #19868]
2210         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
2211         DNS packet syntax checks (which were not needed before).  Skip
2212         over non-PTR records.
2214 2016-04-27  Florian Weimer  <fweimer@redhat.com>
2216         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
2217         definition.  Include <stddef.h> instead.
2219 2016-04-27  Florian Weimer  <fweimer@redhat.com>
2221         [BZ #19831]
2222         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
2223         function.
2224         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
2225         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
2227 2016-04-27  Florian Weimer  <fweimer@redhat.com>
2229         [BZ #19862]
2230         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
2231         (getanswer_r): Do not call syslog.
2232         (gaih_getanswer_slice): Likewise.
2233         * resolv/gethnamaddr.c (AskedForGot): Remove.
2234         (getanswer): Do not call syslog.
2235         (gethostbyaddr): Likewise.
2237 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
2239         * conform/data/signal.h-data (union sigval): Expect also if
2240         [XOPEN2K].
2241         (struct sigevent): Likewise.
2242         (SIGEV_NONE): Likewise.
2243         (SIGEV_SIGNAL): Likewise.
2244         (SIGEV_THREAD): Likewise.
2245         (SIGRTMIN): Likewise.
2246         (SIGRTMAX): Likewise.
2247         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
2248         variable.
2249         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
2251 2016-04-27  Florian Weimer  <fweimer@redhat.com>
2253         [BZ #19830]
2254         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
2255         (gaih_getanswer_slice): Likewise.
2256         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
2257         Also check for availability of RR metadata.
2259 2016-04-27  Florian Weimer  <fweimer@redhat.com>
2261         [BZ #19825]
2262         * resolv/res_send.c (send_vc): Remove early *resplen2
2263         initialization.  Set *resplen2 on socket error.  Call
2264         close_and_return_error for other errors.
2266 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
2268         * sysdeps/unix/sysv/linux/netiucv/iucv.h
2269         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
2270         (SCM_IUCV_TRGCLS): New define.
2272 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2274         [BZ #20005]
2275         * libio/fmemopen.c (fmemopen_write): Update internal position after
2276         write.
2277         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
2278         * stdio-common/tst-fmemopen4.c: New file..
2280 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
2282         [BZ #19996]
2283         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
2284         not [__USE_XOPEN2K].
2285         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
2286         variable.
2288         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
2289         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
2290         variable.
2292         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
2293         [__USE_XOPEN2K8].
2294         [__USE_LARGEFILE64] (off64_t): Likewise.
2295         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
2296         variable.
2298 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
2300         [BZ #19989]
2301         * libio/stdio.h (cuserid): Do not declare if
2302         [__USE_XOPEN2K && !__USE_GNU].
2303         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
2304         variable.
2306 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2308         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
2309         (sysdep_routines): Add P8 and PPC64 strcspn targets.
2310         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2311         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
2312         ifunc'ed strcspn.
2313         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
2314         [EALIGN]: Removed.
2315         [END]: Likewise
2316         [STRSPN]: Define instead of the above to control symbol name.
2317         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
2318         New file.
2319         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
2320         Likewise.
2321         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
2322         Likewise.
2323         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
2324         Likewise.
2325         * sysdeps/powerpc/powerpc64/power8/strspn.S:
2326         [INITIAL_MASK]: New macro.
2327         [STRCSPN]: Likewise.
2328         [UPDATE_MASK]: Likewise.
2329         [USE_AS_STRCSPN]: Lisewise.
2331 2016-04-25  Florian Weimer  <fweimer@redhat.com>
2333         [BZ #19931]
2334         * stdio-common/tst-vfprintf-width-prec.c: New file.
2335         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
2336         (tests-special): Add tst-vfprintf-width-prec-mem.out.
2337         (generated): Add mtrace-related files.
2338         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
2339         (tst-%-mem.out): New pattern rule, replaces
2340         tst-printf-bz18872-mem.out.
2341         * stdio-common/vfprintf.c (vfprintf): When handling a precision
2342         specifier, deallocate any previously allocated work buffer.
2344 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
2346         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
2347         Add nop before __startcontext, add explaining comments.
2349 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
2351         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
2352         any more. Notably since IPV6_PKTINFO has been reintroduced with a
2353         completely different API.
2355         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
2356         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
2357         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
2358         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
2359         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
2360         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
2361         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
2362         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
2363         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
2364         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
2366 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
2368         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
2370 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
2372         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
2373         when it is the default of 0.
2375 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2377         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
2378         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
2379         (sysdep_routines): Add new strcasestr targets.
2380         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2381         (__libc_ifunc_impl_list): Likewise.
2382         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
2383         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
2384         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
2385         * sysdeps/powerpc/powerpc64/power8/Makefile:
2386         New file to add strcasestr-ppc64 to sysdep_routines.
2387         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
2388         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
2390 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
2392         * benchtests/Makefile (wcsmbs-benchset): Include only for
2393         native builds and runs.
2394         (LOCALES): Likewise.
2395         (bench-build): Build timing-type here instead of the bench
2396         target.  Generate locale only for native builds.
2397         * benchtests/README: Add note for cross-building.
2399         * benchtests/Makefile (bench-clean): Clean up extra-objs.
2401         * benchtests/README: Update README to include instructions on
2402         using bench-build.
2404         * Makefile.in (bench-build): New target.
2405         * Rules (PHONY): Add bench-build target.
2406         * benchtests/Makefile (bench): Depend on bench-build.
2407         (bench-build): New target.
2409 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2411         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
2412         profil_reply_port.
2413         (profile_waiter): Do not initialize profil_reply_port.
2414         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
2415         frequency instead of tick length in us.
2417 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
2419         [BZ #18712]
2420         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
2421         (__old_mempcpy_small): Likewise.
2422         (__old_strcpy_small): Likewise.
2423         (__old_stpcpy_small): Likewise.
2424         (__old_strpbrk_c2): Fix compat symbol name.
2425         (__old_strpbrk_c3): Likewise.
2426         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
2427         (__mempcpy_small): Remove.
2428         (__strcpy_small): Remove.
2429         (__stpcpy_small): Remove.
2431 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
2433         [BZ #19400]
2434         * locale/iso-639.def: Add the Talossan/tzl language.
2436 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
2438         [BZ #16983]
2439         * locale/programs/ld-address.c (address_finish): Update postal_fmt
2440         comment.  Add "ln" to strchr check on postal_fmt.
2442 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
2444         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
2445         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
2446         tel_dom_fmt.
2448 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2450         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
2451         (sysdep_routines): Added __strlen_power8.
2452         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
2453         __strlen_power8 entry.
2454         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
2455         Implementation for POWER8.
2456         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
2457         for __strlen_power8.
2458         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
2459         Implementation for POWER8.
2461 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
2463         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
2465 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
2467         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
2468         Goldmont and Airmont processors.
2470 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
2472         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
2473         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
2474         (__STRING2_SMALL_GET32): Remove.
2475         (memset): Remove.
2476         (__memset_1): Remove.
2477         (__memset_gc): Remove.
2478         (__mempcpy): Remove.
2479         (mempcpy): Remove.
2480         (__mempcpy_args): Remove.
2481         (strchr): Remove.
2482         (strcpy): Remove.
2483         (strcpy_args): Remove.
2484         (__stpcpy_args): Remove.
2485         (__strcmp_cc): Remove.
2486         (__strcmp_gc): Remove.
2487         (strstr): Remove.
2489 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
2491         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
2492         * nis/nis_call.c (nis_server_cache_add): Likewise.
2494 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2496         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
2498 2016-04-14  Florian Weimer  <fweimer@redhat.com>
2500         * malloc/arena.c (__malloc_fork_lock_parent)
2501         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
2502         internal_function attribute.
2504 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
2506         * stdio-common/printf_fp.c (__printf_fp_l):
2507         Rename ___printf_fp_l to __printf_fp_l and
2508         remove strong alias. Use libc_hidden_def instead
2509         of ldbl_hidden_def macro.
2511 2016-04-14  Florian Weimer  <fweimer@redhat.com>
2513         Remove malloc hooks from fork handler.  They are no longer needed
2514         because malloc runs right before fork, and no malloc calls from
2515         other fork handlers are not possible anymore.
2516         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
2517         declarations.
2518         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
2519         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
2520         (atfork_recursive_cntr): Remove.
2521         (__malloc_fork_lock_parent): Do not override malloc hooks and
2522         thread_arena.
2523         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
2524         thread_arena.
2525         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
2526         thread_arena instead of save_arena.
2528 2016-04-14  Florian Weimer  <fweimer@redhat.com>
2530         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
2531         (thread_atfork, thread_atfork_static): Remove.
2532         * sysdeps/mach/hurd/malloc-machine.h:
2533         (thread_atfork, thread_atfork_static): Remove.
2535 2016-04-14  Florian Weimer  <fweimer@redhat.com>
2537         [BZ #19431]
2538         Run the malloc fork handler as late as possible to avoid deadlocks.
2539         * malloc/malloc-internal.h: New file.
2540         * malloc/malloc.c: Include it.
2541         * malloc/arena.c (ATFORK_MEM): Remove.
2542         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
2543         Update comment.
2544         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
2545         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
2546         Remove outdated comment.
2547         (ptmalloc_init): Do not call thread_atfork.  Remove
2548         thread_atfork_static.
2549         * malloc/tst-malloc-fork-deadlock.c: New file.
2550         * Makefile (tests): Add tst-malloc-fork-deadlock.
2551         (tst-malloc-fork-deadlock): Link against libpthread.
2552         * manual/memory.texi (Aligned Memory Blocks): Update safety
2553         annotation comments.
2554         * sysdeps/nptl/fork.c (__libc_fork): Call
2555         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
2556         __malloc_fork_unlock_child.
2557         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
2559 2016-04-14  Florian Weimer  <fweimer@redhat.com>
2561         [BZ #19613]
2562         Remove union wait.
2563         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
2564         (w_stopsig, w_stopval): Remove.
2565         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
2566         stat_loc argument.
2567         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
2568         (__WAIT_STATUS_DEFN): Remove.
2569         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
2570         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
2571         (wait, wait3, wait4): Use int * for the stat_loc argument.
2572         * posix/wait.c (__wait): Likewise.
2573         * posix/wait3.c (__wait3): Likewise.
2574         * posix/wait4.c (__wait4): Likewise.
2575         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
2576         (__WAIT_STATUS_DEFN): Remove.
2577         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
2578         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
2579         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
2580         argument.
2581         * sysdeps/posix/wait.c (__libc_wait): Likewise.
2582         * sysdeps/posix/wait3.c (__wait3): Likewise.
2583         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
2584         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
2585         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
2586         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
2587         stat_loc argument.
2588         * manual/process.texi (BSD Wait Functions): Remove union wait.
2590 2016-04-13  Andreas Schwab  <schwab@suse.de>
2592         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
2593         (test-extras): Add tst-tlsalign-vars.
2594         * math/Makefile: Wrap long lines.
2595         (libm-vec-test-wrappers): Define.
2596         (test-extras): Add $(libm-vec-test-wrappers).
2597         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
2598         * nss/Makefile (extra-test-objs): Add nss_test1.os.
2599         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
2600         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
2601         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
2602         (extra-test-objs): Add corresponding objects.
2604 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
2606         [BZ #19928]
2607         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
2608         New.
2609         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
2610         times of shared cache size.
2611         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
2612         (VMOVNT): New.
2613         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
2614         (VMOVNT): Likewise.
2615         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
2616         (VMOVNT): Likewise.
2617         (VMOVU): Changed to movups for smaller code sizes.
2618         (VMOVA): Changed to movaps for smaller code sizes.
2619         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
2620         comments.
2621         (PREFETCH): New.
2622         (PREFETCH_SIZE): Likewise.
2623         (PREFETCHED_LOAD_SIZE): Likewise.
2624         (PREFETCH_ONE_SET): Likewise.
2625         Rewrite to use forward and backward loops, which move 4 vector
2626         registers at a time, to support overlapping addresses and use
2627         non temporal store if size is above the threshold and there is
2628         no overlap between destination and source.
2630 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
2632         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
2633         Include dl-vdso.
2634         * sysdeps/unix/sysv/linux/mips/Versions: Add
2635         __vdso_clock_gettime.
2636         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
2637         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
2638         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
2639         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
2640         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
2641         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
2642         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
2643         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
2644         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
2646 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2648         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
2649         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
2650         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
2651         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
2652         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
2653         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
2655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
2656         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
2657         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
2658         syscalls generation.
2659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2660         [__NR_pwrite64] (__NR_write): Remove define.
2661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2662         [__NR_pwrite64] (__NR_write): Remove define.
2663         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
2664         Remove define.
2665         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
2666         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
2667         Remove define.
2668         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
2669         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
2670         Linux implementation as base.
2671         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
2673         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
2674         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
2675         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
2676         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
2677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
2678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
2679         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
2680         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
2681         syscall generation.
2682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2683         [__NR_pread64] (__NR_pread): Remove define.
2684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
2685         [__NR_pread64] (__NR_pread): Likewise.
2686         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
2687         define.
2688         (__libc_pread): Use SYSCALL_LL macro on offset argument.
2689         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
2690         Remove define.
2691         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
2692         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
2693         Linux implementation as base.
2694         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
2695         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
2696         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
2698         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
2699         definition.
2700         (__ALIGNMENT_COUNT): Likewise.
2701         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
2702         (__ALIGNMENT_COUNT): Likewise.
2703         (SYSCALL_LL): New define.
2704         (SYSCALL_LL64): Likewise.
2705         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
2706         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
2707         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
2708         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
2710         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2711         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
2712         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2713         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
2714         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2715         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
2717 2016-04-11  Florian Weimer  <fweimer@redhat.com>
2719         [BZ #19865]
2720         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
2721         original buffer before retry.
2723 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2725         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
2726         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
2727         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
2728         GLRO(dl_auxv) list.
2729         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
2730         including <ldsodefs.h>.
2731         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
2733 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
2735         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
2736         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
2737         $(CPPFLAGS).
2739 2016-04-09  Khem Raj  <raj.khem@gmail.com>
2741         [BZ #17950]
2742         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
2743         Add -mfpmath=387.
2745 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
2747         * sysdeps/i386/configure.ac: Change == to = when calling test.
2748         * sysdeps/x86_64/configure.ac: Likewise.
2749         * sysdeps/i386/configure: Regenerated.
2750         * sysdeps/x86_64/configure: Likewise.
2752 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
2754         [BZ #16137]
2755         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
2756         * benchtests/bench-strcoll.c (input_files): Likewise.
2757         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
2758         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
2759         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
2761 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
2763         [BZ #19929]
2764         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
2765         [__USE_XOPEN2K8 && !__USE_GNU].
2766         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
2767         variable.
2769         [BZ #19925]
2770         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
2771         define if [!__USE_MISC && __USE_XOPEN2K].
2772         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
2773         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
2774         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
2775         Likewise.
2776         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
2777         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
2778         variable.
2779         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
2781 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2783         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
2784         (sysdep_routines): Add new strspn targets.
2785         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2786         (__libc_ifunc_impl_list): Add strspn.
2787         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
2788         New file.
2789         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
2790         Likewise.
2791         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
2792         Likewise.
2793         * sysdeps/powerpc/powerpc64/power8/strspn.S:
2794         Likewise.
2796 2016-04-07  Florian Weimer  <fweimer@redhat.com>
2798         * misc/hsearch_r.c: Include <limits.h>.
2800 2016-04-07  Florian Weimer  <fweimer@redhat.com>
2802         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
2804 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
2806         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
2807         (MEMCPY_SYMBOL): New.
2808         (MEMPCPY_SYMBOL): Likewise.
2809         (MEMMOVE_CHK_SYMBOL): Likewise.
2810         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
2811         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
2812         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
2813         Provide alias for memcpy in libc.a and ld.so.
2815 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
2817         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
2818         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
2819         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
2820         Disabled fro now.
2821         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
2822         symbols.  Properly check USE_MULTIARCH on __memset symbols.
2824 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
2826         * benchtests/Makefile (string-benchset): Add memcpy-large,
2827         memmove-large and memset-large.
2828         * benchtests/bench-memcpy-large.c: New file.
2829         * benchtests/bench-memmove-large.c: Likewise.
2830         * benchtests/bench-memmove-large.c: Likewise.
2831         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
2833 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
2835         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
2836         32-bit displacement to avoid long nop between instructions.
2838 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
2840         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
2841         a comment on VMOVU and VMOVA.
2843 2016-04-04  Florian Weimer  <fweimer@redhat.com>
2845         [BZ #19633]
2846         Use specified locale for number formatting in strfmon_l.
2847         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
2848         (__nl_lookup_word): New inline functions.
2849         * include/printf.h (__print_fp_l): Declare.
2850         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
2851         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
2852         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
2853         (___printf_fp): New function.
2854         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
2855         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
2856         * stdlib/tst-strfmon_l.c (do_test): New test.
2857         * stdlib/Makefile (tests): Add kt.
2858         (LOCALES): Build additional locales.
2859         (tst-strfmon_l.out): Require locales.
2861 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
2863         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
2864         if not in libc.
2865         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
2866         Likewise.
2867         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
2868         Likewise.
2869         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
2870         Likewise.
2872 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
2874         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
2875         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
2876         with unaligned_erms.
2877         (__memmove_erms): Skip if source == destination.
2878         (__memmove_unaligned_erms): Don't check source == destination
2879         first.
2881 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
2883         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
2884         bit_arch_Fast_Copy_Backward for Intel Core proessors.
2886 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2888         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
2889         * string/strspn.c (strspn): Likewise.
2891 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
2893         * benchtests/bench-memset.c (do_test): Support 64-byte
2894         alignment.
2895         (test_main): Test 64-byte alignment.
2897 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
2899         * benchtests/bench-memmove.c (test_main): Test 64-byte
2900         alignment.
2902 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
2904         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
2906 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2908         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
2909         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
2910         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
2912         * string/strpbrk.c (strpbrk): Rewrite function.
2913         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
2914         (__strpbrk_c2): Likewise.
2915         (__strpbrk_c3): Likewise.
2916         * string/string-inlines.c
2917         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
2918         Likewise.
2919         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
2920         Likewise.
2922         * string/strspn.c (strcspn): Rewrite function.
2923         * string/bits/string2.h (strspn): Use __builtin_strcspn.
2924         (__strspn_c1): Remove inline function.
2925         (__strspn_c2): Likewise.
2926         (__strspn_c3): Likewise.
2927         * string/string-inlines.c
2928         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
2929         compatibility symbol.
2930         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
2931         Likewise.
2932         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
2933         Likewise.
2934         * string/string-inlines.c: Include generic version.
2936 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
2937             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2939         * string/Version (libc): Add GLIBC_2.24.
2940         * string/strcspn.c (strcspn): Rewrite function.
2941         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
2942         (__strcspn_c1): Remove inline function.
2943         (__strcspn_c2): Likewise.
2944         (__strcspn_c3): Likewise.
2945         * string/string-inline.c
2946         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
2947         compatibility symbol.
2948         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
2949         Likewise.
2950         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
2951         Likewise.
2952         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
2954 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
2956         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
2957         Use ahi instead of aghi to adjust stack pointer.
2959 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2961         [BZ #19853]
2962         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
2963         TEST to take significant digits as second parameter.
2964         [TEST]: Redefine in terms of TEST_N taking 30
2965         significant digits.
2966         (do_test): Add test case to demonstrate precision
2967         failure in the ldbl-128ibm printf.
2968         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
2969         (__mpn_extract_long_double): Carry 7 extra intermediate
2970         bits of precision to aide computing difference when
2971         signs differ.
2973 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
2975         [BZ #19881]
2976         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2977         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
2978         memset-avx512-unaligned-erms.
2979         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2980         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
2981         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
2982         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
2983         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
2984         __memset_sse2_unaligned_erms, __memset_erms,
2985         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
2986         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
2987         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
2988         file.
2989         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
2990         Likewise.
2991         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
2992         Likewise.
2993         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
2994         Likewise.
2996 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
2998         [BZ #19776]
2999         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3000         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
3001         memmove-avx512-unaligned-erms.
3002         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3003         (__libc_ifunc_impl_list): Test
3004         __memmove_chk_avx512_unaligned_2,
3005         __memmove_chk_avx512_unaligned_erms,
3006         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
3007         __memmove_chk_sse2_unaligned_2,
3008         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
3009         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
3010         __memmove_avx512_unaligned_erms, __memmove_erms,
3011         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
3012         __memcpy_chk_avx512_unaligned_2,
3013         __memcpy_chk_avx512_unaligned_erms,
3014         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
3015         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
3016         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
3017         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
3018         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
3019         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
3020         __mempcpy_chk_avx512_unaligned_erms,
3021         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
3022         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
3023         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
3024         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
3025         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
3026         __mempcpy_erms.
3027         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
3028         file.
3029         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
3030         Likwise.
3031         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
3032         Likwise.
3033         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
3034         Likwise.
3036 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
3038         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
3039         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
3040         (La_s390_64_regs): Likewise.
3041         (La_s390_32_retval): Append vector register lrv_v24.
3042         (La_s390_64_retval): Likeweise.
3043         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
3044         Handle extended structs La_s390_32_regs and La_s390_32_retval.
3045         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
3046         Handle extended structs La_s390_64_regs and La_s390_64_retval.
3048 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
3050         [BZ #19916]
3051         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
3052         to create a non-vector/vector version for _dl_runtime_resolve and
3053         _dl_runtime_profile. Move implementation to ...
3054         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
3055         (_dl_runtime_resolve) Save and restore fpr/vrs.
3056         (_dl_runtime_profile) Save and restore vrs and fix some issues
3057         if _dl_call_pltexit is called.
3058         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
3059         Choose the correct resolver function if running on a machine with vx.
3060         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
3061         to create a non-vector/vector version for _dl_runtime_resolve and
3062         _dl_runtime_profile. Move implementation to ...
3063         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
3064         (_dl_runtime_resolve) Save and restore fpr/vrs.
3065         (_dl_runtime_profile) Save and restore vrs and fix some issues
3066         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
3067         Choose the correct resolver function if running on a machine with vx.
3069 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3071         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
3073 2016-03-31  Florian Weimer  <fweimer@redhat.com>
3075         [BZ #19509]
3076         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
3077         skip_map != NULL.
3078         * elf/tst-dlsym-error.c: New file.
3079         * elf/Makefile (tests): Add tst-dlsym-error.
3080         (tst-dlsym-error): Link against libdl.
3082 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
3084         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3085         (__ASSUME_FUTIMESAT): Remove macro.
3086         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
3088 2016-03-29  Florian Weimer  <fweimer@redhat.com>
3090         [BZ #19879]
3091         CVE-2016-3075
3092         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
3093         copy name.
3095 2016-03-29  Florian Weimer  <fweimer@redhat.com>
3097         [BZ #19837]
3098         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
3099         error if parse_line fails.
3101 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
3103         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
3104         (index_cpu_ERMS): Likewise.
3105         (reg_ERMS): Likewise.
3107 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
3109         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
3110         PER_LINUX_FDPIC): Add.
3112 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
3114         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
3115         memcpy-avx512-no-vzeroupper.
3116         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
3117         to ...
3118         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
3119         (MEMCPY): Don't define.
3120         (MEMCPY_CHK): Likewise.
3121         (MEMPCPY): Likewise.
3122         (MEMPCPY_CHK): Likewise.
3123         (MEMPCPY_CHK): Renamed to ...
3124         (__mempcpy_chk_avx512_no_vzeroupper): This.
3125         (MEMPCPY_CHK): Renamed to ...
3126         (__mempcpy_chk_avx512_no_vzeroupper): This.
3127         (MEMCPY_CHK): Renamed to ...
3128         (__memmove_chk_avx512_no_vzeroupper): This.
3129         (MEMCPY): Renamed to ...
3130         (__memmove_avx512_no_vzeroupper): This.
3131         (__memcpy_avx512_no_vzeroupper): New alias.
3132         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
3134 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
3136         [BZ #18858]
3137         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
3138         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
3139         and mempcpy-avx512-no-vzeroupper.
3140         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
3141         New.
3142         (MEMPCPY): Likewise.
3143         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
3144         (MEMPCPY_CHK): New.
3145         (MEMPCPY): Likewise.
3146         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
3147         (MEMPCPY): Likewise.
3148         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
3149         (MEMPCPY): Likewise.
3150         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
3151         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
3152         Likewise.
3153         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
3154         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
3156 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
3157              Amit Pawar  <Amit.Pawar@amd.com>
3159         [BZ #19583]
3160         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
3161         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
3162         processors.  Set Fast_Copy_Backward for AMD Excavator
3163         processors.
3164         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
3165         New.
3166         (index_arch_Fast_Unaligned_Copy): Likewise.
3167         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
3168         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
3170 2016-03-25  Florian Weimer  <fweimer@redhat.com>
3172         [BZ #19791]
3173         * resolv/res_send.c (close_and_return_error): New function.
3174         (send_dg): Initialize *resplen2 after reopen failure.  Call
3175         close_and_return_error for error returns.  On error paths without
3176         __res_iclose, initialze *resplen2 explicitly.  Update comment for
3177         successful return.
3179 2016-03-25  Florian Weimer  <fweimer@redhat.com>
3181         [BZ# 19860]
3182         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
3183         zero if the compiler does not provide the AVX512F bit.
3185 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
3187         [BZ #19848]
3188         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
3189         from 8 to 4.
3190         (__ieee754_powl): Compare integer exponent against 4 not 8.
3191         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
3192         from 8 to 4.
3193         (__ieee754_powl): Compare integer exponent against 4 not 8.
3194         * math/auto-libm-test-in: Add more tests of pow.
3195         * math/auto-libm-test-out: Regenerated.
3196         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
3197         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3199 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
3201         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
3202         Make code unconditional.
3203         [!__NR_utimensat]: Remove conditional code.
3204         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
3205         Make code unconditional.
3206         [!__NR_utimensat]: Remove conditional code.
3207         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
3208         Make code unconditional.
3209         [!__NR_utimensat]: Remove conditional code.
3211 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
3213         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
3214         Make code unconditional.
3216 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
3218         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
3219         call-clobbered %eax on retry path.
3220         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
3222 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
3224         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
3225         Don't set %rcx twice before "rep movsb".
3227 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
3229         [BZ #19583]
3230         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
3231         inline.  Check family before setting family, model and
3232         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
3233         bits here.
3234         (init_cpu_features): Replace HAS_CPU_FEATURE and
3235         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
3236         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
3237         for Intel processors with usable AVX2.  Call get_common_indeces
3238         for other processors with family == NULL.
3239         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
3240         (CPU_FEATURES_ARCH_P): Likewise.
3241         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
3242         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
3244 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3246         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
3247         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
3248         $(shared-thread-library) instead of hardcoding the path to libpthread.
3250 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
3252         * sysdeps/unix/sysv/linux/kernel-features.h
3253         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
3254         * sysdeps/unix/sysv/linux/getdents.c
3255         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
3256         [!have_no_getdents64_defined]: Likewise.
3257         (__GETDENTS): Remove __have_no_getdents64 conditional.
3259 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
3261         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
3262         Remove macro.
3263         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
3264         <kernel-features.h>.
3265         (signalfd) [__NR_signalfd4]: Make code unconditional.
3266         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
3268 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3270         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
3271         style.
3273 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
3275         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
3276         (__pthread_enable_asynccancel): Use JUMPTARGET to call
3277         __pthread_unwind.
3278         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
3279         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
3280         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
3281         (__condvar_cleanup1): Likewise.
3283 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
3285         [BZ #19822]
3286         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
3287         move it to the final $@ location.
3289 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3291         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
3292         access where posix_spawn success and pid argument is null.
3293         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
3294         success case.
3296 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
3298         * sysdeps/mach/hurd/i386/c++-types.data: New file.
3300         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
3302         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
3303         and __fcntl.
3304         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
3305         __fcntl only.
3306         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
3307         adding attribute_hidden to __open and __fcntl.
3309         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
3310         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
3311         depend on libc-modules.h,
3312         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
3314 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
3316         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
3317         Remove macro.
3318         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
3319         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
3320         entry.
3322         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
3323         Remove macro.
3324         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
3325         include <kernel-features.h>.
3326         [!__ASSUME_FALLOCATE]: Remove conditional code.
3327         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
3329 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
3331         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
3332         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
3333         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
3334         (_ZGVdN4v_cos_avx2): Likewise.
3335         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
3336         (_ZGVdN4v_cos): Likewise.
3337         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
3338         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
3339         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
3340         (_ZGVdN4v_exp_avx2): Likewise.
3341         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
3342         (_ZGVdN4v_exp): Likewise.
3343         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
3344         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
3345         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
3346         (_ZGVdN4v_log_avx2): Likewise.
3347         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
3348         (_ZGVdN4v_log): Likewise.
3349         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
3350         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
3351         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
3352         (_ZGVdN4vv_pow_avx2): Likewise.
3353         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
3354         (_ZGVdN4vv_pow): Likewise.
3355         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
3356         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
3357         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
3358         (_ZGVdN4v_sin_avx2): Likewise.
3359         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
3360         (_ZGVdN4v_sin): Likewise.
3361         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
3362         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
3363         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
3364         (_ZGVdN4vvv_sincos_avx2): Likewise.
3365         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
3366         (_ZGVdN4vvv_sincos): Likewise.
3367         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
3368         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
3369         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
3370         (_ZGVbN4v_cosf_sse4): Likewise.
3371         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
3372         (_ZGVdN8v_cosf_avx2): Likewise.
3373         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
3374         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
3375         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
3376         (_ZGVbN4v_expf_sse4): Likewise.
3377         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
3378         (_ZGVdN8v_expf_avx2): Likewise.
3379         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
3380         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
3381         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
3382         (_ZGVbN4v_logf_sse4): Likewise.
3383         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
3384         (_ZGVdN8v_logf_avx2): Likewise.
3385         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
3386         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
3387         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
3388         (_ZGVbN4vv_powf_sse4): Likewise.
3389         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
3390         (_ZGVdN8vv_powf_avx2): Likewise.
3391         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
3392         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
3393         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
3394         (_ZGVbN4vvv_sincosf_sse4): Likewise.
3395         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
3396         (_ZGVdN8vvv_sincosf_avx2): Likewise.
3397         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
3398         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
3399         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
3400         (_ZGVbN4v_sinf_sse4): Likewise.
3401         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
3402         (_ZGVdN8v_sinf_avx2): Likewise.
3403         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
3404         Use JUMPTARGET to call callee.
3405         (WRAPPER_IMPL_SSE2_ff): Likewise.
3406         (WRAPPER_IMPL_SSE2_fFF): Likewise.
3407         (WRAPPER_IMPL_AVX): Likewise.
3408         (WRAPPER_IMPL_AVX_ff): Likewise.
3409         (WRAPPER_IMPL_AVX_fFF): Likewise.
3410         (WRAPPER_IMPL_AVX512): Likewise.
3411         (WRAPPER_IMPL_AVX512_ff): Likewise.
3412         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
3413         Likewise.
3414         (WRAPPER_IMPL_SSE2_ff): Likewise.
3415         (WRAPPER_IMPL_SSE2_fFF): Likewise.
3416         (WRAPPER_IMPL_AVX): Likewise.
3417         (WRAPPER_IMPL_AVX_ff): Likewise.
3418         (WRAPPER_IMPL_AVX_fFF): Likewise.
3419         (WRAPPER_IMPL_AVX512): Likewise.
3420         (WRAPPER_IMPL_AVX512_ff): Likewise.
3421         (WRAPPER_IMPL_AVX512_fFF): Likewise.
3423 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3425         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
3426         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
3427         qualifier.
3428         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
3429         internal_function qualifiers.
3431 2016-03-15  Carlos O'Donell <carlos@redhat.com>
3433         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
3434         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
3435         * math/atest-exp.c (exp_mpn): Mark chk unused.
3436         * math/atest-exp2.c (exp_mpn): Likwise.
3437         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
3438         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
3440 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
3442         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
3443         Remove macro.
3444         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
3445         <kernel-features.h>.
3446         [__NR_ppoll]: Make code unconditional.
3447         [!__ASSUME_PPOLL]: Remove conditional code.
3449         * sysdeps/unix/sysv/linux/kernel-features.h
3450         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
3451         (__ASSUME_ACCEPT4): Likewise.
3452         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3453         Define.
3454         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
3455         Likewise.
3456         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3457         Likewise.
3458         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
3459         Likewise.
3460         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
3461         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
3462         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3463         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
3464         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3465         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3466         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3467         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3468         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3469         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3470         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3471         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3472         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3473         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3474         * sysdeps/unix/sysv/linux/i386/kernel-features.h
3475         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3476         Likewise.
3477         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3478         Likewise.
3479         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
3480         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
3481         0x040300].
3482         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3483         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
3484         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3485         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
3486         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
3487         0x030300].
3488         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
3489         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3490         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
3491         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
3492         0x040300].
3493         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3494         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3495         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3496         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3497         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3498         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
3499         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
3500         0x030300].
3501         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3502         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3503         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3504         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3505         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3506         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3507         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3508         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3509         * sysdeps/unix/sysv/linux/s390/kernel-features.h
3510         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
3511         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
3512         0x040300].
3513         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3514         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3515         * sysdeps/unix/sysv/linux/sh/kernel-features.h
3516         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3517         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3518         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3519         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
3520         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3521         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3522         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3523         * sysdeps/unix/sysv/linux/tile/kernel-features.h
3524         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3525         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3526         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3527         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
3528         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3529         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3530         Likewise.
3531         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3532         Likewise.
3534 2016-03-15  Andreas Schwab  <schwab@suse.de>
3536         [BZ #19257]
3537         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
3538         statp->_u._ext.nscount as loop count.
3540 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
3542         * math/test-signgam-finite-c99.c: Also #undef
3543         __LIBC_INTERNAL_MATH_INLINES.
3544         * math/test-signgam-main.c: Likewise.
3546 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
3548         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
3549         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
3550         (MADV_FREE): Likewise.
3551         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
3552         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
3553         EPOLLEXCLUSIVE.
3555 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
3557         * timezone/README: Remove mention of checktab.awk. Mention wiki
3558         SharedSourceFiles.
3560 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
3562         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
3563         WUNTRACED.
3565 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3567         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
3568         order to match the type of p when calling atomic_exchange_acq().
3570 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3572         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
3573         cfi_offset calls.
3574         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
3575         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
3576         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
3577         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
3578         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
3580 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
3582         * timezone/checktab.awk: Removed.
3584 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
3586         * manual/math.texi (Errors in Math Functions): Document relaxed
3587         accuracy goals for IBM long double.
3588         * math/libm-test.inc (test_exceptions): Always allow spurious
3589         "underflow" and "inexact" exceptions for IBM long double.
3591 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
3593         [BZ #19762]
3594         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
3595         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
3596         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
3597         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
3598         (bit_arch_*): This for feature array.
3599         (bit_*): Renamed to ...
3600         (bit_cpu_*): This for cpu array.
3601         (index_*): Renamed to ...
3602         (index_arch_*): This for feature array.
3603         (index_*): Renamed to ...
3604         (index_cpu_*): This for cpu array.
3605         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
3606         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
3607         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
3608         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
3609         bit_##name with index_cpu_##name and bit_cpu_##name.
3610         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
3611         bit_##name with index_arch_##name and bit_arch_##name.
3613 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
3615         [BZ #19792]
3616         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
3617         Terminate FDE before return label.
3619 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
3621         [BZ #19790]
3622         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
3623         (rintl): Define as macro.
3624         [USE_AS_NEARBYINTL] (__rintl): Likewise.
3625         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
3626         of fesetround.  Ensure results are evaluated before end of scope.
3627         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
3628         USE_AS_NEARBYINTL and include s_rintl.c.
3629         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
3630         Disable exception traps in new environment.
3631         (libc_feholdsetround_ppc_ctx): Likewise.
3633 2016-03-08  Roland McGrath  <roland@hack.frob.com>
3635         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
3636         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
3637         (tst_audit10_aux) [__AVX512F__]: ... here.
3639 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
3641         * include/sys/auxv.h: New file.
3643 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
3645         [BZ #19759]
3646         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
3648 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3650         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
3651         operand modifier.
3652         (feclearexcept): Likewise.
3654 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
3656         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
3657         to reflect the entire 32-bit HWCAP.
3658         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
3659         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
3661 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
3663         [BZ #19783]
3664         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
3665         $(test-via-rtld-prefix).
3666         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
3668 2016-03-08  Florian Weimer  <fweimer@redhat.com>
3670         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
3671         union wait.  Report any non-zero exit status as error.
3673 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3675         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
3676         configured with --enable-hardcoded-path-in-tests.
3678 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
3680         [BZ #19677]
3681         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
3682         (__ieee754_remainderl): Put zero low parts in canonical form.
3683         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
3684         file.  Based on
3685         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
3686         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
3687         with wrapper round test-fmodrem-ldbl-128ibm.c.
3688         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
3689         file.
3690         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
3691         Likewise.
3692         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
3693         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
3695 2016-03-07  Florian Weimer  <fweimer@redhat.com>
3697         [BZ #19610]
3698         * elf/ldconfig.c (opt_link): Update comment.
3699         (options): Update help string for option -X.
3700         (search_dir): Unlink stale symbolic link only if updating symbolic
3701         links.
3702         * elf/tst-ldconfig-X.sh: New file.
3703         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
3704         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
3706 2016-03-07  Andreas Schwab  <schwab@suse.de>
3708         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
3709         needed arguments.
3711 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
3713         [BZ #15333]
3714         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
3715         to lstat64.
3717 2016-03-07  Florian Weimer  <fweimer@redhat.com>
3719         * libio/filedoalloc.c (isatty): Remove.
3720         (local_isatty): Add comment.  Call __isatty directly.
3721         (_IO_file_doallocate): Update comment.  Assume _LIBC.
3722         * libio/wfiledoalloc.c (isatty): Remove.
3723         (_IO_wfile_doallocate): Update comment.
3725 2016-03-07  Florian Weimer  <fweimer@redhat.com>
3727         [BZ #19269]
3728         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
3729         tst-audit4-aux.o.
3730         (tst-audit10): Depend on tst-audit10-aux.o.
3731         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
3732         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
3733         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
3734         instead of inline AVX code.
3735         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
3736         instead of inline AVX512 code.
3737         * sysdeps/x86_64/tst-audit4-aux.c: New file
3738         * sysdeps/x86_64/tst-audit10-aux.c: New file
3740         [BZ #19648]
3741         * test-skeleton.c (main): Do not set RLIMIT_DATA.
3743 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3745         [BZ #14750]
3746         [BZ #10354]
3747         [BZ #18433]
3748         * include/sched.h (__clone): Add hidden prototype.
3749         (__clone2): Likewise.
3750         * include/unistd.h (__dup): Likewise.
3751         * posix/Makefile (tests): Add tst-spawn2.
3752         * posix/tst-spawn2.c: New file.
3753         * sysdeps/posix/dup.c (__dup): Add hidden definition.
3754         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
3755         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
3756         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
3757         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
3758         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
3759         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
3760         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
3761         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
3762         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
3763         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
3764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
3765         Likewise.
3766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
3767         Likewise.
3768         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
3769         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
3770         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
3771         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
3772         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
3773         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
3774         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
3775         * sysdeps/unix/sysv/linux/nptl-signals.h
3776         (____nptl_is_internal_signal): New function.
3777         * sysdeps/unix/sysv/linux/spawni.c: New file.
3779         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
3780         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
3781         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
3782         * posix/tst-execvp2.c (do_test): Likewise.
3783         * posix/tst-execvp3.c (do_test): Likewise.
3784         * posix/tst-execvp4.c (do_test): Likewise.
3785         * posix/tst-execvpe1.c: New file.
3786         * posix/tst-execvpe2.c: Likewise.
3787         * posix/tst-execvpe3.c: Likewise.
3788         * posix/tst-execvpe4.c: Likewise.
3789         * posix/tst-execvpe5.c: Likewise.
3790         * posix/tst-execvpe6.c: Likewise.
3792         [BZ #19534]
3793         * posix/execl.c (execl): Remove dynamic memory allocation.
3794         * posix/execle.c (execle): Likewise.
3795         * posix/execlp.c (execlp): Likewise.
3797 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
3799         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
3800         Replace .text with .text.avx512.
3801         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
3802         Likewise.
3804 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
3806         * sysdeps/generic/libnsl.abilist: New file.
3807         * sysdeps/generic/libutil.abilist: New file.
3809 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
3811         [BZ #19762]
3812         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
3813         HAS_ARCH_FEATURE with Fast_Rep_String.
3814         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
3815         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
3816         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
3817         Likewise.
3818         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
3819         Likewise.
3820         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
3821         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
3822         Likewise.
3823         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
3824         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
3825         Likewise.
3827 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
3829         [BZ #19745]
3830         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
3831         with *%rax in call.
3833 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
3835         [BZ #19745]
3836         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
3837         with *__libc_start_main@GOTPCREL(%rip) in call.
3839 2016-03-04  Roland McGrath  <roland@hack.frob.com>
3841         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
3842         inside conditional for nonempty $(CXX).
3844         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
3845         nonempty.
3847         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
3848         to test for empty $(CXX) rather than $(CXX) of "no".
3850 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
3852         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
3854 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
3855             H.J. Lu  <hongjiu.lu@intel.com>
3857         [BZ #18880]
3858         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
3859         instead of Slow_BSF, and also check for Fast_Copy_Backward to
3860         enable __memcpy_ssse3_back.
3862 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
3864         [BZ #19758]
3865         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
3866         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
3868 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
3870         [BZ #19490]
3871         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
3872         (__fentry__): Likewise.
3874 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
3876         * gmon/Makefile (noprof): Add $(sysdep_noprof).
3877         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
3879 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
3881         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
3882         __mcount_internal directly.
3883         (C_LABEL(__fentry__)): Likewise.
3884         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
3885         directly.
3887 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
3889         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
3890         (__start_context): Call __setcontext directly.
3892 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
3894         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3895         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
3896         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
3897         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
3898         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3899         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
3900         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
3901         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
3902         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3903         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
3904         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
3905         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
3906         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3907         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
3908         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
3909         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3910         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
3911         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3912         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
3913         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
3914         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
3915         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3916         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
3917         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
3918         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
3919         Remove conditional code.
3920         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3921         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
3922         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
3923         * sysdeps/unix/sysv/linux/sh/kernel-features.h
3924         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
3925         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
3926         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
3927         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
3928         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
3929         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
3930         * sysdeps/unix/sysv/linux/tile/kernel-features.h
3931         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
3933 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
3935         * NEWS (2.23): Fix typo in bug 19048 text.
3937 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
3939         [BZ #14259]
3940         * Makeconfig: Rename msgcatdir to localedir.
3941         Rename inst_msgcatdir to inst_localedir.
3942         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
3943         * config.make.in: Add localedir.
3944         * elf/Makefile ($(objpfx)sotruss): Use localedir.
3945         (ldd-rewrite): Likewise.
3946         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
3947         (install-others): Use inst_localedir.
3948         (CPPFLAGS): Use localedir.
3949         * locale/Makefile (locale-CPPFLAGS): Likewise.
3950         * po/Makefile (mo-installed): Use inst_localedir.
3952         [BZ #19575]
3953         * localedata/charmaps/GB18030: Update comments regarding PAU to
3954         non-PUA mappings.
3956 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
3958         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
3959         test for header.
3960         * sysdeps/unix/sysv/linux/configure: Regenerated.
3961         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
3962         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
3963         Remove conditional code.
3964         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
3966         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
3967         Define to 3.2.0.
3968         (arch_minimum_kernel): Likewise.
3969         * sysdeps/unix/sysv/linux/configure: Regenerated.
3970         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
3971         Define to 2.6.32.
3972         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
3973         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
3974         (arch_minimum_kernel): Define to 2.6.32.
3975         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
3976         * README: Document Linux 3.2 requirement.
3977         * manual/install.texi (Linux): Document Linux 3.2 headers
3978         requirement.
3979         * INSTALL: Regenerated.
3981 2016-02-24  Andreas Schwab  <schwab@suse.de>
3983         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
3984         if !NO_LONG_DOUBLE.
3986 2016-02-22  Roland McGrath  <roland@hack.frob.com>
3988         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
3989         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
3991 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
3993         [BZ #19512]
3994         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
3996 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
3998         * posix/tst-dir.c: Include libc-internal.h.
4000 2016-02-20  Florian Weimer  <fweimer@redhat.com>
4002         [BZ #19056]
4003         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
4004         * manual/filesys.texi (Reading/Closing Directory): Mention
4005         deprecaion.
4006         * posix/tst-dir.c (main): Disable deprecation warning in test.
4008 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
4010         [BZ #19679]
4011         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
4012         Renamed to ...
4013         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
4014         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
4015         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
4016         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
4017         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
4018         * sysdeps/x86_64/dl-trampoline.h
4019         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
4020         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
4022 2016-02-19  Mark Wielaard  <mjw@redhat.com>
4024         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
4026 2016-02-19  Mark Wielaard  <mjw@redhat.com>
4028         * elf/elf.h (R_386_GOT32X): New.
4029         (R_386_NUM): Update.
4030         (R_X86_64_GOTPCRELX: New.
4031         (R_X86_64_REX_GOTPCRELX): New.
4032         (R_X86_64_NUM): Update.
4034 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
4036         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
4038 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
4040         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
4041         assign attr->stackaddr to it, and adjust it down when
4042         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
4043         [_STACK_GROWS_UP]: Delete assert.
4044         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
4045         Implement stack grows up logic.
4046         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
4047         stack grows up logic.
4049 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4051         * NEWS: Update with 2.24 template.
4053 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
4055         [BZ #19678]
4056         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
4057         Ensure +0.0 is returned when taking the next value below the least
4058         positive value.
4060 2016-02-19  Florian Weimer  <fweimer@redhat.com>
4062         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
4063         available.  Do not define NO_THREADS.
4064         * malloc/malloc.c: Do not check NO_THREADS.
4065         * malloc/arena.c: Likewise.
4067 2016-02-19  Florian Weimer  <fweimer@redhat.com>
4069         * malloc/malloc.c (__libc_mallinfo): Update comment.
4070         (struct malloc_par): Remove max_total_mem member, it was always 0.
4071         (int_mallinfo): Store 0 into usmblks (no functional change).
4072         * malloc/hooks.c (struct malloc_state): Document that
4073         max_total_mem is always 0.
4074         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
4075         always 0.
4076         * manual/memory.texi (Statistics of Malloc): Likewise.
4078 2016-02-19  Florian Weimer  <fweimer@redhat.com>
4080         * malloc/malloc.c (sysmalloc): Do not update arena_max.
4081         * malloc/arena.c (arena_max): Remove.
4082         (heap_trim, _int_new_arena): Do not update arena_max.
4084 2016-02-19  Florian Weimer  <fweimer@redhat.com>
4086         * resolv/res_init.c (res_ninit): Update comment.
4088 2016-02-19  Florian Weimer  <fweimer@redhat.com>
4090         [BZ #19505]
4091         * posix/spawn_int.h: Add headers and include guard.
4092         (__spawn_valid_fd): New function.
4093         * posix/spawn_faction_addopen.c
4094         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
4095         * posix/spawn_faction_addclose.c
4096         (posix_spawn_file_actions_addclose): Likewise.
4097         * posix/spawn_faction_adddup2.c
4098         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
4099         second file descriptor.
4100         * posix/spawn_valid_fd.c: New file.
4101         * posix/tst-posix_spawn-fd.c: New file.
4102         * posix/Makefile (routines): Add spawn_valid_fd.
4103         (tests): Add tst-posix_spawn-fd.
4105 2016-02-19  Florian Weimer  <fweimer@redhat.com>
4107         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
4108         (do_test): Limit the number of arenas, so that we can use fewer
4109         outer threads.  Limit timeout to 3 seconds, in preparation for a
4110         larger TIMEOUT value.
4112 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
4114         [BZ #19674]
4115         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
4116         sign in overflowing and underflowing results when overflow or
4117         underflow is detected early.  Include sign in result before rather
4118         than after scaling.
4120         [BZ #19603]
4121         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
4122         (__ieee754_remainderl): Adjust sign of integer version of low part
4123         when taking absolute value of high part.
4124         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4125         * math/libm-test.inc (remainder_test_data): Add another test.
4126         (remquo_test_data): Likewise.
4128 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
4130         [BZ #19602]
4131         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
4132         equal high parts and both low parts zero specially.
4133         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
4134         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
4135         Add test-fmodl-ldbl-128ibm.
4137         [BZ #19595]
4138         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
4139         common logic for all cases of shifting subnormal results.  Do not
4140         insert sign bit in shifted mantissa.  Always pass -1023 as biased
4141         exponent to ldbl_insert_mantissa in subnormal case.
4143         [BZ #19594]
4144         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
4145         on high and low parts then adjust result and use
4146         ldbl_canonicalize_int if needed.
4148         [BZ #19593]
4149         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
4150         on high part and __floor or __ceil on low part then use
4151         ldbl_canonicalize_int if needed.
4153         [BZ #19592]
4154         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
4155         high and low parts then use ldbl_canonicalize_int if needed.
4157         [BZ #17899]
4158         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
4159         New function.
4160         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
4161         on high and low parts then use ldbl_canonicalize_int if needed.
4163 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4165         * configure: Regenerated.
4167         * po/libc.pot: Regenerated.
4169         * po/be.po: Updated translation.
4170         * po/bg.po: Likewise.
4171         * po/ca.po: Likewise.
4172         * po/cs.po: Likewise.
4173         * po/da.po: Likewise.
4174         * po/el.po: Likewise.
4175         * po/eo.po: Likewise.
4176         * po/es.po: Likewise.
4177         * po/fi.po: Likewise.
4178         * po/fr.po: Likewise.
4179         * po/gl.po: Likewise.
4180         * po/hr.po: Likewise.
4181         * po/hu.po: Likewise.
4182         * po/ia.po: Likewise.
4183         * po/id.po: Likewise.
4184         * po/it.po: Likewise.
4185         * po/ja.po: Likewise.
4186         * po/lt.po: Likewise.
4187         * po/nb.po: Likewise.
4188         * po/nl.po: Likewise.
4189         * po/pt_BR.po: Likewise.
4190         * po/rw.po: Likewise.
4191         * po/sk.po: Likewise.
4192         * po/sl.po: Likewise.
4193         * po/sv.po: Likewise.
4194         * po/tr.po: Likewise.
4195         * po/zh_CN.po: Likewise.
4196         * po/zh_TW.po: Likewise.
4198         * version.h (RELEAES): Set to "development".
4199         (VERSION): Set to 2.23.90.
4201         * version.h (RELEASE): Set to "stable".
4202         (VERSION): Set to 2.23.
4203         * include/feature.h (__GLIBC_MINOR__): Set to 23.
4205         * NEWS: Updated fixed bugs.
4207 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
4208             Wilco Dijkstra  <wdijkstr@arm.com>
4210         [BZ #19462]
4211         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
4212         (_STRING_INLINE_unaligned): This.
4213         * include/string.h: Include <string_private.h>.
4214         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
4215         _STRING_INLINE_unaligned.
4216         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
4217         (_STRING_INLINE_unaligned): New.
4218         * sysdeps/aarch64/string_private.h: New file.
4219         * sysdeps/generic/string_private.h: Likewise.
4220         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
4221         * sysdeps/s390/string_private.h: Likewise.
4222         * sysdeps/x86/string_private.h: Likewise.
4223         * sysdeps/m68k/m680x0/m68020/bits/string.h
4224         (_STRING_ARCH_unaligned): Renamed to ...
4225         (_STRING_INLINE_unaligned): This.
4226         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
4227         to ...
4228         (_STRING_INLINE_unaligned): This.
4229         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
4230         to ...
4231         (_STRING_INLINE_unaligned): This.
4232         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
4233         to ...
4234         (_STRING_INLINE_unaligned): This.
4236 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
4237             H.J. Lu  <hongjiu.lu@intel.com>
4239         [BZ #19590]
4240         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
4241         relocation.
4243 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
4245         [BZ #18665]
4246         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
4247         *herrno_p.
4248         (gaih_getanswer): Document functional behviour. Return tryagain
4249         if any result is tryagain.
4250         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
4251         when freed.
4252         * resolv/res_send.c: Add copyright text.
4253         (__libc_res_nsend): Document that MAXPACKET is expected.
4254         (send_vc): Document. Remove buffer reuse.
4255         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
4256         size of the buffer. Add Dprint for truncated UDP buffer.
4258 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
4260         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
4261         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
4262         * INSTALL: Regenerate.
4264 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
4265             Jonathan Wakely  <jwakely@redhat.com>
4266             Carlos O'Donell  <carlos@redhat.com>
4268         [BZ 19439]
4269         * math/Makefile (tests): Add test-math-isinff.
4270         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
4271         * math/bits/mathcalls.h [__USE_MISC]: Use
4272         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
4273         functions not in C++11 and which don't conflict e.g. isinff,
4274         isinfl etc.
4275         * math/test-math-isinff.cc: New file.
4277 2016-02-12  Florian Weimer  <fweimer@redhat.com>
4279         * misc/bug18240.c (do_test): Set RLIMIT_AS.
4281 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4283         [BZ #19529]
4284         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
4286 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4288         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
4290 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
4292         [BZ #19550]
4293         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
4294         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
4295         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
4296         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
4297         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
4298         New syscall entry.
4299         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
4300         New syscall entry.
4301         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
4302         syscall entry.
4304 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
4306         [BZ #18240]
4307         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
4308         unsigned int wraparound.
4310 2016-01-27  Florian Weimer  <fweimer@redhat.com>
4312         [BZ #18240]
4313         * misc/bug18240.c: New test.
4314         * misc/Makefile (tests): Add it.
4316 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
4317             Joseph Myers  <joseph@codesourcery.com>
4319         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
4320         load in branch delay slot when less than a word of input left.
4322 2016-01-27  Andreas Schwab  <schwab@suse.de>
4324         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
4325         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
4326         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
4327         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
4329 2016-01-26  David S. Miller  <davem@davemloft.net>
4331         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
4333 2016-01-25  David S. Miller  <davem@davemloft.net>
4335         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
4336         __sqrtl_finite.
4337         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
4338         instead using versioned_symbol.
4339         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
4340         of entries.
4342         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
4343         __sqrtl_finite to GLIBC_2.23
4345 2016-01-25  Ricchard Henderson  <rth@redhat.com>
4347         * sysdeps/alpha/fpu/libm-test-ulps: Update.
4349 2016-01-25  Andreas Schwab  <schwab@suse.de>
4351         [BZ #17514]
4352         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
4353         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
4354         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
4355         * nptl/tst-mutex-errorcheck.c: New file.
4357 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4359         [BZ #18560]
4360         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
4361         (IPCOP_semop): Likewise.
4362         (IPCOP_semget): Likewise.
4363         (IPCOP_semctl): Likewise.
4364         (IPCOP_msgsnd): Likewise.
4365         (IPCOP_msgrcv): Likewise.
4366         (IPCOP_msgget): Likewise.
4367         (IPCOP_msgctl): Likewise.
4368         (IPCOP_shmat): Likewise.
4369         (IPCOP_shmdt): Likewise.
4370         (IPCOP_shmget): Likewise.
4371         (IPCOP_shmctl): Likewise.
4373 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
4375         * string/tst-endian.c: Include <libc-internal.h>.
4376         (do_test): Ignore tautological-compare warnings around
4377         "htobeXX (beXXtoh (i)) != i" and
4378         "htoleXX (leXXtoh (i)) != i" if-statements.
4380 2016-01-24  David S. Miller  <davem@davemloft.net>
4382         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
4383         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
4384         alias.
4385         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
4386         __sqrtl_finite.
4388         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4390 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
4392         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
4393         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
4394         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
4396 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4398         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
4399         (thread_func): Use new function to simplify barrier check.
4400         (do_test): Use new function to simplify checking barrier exit
4401         code, and actually join the child thread.
4403 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4405         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
4406         semicolon.
4407         (__libc_tend): Likewise.
4408         (__libc_tabort): Likewise.
4410 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
4412         * sysdeps/nios2/libm-test-ulps: Update.
4413         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
4414         (__gtsf2): Likewise.
4415         (__unorddf2): Likewise.
4416         (__unordsf2): Likewise.
4417         (__ledf2): Likewise.
4419 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
4421         * nis/nis_table.c (__follow_path): Disable diagnostic for
4422         uninitialized variable that is a false positive for gcc 4.7.
4423         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
4425 2016-01-20  Roland McGrath  <roland@hack.frob.com>
4427         * sysdeps/nacl/lowlevellock-futex.h
4428         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
4429         Always evaluate PRIVATE argument.
4431 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
4433         [BZ #19490]
4434         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
4435         (pthread_cond_broadcast): Use ENTRY/END
4436         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
4437         (pthread_cond_signal): Likewise.
4438         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
4439         Likewise.
4440         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
4441         Likewise.
4442         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
4443         Likewise.
4445 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
4447         * sysdeps/ieee754/dbl-64/s_finite.c
4448         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
4449         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
4450         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
4451         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
4452         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
4454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
4455         (__gtsf2): Add as optional for libc.so.
4456         (__unordsf2): Likewise.
4457         (__signbit): Remove for libc.so.
4458         (__signbitl): Likewise.
4460 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
4462         * iconvdata/bug-iconv11.c (test_ibm93x):
4463         Use %zu printf format specifier for size_t argument.
4465 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
4467         * math/gen-libm-test.pl (parse_ulps): Do not reduce
4468         already-recorded ulps.
4469         * sysdeps/arm/libm-test-ulps: Regenerated.
4470         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
4471         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4472         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
4474 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
4475             Paul Pluzhnikov  <ppluzhnikov@google.com>
4477         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
4478         assembler not supporting AVX-512.
4480 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
4482         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4484 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
4486         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
4487         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4489         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4491         * sysdeps/arm/libm-test-ulps: Regenerated.
4493 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
4495         [BZ #19451]
4496         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
4498 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
4500         [BZ #19486]
4501         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
4502         * sysdeps/generic/fix-fp-int-convert-overflow.h
4503         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
4504         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
4505         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
4506         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
4507         Likewise.
4508         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
4509         Avoid conversions to long int where inexact exceptions
4510         could be raised.
4511         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
4512         Likewise.
4513         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
4514         Avoid conversions to long long int where inexact exceptions
4515         could be raised.
4516         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
4517         Likewise.
4519 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
4521         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
4522         * configure: Regenerated.
4524 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
4526         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
4528 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
4530         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
4531         outside of comment.
4533 2016-01-15  Torvald Riegel  <triegel@redhat.com>
4535         * nptl/tst-barrier1.c: Add description on first line.
4536         * nptl/tst-barrier2.c: Likewise.
4537         * nptl/tst-barrier3.c: Likewise.
4538         * nptl/tst-barrier4.c: Likewise.
4539         * nptl/tst-barrier5.c: Likewise.
4541 2016-01-15  Torvald Riegel  <triegel@redhat.com>
4543         [BZ #18868]
4544         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
4546 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
4548         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
4549         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
4550         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
4551         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
4552         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
4553         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
4554         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
4555         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
4556         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
4557         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
4558         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
4560 2016-01-15  Torvald Riegel  <triegel@redhat.com>
4562         [BZ #13065]
4563         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
4564         new implementation.
4565         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
4566         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
4567         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
4568         (BARRIER_IN_THRESHOLD): New macro.
4569         * nptl/pthread_barrierattr_setpshared.c
4570         (pthread_barrierattr_setpshared): Clean up.
4571         * nptl/tst-barrier4.c: Correct comment.
4572         * nptl/tst-barrier5.c: New file.
4573         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
4574         (gen-as-const-headers): Remove lowlevelbarrier.sym.
4575         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
4576         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
4577         * nptl/lowlevelbarrier.sym: Remove.
4578         * nptl/DESIGN-barrier.txt: Remove.
4579         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
4580         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
4581         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
4582         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
4583         error.
4584         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
4585         implementation.
4587 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4589         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
4590         (do_child): Mask SIGRTMIN while thr is running.
4592 2016-01-15  Martin Sebor  <msebor@redhat.com>
4594         [BZ #19432]
4595         * iconvdata/Makefile: Add bug-iconv11.
4596         * iconvdata/bug-iconv11.c: New test.
4597         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
4598         * iconvdata/ibm933.c: Same.
4599         * iconvdata/ibm935.c: Same.
4600         * iconvdata/ibm937.c: Same.
4601         * iconvdata/ibm939.c: Same.
4603 2016-01-15  Martin Sebor  <msebor@redhat.com>
4605         [BZ #19443]
4606         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
4607         [DEBUG] (_ufc_set_bits): Declare used.
4608         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
4609         [DEBUG] (print_all): Declare used.
4610         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
4611         operands of the ternary ?: expression to target type.
4612         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
4613         calling the undeclared abort.
4614         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
4616 2016-01-15  Martin Sebor  <msebor@redhat.com>
4618         [BZ #18755]
4619         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
4620         warnings.
4621         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
4622         (__gai_create_helper_thread): Same.
4623         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
4624         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
4625         to suppress -Wmaybe-uninitialized warnings.
4627 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
4629         [BZ #19465]
4630         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
4631         inside if.
4632         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4633         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4634         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4636 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
4638         [BZ #19466]
4639         * time/tst-mktime2.c (time_t_max): Removed.
4640         (time_t_min): Likewise.
4641         (TYPE_SIGNED): New.
4642         (TYPE_MINIMUM): Likewise.
4643         (TYPE_MAXIMUM): Likewise.
4644         (TIME_T_MIN): Likewise.
4645         (TIME_T_MAX): Likewise.
4646         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
4647         and TIME_T_MIN.
4648         (do_test): Likewise.
4650 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
4652         [BZ #19467]
4653         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
4654         index_Fast_Unaligned_Load flag for Excavator family CPUs.
4656 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
4658         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
4660 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
4662         * benchtests/Makefile (PYTHON): Define.
4663         (bench-func): Use $(PYTHON) to run python scripts.
4664         ($(objpfx)bench-%.c): Likewise.
4666 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
4668         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
4669         leading slash when `file_name' is "/".
4671 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
4673         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
4674         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
4675         Likewise.
4676         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
4677         Likewise.
4678         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
4679         Likewise.
4680         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
4681         enum constant and macro.
4682         (PTRACE_SETSIGMASK): Likewise.
4683         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4684         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
4685         (PTRACE_GETSIGMASK): Likewise.
4686         (PTRACE_SETSIGMASK): Likewise.
4687         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4688         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
4689         Likewise.
4690         (PTRACE_SETSIGMASK): Likewise.
4691         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4692         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
4693         (PTRACE_GETSIGMASK): Likewise.
4694         (PTRACE_SETSIGMASK): Likewise.
4695         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4696         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
4697         Likewise.
4698         (PTRACE_SETSIGMASK): Likewise.
4699         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4700         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
4701         Likewise.
4702         (PTRACE_SETSIGMASK): Likewise.
4703         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4704         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
4705         Likewise.
4706         (PTRACE_SETSIGMASK): Likewise.
4707         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4709 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
4710             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4712         [BZ #19439]
4713         * math/bits/mathcalls.h
4714         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
4715         prototype.
4716         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
4718 2016-01-11  Andreas Schwab  <schwab@suse.de>
4720         [BZ #19253]
4721         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
4722         cache when TZDEFRULES was used.
4723         * time/tst-tzname.c: New file.
4724         * time/Makefile (test): Add tst-tzname.
4725         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
4726         * timezone/Makefile (test-zones): Add $(posixrules-file).
4727         ($(testdata)/$(posixrules-file)): New rule.
4729 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
4731         Fix doc quoting problems with Texinfo 5
4732         Without this change, in the info file output, Texinfo 5 quotes code
4733         in text with undirected single quotes 'like this' and generates
4734         code examples that with many PDF readers cannot be cut out of PDFs
4735         and pasted into code.
4736         * manual/libc.texinfo: Configure the libc manual like the GNU
4737         Emacs manual, by using @documentencoding and setting
4738         txicodequoteundirected and txicodequotebacktick.  This way,
4739         Texinfo 5 quotes code in text with directed single quotes ‘like
4740         this’ and produces examples that can be cut out of PDFs.  This
4741         change causes Texinfo 5 to generate info files that contain UTF-8
4742         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
4743         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
4745 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4747         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
4748         __libc_tabort, __libc_tend): New wrappers that enforce compiler
4749         barriers to their respective compiler built-ins.
4750         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
4751         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
4752         * sysdeps/powerpc/sysdep.h: Likewise.
4753         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
4754         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
4755         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
4757 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
4759         * scripts/config.guess: Revert previous shebang change.
4760         * scripts/config.sub: Likewise.
4761         * scripts/mkinstalldirs: Likewise.
4763 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4765         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
4766         PPC_FEATURE2_HAS_IEEE128.
4767         * sysdeps/powerpc/dl-procinfo.c:
4768         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
4770 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
4772         [BZ #19415]
4773         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
4774         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
4775         (_dl_lookup_address): Rewrite using function resolver trampoline.
4776         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
4777         two bits in address.
4779 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
4781         * longlong.h: Change !__SHMEDIA__ to
4782         (!defined (__SHMEDIA__) || !__SHMEDIA__).
4783         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
4785 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
4786             Joseph Myers  <joseph@codesourcery.com>
4787             Mark Shinwell  <shinwell@codesourcery.com>
4788             Andrew Stubbs  <ams@codesourcery.com>
4789             Rich Felker <dalias@libc.org>
4791         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
4793 2016-01-07  Richard Henderson  <rth@redhat.com>
4795         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
4797 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
4799         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
4800         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
4801         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
4802         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
4803         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
4805 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
4806             Joseph Myers  <joseph@codesourcery.com>
4808         * timezone/private.h: Update from tzcode 2015g.
4809         * timezone/tzfile.h: Likewise.
4810         * timezone/tzselect.ksh: Likewise.
4811         * timezone/zdump.c: Likewise.
4812         * timezone/zic.c: Likewise.
4813         * timezone/ialloc.c: Remove file.
4814         * timezone/scheck.c: Likewise.
4815         * timezone/Makefile (extra-objs): Remove variable.
4816         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
4817         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
4818         -Wno-maybe-uninitialized.
4819         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
4820         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
4821         (CFLAGS-ialloc.c): Remove variable.
4822         (CFLAGS-scheck.c): Likewise.
4823         * timezone/README: Update list of files from tzcode.
4825 2016-01-07  Khem Raj  <raj.khem@gmail.com>
4827         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
4828         instead of __fxprintf when _LIBC is undefined.
4830 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
4832         * catgets/test-gencat.sh: Remove space after shebang.
4833         * conform/GlibcConform.pm: Likewise.
4834         * conform/check-header-lists.sh: Likewise.
4835         * conform/conformtest.pl: Likewise.
4836         * conform/linknamespace.pl: Likewise.
4837         * conform/list-header-symbols.pl: Likewise.
4838         * debug/catchsegv.sh: Likewise.
4839         * elf/genrtldtbl.awk: Likewise.
4840         * elf/tst-pathopt.sh: Likewise.
4841         * elf/tst-rtld-load-self.sh: Likewise.
4842         * grp/tst_fgetgrent.sh: Likewise.
4843         * iconvdata/gen-8bit-gap-1.sh: Likewise.
4844         * iconvdata/gen-8bit-gap.sh: Likewise.
4845         * iconvdata/gen-8bit.sh: Likewise.
4846         * iconvdata/run-iconv-test.sh: Likewise.
4847         * intl/tst-gettext.sh: Likewise.
4848         * intl/tst-gettext2.sh: Likewise.
4849         * intl/tst-gettext4.sh: Likewise.
4850         * intl/tst-gettext6.sh: Likewise.
4851         * intl/tst-translit.sh: Likewise.
4852         * io/ftwtest-sh: Likewise.
4853         * libio/test-freopen.sh: Likewise.
4854         * locale/gen-translit.pl: Likewise.
4855         * malloc/tst-mtrace.sh: Likewise.
4856         * manual/check-safety.sh: Likewise.
4857         * manual/libc-texinfo.sh: Likewise.
4858         * manual/tsort.awk: Likewise.
4859         * manual/xtract-typefun.awk: Likewise.
4860         * nptl/tst-cancel-wrappers.sh: Likewise.
4861         * nptl/tst-tls6.sh: Likewise.
4862         * posix/globtest.sh: Likewise.
4863         * posix/tst-getconf.sh: Likewise.
4864         * posix/wordexp-tst.sh: Likewise.
4865         * scripts/check-c++-types.sh: Likewise.
4866         * scripts/check-local-headers.sh: Likewise.
4867         * scripts/config.guess: Likewise.
4868         * scripts/config.sub: Likewise.
4869         * scripts/cpp: Likewise.
4870         * scripts/cross-test-ssh.sh: Likewise.
4871         * scripts/documented.sh: Likewise.
4872         * scripts/evaluate-test.sh: Likewise.
4873         * scripts/gen-libc-abis: Likewise.
4874         * scripts/gen-sorted.awk: Likewise.
4875         * scripts/list-fixed-bugs.py: Likewise.
4876         * scripts/merge-test-results.sh: Likewise.
4877         * scripts/mkinstalldirs: Likewise.
4878         * scripts/rellns-sh: Likewise.
4879         * scripts/test-installation.pl: Likewise.
4880         * scripts/update-copyrights: Likewise.
4881         * stdio-common/tst-printf.sh: Likewise.
4882         * stdio-common/tst-unbputc.sh: Likewise.
4883         * stdlib/tst-fmtmsg.sh: Likewise.
4884         * stdlib/tst-setcontext3.sh: Likewise.
4885         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
4886         * sysdeps/unix/make-syscalls.sh: Likewise.
4888 2016-01-06  John David Anglin  <dave.anglin@bell.net>
4890         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
4891         asm stw with atomic_exchange_rel.  Add explanatory comment.
4892         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
4893         Likewise.
4895 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
4897         [BZ #19122]
4898         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
4899         * sysdeps/generic/dl-unistd.h: New file.
4900         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
4902 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
4904          [BZ #19122]
4905          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
4906          * sysdeps/generic/dl-mman.h: New file.
4907          * sysdeps/mach/hurd/dl-mman.h: Likewise.
4909 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
4911         * manual/texinfo.tex: Update to version 2016-01-04.21 with
4912         trailing whitespace removed.
4913         * scripts/config.guess: Update to version 2016-01-01.
4914         * scripts/config.sub: Update to version 2016-01-01.
4915         * scripts/move-if-change: Update from gnulib.
4917 2016-01-04  Anton Blanchard  <anton@samba.org>
4919         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
4920         for array indices.
4921         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
4923 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
4925         * NEWS: Update copyright dates.
4926         * catgets/gencat.c (print_version): Likewise.
4927         * csu/version.c (banner): Likewise.
4928         * debug/catchsegv.sh: Likewise.
4929         * debug/pcprofiledump.c (print_version): Likewise.
4930         * debug/xtrace.sh (do_version): Likewise.
4931         * elf/ldconfig.c (print_version): Likewise.
4932         * elf/ldd.bash.in: Likewise.
4933         * elf/pldd.c (print_version): Likewise.
4934         * elf/sotruss.sh: Likewise.
4935         * elf/sprof.c (print_version): Likewise.
4936         * iconv/iconv_prog.c (print_version): Likewise.
4937         * iconv/iconvconfig.c (print_version): Likewise.
4938         * locale/programs/locale.c (print_version): Likewise.
4939         * locale/programs/localedef.c (print_version): Likewise.
4940         * login/programs/pt_chown.c (print_version): Likewise.
4941         * malloc/memusage.sh (do_version): Likewise.
4942         * malloc/memusagestat.c (print_version): Likewise.
4943         * malloc/mtrace.pl: Likewise.
4944         * manual/libc.texinfo: Likewise.
4945         * nptl/version.c (banner): Likewise.
4946         * nscd/nscd.c (print_version): Likewise.
4947         * nss/getent.c (print_version): Likewise.
4948         * nss/makedb.c (print_version): Likewise.
4949         * posix/getconf.c (main): Likewise.
4950         * scripts/test-installation.pl: Likewise.
4951         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
4953         * All files with FSF copyright notices: Update copyright dates
4954         using scripts/update-copyrights.
4955         * intl/plural.c: Regenerated.
4956         * locale/programs/charmap-kw.h: Likewise.
4957         * locale/programs/locfile-kw.h: Likewise.
4959 2016-01-02  Helge Deller  <deller@gmx.de>
4961         [BZ #19285]
4962         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
4963         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
4964         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
4965         (MADV_xxK_PAGES): Remove.
4967 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
4969         [BZ #15421]
4970         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
4971         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
4972         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
4973         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
4975 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
4977         [BZ #19408]
4978         * sysdeps/unix/sysv/linux/personality.c: New file.
4979         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
4980         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
4981         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
4982         (sysdep_routines): Add personality.
4983         (tests): Add tst-personality.
4984         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
4985         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
4986         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
4987         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
4988         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
4989         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
4990         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
4991         Likewise.
4992         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
4993         Likewise.
4994         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
4995         Likewise.
4996         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
4997         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
4998         Likewise.
5000 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
5002         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
5003         (PATH_ARM_SYSTYPE): Remove.
5004         (PATH_CPUINFO): Likewise.
5005         (IO_BASE_FOOTBRIDGE): Likewise.
5006         (IO_SHIFT_FOOTBRIDGE): Likewise.
5007         (struct platform): Likewise.
5008         (init_iosys): Remove compatibility code for 2.4 kernels.
5009         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
5011 2015-12-29  Florian Weimer  <fweimer@redhat.com>
5013         * malloc/tst-malloc-thread-fail.c: New file.
5014         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
5015         (tst-malloc-thread-fail): Link against libpthread.
5017 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
5019         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
5020         (get_parser): New function.
5021         (main): New function.
5023 2015-12-29  Rob Wu  <rob@robwu.nl>
5025         [BZ #19369]
5026         * resolv/res_init.c (__res_vinit): Reset defdname before use.
5028 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
5030         [BZ #19270]
5031         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
5033 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
5035         [BZ #15421]
5036         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
5038 2015-12-23  Torvald Riegel  <triegel@redhat.com>
5040         [BZ #13690]
5041         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
5042         after releasing it.
5043         (__lll_robust_unlock): Likewise.
5044         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
5045         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
5046         (lll_robust_unlock): Likewise.
5047         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
5048         Prevent warnings in callers.
5050 2015-12-23  Florian Weimer  <fweimer@redhat.com>
5052         * malloc/arena.c (list_lock): Update comment.
5054 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5056         * sysdeps/powerpc/hwcapinfo.c: Export symbol
5057         __parse_hwcap_and_convert_at_platform to libc.a.
5059 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5061         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
5062         platform and feature support for POWER9.
5063         * sysdeps/powerpc/dl-procinfo.h: Likewise.
5064         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
5065         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
5066         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
5067         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
5068         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
5069         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
5070         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
5072 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5074         Harmonize generic stdio-lock support with nptl
5076         This fixes build when _IO_funlockfile is a macro, fixes build where
5077         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
5078         stack unwind.
5080         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
5081         _IO_release_lock ): Use cleanup attribute on new
5082         _IO_acquire_lock_file variable instead of assuming that
5083         _IO_release_lock will be called.
5084         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
5085         _IO_acquire_lock_needs_exceptions_enabled.
5086         (_IO_acquire_lock_clear_flags2): New macro.
5088 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5090         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
5092 2015-12-21  Florian Weimer  <fweimer@redhat.com>
5094         [BZ #19182]
5095         * malloc/arena.c (list_lock): Document lock ordering requirements.
5096         (free_list_lock): New lock.
5097         (ptmalloc_lock_all): Comment on free_list_lock.
5098         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
5099         (detach_arena): Update comment.  free_list_lock is now needed.
5100         (_int_new_arena): Use free_list_lock around detach_arena call.
5101         Acquire arena lock after list_lock.  Add comment, including FIXME
5102         about incorrect synchronization.
5103         (get_free_list): Switch to free_list_lock.
5104         (reused_arena): Acquire free_list_lock around detach_arena call
5105         and attached threads counter update.  Add two FIXMEs about
5106         incorrect synchronization.
5107         (arena_thread_freeres): Switch to free_list_lock.
5108         * malloc/malloc.c (struct malloc_state): Update comments to
5109         mention free_list_lock.
5111 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
5113         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
5114         Remove functions.
5115         (sloww, sloww1): Accept argument to offset quadrant.
5116         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
5117         quadrant.
5118         (__sin, __cos): Consolidate common code into new functions.
5119         (reduce_sincos_1, do_sincos_1): New functions.
5120         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
5122         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
5123         code to new functions.
5124         (reduce_sincos_2, do_sincos_2): New functions.
5125         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
5127         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
5128         common code for sincos.
5129         (__cos) [!IN_SINCOS]: Likewise.
5130         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
5131         New function.
5132         (__sincos): Use it.
5134 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
5136         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
5137         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
5138         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
5140 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
5142         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
5143         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
5144         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
5145         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
5146         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5147         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
5148         index_Prefer_No_VZEROUPPER): New feature.
5149         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
5150         Prefer_No_VZEROUPPER for Knights Landing.
5152 015-12-18  Torvald Riegel  <triegel@redhat.com>
5154         * math/atest-exp2.c (mp_exp_m1): Remove.
5156 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5158         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
5159         syscalls.
5160         (__SYSCALL0): New macro.
5161         (__SYSCALL1): Likewise.
5162         (__SYSCALL2): Likewise.
5163         (__SYSCALL3): Likewise.
5164         (__SYSCALL4): Likewise.
5165         (__SYSCALL5): Likewise.
5166         (__SYSCALL6): Likewise.
5167         (__SYSCALL_CONCAT_X): Likewise.
5168         (__SYSCALL_CONCAT): Likewise.
5169         (__SYSCALL_DIST): Likewise.
5170         (__SYSCALL_CALL): Likewise.
5172 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
5174         [BZ #19363]
5175         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
5177 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5179         [BZ #19375]
5180         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
5181         negative subnormals.
5183 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
5185         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
5186         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
5187         (INTERNAL_SYSCALL_NCS): Use it.
5188         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
5190 2015-12-16  Florian Weimer  <fweimer@redhat.com>
5192         [BZ #19243]
5193         * malloc/arena.c (get_free_list): Remove assert and adjust
5194         reference count handling.  Add comment about reused_arena
5195         interaction.
5196         (reused_arena): Add comments abount get_free_list interaction.
5197         * malloc/tst-malloc-thread-exit.c: New file.
5198         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
5199         (tst-malloc-thread-exit): Link against libpthread.
5201 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
5203         [BZ #19367]
5204         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
5205         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
5206         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
5207         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
5208         (index_Prefer_MAP_32BIT_EXEC): Likewise.
5210 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
5212         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
5213         Silvermont optimizations for Knights Landing.
5215 2015-12-15  Andreas Schwab  <schwab@suse.de>
5217         [BZ #17197]
5218         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
5219         immediately after emitting SI.
5220         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
5221         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
5222         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
5223         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
5224         * iconvdata/bug-iconv10.c: New file.
5225         * iconvdata/Makefile (tests): Add bug-iconv10.
5226         ($(objpfx)bug-iconv10.out): New rule.
5228 2015-12-15  Florian Weimer  <fweimer@redhat.com>
5230         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
5231         aliasing violation.
5233 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
5235         [BZ #18472]
5236         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
5237         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
5238         conditionals for them.
5239         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
5240         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
5241         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
5242         sys/kdaemon.h.
5243         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
5244         compat-only syscall, obsoleted in glibc 2.23.
5245         (create_module): Likewise.
5246         (get_kernel_syms): Likewise.
5247         (query_module): Likewise.
5248         (uselib): Likewise.
5249         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
5251 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
5253         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
5254         <linux/version.h>.
5255         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
5256         conditional code.
5257         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
5258         and ioshift_name initialization.
5260 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
5262         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
5263         Fix indentation.
5265 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
5267         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
5269 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
5271         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
5273 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
5274             Jakub Wilk  <jwilk@debian.org>
5276         [BZ #19347]
5277         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
5278         to change the group of the device to the tty group.
5280 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
5282         Split large string section; add truncation advice
5283         * manual/examples/strncat.c: Remove.
5284         This example was misleading, as the code would have undefined
5285         behavior if "hello" was longer than SIZE.  Anyway, the manual
5286         shouldn't encourage strncpy+strncat for this sort of thing.
5287         * manual/string.texi (Copying Strings and Arrays): Split into
5288         three sections Copying Strings and Arrays, Concatenating Strings,
5289         and Truncating Strings, as this section was way too long.  All
5290         cross-referenced changed.  Add advice about string-truncation
5291         functions.  Remove misleading strncat example.
5293 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
5295         * manual/nss.texi (NSS Modules Interface): Document
5296         NSS_STATUS_NOTFOUND and SUCCESS.
5298 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
5300         [BZ 18568]
5301         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
5302         201505L, for Unicode 8.
5304 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
5306         * locale/C-translit.h: Regenerate.
5308 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
5310         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
5311         and U+0153.
5313 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
5315         [BZ #19351]
5316         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
5317         expanding log(1+z), compare z rather than its square with epsilon
5318         to determine when to avoid evaluating the expansion.
5320         [BZ #19350]
5321         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
5322         Increase overflow threshold.
5324         [BZ #19349]
5325         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
5326         when small.
5328         * sysdeps/unix/sysv/linux/i386/kernel-features.h
5329         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
5330         New macro.
5331         [__LINUX_KERNEL_VERSION >= 0x040300]
5332         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
5333         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
5334         Likewise.
5335         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
5336         Likewise.
5337         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
5338         Likewise.
5339         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
5340         Likewise.
5341         [__LINUX_KERNEL_VERSION >= 0x040300]
5342         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
5343         [__LINUX_KERNEL_VERSION >= 0x040300]
5344         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
5345         [__LINUX_KERNEL_VERSION >= 0x040300]
5346         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
5347         [__LINUX_KERNEL_VERSION >= 0x040300]
5348         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
5349         [__LINUX_KERNEL_VERSION >= 0x040300]
5350         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
5351         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
5352         Likewise.
5353         [__LINUX_KERNEL_VERSION >= 0x040300]
5354         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
5355         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5356         Likewise.
5357         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
5358         Likewise.
5359         [__LINUX_KERNEL_VERSION >= 0x040300]
5360         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
5361         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5362         Likewise.
5363         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
5364         Likewise.
5365         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5366         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
5367         Likewise.
5368         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
5369         Likewise.
5370         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
5371         Likewise.
5372         [__LINUX_KERNEL_VERSION >= 0x040300]
5373         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
5374         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
5375         Likewise.
5376         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
5377         Likewise.
5378         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
5379         Likewise.
5380         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
5381         Likewise.
5382         [__LINUX_KERNEL_VERSION >= 0x040300]
5383         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
5384         [__LINUX_KERNEL_VERSION >= 0x040300]
5385         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
5386         [__LINUX_KERNEL_VERSION >= 0x040300]
5387         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
5388         [__LINUX_KERNEL_VERSION >= 0x040300]
5389         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
5390         [__LINUX_KERNEL_VERSION >= 0x040300]
5391         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
5392         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
5393         Likewise.
5394         [__LINUX_KERNEL_VERSION >= 0x040300]
5395         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
5396         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5397         Likewise.
5398         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
5399         Likewise.
5400         [__LINUX_KERNEL_VERSION >= 0x040300]
5401         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
5402         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5403         Likewise.
5404         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
5405         Likewise.
5406         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5407         (__ASSUME_SOCKET_SYSCALL): Likewise.
5408         (__ASSUME_BIND_SYSCALL): Likewise.
5409         (__ASSUME_CONNECT_SYSCALL): Likewise.
5410         (__ASSUME_LISTEN_SYSCALL): Likewise.
5411         (__ASSUME_ACCEPT_SYSCALL): Likewise.
5412         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
5413         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
5414         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
5415         (__ASSUME_SEND_SYSCALL): Likewise.
5416         (__ASSUME_SENDTO_SYSCALL): Likewise.
5417         (__ASSUME_RECV_SYSCALL): Likewise.
5418         (__ASSUME_RECVFROM_SYSCALL): Likewise.
5419         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
5420         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
5421         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
5422         (__ASSUME_SENDMSG_SYSCALL): Likewise.
5423         (__ASSUME_RECVMSG_SYSCALL): Likewise.
5424         * sysdeps/unix/sysv/linux/sh/kernel-features.h
5425         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
5426         Likewise.
5427         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
5428         Likewise.
5429         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
5430         Likewise.
5431         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
5432         Likewise.
5433         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
5434         Likewise.
5435         [__LINUX_KERNEL_VERSION >= 0x020625]
5436         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
5437         [__LINUX_KERNEL_VERSION >= 0x020625]
5438         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
5439         [__LINUX_KERNEL_VERSION >= 0x020625]
5440         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
5441         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
5442         Likewise.
5443         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
5444         Likewise.
5445         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
5446         Likewise.
5447         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
5448         Likewise.
5449         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
5450         Likewise.
5451         [__LINUX_KERNEL_VERSION >= 0x020625]
5452         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
5453         [__LINUX_KERNEL_VERSION >= 0x020625]
5454         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
5455         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
5456         Likewise.
5457         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
5458         Likewise.
5460 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
5462         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
5463         record the current if the current ABI and CPU support the FP64
5464         extension.
5465         (has-modd-spreg): Define to record the current if the current ABI and
5466         CPU support 32-bit floating point values in odd FPU registers.
5467         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
5468         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
5469         $(has-modd-spreg) equals yes.
5470         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
5471         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
5472         $(has-modd-spreg) equal yes.
5474 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
5476         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
5477         basename.
5479 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
5481         * benchtests/Makefile (bench-math): Move ffs and ffsll...
5482         (bench-string): ... here.
5483         (bench): Add bench-string.
5484         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
5485         to *-benchset to reflect what they are.
5486         (benchset): Adjust.
5488         * benchtests/sincos-inputs: Add inputs from sin-inputs and
5489         cos-inputs.
5491 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
5493         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
5494         __attribute__ ((__simd__)) for vector math function declarations.
5496 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
5498         Fix typo in strncat, wcsncat manual entries
5499         * manual/string.texi (Copying and Concatenation): Fix typos in
5500         sample implementations of strncat and wcsncat, by having them use
5501         the old value of the destination length, not the new one.
5503 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
5505         [BZ #16961]
5506         [BZ #16962]
5507         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
5508         string on the stack for strtod.
5509         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
5510         a string on the stack for strtof.
5511         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
5512         constructing a string on the stack for strtold.
5513         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
5514         __strtold_nan to GLIBC_PRIVATE.
5515         * math/test-nan-overflow.c: New file.
5516         * math/test-nan-payload.c: Likewise.
5517         * math/Makefile (tests): Add test-nan-overflow and
5518         test-nan-payload.
5520 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
5522         Consistency about byte vs character in string.texi
5523         * manual/string.texi (String and Array Utilities):
5524         Distinguish more carefully among bytes, multibyte characters,
5525         and wide characters.  Use "byte" when talking about C 'char',
5526         to distinguish it more clearly from multibyte characters.
5527         Say "wide character" or "multibyte character" instead of
5528         "character", when a wide or multibyte character is intended.
5529         Similarly for "multibyte string" versus "string".
5530         Define these terms more carefully.
5532 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
5534         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
5535         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
5536         Likewise.
5537         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
5538         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
5539         * sysdeps/sh/math_private.h: New file.
5540         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
5541         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
5542         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
5543         long double function name.
5544         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
5545         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5546         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
5547         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
5548         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5549         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
5550         Remove __finitel, __isinfl, and __isnanl.
5551         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
5552         Likewise.
5553         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
5554         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5555         Remove __finitel.
5556         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5557         Likewise.
5558         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5560 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
5562         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
5563         installed libmvec_nonshared.a.
5565 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5567         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
5568         (sysdep_routines): Likewise.
5569         (sysdep-rtld-routines): Likewise.
5570         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
5571         [$(subdir) = nptl](tests-static): test-get_hwcap-static
5572         * sysdeps/powerpc/Versions: Added new
5573         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
5574         * sysdeps/powerpc/hwcapinfo.c: New file.
5575         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
5576         and parse hwcap, hwcap2 and platform number information.
5577         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
5578         to store HWCAP+HWCAP2 and platform number.
5579         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
5580         for HWCAP+HWCAP2 and platform number in the TCB.
5581         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
5582         the HWCAP, HWCAP2 and platform number in the TCB.
5583         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
5584         (TLS_INIT_TP): Included calls to add the hwcap and
5585         at_platform values in the TCB in TP initialization.
5586         (TLS_DEFINE_INIT_TP): Likewise.
5587         (THREAD_GET_HWCAP): New macro.
5588         (THREAD_SET_HWCAP): Likewise.
5589         (THREAD_GET_AT_PLATFORM): Likewise.
5590         (THREAD_SET_AT_PLATFORM): Likewise.
5591         * sysdeps/powerpc/powerpc32/dl-machine.h:
5592         (dl_platform_init): New function that calls
5593         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
5594         powerpc32.
5595         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
5596         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
5597         this functionality, static linking case.
5598         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
5599         linking case.
5600         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
5601         __parse_hwcap_and_convert_at_platform for the static linking case.
5602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
5603         Included the new __parse_hwcap_and_convert_at_platform symbol in the
5604         ABI list for GLIBC 2.23.
5605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
5606         Likewise.
5607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
5608         Likewise.
5610 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
5612         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
5613         * configure: Regenerate.
5614         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
5615         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
5617 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
5619         * iconvdata/ibm930.c: Add comment explaining encoding uses.
5620         * iconvdata/ibm933.c: Likewise.
5621         * iconvdata/ibm935.c: Likewise.
5622         * iconvdata/ibm937.c: Likewise.
5623         * iconvdata/ibm939.c: Likewise.
5625 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5627         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
5628         pthread_join.
5629         * nptl/tst-cancel21.c (tf): Likewise.
5631 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
5633         [BZ #19313]
5634         * bits/typesizes.h (__CPU_MASK_TYPE): New.
5635         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
5636         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
5637         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
5638         Likewise.
5639         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
5640         Likewise.
5641         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
5642         Likewise.
5643         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
5644         Likewise.
5645         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
5646         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
5647         unsigned long int with __CPU_MASK_TYPE.
5649 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5651         * sysdeps/aarch64/libm-test-ulps: Regenerated.
5653 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
5655         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
5656         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
5657         t512.x.
5658         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
5660 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
5662         [BZ #19214]
5663         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
5664         argument to return extended model.  Update family and model
5665         with extended family and model when family == 0x0f.
5666         (init_cpu_features): Updated.
5668 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5670         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
5671         signed off_t, so 32bit bigger than 2GiB values are fine actually.
5673         * sysdeps/mach/hurd/mmap64.c: New file.
5675 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
5677         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
5678         rights for its main user thread in NEWTASK.
5680 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
5682         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
5683         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
5685 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
5687         [BZ #14259]
5688         * Makeconfig: Rename localedir to complocaledir.
5689         Rename inst_localedir to inst_complocaledir.
5690         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
5691         * config.make.in: Use complocaledir and libc_cv_complocaledir.
5692         * configure.ac: Use libc_cv_complocaledir.
5693         * configure: Regenerate.
5694         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
5695         -DCOMPLOCALEDIR.
5696         * locale/findlocale.c: Use COMPLOCALEDIR.
5697         * locale/loadarchive.c: Likewise.
5698         * locale/programs/locale.c: Likewise.
5699         * locale/programs/localedef.c: Likewise.
5700         * locale/programs/locarchive.c: Likewise.
5701         * localedata/Makefile: Use inst_complocaledir.
5702         * sysdeps/gnu/configure: Regenerate.
5703         * sysdeps/hppa/configure: Regenerate.
5704         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
5705         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
5706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
5707         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
5708         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
5709         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
5710         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
5712 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
5714         [BZ #19058]
5715         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
5716         AS_NEEDED.
5717         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
5718         workaround.
5719         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
5720         libmvec-static-only-routines): Added new file.
5721         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
5723 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5725         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
5726         of interrupted RPC instead of restoring it.
5728         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
5729         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
5730         libc_hidden_def.
5731         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
5732         into initialized data instead of common. Define rtld_hidden_data_def.
5733         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
5734         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
5735         libc_hidden_def.
5736         (if_freenameindex): Add libc_hidden_weak.
5737         (if_nameindex): Add libc_hidden_weak.
5738         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
5739         __open64.
5740         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
5741         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
5742         * sysdeps/mach/nanosleep.c: Include <time.h>
5743         (__nanosleep): Rename to __libc_nanosleep.
5744         (__nanosleep): Add weak_alias.
5745         (nanosleep): Update alias.
5747 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
5749         * stdlib/strtod_nan.c: New file.
5750         * stdlib/strtod_nan_double.h: Likewise.
5751         * stdlib/strtod_nan_float.h: Likewise.
5752         * stdlib/strtod_nan_main.c: Likewise.
5753         * stdlib/strtod_nan_narrow.h: Likewise.
5754         * stdlib/strtod_nan_wide.h: Likewise.
5755         * stdlib/strtof_nan.c: Likewise.
5756         * stdlib/strtold_nan.c: Likewise.
5757         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
5758         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
5759         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
5760         * wcsmbs/wcstod_nan.c: Likewise.
5761         * wcsmbs/wcstof_nan.c: Likewise.
5762         * wcsmbs/wcstold_nan.c: Likewise.
5763         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
5764         strtold_nan.
5765         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
5766         wcstof_nan.
5767         * include/stdlib.h (__strtof_nan): Declare and use
5768         libc_hidden_proto.
5769         (__strtod_nan): Likewise.
5770         (__strtold_nan): Likewise.
5771         (__wcstof_nan): Likewise.
5772         (__wcstod_nan): Likewise.
5773         (__wcstold_nan): Likewise.
5774         * include/wchar.h (____wcstoull_l_internal): Declare.
5775         * stdlib/strtod_l.c: Do not include <ieee754.h>.
5776         (____strtoull_l_internal): Remove declaration.
5777         (STRTOF_NAN): Define macro.
5778         (SET_MANTISSA): Remove macro.
5779         (STRTOULL): Likewise.
5780         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
5781         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
5782         (STRTOF_NAN): Define macro.
5783         (SET_MANTISSA): Remove macro.
5784         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
5785         (SET_MANTISSA): Remove macro.
5786         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
5787         macro.
5788         (SET_MANTISSA): Remove macro.
5789         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
5790         macro.
5791         (SET_MANTISSA): Remove macro.
5792         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
5793         (SET_MANTISSA): Remove macro.
5794         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
5795         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
5796         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
5798         [BZ #19266]
5799         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
5800         upper case and lower case letters inside NAN(), not using TOLOWER.
5801         * stdlib/tst-strtod-nan-locale-main.c: New file.
5802         * stdlib/tst-strtod-nan-locale.c: Likewise.
5803         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
5804         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
5805         Depend on $(gen-locales).
5806         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
5807         * wcsmbs/tst-wcstod-nan-locale.c: New file.
5808         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
5809         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
5810         Depend on $(gen-locales).
5811         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
5813 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
5815         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
5817         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
5818         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
5819         __finitel, __isinfl, and __isnanl.
5820         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
5821         Likewise.
5822         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
5823         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
5824         __finitel.
5825         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5826         Likewise.
5827         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5829 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
5831         * malloc/memusage.c (me): Remove redundant getenv call.
5833 2015-10-24  Florian Weimer  <fweimer@redhat.com>
5835         [BZ #19143]
5836         [BZ #19164]
5837         * nptl/check-cpuset.h: Remove.
5838         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
5839         Remove CPU set size check.
5840         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
5841         Likewise.
5842         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
5843         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
5844         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
5845         (__pthread_setaffinity_new): Remove CPU set size check.
5846         * sysdeps/unix/sysv/linux/sched_setaffinity.c
5847         (__kernel_cpumask_size): Remove.
5848         (__sched_setaffinity_new): Remove CPU set size check.
5849         * manual/threads.texi (Default Thread Attributes): Remove stale
5850         reference to check_cpuset_attr, determine_cpumask_size in comment.
5851         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
5852         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
5853         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
5854         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
5855         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
5856         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
5857         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
5858         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
5859         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
5860         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
5861         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
5862         skeleton test file.
5863         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
5864         tst-affinity-pid.
5866 2015-11-24  Florian Weimer  <fweimer@redhat.com>
5868         * scripts/update-abilist.sh: New file.
5869         * Makefile (+subdir_targets): Add subdir_update-all-abi.
5870         * Makerules (update-all-abi-%, update-all-abi)
5871         (subdir_update-all-abi): New targets.
5872         * elf/Makefile (update-all-abi): New target.
5874 2015-11-24  Florian Weimer  <fweimer@redhat.com>
5876         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
5877         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
5878         (__libc_lock_define_initialized): Use it.
5879         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
5880         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
5881         * malloc/malloc.c (main_arena): Likewise.
5882         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
5883         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
5885 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
5887         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
5888         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
5889         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
5890         (PTRACE_O_MASK): Update value.
5891         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
5892         New value in enum __ptrace_setoptions.
5893         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
5894         (PTRACE_O_MASK): Update value.
5895         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
5896         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
5897         (PTRACE_O_MASK): Update value.
5898         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
5899         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
5900         (PTRACE_O_MASK): Update value.
5901         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
5902         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
5903         (PTRACE_O_MASK): Update value.
5904         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
5905         New value in enum __ptrace_setoptions.
5906         (PTRACE_O_MASK): Update value.
5907         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
5908         New value in enum __ptrace_setoptions.
5909         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
5910         (PTRACE_O_MASK): Update value.
5912         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
5913         New macro.
5914         (PACKET_AUXDATA): Likewise.
5915         (PACKET_ORIGDEV): Likewise.
5916         (PACKET_VERSION): Likewise.
5917         (PACKET_HDRLEN): Likewise.
5918         (PACKET_RESERVE): Likewise.
5919         (PACKET_TX_RING): Likewise.
5920         (PACKET_LOSS): Likewise.
5921         (PACKET_VNET_HDR): Likewise.
5922         (PACKET_TX_TIMESTAMP): Likewise.
5923         (PACKET_TIMESTAMP): Likewise.
5924         (PACKET_FANOUT): Likewise.
5925         (PACKET_TX_HAS_OFF): Likewise.
5926         (PACKET_QDISC_BYPASS): Likewise.
5927         (PACKET_ROLLOVER_STATS): Likewise.
5928         (PACKET_FANOUT_DATA): Likewise.
5929         (PACKET_MR_UNICAST): Likewise.
5931         [BZ #19242]
5932         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
5933         (TOUPPER): Likewise.
5934         * stdlib/tst-strtol-locale-main.c: New file.
5935         * stdlib/tst-strtol-locale.c: Likewise.
5936         * stdlib/Makefile (tests): Add tst-strtol-locale.
5937         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
5938         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
5939         Depend on $(gen-locales).
5940         * wcsmbs/tst-wcstol-locale.c: New file.
5941         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
5942         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
5943         tr_TR.ISO-8859-9.
5944         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
5945         Depend on $(gen-locales).
5947 2015-11-20  Roland McGrath  <roland@hack.frob.com>
5949         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
5950         __glibc_likely instead of __builtin_expect.  After falling back to
5951         dyncode_create in a non-ET_DYN case, use the allocate_code_data
5952         system interface to register the code pages as occupied.
5954 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
5956         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
5957         [!ARM_MATH_PRIVATE_H].
5958         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
5959         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
5960         [!HPPA_MATH_PRIVATE_H].
5961         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
5962         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
5963         to [!I386_MATH_PRIVATE_H].
5964         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
5965         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
5966         Change guard to [!M68K_MATH_PRIVATE_H].
5967         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
5968         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
5969         guard to [!MICROBLAZE_MATH_PRIVATE_H].
5970         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
5971         macro.
5972         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
5973         [!MIPS_MATH_PRIVATE_H].
5974         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
5975         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
5976         [!NIO2_MATH_PRIVATE_H].
5977         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
5978         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
5979         [!TILE_MATH_PRIVATE_H].
5980         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
5982         [BZ #15421]
5983         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
5984         initialize with 0 and define as weak alias of __signgam.
5985         * include/math.h [!_ISOMAC] (__signgam): Declare.
5986         * math/Makefile (libm-calls): Add w_lgamma_compat.
5987         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
5988         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
5989         test-signgam-ullong-init.
5990         (tests-static): Add test-signgam-uchar-static,
5991         test-signgam-uchar-init-static, test-signgam-uint-static,
5992         test-signgam-uint-init-static, test-signgam-ullong-static and
5993         test-signgam-ullong-init-static.
5994         (CFLAGS-test-signgam-uchar.c): New variable.
5995         (CFLAGS-test-signgam-uchar-init.c): Likewise.
5996         (CFLAGS-test-signgam-uchar-static.c): Likewise.
5997         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
5998         (CFLAGS-test-signgam-uint.c): Likewise.
5999         (CFLAGS-test-signgam-uint-init.c): Likewise.
6000         (CFLAGS-test-signgam-uint-static.c): Likewise.
6001         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
6002         (CFLAGS-test-signgam-ullong.c): Likewise.
6003         (CFLAGS-test-signgam-ullong-init.c): Likewise.
6004         (CFLAGS-test-signgam-ullong-static.c): Likewise.
6005         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
6006         * math/Versions (libm): Add GLIBC_2.23.
6007         * math/lgamma-compat.h: New file.
6008         * math/test-signgam-main.c: Likewise.
6009         * math/test-signgam-uchar-init-static.c: Likewise.
6010         * math/test-signgam-uchar-init.c: Likewise.
6011         * math/test-signgam-uchar-static.c: Likewise.
6012         * math/test-signgam-uchar.c: Likewise.
6013         * math/test-signgam-uint-init-static.c: Likewise.
6014         * math/test-signgam-uint-init.c: Likewise.
6015         * math/test-signgam-uint-static.c: Likewise.
6016         * math/test-signgam-uint.c: Likewise.
6017         * math/test-signgam-ullong-init-static.c: Likewise.
6018         * math/test-signgam-ullong-init.c: Likewise.
6019         * math/test-signgam-ullong-static.c: Likewise.
6020         * math/test-signgam-ullong.c: Likewise.
6021         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
6022         wrapper of w_lgamma_main.c.
6023         * math/w_lgamma_compat.c: New file.
6024         * math/w_lgamma_compatf.c: Likewise.
6025         * math/w_lgamma_compatl.c: Likewise.
6026         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
6027         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
6028         defining compatibility symbols.
6029         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
6030         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
6031         wrapper of w_lgammaf_main.c.
6032         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
6033         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
6034         defining compatibility symbols.
6035         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
6036         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
6037         wrapper of w_lgammal_main.c.
6038         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
6039         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
6040         defining compatibility symbols.
6041         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
6042         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
6043         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
6044         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
6045         <lgamma-compat.h>.
6046         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
6047         (__ieee754_gamma): Define as alias.
6048         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
6049         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
6050         <lgamma-compat.h>.
6051         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
6052         (__ieee754_gammaf): Define as alias.
6053         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
6054         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
6055         <lgamma-compat.h>.
6056         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
6057         (__ieee754_gammal): Define as alias.
6058         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
6059         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
6060         <math/w_lgamma_compat.c>.
6061         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
6062         Define as alias of __lgamma_compat and use in defining lgammal.
6063         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
6064         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
6065         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
6066         (USE_AS_COMPAT): New macro.
6067         (LGAMMA_OLD_VER): Undefine and redefine.
6068         (lgammal): Do not define here.
6069         (gammal): Only define here if [GAMMA_ALIAS].
6070         * conform/linknamespace.pl (@whitelist): Remove signgam.
6071         * sysdeps/nacl/libm.abilist: Update.
6072         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6073         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6074         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6075         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6076         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6077         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6078         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6079         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6080         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6081         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6082         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6083         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6085         Likewise.
6086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6087         Likewise.
6088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6089         Likewise.
6090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6091         Likewise.
6092         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6093         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6094         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6095         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6096         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6097         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6098         Likewise.
6099         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6100         Likewise.
6101         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6102         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6103         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6105 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6107         [BZ #16364]
6108         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
6109         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
6111 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6113         * sysdeps/s390/fpu/bits/mathinline.h:
6114         Use __asm__ [__volatile__] instead of asm [volatile].
6115         * sysdeps/s390/abort-instr.h: Likewise.
6116         * sysdeps/s390/atomic-machine.h: Likewise.
6117         * sysdeps/s390/bits/string.h: Likewise.
6118         * sysdeps/s390/dl-tls.h: Likewise.
6119         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
6120         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
6121         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
6122         * sysdeps/s390/fpu/fesetround.c: Likewise.
6123         * sysdeps/s390/fpu/fpu_control.h: Likewise.
6124         * sysdeps/s390/fpu/s_fma.c: Likewise.
6125         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
6126         * sysdeps/s390/memusage.h: Likewise.
6127         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
6128         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
6129         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
6130         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
6131         * sysdeps/s390/nptl/tls.h: Likewise.
6132         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
6133         * sysdeps/s390/s390-32/backtrace.c: Likewise.
6134         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
6135         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
6136         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
6137         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
6138         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
6139         * sysdeps/s390/s390-64/backtrace.c: Likewise.
6140         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
6141         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
6142         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
6143         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
6144         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
6145         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
6146         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
6147         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
6148         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
6149         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
6150         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
6151         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6152         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
6153         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6154         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
6156 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6157             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6159         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
6160         Add lwarx hint, and use macro for acquire instruction.
6161         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
6162         Likewise.
6163         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
6164         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
6165         update to use new atomic macros.
6167 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6169         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
6170         (__lll_trylock_elision): Fix setting of adapt_count.
6171         * sysdeps/unix/sysv/linux/powerpc/htm.h
6172         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
6173         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
6174         (_ABORT_SYSCALL): Renumber, and clarify definition.
6175         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
6177 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6179         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
6180         after system headers to prevent MIN/MAX redefinition.  Define
6181         HAVE_ALLOCA to preserve builtin alloca usage.
6183 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
6185         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
6186         static and don't set or restore rounding.
6187         (__cos)[IN_SINCOS]: Likewise.
6188         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
6189         (__sincos): Set and restore rounding mode.  Remove check for infinite
6190         or NaN input.
6192         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
6194         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
6195         as used.
6197 2015-11-16  Florian Weimer  <fweimer@redhat.com>
6199         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
6201 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
6203         * config.make.in (have-glob-dat-reloc): New.
6204         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
6205         target supports GLOB_DAT relocaton. AC_SUBST.
6206         * configure: Regenerated.
6207         * elf/Makefile (tests): Add tst-prelink.
6208         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
6209         (tst-prelink-ENV): New.
6210         ($(objpfx)tst-prelink-conflict.out): Likewise.
6211         ($(objpfx)tst-prelink-cmp.out): Likewise.
6212         * sysdeps/x86/tst-prelink.c: Moved to ...
6213         * elf/tst-prelink.c: Here.
6214         * sysdeps/x86/tst-prelink.exp: Moved to ...
6215         * elf/tst-prelink.exp: Here.
6216         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
6217         (tst-prelink-ENV): Removed.
6218         ($(objpfx)tst-prelink-conflict.out): Likewise.
6219         ($(objpfx)tst-prelink-cmp.out): Likewise.
6220         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
6222 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
6224         [BZ #14551]
6225         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
6226         (__mpn_construct_long_double): If high part overflows to infinity,
6227         set errno and recompute overflowed result of the correct sign.
6228         * sysdeps/ieee754/ldbl-128ibm/Makefile
6229         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
6230         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
6231         $(libm).
6232         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
6234 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
6236         [BZ #15479]
6237         [BZ #19238]
6238         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
6239         floating-point state after first operation on input.  Restore full
6240         state rather than just rounding mode.
6241         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
6242         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
6243         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
6245         [BZ #19235]
6246         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
6247         add 0.5 to integer arguments.
6248         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
6249         Likewise.
6250         (.LC2): New object.
6252 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
6254         * scripts/pylintrc (reports): Set to no.
6256 2015-11-10  Roland McGrath  <roland@hack.frob.com>
6258         * elf/dl-load.c (open_verify): Take new argument FD.
6259         Skip __open call if passed FD is not -1.
6260         (_dl_map_object, open_path): Update callers.
6261         * elf/dl-sysdep-open.h: New file.
6262         * elf/dl-load.c: Include it.
6263         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
6264         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
6265         * sysdeps/nacl/dl-sysdep-open.h: New file.
6266         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
6267         from libc to rtld.
6269 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
6271         [BZ #19228]
6272         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
6273         and restore full floating-point state.
6274         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
6275         Likewise.
6276         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
6277         Likewise.
6278         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
6279         Likewise.
6280         * math/test-nearbyint-except-2.c: New file.
6281         * math/Makefile (tests): Add test-nearbyint-except-2.
6283 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
6285         [BZ #19178]
6286         * sysdeps/x86/Makefile (tests): Add tst-prelink.
6287         (tst-prelink-ENV): New.
6288         ($(objpfx)tst-prelink-conflict.out): Likewise.
6289         ($(objpfx)tst-prelink-cmp.out): Likewise.
6290         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
6291         * sysdeps/x86/tst-prelink.c: New file.
6292         * sysdeps/x86/tst-prelink.exp: Likewise.
6294 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
6296         * math/auto-libm-test-in: Add another test of pow.
6297         * math/auto-libm-test-out: Regenerated.
6298         * math/libm-test.inc (pow_test_data): Add another test.
6300 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6302         [BZ #19219]
6303         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
6304         weak_alias to nearbyintl.
6306 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
6308         * sysdeps/aarch64/bits/string.h: New file.
6309         (_STRING_ARCH_unaligned): Define.
6311 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
6313         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
6314         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
6315         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
6316         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
6317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
6319 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
6321         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
6322         for original name of the DSO.  Add it to the name list of the DSO
6323         if it is actually given.
6324         (_dl_map_object): Keep track of whether an audit module rewrote
6325         the file name.  If yes, pass the original name to
6326         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
6327         debugging is enabled, log the change of the file name.
6328         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
6329         _dl_map_object_from_fd.
6330         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
6331         * elf/tst-audit11.c: New file
6332         * elf/tst-auditmod11.c: New file.
6333         * elf/tst-audit11mod1.c: New file.
6334         * elf/tst-audit11mod2.c: New file.
6335         * elf/tst-audit11mod2.map: New file.
6336         * elf/tst-audit12.c: New file
6337         * elf/tst-auditmod12.c: New file.
6338         * elf/tst-audit12mod1.c: New file.
6339         * elf/tst-audit12mod2.c: New file.
6340         * elf/tst-audit12mod2.map: New file.
6341         * elf/tst-audit12mod3.c: New file.
6343 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
6345         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
6346         Don't create weak aliases,
6347         because versioned symbols are created later.
6348         * sysdeps/s390/s390-32/setjmp.S
6349         (setjmp, _setjmp): Remove weak and rename to an unique name
6350         in SHARED case due to existing versioned symbols.
6351         * sysdeps/s390/s390-64/setjmp.S: Likewise.
6352         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
6353         (getcontext): Create weak alias only in non SHARED case.
6354         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
6356 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
6358         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
6359         (__ASSUME_*_SYSCALL) Define new macros.
6360         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
6361         Remove socketcall syscalls.
6362         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
6363         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
6364         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
6365         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
6366         * sysdeps/unix/sysv/linux/send.c (__libc_send):
6367         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
6369 2015-11-09  Florian Weimer  <fweimer@redhat.com>
6371         [BZ #12926]
6372         Terminate process on invalid netlink response.
6373         * sysdeps/unix/sysv/linux/netlinkaccess.h
6374         (__netlink_assert_response): Declare.
6375         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
6376         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
6377         (sysdep_routines): Add netlink_assert_response.
6378         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
6379         __netlink_assert_response.
6380         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
6381         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
6382         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
6383         __netlink_assert_response.
6385 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
6387         [BZ #19178]
6388         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
6389         (RTYPE_CLASS_PLT): Likewise.
6390         (RTYPE_CLASS_COPY): Likewise.
6391         (RTYPE_CLASS_TLS): Likewise.
6392         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
6393         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
6394         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
6395         DL_DEBUG_PRELINK.
6397 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
6399         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
6400         calls with argument -0.5.
6401         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
6403         * configure.ac (libc_cv_z_nodelete): Remove configure test.
6404         (libc_cv_z_nodlopen): Likewise.
6405         (libc_cv_z_initfirst): Likewise.
6406         * configure: Regenerated.
6408 2015-11-06  Florian Weimer  <fweimer@redhat.com>
6410         Simplify abilist format to be line-based.
6411         * scripts/abilist.awk: Collect descriptors in the descs variable.
6412         (emit): Write descs variable and sort it
6413         externally, with sort.
6414         * sysdeps/**/*.abilist: Convert to new format.
6416 2015-11-06  Mark Wielaard  <mjw@redhat.com>
6418         [BZ #11460]
6419         * io/Makefile (routines): Add fts64.
6420         (tests): Add tst-fts and tst-fts-lfs.
6421         (CFLAGS-fts64.c): New.
6422         * io/Versions (GLIBC_2.23): New.
6423         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
6424         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
6425         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
6426         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
6427         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
6428         (FTSENT64): Likewise.
6429         (fts64_children): Likewise.
6430         (fts64_close): Likewise.
6431         (fts64_open): Likewise.
6432         (fts64_read): Likewise.
6433         (fts64_set): Likewise.
6434         * io/fts64.c: New file.
6435         * io/tst-fts.c: New test.
6436         * io/tst-fts-lfs.c: Likewise.
6437         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
6438         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
6439         fts64_set.
6440         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
6441         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
6442         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
6443         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
6444         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
6445         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
6446         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
6447         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
6448         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
6449         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
6450         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
6451         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
6452         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
6453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
6454         Likewise.
6455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6456         Likewise.
6457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
6458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
6459         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6460         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6461         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
6462         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6463         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6464         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
6465         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
6466         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
6467         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
6468         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
6469         * sysdeps/wordsize-64/fts.c: New file.
6470         * sysdeps/wordsize-64/fts64.c: Likewise.
6471         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
6472         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
6473         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
6474         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
6476 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
6478         * math/libm-test.inc (NON_FINITE): New macro.
6479         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
6480         * math/gen-libm-test.pl (show_exceptions): Add argument
6481         $non_finite.
6482         (parse_args): Update call to show_exceptions.
6483         * math/test-math-finite.h: New file.
6484         * math/test-math-no-finite.h: Likewise.
6485         * math/test-double-finite.c: Likewise.
6486         * math/test-float-finite.c: Likewise.
6487         * math/test-ldouble-finite.c: Likewise.
6488         * math/test-double.c: Include "test-math-no-finite.h".
6489         * math/test-float.c: Include "test-math-no-finite.h".
6490         * math/test-ldouble.c: Include "test-math-no-finite.h".
6491         * math/test-math-inline.h (TEST_FINITE): New macro.
6492         * math/test-math-vector.h (TEST_FINITE): Likewise.
6493         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
6494         (libm-tests): Add test-float-finite and test-double-finite.
6495         ($(objpfx)test-float-finite.o): New dependency on
6496         $(objpfx)libm-test.stmp.
6497         ($(objpfx)test-double-finite.o): Likewise.
6498         ($(objpfx)test-ldouble-finite.o): Likewise.
6499         (libm-test-no-inline-cflags): New variable.
6500         (libm-test-finite-cflags): Likewise.
6501         (CFLAGS-test-float-finite.c): Likewise.
6502         (CFLAGS-test-double-finite.c): Likewise.
6503         (CFLAGS-test-ldouble-finite.c): Likewise.
6504         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
6505         (CFLAGS-test-double.c): Likewise.
6506         (CFLAGS-test-ldouble.c): Likewise.
6508 2015-11-05  Roland McGrath  <roland@hack.frob.com>
6510         * io/fcntl.c (__fcntl): Add ... to prototype.
6511         * misc/ioctl.c (__ioctl): Likewise.
6512         * misc/syscall.c (syscall): Likewise.
6514 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
6516         * scripts/list-fixed-bugs.py: New file.
6518         [BZ #19213]
6519         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
6520         returned for argument 1.
6521         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
6522         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
6523         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
6524         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
6525         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
6526         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
6528         [BZ #19211]
6529         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
6530         __USE_XOPEN], not if [!__USE_ISOC99].
6531         (lgammaf): Likewise.
6532         (lgammal): Likewise.
6533         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
6534         (gammaf): Likewise.
6535         (gammal): Likewise.
6536         * math/test-signgam-finite-c11.c: New file.
6537         * math/test-signgam-finite-c99.c: Likewise.
6538         * math/test-signgam-finite.c: Likewise.
6539         * math/Makefile (tests): Add test-signgam-finite,
6540         test-signgam-finite-c99 and test-signgam-finite-c11.
6541         (CFLAGS-test-signgam-finite.c): New variable.
6542         (CFLAGS-test-signgam-finite-c99.c): Likewise.
6543         (CFLAGS-test-signgam-finite-c11.c): Likewise.
6545         [BZ #19212]
6546         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
6547         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
6548         500].
6549         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
6550         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
6551         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
6552         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
6553         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
6554         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
6555         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
6556         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
6557         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
6558         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
6560         [BZ #19209]
6561         * math/bits/math-finite.h (ldexp): Remove declaration.
6562         (ldexpf): Likewise.
6563         (ldexpl): Likewise.
6565         [BZ #19205]
6566         * math/bits/math-finite.h (acosf): Condition declaration on
6567         [__USE_ISOC99].
6568         (acosl): Likewise.
6569         (acoshf): Likewise.
6570         (acoshl): Likewise.
6571         (asinf): Likewise.
6572         (asinl): Likewise.
6573         (atan2f): Likewise.
6574         (atan2l): Likewise.
6575         (atanhf): Likewise.
6576         (atanhl): Likewise.
6577         (coshf): Likewise.
6578         (coshl): Likewise.
6579         (expf): Likewise.
6580         (expl): Likewise.
6581         (fmodf): Likewise.
6582         (fmodl): Likewise.
6583         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
6584         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
6585         (j0l): Likewise.
6586         (y0f): Likewise.
6587         (y0l): Likewise.
6588         (j1f): Likewise.
6589         (j1l): Likewise.
6590         (y1f): Likewise.
6591         (y1l): Likewise.
6592         (jnf): Likewise.
6593         (jnl): Likewise.
6594         (ynf): Likewise.
6595         (ynl): Likewise.
6596         (lgammaf_r): Condition declaration on [__USE_ISOC99].
6597         (lgammal_r): Likewise.
6598         (__lgamma_r_finite): New declaration.
6599         (__lgammaf_r_finite): Likewise.
6600         (__lgammal_r_finite): Likewise.
6601         (lgamma): Use __lgamma_r_finite.
6602         (lgammaf): Condition definition on [__USE_ISOC99].  Use
6603         __lgammaf_r_finite.
6604         (lgammal): Condition definition on [__USE_ISOC99].  Use
6605         __lgammal_r_finite.
6606         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
6607         __lgamma_r_finite.
6608         (gammaf): Condition definition on [__USE_ISOC99].  Use
6609         __lgammaf_r_finite.
6610         (gammal): Condition definition on [__USE_ISOC99].  Use
6611         __lgammal_r_finite.
6612         (logf): Condition declaration on [__USE_ISOC99].
6613         (logl): Likewise.
6614         (log10f): Likewise.
6615         (log10l): Likewise.
6616         (ldexpf): Likewise.
6617         (ldexpl): Likewise.
6618         (powf): Likewise.
6619         (powl): Likewise.
6620         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
6621         __USE_ISOC99].
6622         (remainderf): Condition declaration on [__USE_ISOC99].
6623         (remainderl): Likewise.
6624         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
6625         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
6626         (scalbl): Likewise.
6627         (sinhf): Condition declaration on [__USE_ISOC99].
6628         (sinhl): Likewise.
6629         (sqrtf): Likewise.
6630         (sqrtl): Likewise.
6632 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
6634         * sysdeps/arm/atomic-machine.h
6635         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
6636         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
6637         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
6638         Remove conditional code.
6639         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
6640         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
6641         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
6642         Change conditional to [__ASSEMBLER__].
6643         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
6644         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
6645         [!__ASSEMBLER__].
6646         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
6647         code.
6648         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
6649         conditional macro definitions.
6650         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
6651         (__arch_compare_and_exchange_val_16_acq): Likewise.
6652         (__arch_compare_and_exchange_val_32_acq): Likewise.
6653         (atomic_exchange_and_add): Likewise.
6654         (atomic_add): Likewise.
6655         (atomic_add_negative): Likewise.
6656         (atomic_add_zero): Likewise.
6657         (atomic_bit_set): Likewise.
6658         (atomic_bit_test_set): Likewise.
6659         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
6660         code unconditional.
6661         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
6663         * math/test-math-errno.h: New file.
6664         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
6665         empty.
6666         (TEST_ERRNO): New macro.
6667         (TEST_EXCEPTIONS): Likewise.
6668         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
6669         (TEST_EXCEPTIONS): Likewise.
6670         * math/test-math-vector.h (TEST_ERRNO): Likewise.
6671         * math/test-double.c: Include "test-math-errno.h".
6672         * math/test-float.c: Likewise.
6673         * math/test-ldouble.c: Likewise.
6674         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
6675         code unconditional.
6676         (test_exceptions): Only run code if TEST_EXCEPTIONS.
6677         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
6678         unconditional.
6679         (test_errno): Only run code if TEST_ERRNO.
6680         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
6682 2015-11-04  Florian Weimer  <fweimer@redhat.com>
6684         * nptl/tst-once5.cc: Remove attribution.
6686 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
6688         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
6689         sqrt, tan, tanh, y0, y1 and yn.
6690         * math/auto-libm-test-out: Regenerated.
6691         * math/libm-test.inc (scalb_test_data): Add more tests.
6692         (scalbn_test_data): Likewise.
6693         (scalbln_test_data): Likewise.
6694         (signbit_test_data): Likewise.
6695         (sin_test_data): Likewise.
6696         (sincos_test_data): Likewise.
6697         (sinh_test_data): Likewise.
6698         (sqrt_test_data): Likewise.
6699         (tan_test_data): Likewise.
6700         (tanh_test_data): Likewise.
6701         (tgamma_test_data): Likewise.
6702         (y0_test_data): Likewise.
6703         (y1_test_data): Likewise.
6704         (yn_test_data): Likewise.
6705         (significand_test_data): Likewise.
6706         * sysdeps/i386/fpu/libm-test-ulps: Update.
6708 2015-11-03  David Kastrup  <dak@gnu.org>
6710         [BZ #18604]
6711         * assert/assert.h (assert): Don't macro-expand failed assertion
6712         expression in error message.
6713         * malloc/malloc.c (assert): Likewise.
6715 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
6717         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
6718         test.
6719         * configure: Regenerated.
6721 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
6723         * math/libm-test.inc (modf_test_data): Add more tests.
6724         (nearbyint_test_data): Likewise.
6725         (nextafter_test_data): Likewise.
6726         (nexttoward_test_data): Likewise.
6727         (pow_test_data): Likewise.
6728         (remainder_test_data): Likewise.
6729         (remquo_test_data): Likewise.
6730         (rint_test_data): Likewise.
6732         [BZ #19201]
6733         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
6734         Check for zero remainder in case of large exponents and ensure
6735         correct sign of result in that case.
6736         * math/libm-test.inc (remainder_test_data): Add more tests.
6738         [BZ #6799]
6739         * math/s_nextafter.c: Include <errno.h>.
6740         (__nextafter): Set errno on overflow and underflow.
6741         * math/s_nexttowardf.c: Include <errno.h>.
6742         (__nexttowardf): Set errno on overflow and underflow.
6743         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
6744         (__nextafterl): Set errno on overflow and underflow.
6745         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
6746         (__nexttoward): Set errno on overflow and underflow.
6747         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
6748         (__nexttowardf): Set errno on overflow and underflow.
6749         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
6750         (__nextafterf): Set errno on overflow and underflow.
6751         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
6752         (__nextafterl): Set errno on overflow and underflow.
6753         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
6754         (__nexttoward): Set errno on overflow and underflow.
6755         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
6756         (__nexttowardf): Set errno on overflow and underflow.
6757         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
6758         (__nextafterl): Set errno on overflow and underflow.
6759         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
6760         (__nexttoward): Set errno on overflow and underflow.
6761         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
6762         (__nexttowardf): Set errno on overflow and underflow.
6763         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
6764         (__nexttoward): Set errno on overflow and underflow.
6765         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
6766         (__nexttowardf): Set errno on overflow and underflow.
6767         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
6768         (__nldbl_nexttowardf): Set errno on overflow and underflow.
6769         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
6770         (__nextafterl): Set errno on overflow and underflow.
6771         * math/libm-test.inc (nextafter_test_data): Do not allow errno
6772         setting to be missing on overflow.  Add more tests.
6773         (nexttoward_test_data): Likewise.
6775         * configure.ac (libc_cv_initfini_array): Remove configure test.
6776         * configure: Regenerated.
6778 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
6780         [BZ #19189]
6781         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
6782         non-finite argument handle arguments with negative sign.
6784         * math/libm-test.inc (j0_test_data): Do not test sign of zero
6785         result from infinite argument.
6786         (j1_test_data): Likewise.
6787         (jn_test_data): Likewise.
6788         (y0_test_data): Likewise.
6789         (y1_test_data): Likewise.
6790         (yn_test_data): Likewise.
6792         [BZ #16171]
6793         * math/w_remainder.c (drem): Define as weak alias of __remainder.
6794         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
6795         * math/w_remainderf.c (dremf): Define as weak alias of
6796         __remainderf.
6797         * math/w_remainderl.c (dreml): Define as weak alias of
6798         __remainderl.
6799         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
6800         __remainder.
6801         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
6802         __remainderf.
6803         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
6804         __remainderl.
6805         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
6806         weak alias of remainderl.
6807         * sysdeps/ieee754/ldbl-opt/w_remainder.c
6808         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
6809         alias of __remainder.
6810         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
6811         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
6812         strong alias of __remainderl.
6813         (dreml): Use long_double_symbol.
6814         * math/Makefile (libm-calls): Remove w_drem.
6815         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
6816         (CFLAGS-nldbl-drem.c): Remove variable.
6817         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
6818         * math/w_drem.c: Remove file.
6819         * math/w_dremf.c: Likewise.
6820         * math/w_dreml.c: Likewise.
6821         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
6822         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
6823         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
6825         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
6826         * sysdeps/i386/configure: Regenerated.
6827         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
6828         * sysdeps/x86_64/configure: Regenerated.
6830         * configure.ac (libc_cv_asm_protected_directive): Remove configure
6831         test.
6832         (libc_cv_visibility_attribute): Likewise.
6833         (libc_cv_protected_data): Test unconditionally.
6834         (libc_cv_broken_visibility_attribute): Remove configure test.
6835         (libc_cv_have_sdata_section): Test unconditionally.
6836         * configure: Regenerated.
6838         * include/libc-internal.h (libc_max_align_t): Remove typedef.
6839         * include/scratch_buffer.h: Include <stddef.h> instead of
6840         <libc-internal.h>.
6841         (struct scratch_buffer): Use max_align_t instead of
6842         libc_max_align_t.
6844 2015-10-29  Florian Weimer  <fweimer@redhat.com>
6846         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
6847         instead of extend_alloca.  Change control flow to avoid a goto.
6848         Remove assert which is trivially always true.
6850 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
6852         [BZ #16068]
6853         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
6854         (FE_ALL_EXCEPT_X86): New macro.
6855         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
6856         FE_ALL_EXCEPT.  Ensure precision control is included in
6857         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
6858         handle "denormal operand exception" and clear FZ and DAZ bits.
6859         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
6860         (FE_ALL_EXCEPT_X86): New macro.
6861         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
6862         FE_ALL_EXCEPT.  Ensure precision control is included in
6863         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
6864         handle "denormal operand exception" and clear FZ and DAZ bits.
6865         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
6866         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
6867         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
6868         test-fenv-x87 and test-fenv-sse-2.
6869         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
6871         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
6872         * math/test-double.h (BUILD_COMPLEX): New macro.
6873         * math/test-float.h (BUILD_COMPLEX): Likewise.
6874         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
6876         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
6877         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
6878         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
6879         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
6880         instead of DBL_DENORM_MIN in comment.
6881         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
6882         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
6883         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
6884         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
6885         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
6886         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
6888 2015-10-28  Florian Weimer  <fweimer@redhat.com>
6890         [BZ# 19048]
6891         * malloc/malloc.c (struct malloc_state): Update comment.  Add
6892         attached_threads member.
6893         (main_arena): Initialize attached_threads.
6894         * malloc/arena.c (list_lock): Update comment.
6895         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
6896         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
6897         (deattach_arena): New function.
6898         (_int_new_arena): Initialize arena reference count and deattach
6899         replaced arena.
6900         (get_free_list, reused_arena): Update reference count and deattach
6901         replaced arena.
6902         (arena_thread_freeres): Update arena reference count and only put
6903         unreferenced arenas on the free list.
6905 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
6907         [BZ #19181]
6908         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
6909         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
6910         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
6911         * math/test-fenv-clear-main.c: New file.
6912         * math/test-fenv-clear.c: Likewise.
6913         * math/Makefile (tests): Add test-fenv-clear.
6914         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
6915         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
6916         test-fenv-clear-sse.
6917         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
6919         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
6920         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
6921         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
6923 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6925         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
6926         static libc.
6928 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
6930         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
6931         test.
6932         * sysdeps/i386/configure: Regenerated.
6933         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
6934         test.
6935         * sysdeps/x86_64/configure: Regenerated.
6936         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
6937         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6938         memset-avx2 unconditionally instead of conditionally on
6939         [$(config-cflags-avx2) = yes].
6940         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
6941         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
6942         unconditional.
6943         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
6944         * sysdeps/x86_64/multiarch/memset_chk.S
6945         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
6946         to [IS_IN (libc) && SHARED].
6948 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
6950         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
6951         configure test.
6952         * sysdeps/arm/configure: Regenerated.
6953         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
6954         Define variable if not already defined.
6956         [BZ #17404]
6957         * sysdeps/mips/atomic-machine.h
6958         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
6959         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
6960         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
6962         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
6963         unconditional.
6964         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
6965         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
6966         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
6967         unconditional.
6968         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
6969         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
6970         unconditional.
6971         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
6972         * stdlib/setenv.c
6973         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
6974         code unconditional.
6975         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
6976         Remove conditional code.
6977         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
6978         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
6979         unconditional.
6980         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
6981         code.
6982         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
6983         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
6984         unconditional.
6985         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
6986         code.
6987         * sysdeps/ieee754/ldbl-128/k_tanl.c
6988         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
6989         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
6990         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
6991         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
6992         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
6993         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
6994         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
6995         unconditional.
6996         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
6997         code.
6998         * sysdeps/ieee754/ldbl-96/k_tanl.c
6999         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
7000         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
7002         * nptl/tst-initializers1-c11.c: New file.
7003         * nptl/tst-initializers1-gnu11.c: Likewise.
7004         * nptl/Makefile (tests): Add these new tests.
7005         (CFLAGS-tst-initializers1-c11.c): New variable.
7006         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
7008         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
7009         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
7010         instead of -std=gnu99.
7011         * configure.ac (systemtap): Test with -std=gnu11 instead of
7012         -std=gnu99.
7013         * configure: Regenerated.
7014         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
7015         in compilation command in comment.
7017         * sysdeps/nptl/configure.ac: Remove file.
7018         * sysdeps/nptl/configure: Remove generated file.
7019         * configure.ac (libc_cv_forced_unwind): Do not substitute.
7020         * configure: Regenerated.
7021         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
7022         * config.make.in (have-forced-unwind): Remove variable.
7023         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
7024         unconditional.
7025         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
7026         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
7027         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
7028         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
7029         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
7030         unconditional.
7032 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7034         [BZ #19174]
7035         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
7036         .skip_lock_out_of_tbegin_retries.
7037         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
7038         (__lll_lock_elision): Likewise, and respect a value of
7039         try_tbegin <= 0.
7041 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7043         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
7044         statement.
7046 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
7048         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
7049         variable.
7050         (test-xfail-ISO11/stdalign.h/conform): Likewise.
7051         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
7053         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
7054         of -std=c1x -D_ISOC11_SOURCE.
7056         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
7057         * configure: Regenerated.
7058         * manual/install.texi (Tools for Compilation): Document
7059         requirement for GCC 4.7 or later.
7060         * INSTALL: Regenerated.
7062 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
7064         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
7065         on CNT to a conditional jump to 'puntdata'.
7067 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
7069         * configure.ac (libc_cv_gcc___thread): Remove configure test.
7070         (libc_cv_gcc_tls_model_attr): Likewise.
7071         * configure: Regenerated.
7073         * configure.ac (libc_cv_need_minus_P): Remove configure test.
7074         * configure: Regenerated.
7075         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
7077 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
7079         * configure.ac (old_glibc_headers): Remove configure test.
7080         * configure: Regenerated.
7081         * config.make.in (old-glibc-headers): Remove variable.
7082         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
7083         (install): Remove dependency on remove-old-headers.
7084         (headers2_0): Remove variable.
7085         (remove-old-headers): Remove rule.
7087         * configure.ac (libc_cv_dot_text): Remove configure test.
7088         (libc_cv_asm_set_directive): Use .text instead of
7089         ${libc_cv_dot_text} in configure test.
7090         * configure: Regenerated.
7092 2015-10-26  Florian Weimer  <fweimer@redhat.com>
7094         [BZ #19168]
7095         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
7097 2015-10-26  Florian Weimer  <fweimer@redhat.com>
7099         * configure.ac (CXX): Clear the variable if the C++ toolchain does
7100         not support static linking.
7101         * configure: Regenerate.
7103 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
7105         * math/libm-test.inc (check_float_internal): Do not special-case
7106         errors up to 0.5 ulp.
7108         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
7109         log2.
7110         * math/auto-libm-test-out: Regenerated.
7111         * math/libm-test.inc (MAX_EXP): New macro.
7112         (ilogb_test_data): Add more tests.
7113         (isfinite_test_data): Likewise.
7114         (isgreater_test_data): Likewise.
7115         (isgreaterequal_test_data): Likewise.
7116         (isinf_test_data): Likewise.
7117         (isless_test_data): Likewise.
7118         (islessequal_test_data): Likewise.
7119         (islessgreater_test_data): Likewise.
7120         (isnan_test_data): Likewise.
7121         (isnormal_test_data): Likewise.
7122         (issignaling_test_data): Likewise.
7123         (isunordered_test_data): Likewise.
7124         (j0_test_data): Likewise.
7125         (j1_test_data): Likewise.
7126         (jn_test_data): Likewise.
7127         (lgamma_test_data): Likewise.
7128         (log_test_data): Likewise.
7129         (log10_test_data): Likewise.
7130         (log1p_test_data): Likewise.
7131         (log2_test_data): Likewise.
7132         (logb_test_data): Likewise.
7133         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7135         [BZ #18611]
7136         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
7137         avoid excess range and precision on underflow.
7138         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
7139         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
7140         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
7141         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
7142         underflow.
7143         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
7144         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
7145         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
7146         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
7147         * math/auto-libm-test-in: Do not allow missing errno setting for
7148         tests of j1 and jn.
7149         * math/auto-libm-test-out: Regenerated.
7151 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
7153         [BZ #15491]
7154         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
7155         floating-point environment instead of clearing all exceptions.
7156         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
7157         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
7158         merging in "invalid" exceptions from frndint.
7159         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
7160         * math/test-nearbyint-except.c: New file.
7161         * math/Makefile (tests): Add test-nearbyint-except.
7163 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
7165         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
7167         * sysdeps/tile/libm-test-ulps: Regenerated.
7169 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
7172         (__NR_sync_file_range2): Assume it is always defined.
7173         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
7174         (__NR_sync_file_range): Assume it is always defined.
7176 2015-10-22  Andreas Schwab  <schwab@suse.de>
7178         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
7179         INTERNAL_SYSCALL_ERRNO.
7180         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7181         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
7182         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7183         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
7184         Likewise.
7185         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7187 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
7189         * io/tst-fcntl.c (fd): New static variable.
7190         (do_prepare): Open temporary file here....
7191         (do_test): ...not here.
7193         * io/ftwtest-sh: Also trap on exit to remove temporary files.
7195 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
7197         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
7198         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
7199         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
7200         Moved before "#ifdef __ASSEMBLER__".
7202 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
7204         [BZ #19156]
7205         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
7206         arguments very close to 0.
7208 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
7210         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
7211         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
7213 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
7215         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
7216         New.  Defined for GCC 5 and above when not compiling for
7217         profiling.
7218         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
7220         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
7221         Renamed to ...
7222         (CFLAGS-epoll_pwait.o): This.
7223         (CFLAGS-mmap.c): Renamed to ...
7224         (CFLAGS-mmap.o): This.
7225         (CFLAGS-mmap64.c): Renamed to ...
7226         (CFLAGS-mmap64.o): This.
7227         (CFLAGS-epoll_pwait.os): New.
7228         (CFLAGS-mmap.os): Likewise.
7229         (CFLAGS-mmap64.os): Likewise.
7230         (CFLAGS-semtimedop.os): Likewise.
7231         (CFLAGS-semtimedop.c): Renamed to ...
7232         (CFLAGS-semtimedop.o): This.
7234 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7236         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
7237         warning message.
7239 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
7241         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
7242         * Makefile ($(objpfx)c++-types-check.out): Filter out
7243         $(+gccwarn-c) instead of -Wstrict-prototypes.
7245         * io/fts.c (fts_open): Convert to prototype-style function
7246         definition.
7247         * malloc/mcheck.c (mcheck): Likewise.
7248         (mcheck_pedantic): Likewise.
7249         * posix/regexec.c (re_search_2_stub): Likewise.  Use
7250         internal_function.
7251         (re_search_internal): Likewise.
7252         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
7253         prototype-style function definition.
7254         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
7255         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
7256         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
7257         (xdr_utmpptr): Likewise.
7258         (xdr_utmparr): Likewise.
7259         (xdr_utmpidle): Likewise.
7260         (xdr_utmpidleptr): Likewise.
7261         (xdr_utmpidlearr): Likewise.
7263         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
7264         log, log10 and log2.
7265         * math/auto-libm-test-out: Regenerated.
7266         * math/libm-test.inc (fmod_test_data): Add more tests.
7267         (fpclassify_test_data): Likewise.
7268         (frexp_test_data): Likewise.
7269         (hypot_test_data): Likewise.
7270         (ilogb_test_data): Likewise.
7272 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
7274         * debug/fortify_fail.c (__fortify_fail): Convert to
7275         prototype-style function definition.  Use internal_function.
7276         * libio/genops.c (save_for_backup): Convert to prototype-style
7277         function definition.
7278         * libio/wgenops.c (save_for_wbackup): Likewise.
7279         * login/grantpt.c (grantpt): Likewise.
7280         * login/ptsname.c (ptsname): Likewise.
7281         (__ptsname_r): Likewise.
7282         * login/unlockpt.c (unlockpt): Likewise.
7283         * mach/msgserver.c (__mach_msg_server): Likewise.
7284         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
7285         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
7286         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
7287         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
7288         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
7289         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
7290         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
7291         Likewise.
7292         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
7293         internal_function.
7294         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
7295         prototype-style function definition.
7296         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
7297         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
7298         (__pthread_create_2_0): Likewise.
7299         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
7300         * nptl/register-atfork.c (__register_atfork): Likewise.
7301         * posix/glob.c (glob): Likewise.
7302         * posix/regcomp.c (re_comp): Likewise.
7303         * posix/regexec.c (re_exec): Likewise.
7304         * stdlib/add_n.c [__STDC__]: Make code unconditional.
7305         [!__STDC__]: Remove conditional code.
7306         * stdlib/cmp.c [__STDC__]: Make code unconditional.
7307         [!__STDC__]: Remove conditional code.
7308         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
7309         [!__STDC__]: Remove conditional code.
7310         * stdlib/divrem.c [__STDC__]: Make code unconditional.
7311         [!__STDC__]: Remove conditional code.
7312         * stdlib/lshift.c [__STDC__]: Make code unconditional.
7313         [!__STDC__]: Remove conditional code.
7314         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
7315         [!__STDC__]: Remove conditional code.
7316         * stdlib/mul.c [__STDC__]: Make code unconditional.
7317         [!__STDC__]: Remove conditional code.
7318         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
7319         [!__STDC__]: Remove conditional code.
7320         * stdlib/rshift.c [__STDC__]: Make code unconditional.
7321         [!__STDC__]: Remove conditional code.
7322         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
7323         function definition.
7324         (STRTOF): Likewise.
7325         * stdlib/strtod_l.c (__STRTOF): Likewise.
7326         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
7327         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
7328         (__strtol_l): Likewise.
7329         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
7330         [!__STDC__]: Remove conditional code.
7331         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
7332         definition.
7333         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
7334         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
7335         type.
7336         (__strcasecmp): Convert to prototype-style function definition.
7337         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
7338         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
7339         type.
7340         (__strncasecmp): Convert to prototype-style function definition.
7341         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
7342         * sunrpc/xdr.c (xdr_union): Likewise.
7343         * sunrpc/xdr_array.c (xdr_array): Likewise.
7344         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
7345         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
7346         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
7347         Likewise.
7348         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
7349         Likewise.
7350         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
7351         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
7352         Likewise.
7353         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
7354         (LOCALE_PARAM_PROTO): Likewise.
7355         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
7356         argument type.
7357         (ut_argument_spec): Remove macro.
7358         (ut_argument_spec_iso): Rename to ut_argument_spec.
7359         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
7360         prototype-style function definition.
7361         (memcpy_uppcase): Likewise.
7362         (__strftime_internal): Likewise.
7363         (my_strftime): Likewise.
7364         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
7365         (LOCALE_PARAM_DECL): Likewise.
7366         [_LIBC] (LOCALE_PARAM): Include argument type.
7367         (__strptime_internal): Convert to prototype-style function
7368         definition.
7369         (strptime): Likewise.
7370         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
7371         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
7372         type.
7373         (__wcscasecmp): Convert to prototype-style function definition.
7374         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
7375         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
7376         type.
7377         (__wcsncasecmp): Convert to prototype-style function definition.
7379         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
7380         function definition.
7381         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
7382         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
7383         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
7384         * elf/dl-minimal.c (_itoa): Likewise.
7385         * hurd/hurdmalloc.c (malloc): Likewise.
7386         (free): Likewise.
7387         (realloc): Likewise.
7388         * inet/inet6_option.c (inet6_option_space): Likewise.
7389         (inet6_option_init): Likewise.
7390         (inet6_option_append): Likewise.
7391         (inet6_option_alloc): Likewise.
7392         (inet6_option_next): Likewise.
7393         (inet6_option_find): Likewise.
7394         * io/ftw.c (FTW_NAME): Likewise.
7395         (NFTW_NAME): Likewise.
7396         (NFTW_NEW_NAME): Likewise.
7397         (NFTW_OLD_NAME): Likewise.
7398         * libio/iofwide.c (_IO_fwide): Likewise.
7399         * libio/strops.c (_IO_str_init_static_internal): Likewise.
7400         (_IO_str_init_static): Likewise.
7401         (_IO_str_init_readonly): Likewise.
7402         (_IO_str_overflow): Likewise.
7403         (_IO_str_underflow): Likewise.
7404         (_IO_str_count): Likewise.
7405         (_IO_str_seekoff): Likewise.
7406         (_IO_str_pbackfail): Likewise.
7407         (_IO_str_finish): Likewise.
7408         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
7409         (_IO_wstr_overflow): Likewise.
7410         (_IO_wstr_underflow): Likewise.
7411         (_IO_wstr_count): Likewise.
7412         (_IO_wstr_seekoff): Likewise.
7413         (_IO_wstr_pbackfail): Likewise.
7414         (_IO_wstr_finish): Likewise.
7415         * locale/programs/localedef.c (normalize_codeset): Likewise.
7416         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
7417         (add_locales_to_archive): Likewise.
7418         (delete_locales_from_archive): Likewise.
7419         * malloc/malloc.c (__libc_mallinfo): Likewise.
7420         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
7421         * misc/tsearch.c (__tfind): Likewise.
7422         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
7423         * nptl/pthread_attr_getdetachstate.c
7424         (__pthread_attr_getdetachstate): Likewise.
7425         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
7426         Likewise.
7427         * nptl/pthread_attr_getinheritsched.c
7428         (__pthread_attr_getinheritsched): Likewise.
7429         * nptl/pthread_attr_getschedparam.c
7430         (__pthread_attr_getschedparam): Likewise.
7431         * nptl/pthread_attr_getschedpolicy.c
7432         (__pthread_attr_getschedpolicy): Likewise.
7433         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
7434         Likewise.
7435         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
7436         Likewise.
7437         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
7438         Likewise.
7439         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
7440         Likewise.
7441         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
7442         (__pthread_attr_init_2_0): Likewise.
7443         * nptl/pthread_attr_setdetachstate.c
7444         (__pthread_attr_setdetachstate): Likewise.
7445         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
7446         Likewise.
7447         * nptl/pthread_attr_setinheritsched.c
7448         (__pthread_attr_setinheritsched): Likewise.
7449         * nptl/pthread_attr_setschedparam.c
7450         (__pthread_attr_setschedparam): Likewise.
7451         * nptl/pthread_attr_setschedpolicy.c
7452         (__pthread_attr_setschedpolicy): Likewise.
7453         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
7454         Likewise.
7455         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
7456         Likewise.
7457         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
7458         Likewise.
7459         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
7460         Likewise.
7461         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
7462         Likewise.
7463         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
7464         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
7465         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
7466         use internal_function.
7467         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
7468         prototype-style function definition.
7469         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
7470         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
7471         internal_function.
7472         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
7473         Convert to prototype-style function definition.
7474         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
7475         Likewise.
7476         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
7477         Likewise.
7478         (__pthread_mutex_unlock): Likewise.
7479         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
7480         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
7481         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
7482         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
7483         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
7484         * nss/makedb.c (process_input): Likewise.
7485         * posix/fnmatch.c (__strchrnul): Likewise.
7486         (__wcschrnul): Likewise.
7487         (fnmatch): Likewise.
7488         * posix/fnmatch_loop.c (FCT): Likewise.
7489         * posix/glob.c (globfree): Likewise.
7490         (__glob_pattern_type): Likewise.
7491         (__glob_pattern_p): Likewise.
7492         * posix/regcomp.c (re_compile_pattern): Likewise.
7493         (re_set_syntax): Likewise.
7494         (re_compile_fastmap): Likewise.
7495         (regcomp): Likewise.
7496         (regerror): Likewise.
7497         (regfree): Likewise.
7498         * posix/regexec.c (regexec): Likewise.
7499         (re_match): Likewise.
7500         (re_search): Likewise.
7501         (re_match_2): Likewise.
7502         (re_search_2): Likewise.
7503         (re_search_stub): Likewise.  Use internal_function
7504         (re_copy_regs): Likewise.
7505         (re_set_registers): Convert to prototype-style function
7506         definition.
7507         (prune_impossible_nodes): Likewise.  Use internal_function.
7508         * resolv/inet_net_pton.c (inet_net_pton): Convert to
7509         prototype-style function definition.
7510         (inet_net_pton_ipv4): Likewise.
7511         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7512         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
7513         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
7514         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
7515         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
7516         Make variadic.
7517         * time/strptime_l.c (localtime_r): Convert to prototype-style
7518         function definition.
7519         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
7520         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
7521         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
7522         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
7524         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
7525         definition.
7526         (_ufc_doit_r): Likewise.
7527         * crypt/crypt_util.c (_ufc_copymem): Likewise.
7528         (_ufc_output_conversion_r): Likewise.
7529         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
7530         * inet/rcmd.c (rcmd_af): Likewise.
7531         (rcmd): Likewise.
7532         (ruserok_af): Likewise.
7533         (ruserok): Likewise.
7534         (ruserok2_sa): Likewise.
7535         (ruserok_sa): Likewise.
7536         (iruserok_af): Likewise.
7537         (iruserok): Likewise.
7538         (__ivaliduser): Likewise.
7539         (__validuser2_sa): Likewise.
7540         * inet/rexec.c (rexec_af): Likewise.
7541         (rexec): Likewise.
7542         * inet/ruserpass.c (ruserpass): Likewise.
7543         * locale/programs/xmalloc.c (xcalloc): Likewise.
7544         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
7545         * math/w_drem.c (__drem): Likewise.
7546         * math/w_dremf.c (__dremf): Likewise.
7547         * math/w_dreml.c (__dreml): Likewise.
7548         * misc/daemon.c (daemon): Likewise.
7549         * resolv/res_debug.c (p_fqnname): Likewise.
7550         * stdlib/div.c (div): Likewise.
7551         * string/memcmp.c (memcmp_bytes): Likewise.
7552         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
7553         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
7555         * crypt/cert.c (main): Convert to prototype-style function
7556         definition.
7557         * io/pipe.c (__pipe): Likewise.
7558         * io/pipe2.c (__pipe2): Likewise.
7559         * misc/futimesat.c (futimesat): Likewise.
7560         * misc/utimes.c (__utimes): Likewise.
7561         * posix/execve.c (__execve): Likewise.
7562         * posix/execvp.c (execvp): Likewise.
7563         * posix/execvpe.c (__execvpe): Likewise.
7564         * posix/fexecve.c (fexecve): Likewise.
7565         * socket/socketpair.c (socketpair): Likewise.
7566         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
7567         * stdlib/erand48.c (erand48): Likewise.
7568         * stdlib/erand48_r.c (__erand48_r): Likewise.
7569         * stdlib/jrand48.c (jrand48): Likewise.
7570         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
7571         * stdlib/lcong48.c (lcong48): Likewise.
7572         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
7573         * stdlib/nrand48.c (nrand48): Likewise.
7574         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
7575         * stdlib/seed48.c (seed48): Likewise.
7576         * stdlib/seed48_r.c (__seed48_r): Likewise.
7577         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
7578         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
7579         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
7581 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
7583         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
7584         * configure: Regenerated.
7585         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
7586         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
7587         unconditional.
7588         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
7589         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
7590         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
7591         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
7592         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
7593         unconditional.
7594         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
7596         * posix/Makefile (CFLAGS-regex.c): Remove variable.
7597         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
7599         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
7600         function definition.
7601         * crypt/crypt_util.c (__encrypt_r): Likewise.
7602         * libio/genops.c (_IO_no_init): Likewise.
7603         * libio/iofopncook.c (_IO_fopencookie): Likewise.
7604         (_IO_old_fopencookie): Likewise.
7605         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
7606         * libio/iogetline.c (_IO_getline): Likewise.
7607         (_IO_getline_info): Likewise.
7608         * libio/iogetwline.c (_IO_getwline): Likewise.
7609         (_IO_getwline_info): Likewise.
7610         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
7611         * libio/vswprintf.c (_IO_vswprintf): Likewise.
7612         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
7613         (find_entry): Likewise.
7614         (iterate_table): Likewise.
7615         (lookup): Likewise.
7616         * login/forkpty.c (forkpty): Likewise.
7617         * misc/hsearch_r.c (__hsearch_r): Likewise.
7618         * misc/select.c (__select): Likewise.
7619         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
7620         Likewise.
7621         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
7622         Likewise.
7623         * nptl/old_pthread_cond_timedwait.c
7624         (__pthread_cond_timedwait_2_0): Likewise.
7625         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
7626         * nptl/pthread_barrierattr_getpshared.c
7627         (pthread_barrierattr_getpshared): Likewise.
7628         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
7629         Likewise.
7630         * nptl/pthread_mutex_setprioceiling.c
7631         (pthread_mutex_setprioceiling): Likewise.
7632         * nptl/pthread_mutexattr_getprioceiling.c
7633         (pthread_mutexattr_getprioceiling): Likewise.
7634         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
7635         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
7636         Likewise.
7637         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
7638         Likewise.
7639         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
7640         Likewise.
7641         * socket/recvfrom.c (__recvfrom): Likewise.
7642         * socket/sendto.c (__sendto): Likewise.
7643         * socket/setsockopt.c (__setsockopt): Likewise.
7644         * stdio-common/_itoa.c (_itoa): Likewise.
7645         * stdio-common/_itowa.c (_itowa): Likewise.
7646         * stdio-common/reg-printf.c (__register_printf_specifier):
7647         Likewise.
7648         (__register_printf_function): Likewise.
7649         * stdio-common/tempname.c (__path_search): Likewise.
7650         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
7651         * stdlib/mul_1.c (mpn_mul_1): Likewise.
7652         * stdlib/random_r.c (__initstate_r): Likewise.
7653         * stdlib/setenv.c (__add_to_environ): Likewise.
7654         * stdlib/submul_1.c (mpn_submul_1): Likewise.
7655         * streams/getpmsg.c (getpmsg): Likewise.
7656         * streams/putmsg.c (putmsg): Likewise.
7657         * streams/putpmsg.c (putpmsg): Likewise.
7658         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
7659         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
7660         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
7661         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
7662         * sunrpc/pm_getport.c (pmap_getport): Likewise.
7663         * sunrpc/svc_udp.c (cache_get): Likewise.
7664         * sunrpc/xdr_array.c (xdr_vector): Likewise.
7665         * sysdeps/mach/hurd/getcwd.c
7666         (__canonicalize_directory_name_internal): Likewise.
7667         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
7668         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
7669         * sysdeps/mach/hurd/select.c (__select): Likewise.
7670         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
7671         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
7672         * sysdeps/sparc/nptl/pthread_barrier_init.c
7673         (__pthread_barrier_init): Likewise.
7674         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
7675         (__pthread_cond_timedwait): Likewise.
7676         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
7677         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
7678         Likewise.
7679         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
7680         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
7681         Likewise.
7682         * sysvipc/semtimedop.c (semtimedop): Likewise.
7683         * time/setitimer.c (__setitimer): Likewise.
7684         * time/strftime_l.c (emacs_strftime): Likewise.
7686 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
7688         * config.make.in (have-ssp): Delete.
7689         (stack-protector): New variable.
7690         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
7691         cache test for -fstack-protector-strong.  Export stack_protector to
7692         the best ssp flag.
7693         * configure: Regenerated.
7694         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
7695         * nscd/Makefile (CFLAGS-nscd): Likewise.
7696         * resolv/Makefile (CFLAGS-libresolv): Likewise.
7698 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
7700         [BZ #19122]
7701         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
7702         attribute_hidden.
7704 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7706         [BZ #18743]
7707         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
7708         code to...
7709         (ELIDE_LOCK): ...here.
7710         (__get_new_count): New function with part of the code from
7711         __elide_lock that updates the value of adapt_count after a
7712         transaction abort.
7713         (__elided_trylock): Moved this code to...
7714         (ELIDE_TRYLOCK): ...here.
7716 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
7718         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
7719         * configure: Regenerate.
7720         * INSTALL: Regenerate.
7721         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
7722         and tweak grammar.
7724 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
7726         * login/programs/pt_chown.c: Include signal.h
7727         (main): Clear any signal mask from the parent process.
7729 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
7731         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
7732         * configure: Regenerated.
7733         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
7734         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
7735         $(gnu89-inline-CFLAGS).
7737         * configure.ac (libc_cv_asm_weak_directive): Remove configure
7738         test.
7739         (libc_cv_asm_weakext_directive): Likewise.
7740         * configure: Regenerated.
7741         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
7742         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
7743         * include/libc-symbols.h
7744         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
7745         #error.
7746         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
7747         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
7749         * sysdeps/arm/backtrace.c (__backtrace): Convert to
7750         prototype-style function definition.
7751         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
7752         * sysdeps/i386/ffs.c (__ffs): Likewise.
7753         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
7754         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
7755         Likewise.
7756         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
7757         Likewise.
7758         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
7759         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
7760         Likewise.
7761         * sysdeps/m68k/ffs.c (__ffs): Likewise.
7762         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
7763         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
7764         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
7765         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
7766         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
7767         * sysdeps/mach/hurd/access.c (__access): Likewise.
7768         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
7769         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
7770         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
7771         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
7772         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
7773         (cthread_getspecific): Likewise.
7774         (cthread_setspecific): Likewise.
7775         (__libc_getspecific): Likewise.
7776         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
7777         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
7778         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
7779         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
7780         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
7781         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
7782         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
7783         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
7784         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
7785         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
7786         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
7787         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
7788         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
7789         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
7790         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
7791         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
7792         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
7793         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
7794         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
7795         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
7796         * sysdeps/mach/hurd/link.c (__link): Likewise.
7797         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
7798         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
7799         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
7800         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
7801         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
7802         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
7803         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
7804         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
7805         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
7806         * sysdeps/mach/hurd/rename.c (rename): Likewise.
7807         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
7808         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
7809         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
7810         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
7811         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
7812         * sysdeps/mach/hurd/send.c (__send): Likewise.
7813         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
7814         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
7815         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
7816         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
7817         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
7818         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
7819         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
7820         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
7821         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
7822         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
7823         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
7824         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
7825         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
7826         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
7827         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
7828         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
7829         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
7830         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
7831         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
7832         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
7833         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
7834         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
7835         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
7836         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
7837         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
7838         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
7839         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
7840         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
7841         * sysdeps/posix/alarm.c (alarm): Likewise.
7842         * sysdeps/posix/cuserid.c (cuserid): Likewise.
7843         * sysdeps/posix/dirfd.c (dirfd): Likewise.
7844         * sysdeps/posix/dup.c (__dup): Likewise.
7845         * sysdeps/posix/dup2.c (__dup2): Likewise.
7846         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
7847         (main): Likewise.
7848         * sysdeps/posix/flock.c (__flock): Likewise.
7849         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
7850         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
7851         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
7852         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
7853         * sysdeps/posix/isatty.c (__isatty): Likewise.
7854         * sysdeps/posix/killpg.c (killpg): Likewise.
7855         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
7856         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
7857         * sysdeps/posix/raise.c (raise): Likewise.
7858         * sysdeps/posix/remove.c (remove): Likewise.
7859         * sysdeps/posix/rename.c (rename): Likewise.
7860         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
7861         * sysdeps/posix/seekdir.c (seekdir): Likewise.
7862         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
7863         * sysdeps/posix/sigignore.c (sigignore): Likewise.
7864         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
7865         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
7866         * sysdeps/posix/sigset.c (sigset): Likewise.
7867         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
7868         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
7869         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
7870         * sysdeps/posix/time.c (time): Likewise.
7871         * sysdeps/posix/ttyname.c (getttyname): Likewise.
7872         (ttyname): Likewise.
7873         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
7874         * sysdeps/posix/utime.c (utime): Likewise.
7875         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
7876         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
7877         Likewise.
7878         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
7879         (pthread_spin_trylock): Likewise.
7880         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
7881         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
7882         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
7883         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
7884         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
7885         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
7886         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
7887         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
7888         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
7889         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
7890         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
7891         * sysdeps/s390/ffs.c (__ffs): Likewise.
7892         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
7893         Likewise.
7894         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
7895         Likewise.
7896         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
7897         Likewise.
7898         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
7899         (pthread_barrier_destroy): Likewise.
7900         * sysdeps/sparc/nptl/pthread_barrier_wait.c
7901         (__pthread_barrier_wait): Likewise.
7902         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
7903         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
7904         (__pthread_barrier_wait): Likewise.
7905         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
7906         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
7907         (memcmp_not_common_alignment): Likewise.
7908         (MEMCMP): Likewise.
7909         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
7910         (_wordcopy_fwd_dest_aligned): Likewise.
7911         (_wordcopy_bwd_aligned): Likewise.
7912         (_wordcopy_bwd_dest_aligned): Likewise.
7913         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
7914         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
7915         * sysdeps/unix/bsd/stty.c (stty): Likewise.
7916         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
7917         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
7918         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
7919         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
7920         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
7921         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
7922         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
7923         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
7924         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
7925         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
7926         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
7927         * sysdeps/unix/stime.c (stime): Likewise.
7928         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
7929         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
7930         Likewise.  Use internal_function.
7931         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
7932         Convert to prototype-style function definition.
7933         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
7934         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
7935         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
7936         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
7937         Likewise.  Use internal_function.
7938         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
7939         prototype-style function definition
7940         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
7941         Likewise.
7942         (__getlogin_r): Likewise.
7943         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
7944         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
7945         (__pthread_cond_broadcast): Likewise.
7946         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
7947         (__pthread_cond_destroy): Likewise.
7948         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
7949         (__pthread_cond_init): Likewise.
7950         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
7951         (__pthread_cond_signal): Likewise.
7952         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
7953         (__pthread_cond_wait): Likewise.
7954         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
7955         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
7956         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
7957         Likewise.
7958         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
7959         Likewise.
7960         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
7961         Likewise.
7962         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
7963         Likewise.
7964         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
7965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
7966         (__ftruncate64): Likewise.
7967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
7968         (truncate64): Likewise.
7969         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
7970         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
7971         (pthread_getcpuclockid): Likewise.
7972         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
7973         Likewise.
7974         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
7975         Likewise.
7976         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
7977         Likewise.
7978         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
7979         Likewise.
7980         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
7981         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
7982         (__libc_sigaction): Likewise.
7983         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
7984         Likewise.
7985         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
7986         (__sigprocmask): Likewise.
7987         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
7988         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
7989         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
7990         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
7991         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
7992         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
7993         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
7994         Likewise.
7995         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
7996         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
7997         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
7998         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
7999         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
8000         Likewise.
8001         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
8002         (__sigprocmask): Likewise.
8003         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
8004         (cfgetispeed): Likewise.
8005         (cfsetospeed): Likewise.
8006         (cfsetispeed): Likewise.
8007         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
8008         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
8009         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
8010         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
8011         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
8012         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
8013         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
8014         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
8015         Likewise.
8016         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
8017         Likewise.
8018         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
8019         Likewise.
8020         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
8021         Likewise.
8022         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
8024 2015-10-17  Florian Weimer  <fweimer@redhat.com>
8026         sunrpc: Rewrite with explicit TLS access using __thread.
8027         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
8028         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
8029         directly.
8030         (__rpc_thread_variables): Access thread_rpc_vars directly.
8031         Eliminate redundant assignment of the tvp variable.
8033 2015-10-17  Florian Weimer  <fweimer@redhat.com>
8035         malloc: Rewrite with explicit TLS access using __thread.
8036         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
8037         (tsd_setspecific, tsd_getspecific): Remove.
8038         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
8039         (tsd_setspecific, tsd_getspecific): Likewise.
8040         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
8041         (tsd_setspecific, tsd_getspecific): Likewise.
8042         * malloc/arena.c (thread_arena): New TLS variable.
8043         (arena_key): Remove variable.
8044         (arena_get): Use thread_arena.
8045         (arena_lookup): Remove macro.
8046         (malloc_atfork, free_atfork, ptmalloc_lock_all)
8047         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
8048         (_int_new_arena, get_free_list, reused_arena)
8049         (arena_thread_freeres): Use thread_arena.
8050         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
8051         tsd_getspecific, tsd_setspecific from safety annotations.
8052         (Allocating Cleared Space): Remove arena_lookup from safety
8053         annotations.
8055 2015-10-17  Florian Weimer  <fweimer@redhat.com>
8057         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
8058         struct scratch_buffer instead of extend_alloca.
8060 2015-10-17  Florian Weimer  <fweimer@redhat.com>
8062         * sysdeps/unix/sysv/linux/kernel-features.h
8063         (__ASSUME_SOCK_CLOEXEC): Remove.
8064         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
8065         (__have_paccept): Remove unused macro.
8066         * include/unistd.h (__have_sock_cloexec): Remove declaration.
8067         * misc/syslog.c (openlog_internal): Remove fallback code for
8068         !__ASSUME_SOCK_CLOEXEC.
8069         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
8070         missing SOCK_CLOEXEC.
8071         * nscd/connections.c (have_sock_cloexec): Remove definition.
8072         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
8073         * nscd/nscd_helper.c (open_socket): Remove fallback code for
8074         !__ASSUME_SOCK_CLOEXEC.
8075         * resolv/res_send.c (__have_o_nonblock): Remove definition.
8076         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
8077         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
8078         definition.
8079         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
8080         code for !__ASSUME_SOCK_CLOEXEC.
8082 2015-10-17  Florian Weimer  <fweimer@redhat.com>
8084         [BZ #18982]
8085         * manual/stdio.texi (Variable Arguments Output): Add portability
8086         note, explaining that vfprintf clobbers the va_list pointer.
8088 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
8090         * math/libm-test.inc (fabs_test_data): Add more tests.
8091         (fdim_test_data): Likewise.
8092         (fma_test_data): Likewise.
8093         (fmax_test_data): Likewise.
8094         (fmin_test_data): Likewise.
8095         (fmod_test_data): Likewise.
8097 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
8099         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
8100         data.
8102 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
8104         * math/libm-test.inc (ceil_test_data): Add more tests and more
8105         expectations for "inexact".
8106         (floor_test_data): Add more tests.
8107         (round_test_data): Likewise.
8108         (trunc_test_data): Likewise.
8110         * crypt/cert.c (good_bye): Convert to prototype-style function
8111         definition.
8112         (get8): Likewise.
8113         (put8): Likewise.
8114         * crypt/crypt-entry.c (crypt): Likewise.
8115         (__fcrypt): Likewise.
8116         * crypt/crypt_util.c (_ufc_prbits): Likewise.
8117         (_ufc_set_bits): Likewise.
8118         (_ufc_clearmem): Likewise.
8119         (__init_des_r): Likewise.
8120         (shuffle_sb): Likewise.
8121         (shuffle_sb): Likewise.
8122         (_ufc_setup_salt_r): Likewise.
8123         (_ufc_mk_keytab_r): Likewise.
8124         (_ufc_dofinalperm_r): Likewise.
8125         (encrypt): Likewise.
8126         (__setkey_r): Likewise.
8127         (setkey): Likewise.
8128         * crypt/md5.c (md5_init_ctx): Likewise.
8129         (md5_read_ctx): Likewise.
8130         (md5_finish_ctx): Likewise.
8131         (md5_stream): Likewise.
8132         (md5_buffer): Likewise.
8133         (md5_process_bytes): Likewise.
8134         * crypt/sha256.c (__sha256_init_ctx): Likewise.
8135         (__sha256_finish_ctx): Likewise.
8136         (__sha256_process_bytes): Likewise.
8137         * crypt/sha512.c (__sha512_init_ctx): Likewise.
8138         (__sha512_finish_ctx): Likewise.
8139         (__sha512_process_bytes): Likewise.
8140         * ctype/isctype.c (__isctype): Likewise.
8141         * debug/backtrace.c (__backtrace): Likewise.
8142         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
8143         * debug/fgets_chk.c (__fgets_chk): Likewise.
8144         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
8145         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
8146         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
8147         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
8148         * debug/memset_chk.c (__memset_chk): Likewise.
8149         * debug/strcat_chk.c (__strcat_chk): Likewise.
8150         * debug/strncat_chk.c (__strncat_chk): Likewise.
8151         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
8152         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
8153         * dirent/dirfd.c (dirfd): Likewise.
8154         * dirent/getdents.c (__getdirentries): Likewise.
8155         * dirent/getdents64.c (getdirentries64): Likewise.
8156         * dirent/rewinddir.c (__rewinddir): Likewise.
8157         * dirent/seekdir.c (seekdir): Likewise.
8158         * dirent/telldir.c (telldir): Likewise.
8159         * elf/sln.c (makesymlinks): Likewise.
8160         (makesymlink): Likewise.
8161         * gmon/gmon.c (__moncontrol): Likewise.
8162         (__monstartup): Likewise.
8163         (write_hist): Likewise.
8164         (write_call_graph): Likewise.
8165         (write_bb_counts): Likewise.
8166         * grp/setgroups.c (setgroups): Likewise.
8167         * inet/inet_lnaof.c (inet_lnaof): Likewise.
8168         * inet/inet_net.c (inet_network): Likewise.
8169         * inet/inet_netof.c (inet_netof): Likewise.
8170         * inet/rcmd.c (rresvport_af): Likewise.
8171         (rresvport): Likewise.
8172         * io/access.c (__access): Likewise.
8173         * io/chdir.c (__chdir): Likewise.
8174         * io/chmod.c (__chmod): Likewise.
8175         * io/chown.c (__chown): Likewise.
8176         * io/close.c (__close): Likewise.
8177         * io/creat.c (creat): Likewise.
8178         * io/creat64.c (creat64): Likewise.
8179         * io/dup.c (__dup): Likewise.
8180         * io/dup2.c (__dup2): Likewise.
8181         * io/dup3.c (__dup3): Likewise.
8182         * io/euidaccess.c (__euidaccess): Likewise.
8183         * io/faccessat.c (faccessat): Likewise.
8184         * io/fchmod.c (__fchmod): Likewise.
8185         * io/fchmodat.c (fchmodat): Likewise.
8186         * io/fchown.c (__fchown): Likewise.
8187         * io/fchownat.c (fchownat): Likewise.
8188         * io/fcntl.c (__fcntl): Likewise.
8189         * io/flock.c (__flock): Likewise.
8190         * io/fts.c (fts_load): Likewise.
8191         (fts_close): Likewise.
8192         (fts_read): Likewise.
8193         (fts_set): Likewise.
8194         (fts_children): Likewise.
8195         (fts_build): Likewise.
8196         (fts_stat): Likewise.
8197         (fts_sort): Likewise.
8198         (fts_alloc): Likewise.
8199         (fts_lfree): Likewise.
8200         (fts_palloc): Likewise.
8201         (fts_padjust): Likewise.
8202         (fts_maxarglen): Likewise.
8203         (fts_safe_changedir): Likewise.
8204         * io/getwd.c (getwd): Likewise.
8205         * io/isatty.c (__isatty): Likewise.
8206         * io/lchown.c (__lchown): Likewise.
8207         * io/link.c (__link): Likewise.
8208         * io/linkat.c (linkat): Likewise.
8209         * io/lseek.c (__libc_lseek): Likewise.
8210         * io/mkdir.c (__mkdir): Likewise.
8211         * io/mkdirat.c (mkdirat): Likewise.
8212         * io/mkfifo.c (mkfifo): Likewise.
8213         * io/mkfifoat.c (mkfifoat): Likewise.
8214         * io/open.c (__libc_open): Likewise.
8215         * io/open64.c (__libc_open64): Likewise.
8216         * io/readlink.c (__readlink): Likewise.
8217         * io/readlinkat.c (readlinkat): Likewise.
8218         * io/rmdir.c (__rmdir): Likewise.
8219         * io/symlink.c (__symlink): Likewise.
8220         * io/symlinkat.c (symlinkat): Likewise.
8221         * io/ttyname.c (ttyname): Likewise.
8222         * io/ttyname_r.c (__ttyname_r): Likewise.
8223         * io/umask.c (__umask): Likewise.
8224         * io/unlink.c (__unlink): Likewise.
8225         * io/unlinkat.c (unlinkat): Likewise.
8226         * io/utime.c (utime): Likewise.
8227         * libio/clearerr.c (clearerr): Likewise.
8228         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
8229         * libio/feof.c (_IO_feof): Likewise.
8230         * libio/feof_u.c (feof_unlocked): Likewise.
8231         * libio/ferror.c (_IO_ferror): Likewise.
8232         * libio/ferror_u.c (ferror_unlocked): Likewise.
8233         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
8234         * libio/fileno.c (__fileno): Likewise.
8235         * libio/fputc.c (fputc): Likewise.
8236         * libio/fputc_u.c (fputc_unlocked): Likewise.
8237         * libio/fputwc.c (fputwc): Likewise.
8238         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
8239         * libio/freopen.c (freopen): Likewise.
8240         * libio/freopen64.c (freopen64): Likewise.
8241         * libio/fseek.c (fseek): Likewise.
8242         * libio/fseeko.c (fseeko): Likewise.
8243         * libio/fseeko64.c (fseeko64): Likewise.
8244         * libio/ftello.c (__ftello): Likewise.
8245         * libio/ftello64.c (ftello64): Likewise.
8246         * libio/fwide.c (fwide): Likewise.
8247         * libio/genops.c (_IO_un_link): Likewise.
8248         (_IO_link_in): Likewise.
8249         (_IO_least_marker): Likewise.
8250         (_IO_switch_to_main_get_area): Likewise.
8251         (_IO_switch_to_backup_area): Likewise.
8252         (_IO_switch_to_get_mode): Likewise.
8253         (_IO_free_backup_area): Likewise.
8254         (_IO_switch_to_put_mode): Likewise.
8255         (__overflow): Likewise.
8256         (__underflow): Likewise.
8257         (__uflow): Likewise.
8258         (_IO_setb): Likewise.
8259         (_IO_doallocbuf): Likewise.
8260         (_IO_default_underflow): Likewise.
8261         (_IO_default_uflow): Likewise.
8262         (_IO_default_xsputn): Likewise.
8263         (_IO_sgetn): Likewise.
8264         (_IO_default_xsgetn): Likewise.
8265         (_IO_sync): Likewise.
8266         (_IO_default_setbuf): Likewise.
8267         (_IO_default_seekpos): Likewise.
8268         (_IO_default_doallocate): Likewise.
8269         (_IO_init): Likewise.
8270         (_IO_old_init): Likewise.
8271         (_IO_default_sync): Likewise.
8272         (_IO_default_finish): Likewise.
8273         (_IO_default_seekoff): Likewise.
8274         (_IO_sputbackc): Likewise.
8275         (_IO_sungetc): Likewise.
8276         (_IO_set_column): Likewise.
8277         (_IO_set_column): Likewise.
8278         (_IO_adjust_column): Likewise.
8279         (_IO_get_column): Likewise.
8280         (_IO_init_marker): Likewise.
8281         (_IO_remove_marker): Likewise.
8282         (_IO_marker_difference): Likewise.
8283         (_IO_marker_delta): Likewise.
8284         (_IO_seekmark): Likewise.
8285         (_IO_unsave_markers): Likewise.
8286         (_IO_nobackup_pbackfail): Likewise.
8287         (_IO_default_pbackfail): Likewise.
8288         (_IO_default_seek): Likewise.
8289         (_IO_default_stat): Likewise.
8290         (_IO_default_read): Likewise.
8291         (_IO_default_write): Likewise.
8292         (_IO_default_showmanyc): Likewise.
8293         (_IO_default_imbue): Likewise.
8294         (_IO_iter_next): Likewise.
8295         (_IO_iter_file): Likewise.
8296         * libio/getc.c (_IO_getc): Likewise.
8297         * libio/getwc.c (_IO_getwc): Likewise.
8298         * libio/iofclose.c (_IO_new_fclose): Likewise.
8299         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
8300         * libio/iofflush.c (_IO_fflush): Likewise.
8301         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
8302         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
8303         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
8304         * libio/iofgets.c (_IO_fgets): Likewise.
8305         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
8306         * libio/iofgetws.c (fgetws): Likewise.
8307         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
8308         * libio/iofopen64.c (_IO_fopen64): Likewise.
8309         * libio/iofopncook.c (_IO_cookie_read): Likewise.
8310         (_IO_cookie_write): Likewise.
8311         (_IO_cookie_seek): Likewise.
8312         (_IO_cookie_close): Likewise.
8313         (_IO_cookie_seekoff): Likewise.
8314         (_IO_old_cookie_seek): Likewise.
8315         * libio/iofputs.c (_IO_fputs): Likewise.
8316         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
8317         * libio/iofputws.c (fputws): Likewise.
8318         * libio/iofputws_u.c (fputws_unlocked): Likewise.
8319         * libio/iofread.c (_IO_fread): Likewise.
8320         * libio/iofread_u.c (__fread_unlocked): Likewise.
8321         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
8322         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
8323         * libio/ioftell.c (_IO_ftell): Likewise.
8324         * libio/iofwrite.c (_IO_fwrite): Likewise.
8325         * libio/iogetdelim.c (_IO_getdelim): Likewise.
8326         * libio/iogets.c (_IO_gets): Likewise.
8327         * libio/iopadn.c (_IO_padn): Likewise.
8328         * libio/iopopen.c (_IO_new_proc_open): Likewise.
8329         (_IO_new_popen): Likewise.
8330         (_IO_new_proc_close): Likewise.
8331         * libio/ioputs.c (_IO_puts): Likewise.
8332         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
8333         (_IO_seekoff): Likewise.
8334         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
8335         (_IO_seekpos): Likewise.
8336         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
8337         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
8338         * libio/ioungetc.c (_IO_ungetc): Likewise.
8339         * libio/ioungetwc.c (ungetwc): Likewise.
8340         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
8341         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
8342         * libio/iowpadn.c (_IO_wpadn): Likewise.
8343         * libio/libc_fatal.c (__libc_fatal): Likewise.
8344         * libio/memstream.c (__open_memstream): Likewise.
8345         (_IO_mem_sync): Likewise.
8346         (_IO_mem_finish): Likewise.
8347         * libio/oldfileops.c (_IO_old_file_init): Likewise.
8348         (_IO_old_file_close_it): Likewise.
8349         (_IO_old_file_finish): Likewise.
8350         (_IO_old_file_fopen): Likewise.
8351         (_IO_old_file_attach): Likewise.
8352         (_IO_old_file_setbuf): Likewise.
8353         (_IO_old_do_write): Likewise.
8354         (old_do_write): Likewise.
8355         (_IO_old_file_underflow): Likewise.
8356         (_IO_old_file_overflow): Likewise.
8357         (_IO_old_file_sync): Likewise.
8358         (_IO_old_file_seekoff): Likewise.
8359         (_IO_old_file_write): Likewise.
8360         (_IO_old_file_xsputn): Likewise.
8361         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
8362         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
8363         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
8364         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
8365         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
8366         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
8367         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
8368         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
8369         (_IO_old_popen): Likewise.
8370         (_IO_old_proc_close): Likewise.
8371         * libio/oldpclose.c (__old_pclose): Likewise.
8372         * libio/pclose.c (__new_pclose): Likewise.
8373         * libio/peekc.c (_IO_peekc_locked): Likewise.
8374         * libio/putc.c (_IO_putc): Likewise.
8375         * libio/putc_u.c (putc_unlocked): Likewise.
8376         * libio/putchar.c (putchar): Likewise.
8377         * libio/putchar_u.c (putchar_unlocked): Likewise.
8378         * libio/putwc.c (putwc): Likewise.
8379         * libio/putwc_u.c (putwc_unlocked): Likewise.
8380         * libio/putwchar.c (putwchar): Likewise.
8381         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
8382         * libio/rewind.c (rewind): Likewise.
8383         * libio/setbuf.c (setbuf): Likewise.
8384         * libio/setlinebuf.c (setlinebuf): Likewise.
8385         * libio/vasprintf.c (_IO_vasprintf): Likewise.
8386         * libio/vscanf.c (_IO_vscanf): Likewise.
8387         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
8388         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
8389         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
8390         * libio/wgenops.c (_IO_least_wmarker): Likewise.
8391         (_IO_switch_to_main_wget_area): Likewise.
8392         (_IO_switch_to_wbackup_area): Likewise.
8393         (_IO_wsetb): Likewise.
8394         (_IO_wdefault_pbackfail): Likewise.
8395         (_IO_wdefault_finish): Likewise.
8396         (_IO_wdefault_uflow): Likewise.
8397         (__woverflow): Likewise.
8398         (__wuflow): Likewise.
8399         (__wunderflow): Likewise.
8400         (_IO_wdefault_xsputn): Likewise.
8401         (_IO_wdefault_xsgetn): Likewise.
8402         (_IO_wdoallocbuf): Likewise.
8403         (_IO_wdefault_doallocate): Likewise.
8404         (_IO_switch_to_wget_mode): Likewise.
8405         (_IO_free_wbackup_area): Likewise.
8406         (_IO_switch_to_wput_mode): Likewise.
8407         (_IO_sputbackwc): Likewise.
8408         (_IO_sungetwc): Likewise.
8409         (_IO_adjust_wcolumn): Likewise.
8410         (_IO_init_wmarker): Likewise.
8411         (_IO_wmarker_delta): Likewise.
8412         (_IO_seekwmark): Likewise.
8413         (_IO_unsave_wmarkers): Likewise.
8414         * libio/wmemstream.c (open_wmemstream): Likewise.
8415         (_IO_wmem_sync): Likewise.
8416         (_IO_wmem_finish): Likewise.
8417         * locale/nl_langinfo.c (nl_langinfo): Likewise.
8418         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
8419         * locale/programs/simple-hash.c (init_hash): Likewise.
8420         (delete_hash): Likewise.
8421         (insert_entry): Likewise.
8422         (set_entry): Likewise.
8423         (next_prime): Likewise.
8424         (is_prime): Likewise.
8425         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
8426         (xmalloc): Likewise.
8427         (xrealloc): Likewise.
8428         * locale/programs/xstrdup.c (xstrdup): Likewise.
8429         * localedata/collate-test.c (xstrcoll): Likewise.
8430         * localedata/xfrm-test.c (xstrcmp): Likewise.
8431         * login/getlogin_r.c (__getlogin_r): Likewise.
8432         * login/getpt.c (__posix_openpt): Likewise.
8433         * login/login_tty.c (login_tty): Likewise.
8434         * login/setlogin.c (setlogin): Likewise.
8435         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
8436         (mach_msg_destroy_port): Likewise.
8437         (mach_msg_destroy_memory): Likewise.
8438         * malloc/mcheck.c (flood): Likewise.
8439         * misc/acct.c (acct): Likewise.
8440         * misc/brk.c (__brk): Likewise.
8441         * misc/chflags.c (chflags): Likewise.
8442         * misc/chroot.c (chroot): Likewise.
8443         * misc/fchflags.c (fchflags): Likewise.
8444         * misc/fstab.c (getfsspec): Likewise.
8445         (getfsfile): Likewise.
8446         * misc/fsync.c (fsync): Likewise.
8447         * misc/ftruncate.c (__ftruncate): Likewise.
8448         * misc/ftruncate64.c (__ftruncate64): Likewise.
8449         * misc/getdomain.c (getdomainname): Likewise.
8450         (getdomainname): Likewise.
8451         * misc/gethostname.c (__gethostname): Likewise.
8452         * misc/getpass.c (getpass): Likewise.
8453         * misc/getttyent.c (skip): Likewise.
8454         (value): Likewise.
8455         * misc/gtty.c (gtty): Likewise.
8456         * misc/hsearch.c (hsearch): Likewise.
8457         (hcreate): Likewise.
8458         * misc/hsearch_r.c (__hcreate_r): Likewise.
8459         (__hdestroy_r): Likewise.
8460         * misc/ioctl.c (__ioctl): Likewise.
8461         * misc/mkdtemp.c (mkdtemp): Likewise.
8462         * misc/mkostemp.c (mkostemp): Likewise.
8463         * misc/mkostemp64.c (mkostemp64): Likewise.
8464         * misc/mkostemps.c (mkostemps): Likewise.
8465         * misc/mkostemps64.c (mkostemps64): Likewise.
8466         * misc/mkstemp.c (mkstemp): Likewise.
8467         * misc/mkstemp64.c (mkstemp64): Likewise.
8468         * misc/mkstemps.c (mkstemps): Likewise.
8469         * misc/mkstemps64.c (mkstemps64): Likewise.
8470         * misc/mktemp.c (__mktemp): Likewise.
8471         * misc/preadv.c (preadv): Likewise.
8472         * misc/preadv64.c (preadv64): Likewise.
8473         * misc/pwritev.c (pwritev): Likewise.
8474         * misc/pwritev64.c (pwritev64): Likewise.
8475         * misc/readv.c (__readv): Likewise.
8476         * misc/revoke.c (revoke): Likewise.
8477         * misc/setdomain.c (setdomainname): Likewise.
8478         * misc/setegid.c (setegid): Likewise.
8479         * misc/seteuid.c (seteuid): Likewise.
8480         * misc/sethostid.c (sethostid): Likewise.
8481         * misc/sethostname.c (sethostname): Likewise.
8482         * misc/setregid.c (__setregid): Likewise.
8483         * misc/setreuid.c (__setreuid): Likewise.
8484         * misc/sstk.c (sstk): Likewise.
8485         * misc/stty.c (stty): Likewise.
8486         * misc/syscall.c (syscall): Likewise.
8487         * misc/syslog.c (setlogmask): Likewise.
8488         * misc/truncate.c (__truncate): Likewise.
8489         * misc/truncate64.c (truncate64): Likewise.
8490         * misc/ualarm.c (ualarm): Likewise.
8491         * misc/usleep.c (usleep): Likewise.
8492         * misc/ustat.c (ustat): Likewise.
8493         * misc/writev.c (__writev): Likewise.
8494         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
8495         * nptl/old_pthread_cond_broadcast.c
8496         (__pthread_cond_broadcast_2_0): Likewise.
8497         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
8498         Likewise.
8499         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
8500         Likewise.
8501         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
8502         Likewise.
8503         * nptl/pt-raise.c (raise): Likewise.
8504         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
8505         Likewise.
8506         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
8507         * nptl/pthread_barrierattr_destroy.c
8508         (pthread_barrierattr_destroy): Likewise.
8509         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
8510         Likewise.
8511         * nptl/pthread_barrierattr_setpshared.c
8512         (pthread_barrierattr_setpshared): Likewise.
8513         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
8514         Likewise.
8515         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
8516         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
8517         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
8518         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
8519         Likewise.
8520         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
8521         Likewise.
8522         * nptl/pthread_condattr_getpshared.c
8523         (pthread_condattr_getpshared): Likewise.
8524         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
8525         Likewise.
8526         * nptl/pthread_condattr_setpshared.c
8527         (pthread_condattr_setpshared): Likewise.
8528         * nptl/pthread_detach.c (pthread_detach): Likewise.
8529         * nptl/pthread_equal.c (__pthread_equal): Likewise.
8530         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
8531         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
8532         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
8533         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
8534         Likewise.
8535         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
8536         Likewise.
8537         * nptl/pthread_mutex_getprioceiling.c
8538         (pthread_mutex_getprioceiling): Likewise.
8539         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
8540         Likewise.
8541         * nptl/pthread_mutexattr_getprotocol.c
8542         (pthread_mutexattr_getprotocol): Likewise.
8543         * nptl/pthread_mutexattr_getpshared.c
8544         (pthread_mutexattr_getpshared): Likewise.
8545         * nptl/pthread_mutexattr_getrobust.c
8546         (pthread_mutexattr_getrobust): Likewise.
8547         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
8548         Likewise.
8549         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
8550         Likewise.
8551         * nptl/pthread_mutexattr_setprioceiling.c
8552         (pthread_mutexattr_setprioceiling): Likewise.
8553         * nptl/pthread_mutexattr_setprotocol.c
8554         (pthread_mutexattr_setprotocol): Likewise.
8555         * nptl/pthread_mutexattr_setpshared.c
8556         (pthread_mutexattr_setpshared): Likewise.
8557         * nptl/pthread_mutexattr_setrobust.c
8558         (pthread_mutexattr_setrobust): Likewise.
8559         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
8560         Likewise.
8561         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
8562         Likewise.
8563         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
8564         Likewise.
8565         * nptl/pthread_rwlockattr_getkind_np.c
8566         (pthread_rwlockattr_getkind_np): Likewise.
8567         * nptl/pthread_rwlockattr_getpshared.c
8568         (pthread_rwlockattr_getpshared): Likewise.
8569         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
8570         Likewise.
8571         * nptl/pthread_rwlockattr_setkind_np.c
8572         (pthread_rwlockattr_setkind_np): Likewise.
8573         * nptl/pthread_rwlockattr_setpshared.c
8574         (pthread_rwlockattr_setpshared): Likewise.
8575         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
8576         Likewise.
8577         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
8578         Likewise.
8579         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
8580         Likewise.
8581         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
8582         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
8583         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
8584         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
8585         * nptl/sem_close.c (sem_close): Likewise.
8586         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
8587         * nptl/sem_init.c (__old_sem_init): Likewise.
8588         * nptl/sigaction.c (__sigaction): Likewise.
8589         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
8590         * posix/_exit.c (_exit): Likewise.
8591         * posix/alarm.c (alarm): Likewise.
8592         * posix/confstr.c (confstr): Likewise.
8593         * posix/fpathconf.c (__fpathconf): Likewise.
8594         * posix/getgroups.c (__getgroups): Likewise.
8595         * posix/getpgid.c (__getpgid): Likewise.
8596         * posix/group_member.c (__group_member): Likewise.
8597         * posix/pathconf.c (__pathconf): Likewise.
8598         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
8599         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
8600         * posix/setgid.c (__setgid): Likewise.
8601         * posix/setpgid.c (__setpgid): Likewise.
8602         * posix/setuid.c (__setuid): Likewise.
8603         * posix/sleep.c (__sleep): Likewise.
8604         * posix/sysconf.c (__sysconf): Likewise.
8605         * posix/times.c (__times): Likewise.
8606         * posix/uname.c (__uname): Likewise.
8607         * posix/waitid.c (__waitid): Likewise.
8608         * pwd/getpw.c (__getpw): Likewise.
8609         * resolv/base64.c (b64_pton): Likewise.
8610         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
8611         * resolv/gethnamaddr.c (Dprintf): Likewise.
8612         (gethostbyname): Likewise.
8613         (gethostbyname2): Likewise.
8614         (gethostbyaddr): Likewise.
8615         (_sethtent): Likewise.
8616         (_gethtbyname): Likewise.
8617         (_gethtbyname2): Likewise.
8618         (_gethtbyaddr): Likewise.
8619         (map_v4v6_address): Likewise.
8620         (map_v4v6_hostent): Likewise.
8621         (addrsort): Likewise.
8622         (ht_sethostent): Likewise.
8623         (ht_gethostbyname): Likewise.
8624         (ht_gethostbyaddr): Likewise.
8625         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
8626         (inet_net_ntop_ipv4): Likewise.
8627         * resolv/inet_neta.c (inet_neta): Likewise.
8628         * resolv/inet_ntop.c (inet_ntop): Likewise.
8629         (inet_ntop4): Likewise.
8630         (inet_ntop6): Likewise.
8631         * resolv/inet_pton.c (__inet_pton): Likewise.
8632         (inet_pton4): Likewise.
8633         (inet_pton6): Likewise.
8634         * resolv/res_debug.c (loc_aton): Likewise.
8635         (loc_ntoa): Likewise.
8636         * resource/getpriority.c (__getpriority): Likewise.
8637         * resource/getrusage.c (__getrusage): Likewise.
8638         * resource/nice.c (nice): Likewise.
8639         * resource/setpriority.c (__setpriority): Likewise.
8640         * resource/setrlimit64.c (setrlimit64): Likewise.
8641         * resource/vlimit.c (vlimit): Likewise.
8642         * resource/vtimes.c (vtimes): Likewise.
8643         * rt/aio_error.c (aio_error): Likewise.
8644         * rt/aio_return.c (aio_return): Likewise.
8645         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
8646         * signal/kill.c (__kill): Likewise.
8647         * signal/killpg.c (killpg): Likewise.
8648         * signal/raise.c (raise): Likewise.
8649         * signal/sigaction.c (__sigaction): Likewise.
8650         * signal/sigaddset.c (sigaddset): Likewise.
8651         * signal/sigaltstack.c (sigaltstack): Likewise.
8652         * signal/sigandset.c (sigandset): Likewise.
8653         * signal/sigblock.c (__sigblock): Likewise.
8654         * signal/sigdelset.c (sigdelset): Likewise.
8655         * signal/sigempty.c (sigemptyset): Likewise.
8656         * signal/sigfillset.c (sigfillset): Likewise.
8657         * signal/sighold.c (sighold): Likewise.
8658         * signal/sigignore.c (sigignore): Likewise.
8659         * signal/sigintr.c (siginterrupt): Likewise.
8660         * signal/sigisempty.c (sigisemptyset): Likewise.
8661         * signal/sigismem.c (sigismember): Likewise.
8662         * signal/signal.c (signal): Likewise.
8663         * signal/sigorset.c (sigorset): Likewise.
8664         * signal/sigpause.c (__sigpause): Likewise.
8665         * signal/sigpending.c (sigpending): Likewise.
8666         * signal/sigprocmask.c (__sigprocmask): Likewise.
8667         * signal/sigrelse.c (sigrelse): Likewise.
8668         * signal/sigreturn.c (__sigreturn): Likewise.
8669         * signal/sigset.c (sigset): Likewise.
8670         * signal/sigsetmask.c (__sigsetmask): Likewise.
8671         * signal/sigstack.c (sigstack): Likewise.
8672         * signal/sigsuspend.c (__sigsuspend): Likewise.
8673         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
8674         * signal/sysv_signal.c (__sysv_signal): Likewise.
8675         * socket/accept.c (accept): Likewise.
8676         * socket/accept4.c (__libc_accept4): Likewise.
8677         * socket/bind.c (__bind): Likewise.
8678         * socket/connect.c (__connect): Likewise.
8679         * socket/getpeername.c (getpeername): Likewise.
8680         * socket/getsockname.c (__getsockname): Likewise.
8681         * socket/getsockopt.c (getsockopt): Likewise.
8682         * socket/listen.c (__listen): Likewise.
8683         * socket/recv.c (__recv): Likewise.
8684         * socket/recvmsg.c (__recvmsg): Likewise.
8685         * socket/send.c (__send): Likewise.
8686         * socket/sendmsg.c (__sendmsg): Likewise.
8687         * socket/shutdown.c (shutdown): Likewise.
8688         * socket/sockatmark.c (sockatmark): Likewise.
8689         * socket/socket.c (__socket): Likewise.
8690         * stdio-common/ctermid.c (ctermid): Likewise.
8691         * stdio-common/cuserid.c (cuserid): Likewise.
8692         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
8693         * stdio-common/remove.c (remove): Likewise.
8694         * stdio-common/rename.c (rename): Likewise.
8695         * stdio-common/renameat.c (renameat): Likewise.
8696         * stdio-common/tempname.c (__gen_tempname): Likewise.
8697         * stdio-common/xbug.c (InitBuffer): Likewise.
8698         (AppendToBuffer): Likewise.
8699         (ReadFile): Likewise.
8700         * stdlib/a64l.c (a64l): Likewise.
8701         * stdlib/drand48_r.c (drand48_r): Likewise.
8702         * stdlib/getcontext.c (getcontext): Likewise.
8703         * stdlib/getenv.c (getenv): Likewise.
8704         * stdlib/l64a.c (l64a): Likewise.
8705         * stdlib/llabs.c (llabs): Likewise.
8706         * stdlib/lldiv.c (lldiv): Likewise.
8707         * stdlib/lrand48_r.c (lrand48_r): Likewise.
8708         * stdlib/mrand48_r.c (mrand48_r): Likewise.
8709         * stdlib/putenv.c (putenv): Likewise.
8710         * stdlib/random.c (__srandom): Likewise.
8711         (__initstate): Likewise.
8712         (__setstate): Likewise.
8713         * stdlib/random_r.c (__srandom_r): Likewise.
8714         (__setstate_r): Likewise.
8715         (__random_r): Likewise.
8716         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
8717         * stdlib/setcontext.c (setcontext): Likewise.
8718         * stdlib/setenv.c (setenv): Likewise.
8719         (unsetenv): Likewise.
8720         * stdlib/srand48.c (srand48): Likewise.
8721         * stdlib/srand48_r.c (__srand48_r): Likewise.
8722         * stdlib/swapcontext.c (swapcontext): Likewise.
8723         * stdlib/system.c (__libc_system): Likewise.
8724         * stdlib/tst-strtod.c (expand): Likewise.
8725         * stdlib/tst-strtol.c (expand): Likewise.
8726         * stdlib/tst-strtoll.c (expand): Likewise.
8727         * streams/fattach.c (fattach): Likewise.
8728         * streams/fdetach.c (fdetach): Likewise.
8729         * streams/getmsg.c (getmsg): Likewise.
8730         * streams/isastream.c (isastream): Likewise.
8731         * string/ffs.c (__ffs): Likewise.
8732         * string/ffsll.c (ffsll): Likewise.
8733         * string/memcmp.c (memcmp_common_alignment): Likewise.
8734         (memcmp_not_common_alignment): Likewise.
8735         (MEMCMP): Likewise.
8736         * string/memcpy.c (memcpy): Likewise.
8737         * string/memmove.c (MEMMOVE): Likewise.
8738         * string/memset.c (memset): Likewise.
8739         * string/rawmemchr.c (RAWMEMCHR): Likewise.
8740         * string/strchrnul.c (STRCHRNUL): Likewise.
8741         * string/strerror.c (strerror): Likewise.
8742         * string/strndup.c (__strndup): Likewise.
8743         * string/strverscmp.c (__strverscmp): Likewise.
8744         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
8745         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
8746         (clnttcp_freeres): Likewise.
8747         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
8748         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
8749         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
8750         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
8751         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
8752         (xdr_callhdr): Likewise.
8753         * sunrpc/rpcinfo.c (udpping): Likewise.
8754         (tcpping): Likewise.
8755         (pstatus): Likewise.
8756         (pmapdump): Likewise.
8757         (brdcst): Likewise.
8758         (deletereg): Likewise.
8759         (getprognum): Likewise.
8760         (getvers): Likewise.
8761         (get_inet_address): Likewise.
8762         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
8763         * sunrpc/svc_udp.c (svcudp_create): Likewise.
8764         (svcudp_stat): Likewise.
8765         (svcudp_recv): Likewise.
8766         (svcudp_reply): Likewise.
8767         (svcudp_getargs): Likewise.
8768         (svcudp_freeargs): Likewise.
8769         (svcudp_destroy): Likewise.
8770         * sunrpc/xdr.c (xdr_bytes): Likewise.
8771         (xdr_netobj): Likewise.
8772         (xdr_string): Likewise.
8773         (xdr_wrapstring): Likewise.
8774         * sunrpc/xdr_float.c (xdr_float): Likewise.
8775         (xdr_double): Likewise.
8776         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
8777         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
8778         * sysvipc/ftok.c (ftok): Likewise.
8779         * sysvipc/msgctl.c (msgctl): Likewise.
8780         * sysvipc/msgget.c (msgget): Likewise.
8781         * sysvipc/msgrcv.c (msgrcv): Likewise.
8782         * sysvipc/msgsnd.c (msgsnd): Likewise.
8783         * sysvipc/semget.c (semget): Likewise.
8784         * sysvipc/semop.c (semop): Likewise.
8785         * sysvipc/shmat.c (shmat): Likewise.
8786         * sysvipc/shmctl.c (shmctl): Likewise.
8787         * sysvipc/shmdt.c (shmdt): Likewise.
8788         * sysvipc/shmget.c (shmget): Likewise.
8789         * termios/cfmakeraw.c (cfmakeraw): Likewise.
8790         * termios/speed.c (cfgetospeed): Likewise.
8791         (cfgetispeed): Likewise.
8792         (cfsetospeed): Likewise.
8793         (cfsetispeed): Likewise.
8794         * termios/tcflow.c (tcflow): Likewise.
8795         * termios/tcflush.c (tcflush): Likewise.
8796         * termios/tcgetattr.c (__tcgetattr): Likewise.
8797         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
8798         * termios/tcgetsid.c (tcgetsid): Likewise.
8799         * termios/tcsendbrk.c (tcsendbreak): Likewise.
8800         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
8801         * time/adjtime.c (__adjtime): Likewise.
8802         * time/dysize.c (dysize): Likewise.
8803         * time/ftime.c (ftime): Likewise.
8804         * time/getitimer.c (__getitimer): Likewise.
8805         * time/gettimeofday.c (__gettimeofday): Likewise.
8806         * time/gmtime.c (__gmtime_r): Likewise.
8807         (gmtime): Likewise.
8808         * time/localtime.c (__localtime_r): Likewise.
8809         (localtime): Likewise.
8810         * time/offtime.c (__offtime): Likewise.
8811         * time/settimeofday.c (__settimeofday): Likewise.
8812         * time/stime.c (stime): Likewise.
8813         * time/strftime_l.c (tm_diff): Likewise.
8814         (iso_week_days): Likewise.
8815         * time/strptime.c (strptime): Likewise.
8816         * time/time.c (time): Likewise.
8817         * time/timespec_get.c (timespec_get): Likewise.
8818         * time/tzset.c (tzset_internal): Likewise.
8819         (compute_change): Likewise.
8820         (__tz_compute): Likewise.
8821         * wcsmbs/btowc.c (__btowc): Likewise.
8822         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
8823         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
8824         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
8825         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
8826         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
8827         * wcsmbs/wcscat.c (__wcscat): Likewise.
8828         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
8829         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
8830         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
8831         * wcsmbs/wcscspn.c (wcscspn): Likewise.
8832         * wcsmbs/wcsdup.c (wcsdup): Likewise.
8833         * wcsmbs/wcslen.c (__wcslen): Likewise.
8834         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
8835         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
8836         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
8837         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
8838         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
8839         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
8840         * wcsmbs/wcsspn.c (wcsspn): Likewise.
8841         * wcsmbs/wcsstr.c (wcsstr): Likewise.
8842         * wcsmbs/wcstok.c (wcstok): Likewise.
8843         * wcsmbs/wctob.c (wctob): Likewise.
8844         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
8845         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
8846         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
8847         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
8848         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
8849         * wcsmbs/wmemset.c (__wmemset): Likewise.
8850         * wctype/wcfuncs.c (__towlower): Likewise.
8851         (__towupper): Likewise.
8853         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
8854         (lll_unlock_elision): Add adapt_count parameter.
8856 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
8858         * sysdeps/nptl/configure.ac: Do not give errors based on the
8859         results of top-level configure tests.
8860         * sysdeps/nptl/configure: Regenerated.
8862         * configure.ac (libc_cv_Bgroup): Remove configure test.
8863         * configure: Regenerated.
8864         * config.make.in (have-Bgroup): Remove variable.
8866         * configure.ac (sizeof_long_double): Remove configure test.
8867         * configure: Regenerated.
8868         * config.make.in (sizeof-long-double): Remove variable.
8870         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
8871         * configure: Regenerated.
8872         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
8873         variable.
8874         (exceptions): Likewise.
8875         * sysdeps/arm/configure: Regenerated.
8876         * config.make.in (exceptions): Remove variable.
8877         * Makeconfig (uses-callbacks): Use -fexceptions instead of
8878         $(exceptions).
8879         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
8880         (CFLAGS-vdprintf_chk.c): Likewise.
8881         (CFLAGS-printf_chk.c): Likewise.
8882         (CFLAGS-fprintf_chk.c): Likewise.
8883         (CFLAGS-vprintf_chk.c): Likewise.
8884         (CFLAGS-vfprintf_chk.c): Likewise.
8885         (CFLAGS-gets_chk.c): Likewise.
8886         (CFLAGS-fgets_chk.c): Likewise.
8887         (CFLAGS-fgets_u_chk.c): Likewise.
8888         (CFLAGS-fread_chk.c): Likewise.
8889         (CFLAGS-fread_u_chk.c): Likewise.
8890         (CFLAGS-wprintf_chk.c): Likewise.
8891         (CFLAGS-fwprintf_chk.c): Likewise.
8892         (CFLAGS-vwprintf_chk.c): Likewise.
8893         (CFLAGS-vfwprintf_chk.c): Likewise.
8894         (CFLAGS-fgetws_chk.c): Likewise.
8895         (CFLAGS-fgetws_u_chk.c): Likewise.
8896         * libio/Makefile (CFLAGS-fileops.c): Likewise.
8897         (CFLAGS-fputc.c): Likewise.
8898         (CFLAGS-fputwc.c): Likewise.
8899         (CFLAGS-freopen64.c): Likewise.
8900         (CFLAGS-freopen.c): Likewise.
8901         (CFLAGS-fseek.c): Likewise.
8902         (CFLAGS-fseeko64.c): Likewise.
8903         (CFLAGS-fseeko.c): Likewise.
8904         (CFLAGS-ftello64.c): Likewise.
8905         (CFLAGS-ftello.c): Likewise.
8906         (CFLAGS-fwide.c): Likewise.
8907         (CFLAGS-genops.c): Likewise.
8908         (CFLAGS-getc.c): Likewise.
8909         (CFLAGS-getchar.c): Likewise.
8910         (CFLAGS-getwc.c): Likewise.
8911         (CFLAGS-getwchar.c): Likewise.
8912         (CFLAGS-iofclose.c): Likewise.
8913         (CFLAGS-iofflush.c): Likewise.
8914         (CFLAGS-iofgetpos64.c): Likewise.
8915         (CFLAGS-iofgetpos.c): Likewise.
8916         (CFLAGS-iofgets.c): Likewise.
8917         (CFLAGS-iofgetws.c): Likewise.
8918         (CFLAGS-iofputs.c): Likewise.
8919         (CFLAGS-iofputws.c): Likewise.
8920         (CFLAGS-iofread.c): Likewise.
8921         (CFLAGS-iofsetpos64.c): Likewise.
8922         (CFLAGS-iofsetpos.c): Likewise.
8923         (CFLAGS-ioftell.c): Likewise.
8924         (CFLAGS-iofwrite.c): Likewise.
8925         (CFLAGS-iogetdelim.c): Likewise.
8926         (CFLAGS-iogetline.c): Likewise.
8927         (CFLAGS-iogets.c): Likewise.
8928         (CFLAGS-iogetwline.c): Likewise.
8929         (CFLAGS-ioputs.c): Likewise.
8930         (CFLAGS-ioseekoff.c): Likewise.
8931         (CFLAGS-ioseekpos.c): Likewise.
8932         (CFLAGS-iosetbuffer.c): Likewise.
8933         (CFLAGS-iosetvbuf.c): Likewise.
8934         (CFLAGS-ioungetc.c): Likewise.
8935         (CFLAGS-ioungetwc.c): Likewise.
8936         (CFLAGS-oldfileops.c): Likewise.
8937         (CFLAGS-oldiofclose.c): Likewise.
8938         (CFLAGS-oldiofgetpos64.c): Likewise.
8939         (CFLAGS-oldiofgetpos.c): Likewise.
8940         (CFLAGS-oldiofsetpos64.c): Likewise.
8941         (CFLAGS-oldiofsetpos.c): Likewise.
8942         (CFLAGS-peekc.c): Likewise.
8943         (CFLAGS-putc.c): Likewise.
8944         (CFLAGS-putchar.c): Likewise.
8945         (CFLAGS-putwc.c): Likewise.
8946         (CFLAGS-putwchar.c): Likewise.
8947         (CFLAGS-rewind.c): Likewise.
8948         (CFLAGS-wfileops.c): Likewise.
8949         (CFLAGS-wgenops.c): Likewise.
8950         (CFLAGS-oldiofopen.c): Likewise.
8951         (CFLAGS-iofopen.c): Likewise.
8952         (CFLAGS-iofopen64.c): Likewise.
8953         (CFLAGS-oldtmpfile.c): Likewise.
8954         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
8955         (CFLAGS-fprintf.c): Likewise.
8956         (CFLAGS-printf.c): Likewise.
8957         (CFLAGS-vfwprintf.c): Likewise.
8958         (CFLAGS-vfscanf.c): Likewise.
8959         (CFLAGS-vfwscanf.c): Likewise.
8960         (CFLAGS-fscanf.c): Likewise.
8961         (CFLAGS-scanf.c): Likewise.
8962         (CFLAGS-isoc99_vfscanf.c): Likewise.
8963         (CFLAGS-isoc99_vscanf.c): Likewise.
8964         (CFLAGS-isoc99_fscanf.c): Likewise.
8965         (CFLAGS-isoc99_scanf.c): Likewise.
8966         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
8967         (CFLAGS-isoc99_fwscanf.c): Likewise.
8968         (CFLAGS-isoc99_vwscanf.c): Likewise.
8969         (CFLAGS-isoc99_vfwscanf.c): Likewise.
8971         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
8972         after mkstemp64.
8973         * login/tst-utmp.c (do_prepare): Likewise.
8974         * rt/tst-aio.c (do_prepare): Likewise.
8975         * rt/tst-aio64.c (do_prepare): Likewise.
8977 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8979         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
8980         (__lll_lock_elision): Remove adapt_count decrement...
8981         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
8982         (__lll_trylock_elision): Likewise.
8983         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
8984         (__lll_unlock_elision): ... to here. And utilize
8985         new adapt_count parameter.
8986         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
8987         (__lll_unlock_elision): Update to include adapt_count
8988         parameter.
8989         (lll_unlock_elision): Pass pointer to adapt_count
8990         variable.
8992 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8994         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
8995         Add elision adapt_count parameter to list of arguments.
8996         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
8997         (lll_unlock_elision): Update with new parameter list
8998         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
8999         (lll_unlock_elision): Likewise.
9000         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
9001         (lll_unlock_elision): Likewise.
9003 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
9005         [BZ #19122]
9006         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
9007         attribute_hidden.
9009         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
9010         attribute_hidden.
9011         [IS_IN (rtld)] (__strdup): Likewise.
9012         [IS_IN (rtld)] (__strerror_r): Likewise.
9013         [IS_IN (rtld)] (__strsep_g): Likewise.
9014         [IS_IN (rtld)] (memchr): Likewise.
9015         [IS_IN (rtld)] (memcmp): Likewise.
9016         [IS_IN (rtld)] (memcpy): Likewise.
9017         [IS_IN (rtld)] (memmove): Likewise.
9018         [IS_IN (rtld)] (memset): Likewise.
9019         [IS_IN (rtld)] (rawmemchr): Likewise.
9020         [IS_IN (rtld)] (stpcpy): Likewise.
9021         [IS_IN (rtld)] (strchr): Likewise.
9022         [IS_IN (rtld)] (strcmp): Likewise.
9023         [IS_IN (rtld)] (strlen): Likewise.
9024         [IS_IN (rtld)] (strnlen): Likewise.
9025         [IS_IN (rtld)] (strsep): Likewise.
9027         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
9028         attribute_hidden.
9029         [IS_IN (rtld)] (__strtoul_internal): Likewise.
9031         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
9032         attribute_hidden.
9033         [IS_IN (rtld)] (__libc_sigaction): Likewise.
9035         * include/setjmp.h (__longjmp): Add attribute_hidden.
9036         [IS_IN (rtld)] (__sigsetjmp): Likewise.
9038         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
9039         Add attribute_hidden.
9041         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
9042         [IS_IN (rtld)] (__open): Likewise.
9043         [IS_IN (rtld)] (__fcntl): Likewise.
9045         * include/dirent.h (__opendirat): Add attribute_hidden.
9046         (__getdents): Likewise.
9047         (__getdents64): Likewise.
9048         (__alloc_dir): Likewise.
9049         [IS_IN (rtld)] (__closedir): Likewise.
9050         [IS_IN (rtld)] (__fdopendir): Likewise.
9051         [IS_IN (rtld)] (__readdir): Likewise.
9052         [IS_IN (rtld)] (__readdir64): Likewise.
9053         [IS_IN (rtld)] (__rewinddir): Likewise.
9055         * include/dlfcn.h (_dl_catch_error): Moved to ...
9056         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
9057         attribute_hidden.
9059         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
9060         (_itoa_word): Likewise.
9062         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
9063         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
9064         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
9065         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
9066         (_dl_higher_prime_number): Likewise.
9067         (_dl_debug_printf_c): Likewise.
9068         (_dl_signal_cerror): Likewise.
9069         (_dl_receive_error): Likewise.
9070         (_dl_reloc_bad_type): Likewise.
9071         (_dl_resolve_conflicts): Likewise.
9072         (_dl_check_all_versions): Likewise.
9073         (_dl_check_map_versions): Likewise.
9074         (_dl_sort_fini): Likewise.
9075         (_dl_debug_initialize): Likewise.
9076         (_dl_init_paths): Likewise.
9077         (_dl_show_auxv): Likewise.
9078         (_dl_next_ld_env_entry): Likewise.
9079         (_dl_important_hwcaps): Likewise.
9080         (_dl_load_cache_lookup): Likewise.
9081         (_dl_update_slotinfo): Likewise.
9082         (_dl_show_scope): Likewise.
9084         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
9085         attribute_hidden.
9086         (_wordcopy_fwd_dest_aligned): Likewise.
9087         (_wordcopy_bwd_aligned): Likewise.
9088         (_wordcopy_bwd_dest_aligned): Likewise.
9090         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
9091         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
9092         Likewise.
9093         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
9094         Likewise.
9095         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
9097 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
9099         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
9100         GCC 5 requirement.
9102 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
9104         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
9105         test.
9106         * sysdeps/i386/configure: Regenerated.
9107         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
9108         code unconditional.
9110         * configure.ac (libc_cv_asm_previous_directive): Remove configure
9111         test.
9112         (libc_cv_asm_popsection_directive): Likewise.
9113         * configure: Regenerated.
9114         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
9115         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
9116         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
9117         (__make_section_unallocated): Make definition unconditional.
9118         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
9119         Remove conditional definition.
9120         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
9121         (__make_section_unallocated): Likewise.
9123         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
9124         * configure: Regenerated.
9125         * config.make.in (static-libgcc): Remove variable.
9126         * Makerules (build-shlib-helper): Use -static-libgcc instead of
9127         $(static-libgcc).
9128         (build-module-helper): Likewise.
9130         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
9131         * configure: Regenerated.
9133 2015-10-15  Florian Weimer  <fweimer@redhat.com>
9135         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
9136         (struct char_buffer): New type.
9137         (char_buffer_start, char_buffer_size, char_buffer_error)
9138         (char_buffer_rewind, char_buffer_add): New functions.
9139         (ADDW): Remove macro, replaced by the char_buffer_add function.
9140         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
9141         of extend_alloca.  Make control flow more explicit.
9143 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
9145         [BZ #19137]
9146         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
9147         Add -fomit-frame-pointer.
9148         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
9150 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
9152         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
9153         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
9154         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
9155         only if !__GNUC_PREREQ (5,0).
9156         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
9157         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
9158         (INTERNAL_SYSCALL_NCS): Likewise.
9159         (LOADREGS_0): New macro for GCC 5.
9160         (ASMARGS_0): Likewise.
9161         (LOADREGS_1): Likewise.
9162         (ASMARGS_1): Likewise.
9163         (LOADREGS_2): Likewise.
9164         (ASMARGS_2): Likewise.
9165         (LOADREGS_3): Likewise.
9166         (ASMARGS_3): Likewise.
9167         (LOADREGS_4): Likewise.
9168         (ASMARGS_4): Likewise.
9169         (LOADREGS_5): Likewise.
9170         (ASMARGS_5): Likewise.
9171         (LOADREGS_6): Likewise.
9172         (ASMARGS_6): Likewise.
9174 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
9176         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
9177         -fomit-frame-pointer.
9178         (CFLAGS-mmap64.c): Likewise.
9179         (CFLAGS-semtimedop.c): Likewise.
9180         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
9181         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
9182         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
9183         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
9185 2015-10-15  Florian Weimer  <fweimer@redhat.com>
9187         [BZ #18928]
9188         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
9189         _dl_pointer_guard member.
9190         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
9191         initializer.
9192         (security_init): Always set up pointer guard.
9193         (process_envvars): Do not process LD_POINTER_GUARD.
9195 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
9197         [BZ #19134]
9198         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
9199         (.LC2): Likewise.
9200         (.LC3): Likewise.
9201         (__lround): Do not add 0.5 to integer or out-of-range arguments.
9203 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9205         [BZ #19129]
9206         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
9207         r0 and r1.
9209 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
9211         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
9213 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
9215         * include/stap-probe.h: Fix macro definition formatting.
9217 2015-10-14  Florian Weimer  <fweimer@redhat.com>
9219         [BZ #19074]
9220         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
9221         load and store num_ifs.
9223 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
9225         [BZ #18822]
9226         * sysdeps/unix/sysv/linux/sched_getaffinity.c
9227         (__sched_getaffinity_new): Add libc_hidden_proto and
9228         libc_hidden_def.
9230 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
9232         [BZ #19007]
9233         * scripts/localplt.awk: Also allow GOT references.
9234         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
9235         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
9236         with "+ REL R_386_GLOB_DAT".
9237         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
9238         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
9240 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
9242         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
9243         INLINE_SYSCALL_ERROR_RETURN_VALUE.
9244         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
9245         Likewise.
9246         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
9247         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
9248         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
9249         INTERNAL_SYSCALLINTERNAL_SYSCALL and
9250         INLINE_SYSCALL_ERROR_RETURN_VALUE.
9251         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
9252         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
9253         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
9254         Likewise.
9255         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
9257 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
9259         [BZ #19125]
9260         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
9261         <math_private.h> and <stdint.h>.
9262         (__llround): Avoid conversions to and from long long int, and
9263         subtractions, where those might raise spurious exceptions.
9264         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
9265         <math_private.h> and <stdint.h>.
9266         (__llroundf): Avoid conversions to and from long long int, and
9267         subtractions, where those might raise spurious exceptions.
9269 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
9271         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
9272         INLINE_SYSCALL_ERROR_RETURN_VALUE.
9273         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
9274         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
9275         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
9276         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
9277         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
9278         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
9279         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
9280         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
9281         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9282         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
9283         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
9284         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
9285         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
9286         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
9287         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
9288         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
9289         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
9290         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
9291         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
9292         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
9293         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
9294         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
9295         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
9296         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
9297         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
9298         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
9299         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
9300         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
9301         (__xstat64_conv): Likewise.
9302         (__xstat32_conv): Likewise.
9304 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
9306         * sysdeps/unix/sysv/linux/sysdep.h: New file.
9307         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
9308         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
9309         <sysdeps/unix/sysv/linux/sysdep.h>.
9310         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
9311         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
9312         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
9313         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9314         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
9315         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
9316         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
9317         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
9318         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
9319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
9320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9321         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9322         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9323         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9324         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
9325         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9326         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
9327         (sysdep-dl-routines): Add sysdep.
9328         [$(subdir) == nptl] (libpthread-routines): Likewise.
9329         [$(subdir) == rt] (librt-routines): Likewise.
9330         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
9331         PIC when branching to SYSCALL_ERROR_LABEL.
9332         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
9333         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
9334         <sysdeps/unix/sysv/linux/sysdep.h>.
9335         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
9336         (SYSCALL_ERROR_ERRNO): Removed.
9337         (SYSCALL_ERROR_HANDLER): Changed to empty.
9338         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
9339         (__syscall_error): New prototype.
9340         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
9341         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
9343 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
9345         [BZ #19124]
9346         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
9347         (_dl_runtime_resolve_avx512): Make it a hidden alias of
9348         _dl_runtime_resolve_avx.
9349         (_dl_runtime_profile_avx512): Make it a hidden alias of
9350         _dl_runtime_profile_avx.
9352 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
9354         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
9355         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
9356         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
9357         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
9359         [BZ #16422]
9360         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
9361         New configure test.
9362         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
9363         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
9364         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
9365         <math_private.h> and <stdint.h>.
9366         (__llrint): Avoid conversions to long long int where those might
9367         raise spurious exceptions.
9368         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
9369         <math_private.h> and <stdint.h>.
9370         (__llrintf): Avoid conversions to long long int where those might
9371         raise spurious exceptions.
9373 2015-10-12  Andreas Schwab  <schwab@suse.de>
9375         [BZ #18969]
9376         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
9377         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
9378         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
9379         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
9380         $(gen-locales).
9381         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
9382         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
9383         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
9384         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
9385         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
9386         $(gen-locales).
9387         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
9388         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
9389         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
9390         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
9391         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
9392         ($(objpfx)tst-ftell-active-handler.out)
9393         ($(objpfx)tst-ftell-append.out)
9394         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
9395         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
9396         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
9397         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
9398         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
9399         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
9400         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
9401         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
9402         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
9403         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
9404         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
9405         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
9406         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
9407         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
9408         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
9409         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
9410         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
9411         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
9412         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
9413         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
9414         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
9415         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
9416         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
9417         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
9418         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
9419         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
9420         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
9421         $(gen-locales).
9422         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
9423         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
9424         $(gen-locales).
9425         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
9426         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
9427         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
9428         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
9429         $(gen-locales).
9430         * libio/tst_wprintf2.c (main): Use explicit locale.
9431         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
9433 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9435         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
9436         __msg_sig_post.
9437         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
9439 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
9441         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
9442         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9444         * sysdeps/arm/libm-test-ulps: Regenerated.
9446         [BZ #15470]
9447         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
9449         [BZ #16399]
9450         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
9451         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
9452         and <fix-fp-int-convert-overflow.h>.
9453         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
9454         FIX_DBL_LLONG_CONVERT_OVERFLOW.
9455         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
9456         and <fix-fp-int-convert-overflow.h>.
9457         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
9458         FIX_DBL_LLONG_CONVERT_OVERFLOW.
9459         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
9460         <fix-fp-int-convert-overflow.h>.
9461         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
9462         FIX_DBL_LLONG_CONVERT_OVERFLOW.
9463         * sysdeps/ieee754/dbl-64/s_lround.c: Include
9464         <fix-fp-int-convert-overflow.h>.
9465         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
9466         FIX_DBL_LLONG_CONVERT_OVERFLOW.
9467         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
9468         and <fix-fp-int-convert-overflow.h>.
9469         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
9470         FIX_DBL_LLONG_CONVERT_OVERFLOW.
9471         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
9472         <limits.h> and <fix-fp-int-convert-overflow.h>.
9473         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
9474         FIX_DBL_LLONG_CONVERT_OVERFLOW.
9475         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
9476         and <fix-fp-int-convert-overflow.h>.
9477         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
9478         FIX_DBL_LLONG_CONVERT_OVERFLOW.
9479         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
9480         and <fix-fp-int-convert-overflow.h>.
9481         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
9482         FIX_DBL_LLONG_CONVERT_OVERFLOW.
9483         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
9485 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
9487         [BZ #18589]
9488         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
9489         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
9490         $(gen-locales).
9492 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9493             Phil Blundell <pb@pbcl.net>
9495         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
9496         * nptl/tst-cancel26.c: New file.
9497         * nptl/tst-cancel27.c: Likewise.
9499 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
9501         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
9502         __ILP32__ isn't defined.
9503         (lrint): Likewise.
9504         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
9505         (lrintf): Likewise.
9506         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
9507         (lrintl): Likewise.
9508         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
9509         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
9510         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
9512 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9514         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
9515         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
9517         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
9518         file.
9519         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
9520         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
9522 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
9524         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
9525         configure test.
9526         * sysdeps/i386/configure: Regenerated.
9527         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
9528         configure test.
9529         * sysdeps/x86_64/configure: Regenerated.
9530         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
9531         Make code unconditional.
9533         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
9534         test.
9535         * sysdeps/i386/configure: Regenerated.
9536         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
9537         test.
9538         * sysdeps/x86_64/configure: Regenerated.
9539         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
9540         Make code unconditional.
9541         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
9542         Likewise.
9543         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
9544         Likewise.
9545         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
9546         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
9547         code unconditional.
9548         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
9549         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
9550         code unconditional.
9551         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
9552         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
9553         code unconditional.
9554         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
9555         code unconditional.
9556         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
9557         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
9558         code unconditional.
9559         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
9560         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
9561         code unconditional.
9562         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
9563         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
9564         code unconditional.
9565         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
9566         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
9567         code unconditional.
9568         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
9569         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
9571         [BZ #19095]
9572         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
9573         mantissa to long int before shifting left.
9575 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
9577         [BZ #19094]
9578         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
9579         <limits.h>.
9580         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
9581         when result overflows but exception would not result from cast.
9582         * sysdeps/ieee754/ldbl-128/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-128/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         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
9591         <limits.h>.
9592         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
9593         when result overflows but exception would not result from cast.
9594         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
9595         <limits.h>.
9596         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
9597         when result overflows but exception would not result from cast.
9598         * math/libm-test.inc (lrint_test_data): Add more tests.
9599         (llrint_test_data): Likewise.
9601 2015-10-08  Roland McGrath  <roland@hack.frob.com>
9603         [BZ #18872]
9604         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
9605         Move out from under [$(run-built-tests) = yes] conditional.
9606         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
9607         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
9609 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
9611         [BZ #18589]
9612         * string/Makefile (tests): Add bug-strcoll2.
9613         (LOCALES): Add cs_CZ.UTF-8.
9614         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
9616         [BZ #18589]
9617         * string/bug-strcoll2.c: New file.
9618         * locale/categories.def: Revert commit
9619         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
9620         * locale/langinfo.h: Likewise.
9621         * locale/localeinfo.h: Likewise.
9622         * locale/C-collate.c: Likewise.
9623         * locale/programs/ld-collate.c (collate_output): Likewise.
9624         * string/strcoll_l.c (STRDIFF): Likewise.
9625         (STRCOLL): Likewise.
9626         * wcsmbs/wcscoll_l.c: Likewise.
9628 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
9630         * math/libm-test.inc (lround_test_data): Do not expect the absence
9631         of "inexact" for some tests with non-integer arguments.
9632         (llround_test_data): Likewise.
9634         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
9635         test.
9636         (libc_cv_cc_sse2avx): Likewise.
9637         * sysdeps/i386/configure: Regenerated.
9638         * sysdeps/i386/i686/multiarch/Makefile
9639         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
9640         [$(subdir) = math].
9641         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
9642         code unconditional.
9643         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
9644         Likewise.
9645         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
9646         Likewise.
9647         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
9648         Likewise.
9649         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
9650         test.
9651         (libc_cv_cc_sse2avx): Likewise.
9652         * sysdeps/x86_64/configure: Regenerated.
9653         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
9654         unconditional.
9655         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
9656         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
9657         unconditional.
9658         (_dl_runtime_profile)
9659         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
9660         conditional code.
9661         * sysdeps/x86_64/fpu/multiarch/Makefile
9662         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
9663         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
9664         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9665         * sysdeps/x86_64/fpu/multiarch/e_exp.c
9666         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9667         * sysdeps/x86_64/fpu/multiarch/e_log.c
9668         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9669         * sysdeps/x86_64/fpu/multiarch/s_atan.c
9670         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9671         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
9672         Likewise.
9673         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
9674         Likewise.
9675         * sysdeps/x86_64/fpu/multiarch/s_sin.c
9676         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9677         * sysdeps/x86_64/fpu/multiarch/s_tan.c
9678         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9679         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
9680         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
9681         (HAVE_SSE2AVX_SUPPORT): Likewise.
9683 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
9685         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
9686         instead of #pragma optimize.
9688 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
9690         [BZ #17195]
9691         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
9692         as is similarly done in systrim and _int_free already.
9694 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9696         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
9698 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
9700         [BZ #19088]
9701         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
9702         <limits.h>.
9703         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
9704         overflows but exception would not result from cast.
9705         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
9706         and <limits.h>.
9707         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
9708         overflows but exception would not result from cast.
9709         * sysdeps/ieee754/ldbl-128/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-128/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         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
9718         <limits.h>.
9719         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
9720         overflows but exception would not result from cast.
9721         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
9722         <limits.h>.
9723         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
9724         overflows but exception would not result from cast.
9725         * math/libm-test.inc (lround_test_data): Add more tests.
9726         (llround_test_data): Likewise.
9728 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
9730         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
9731         (CFLAGS-ialloc.c): Ditto.
9732         (CFLAGS-scheck.c): Ditto.
9734 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
9736         [BZ #19086]
9737         * manual/filesys.texi (Storage Allocation): Fix argument order for
9738         posix_fallocate64.
9740 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
9742         [BZ #19085]
9743         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
9744         exponent below 48 inside case for non-overflowing exponent.
9745         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
9747 2015-10-07  Florian Weimer  <fweimer@redhat.com>
9749         * iconvdata/cp737.h (from_idx): Add const.
9750         * iconvdata/cp775.h (from_idx): Likewise.
9752 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
9754         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
9755         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
9756         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
9758         [BZ #19079]
9759         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
9760         file, conditioned on [!_LP64].
9761         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
9762         [!_LP64] (__lround): Do not define as function or alias.
9763         [!_LP64] (lround): Likewise.
9764         [!_LP64] (__lroundl): Likewise.
9765         [!_LP64] (lroundl): Likewise.
9766         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
9767         macro.
9768         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
9769         Likewise.
9771 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
9773         * math/libm-test.inc (lrint_test_data): Add more tests.
9774         (llrint_test_data): Likewise.
9775         (lround_test_data): Likewise.
9776         (llround_test_data): Likewise.
9778         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
9779         (llrint_test_data): Add tests used for lrint.
9781         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
9782         test.
9783         * sysdeps/i386/configure: Regenerated.
9784         * sysdeps/i386/i686/multiarch/Makefile
9785         [$(config-cflags-sse4) = yes]: Make code unconditional.
9786         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
9787         Likewise.
9788         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
9789         Likewise.
9790         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
9791         test.
9792         * sysdeps/x86_64/configure: Regenerated.
9793         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
9794         Make code unconditional.
9795         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
9796         Likewise.
9797         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
9798         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
9800         * scripts/rpm2dynsym.sh: Remove file.
9802 2015-10-06  Florian Weimer  <fweimer@redhat.com>
9804         * configure.ac (libc_cv_cxx_thread_local): Define.
9805         * configure: Regenerate.
9806         * config.make.in (have-cxx-thread_local): Define.
9807         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
9808         (LDLIBS-tst-thread_local1): Define.
9809         (tests): Add tst-thread_local1.
9810         [have-cxx-thread_local != yes] (tests-unsupported): Add
9811         tst-thread_local1.
9812         * nptl/tst-thread_local1.cc: New file.
9814 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
9816         [BZ #19078]
9817         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
9818         (u_thres): Likewise.
9819         (__expl): Determine whether to call __kernel_standard_l based on
9820         value of result, not argument.
9822         * math/libm-test.inc (scalb_test_data): Add more expectations for
9823         the "inexact" exception.
9825         [BZ #19077]
9826         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
9827         0.0L for argument 1.0L.
9829         [BZ #19076]
9830         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
9831         constant 0.0L when computing infinite result.
9833 2015-10-06  Florian Weimer  <fweimer@redhat.com>
9835         [BZ #10432]
9836         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
9837         malloc_usable_size.
9839 2015-10-06  Florian Weimer  <fweimer@redhat.com>
9841         [BZ #19018]
9842         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
9843         Mangle function pointer before storing it.
9844         (__call_tls_dtors): Demangle function pointer before calling it.
9846 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
9848         [BZ #19012]
9849         * iconv/gconv_db.c (gen_steps): Check for additional errors.
9850         Clean up on failure.
9852 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
9854         [BZ #19071]
9855         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
9856         long int variable to store possibly incremented high part of
9857         mantissa.
9858         * math/libm-test.inc (lround_test_data): Add tests used for
9859         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
9860         for tests requiring 64-bit long.  Do not condition tests on
9861         [TEST_FLOAT] unnecessarily.
9862         (llround_test_data): Add tests used for lround.  Add another
9863         expectation for the "inexact" exception.  Do not condition tests
9864         on [TEST_FLOAT] unnecessarily.
9866         [BZ #887]
9867         [BZ #19049]
9868         [BZ #19050]
9869         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
9870         * sysdeps/ieee754/dbl-64/e_log10.c: Include
9871         <fix-int-fp-convert-zero.h>.
9872         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9873         * sysdeps/ieee754/dbl-64/e_log2.c: Include
9874         <fix-int-fp-convert-zero.h>.
9875         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9876         * sysdeps/ieee754/dbl-64/s_erf.c: Include
9877         <fix-int-fp-convert-zero.h>.
9878         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9879         * sysdeps/ieee754/dbl-64/s_logb.c: Include
9880         <fix-int-fp-convert-zero.h>.
9881         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9882         * sysdeps/ieee754/flt-32/e_log10f.c: Include
9883         <fix-int-fp-convert-zero.h>.
9884         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9885         * sysdeps/ieee754/flt-32/e_log2f.c: Include
9886         <fix-int-fp-convert-zero.h>.
9887         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9888         * sysdeps/ieee754/flt-32/s_erff.c: Include
9889         <fix-int-fp-convert-zero.h>.
9890         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9891         * sysdeps/ieee754/flt-32/s_logbf.c: Include
9892         <fix-int-fp-convert-zero.h>.
9893         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9894         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
9895         <fix-int-fp-convert-zero.h>.
9896         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9897         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
9898         <fix-int-fp-convert-zero.h>.
9899         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9900         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
9901         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
9902         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
9903         file.
9904         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
9906 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
9908         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9910 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
9912         [BZ #19059]
9913         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
9914         overflowing computation.
9915         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
9916         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
9917         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
9918         Likewise.
9919         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
9920         Likewise.
9921         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
9922         Likewise.
9923         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9924         Likewise.
9925         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
9926         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
9927         Likewise.
9928         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
9929         Likewise.
9930         * math/libm-test.inc (nexttoward_test_data): Add more tests.
9932         * nss/rewrite_field.c (__nss_rewrite_field): Use
9933         internal_function.
9934         * nss/valid_field.c (__nss_valid_field): Likewise.
9935         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
9937 2015-10-02  Florian Weimer  <fweimer@redhat.com>
9939         [BZ #18724]
9940         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
9941         (__nss_invalid_field_characters, __nss_valid_field)
9942         (__nss_valid_list_field, __nss_rewrite_field): Declare.
9943         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
9944         tst-field.c: New file.
9945         * nss/Makefile (routines): Add valid_field, rewrite_field.
9946         (tests-static): Define unconditionally.
9947         (tests): Include tests-static.
9948         [build-static-nss] (tests-static): Use append.
9949         [build-static-nss] (tests): Remove modification.
9950         * nss/getent.c (print_group): Call putgrent.  Report error.
9951         (print_gshadow): Call putsgent.  Report error.
9952         (print_passwd): Call putpwent.  Report error.
9953         (print_shadow): Call putspent.  Report error.
9954         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
9955         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
9956         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
9957         name, password, directory, shell fields for valid syntax.  Rewrite
9958         GECOS field to match syntax.
9959         * pwd/Makefile (tests): Add tst-putpwent.
9960         * pwd/tst-putpwent.c: New file.
9961         * grp/putgrent.c (putgrent): Convert to ISO function definition.
9962         Check grName, grpasswd, gr_mem fields for valid syntax.
9963         Change loop variable i to size_t.
9964         * grp/Makefile (tests): Add tst-putgrent.
9965         * grp/tst-putgrent.c: New file.
9966         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
9967         valid syntax.
9968         * shadow/Makefile (tests): Add tst-putspent.
9969         * shadow/tst-putspent.c: New file.
9970         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
9971         sg_mem fields for valid syntax.
9972         * gshadow/Makefile (tests): Add tst-putsgent.
9973         * gshadow/tst-putsgent.c: New file.
9975 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9977         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
9978         assembly instructions.
9980 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9982         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
9983         prefix from operands.
9985 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
9987         [BZ #16347]
9988         [BZ #19046]
9989         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
9990         <libc-internal.h>.
9991         (MAXLGM): Do not use diagnostic control macros.
9992         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
9993         threshold for ldbl-128ibm.
9994         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
9995         instead of multiplying by log then subtracting.
9996         * math/auto-libm-test-in: Add more tests of lgamma.
9997         * math/auto-libm-test-out: Regenerated.
9999         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
10000         (TYPE_HEX_DIG): Likewise.
10001         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
10002         precisions when printing floating-point numbers.
10003         (check_float_internal): Likewise.
10005 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
10007         [BZ #16620]
10008         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
10009         of log (10) rounded downward to 48 bits.
10010         (log10_low): Use corresponding low part of log (10).
10012         [BZ #19032]
10013         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
10014         compute result as (x - x) / (x - x) not as 0 / 0.
10015         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
10016         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
10018         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
10019         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
10020         and expm1.
10021         * math/auto-libm-test-out: Regenerated.
10022         * math/libm-test.inc (acos_test_data): Add more tests.
10023         (asin_test_data): Likewise.
10024         (asinh_test_data): Likewise.
10025         (atan_test_data): Likewise.
10026         (atanh_test_data): Likewise.
10027         (atan2_test_data): Likewise.
10028         (cbrt_test_data): Likewise.
10029         (ceil_test_data): Likewise.
10030         (copysign_test_data): Likewise.
10031         (cos_test_data): Likewise.
10032         (cosh_test_data): Likewise.
10033         (erf_test_data): Likewise.
10034         (erfc_test_data): Likewise.
10035         (exp_test_data): Likewise.
10036         (exp10_test_data): Likewise.
10037         (exp2_test_data): Likewise.
10038         (expm1_test_data): Likewise.
10039         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10041 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
10043         [BZ #19006]
10044         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
10045         to ...
10046         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
10047         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
10048         to ...
10049         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
10050         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
10051         to ...
10052         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
10053         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
10054         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
10055         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
10056         to ...
10057         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
10058         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
10059         Moved to ...
10060         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
10061         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
10062         Moved to ...
10063         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
10064         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
10065         to ...
10066         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
10067         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
10068         Moved to ...
10069         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
10070         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
10071         to ...
10072         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
10073         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
10074         Removed.
10075         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
10076         Likewise.
10077         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
10078         Likewise.
10079         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
10080         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
10081         Likewise.
10082         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
10083         Likewise.
10084         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
10085         Likewise.
10086         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
10087         Likewise.
10088         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
10089         Likewise.
10090         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
10091         Likewise.
10092         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
10093         Likewise.
10094         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
10095         Likewise.
10096         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
10097         Likewise.
10098         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
10099         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
10100         Likewise.
10101         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
10102         Likewise.
10103         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
10104         Likewise.
10105         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
10106         Likewise.
10107         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
10108         Likewise.
10109         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
10110         Replace ../i486/pthread_cond_timedwait.S with
10111         ../pthread_cond_timedwait.S.
10113 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
10115         * math/libm-test.inc (acos_test_data): Refine expectations for
10116         errno and "inexact" exceptions.
10117         (acosh_test_data): Likewise.
10118         (asin_test_data): Likewise.
10119         (asinh_test_data): Likewise.
10120         (atan_test_data): Likewise.
10121         (atanh_test_data): Likewise.
10122         (atan2_test_data): Likewise.
10123         (cbrt_test_data): Likewise.
10124         (ceil_test_data): Likewise.
10125         (copysign_test_data): Likewise.
10126         (cosh_test_data): Likewise.
10127         (erf_test_data): Likewise.
10128         (erfc_test_data): Likewise.
10129         (exp_test_data): Likewise.
10130         (exp10_test_data): Likewise.
10131         (exp2_test_data): Likewise.
10132         (expm1_test_data): Likewise.
10133         (fabs_test_data): Likewise.
10134         (floor_test_data): Likewise.
10135         (fma_test_data): Likewise.
10136         (fmax_test_data): Likewise.
10137         (fmin_test_data): Likewise.
10138         (fmod_test_data): Likewise.
10139         (fpclassify_test_data): Likewise.
10140         (frexp_test_data): Likewise.
10141         (hypot_test_data): Likewise.
10142         (ilogb_test_data): Likewise.
10143         (isgreater_test_data): Likewise.
10144         (isgreaterequal_test_data): Likewise.
10145         (isinf_test_data): Likewise.
10146         (isless_test_data): Likewise.
10147         (islessequal_test_data): Likewise.
10148         (islessgreater_test_data): Likewise.
10149         (isnan_test_data): Likewise.
10150         (isnormal_test_data): Likewise.
10151         (issignaling_test_data): Likewise.
10152         (isunordered_test_data): Likewise.
10153         (j0_test_data): Likewise.
10154         (j1_test_data): Likewise.
10155         (jn_test_data): Likewise.
10156         (lgamma_test_data): Likewise.
10157         (lrint_test_data): Likewise.
10158         (llrint_test_data): Likewise.
10159         (log_test_data): Likewise.
10160         (log10_test_data): Likewise.
10161         (log1p_test_data): Likewise.
10162         (log2_test_data): Likewise.
10163         (logb_test_data): Likewise.
10164         (lround_test_data): Likewise.
10165         (llround_test_data): Likewise.
10166         (modf_test_data): Likewise.
10167         (nearbyint_test_data): Likewise.
10168         (nextafter_test_data): Likewise.
10169         (nexttoward_test_data): Likewise.
10170         (pow_test_data): Likewise.
10171         (remainder_test_data): Likewise.
10172         (remquo_test_data): Likewise.
10173         (rint_test_data): Likewise.
10174         (round_test_data): Likewise.
10175         (signbit_test_data): Likewise.
10176         (sinh_test_data): Likewise.
10177         (sqrt_test_data): Likewise.
10178         (tanh_test_data): Likewise.
10179         (tgamma_test_data): Likewise.
10180         (trunc_test_data): Likewise.
10181         (y0_test_data): Likewise.
10182         (y1_test_data): Likewise.
10183         (yn_test_data): Likewise.
10184         (significand_test_data): Likewise.
10186 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
10188         * manual/filesys.texi (Storage Allocation): Document that
10189         posix_fallocate emulation fails when fd is open with O_WRONLY.
10191 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
10193         [BZ #19016]
10194         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
10195         allow more cases with X^2 + Y^2 >= 0.5.
10196         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
10197         normal element in sum instead of special-casing based on values of
10198         arguments.
10199         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
10200         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
10201         -1 as normal element in sum instead of special-casing based on
10202         values of arguments.
10203         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
10204         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
10205         (__x2y2m1): Update comment.
10206         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
10207         as normal element in sum instead of special-casing based on values
10208         of arguments.
10209         * math/s_clog.c (__clog): Handle more cases using log1p without
10210         hypot.
10211         * math/s_clog10.c (__clog10): Likewise.
10212         * math/s_clog10f.c (__clog10f): Likewise.
10213         * math/s_clog10l.c (__clog10l): Likewise.
10214         * math/s_clogf.c (__clogf): Likewise.
10215         * math/s_clogl.c (__clogl): Likewise.
10216         * math/auto-libm-test-in: Add more tests of clog and clog10.
10217         * math/auto-libm-test-out: Regenerated.
10218         * sysdeps/i386/fpu/libm-test-ulps: Update.
10219         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10221 2015-09-28  Martin Sebor  <msebor@redhat.com>
10223         [BZ #18969]
10224         * string/Makefile (LOCALES): Define.
10225         (gen-locales.mk): Include.
10226         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
10227         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
10228         * string/tst-strxfrm2.c (do_test): Print the name of the locale
10229         on setlocale failure.
10231 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
10233         [BZ #18985]
10234         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
10235         (__strftime_internal): Likewise.
10236         * time/tst-strftime.c (do_bz18985): New test.
10237         (do_test): Call it.
10239 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
10241         [BZ #18956]
10242         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
10243         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
10244         extracting high part.
10245         * math/auto-libm-test-in: Add another test of pow.
10246         * math/auto-libm-test-out: Regenerated.
10247         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10249 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
10251         [BZ #18825]
10252         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
10253         New macro.
10254         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
10255         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
10256         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
10257         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
10258         DBL_NARROW_EVAL, reloading the PIC register as needed.
10259         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
10260         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
10261         FLT_NARROW_EVAL.  Use separate return path for case when first
10262         argument is NaN.
10263         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
10264         DEFINE_LDBL_MIN.
10265         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
10266         PIC register.
10267         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
10268         math_check_force_underflow_nonneg.
10269         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
10270         underflow for subnormal result.
10271         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
10272         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
10273         math_check_force_underflow_nonneg.
10274         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
10275         math_check_force_underflow.
10276         * sysdeps/x86_64/fpu/x86_64-math-asm.h
10277         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
10278         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
10279         DEFINE_LDBL_MIN.
10280         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
10281         * math/auto-libm-test-in: Add more tests of pow.
10282         * math/auto-libm-test-out: Regenerated.
10284 2015-09-25  Florian Weimer  <fweimer@redhat.com>
10286         * nss/bug17079.c (init_test_items): Add diagnostic for
10287         inconsistent entries.
10288         (test_buffer_size): Skip inconsistent entries.
10290 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
10292         [BZ #13304]
10293         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
10294         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
10295         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
10297         [BZ #13304]
10298         * sysdeps/microblaze/s_fma.c: New file.
10299         * sysdeps/microblaze/s_fmaf.c: Likewise.
10300         * sysdeps/microblaze/sfp-machine.h: Likewise.
10302 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
10304         [BZ #17250]
10305         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
10306         member.
10308 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
10310         [BZ #18803]
10311         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
10312         (MO): New macro.
10313         (__ieee754_hypot) [PIC]: Load PIC register.
10314         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
10315         DBL_NARROW_EVAL.
10316         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
10317         math_check_force_underflow_nonneg in case where result might be
10318         tiny.
10319         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
10320         Likewise.
10321         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
10322         Likewise.
10323         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
10324         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
10325         * math/auto-libm-test-in: Add more tests of hypot.
10326         * math/auto-libm-test-out: Regenerated.
10328 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
10330         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
10332 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
10334         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
10335         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
10336         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
10337         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
10338         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
10339         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
10340         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
10342         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
10343         LOAD_PIC_REG.
10345         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
10346         (FLT_CHECK_FORCE_UFLOW): Likewise.
10347         (DBL_CHECK_FORCE_UFLOW): Likewise.
10348         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
10349         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
10350         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
10351         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
10352         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
10353         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
10354         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
10355         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
10356         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
10357         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10358         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
10359         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
10360         (flt_min): Replace with use of DEFINE_FLT_MIN.
10361         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
10362         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
10363         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10364         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
10365         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
10366         (flt_min): Replace with use of DEFINE_FLT_MIN.
10367         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
10368         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
10369         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10370         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
10371         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
10372         (flt_min): Replace with use of DEFINE_FLT_MIN.
10373         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
10374         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
10375         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
10376         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
10377         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
10378         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
10379         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
10380         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
10381         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10382         (__atan): Use DBL_CHECK_FORCE_UFLOW.
10383         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
10384         (flt_min): Replace with use of DEFINE_FLT_MIN.
10385         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
10386         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
10387         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10388         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
10389         main computation.
10390         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
10391         (flt_min): Replace with use of DEFINE_FLT_MIN.
10392         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
10393         main computation.
10394         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
10395         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10396         (MO): New macro.
10397         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
10398         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
10399         (flt_min): Replace with use of DEFINE_FLT_MIN.
10400         (MO): New macro.
10401         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
10402         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
10403         (__log1pl): Use MO.
10405         [BZ #19003]
10406         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
10407         $(config-cflags-nofma).
10409 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10411         * sysdeps/aarch64/libm-test-ulps: Regenerated.
10413 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
10415         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
10416         (TWO127): Likewise.
10418         * sysdeps/generic/math_private.h (fabs_tg): New macro.
10419         (min_of_type): Likewise.
10420         (math_check_force_underflow): Likewise.
10421         (math_check_force_underflow_nonneg): Likewise.
10422         (math_check_force_underflow_complex): Likewise.
10423         * math/e_exp2l.c (__ieee754_exp2l): Use
10424         math_check_force_underflow_nonneg.
10425         * math/k_casinh.c (__kernel_casinh): Likewise.
10426         * math/k_casinhf.c (__kernel_casinhf): Likewise.
10427         * math/k_casinhl.c (__kernel_casinhl): Likewise.
10428         * math/s_catan.c (__catan): Use
10429         math_check_force_underflow_complex.
10430         * math/s_catanf.c (__catanf): Likewise.
10431         * math/s_catanh.c (__catanh): Likewise.
10432         * math/s_catanhf.c (__catanhf): Likewise.
10433         * math/s_catanhl.c (__catanhl): Likewise.
10434         * math/s_catanl.c (__catanl): Likewise.
10435         * math/s_ccosh.c (__ccosh): Likewise.
10436         * math/s_ccoshf.c (__ccoshf): Likewise.
10437         * math/s_ccoshl.c (__ccoshl): Likewise.
10438         * math/s_cexp.c (__cexp): Likewise.
10439         * math/s_cexpf.c (__cexpf): Likewise.
10440         * math/s_cexpl.c (__cexpl): Likewise.
10441         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
10442         * math/s_clog10.c (__clog10): Likewise.
10443         * math/s_clog10f.c (__clog10f): Likewise.
10444         * math/s_clog10l.c (__clog10l): Likewise.
10445         * math/s_clogf.c (__clogf): Likewise.
10446         * math/s_clogl.c (__clogl): Likewise.
10447         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
10448         * math/s_csinf.c (__csinf): Likewise.
10449         * math/s_csinh.c (__csinh): Likewise.
10450         * math/s_csinhf.c (__csinhf): Likewise.
10451         * math/s_csinhl.c (__csinhl): Likewise.
10452         * math/s_csinl.c (__csinl): Likewise.
10453         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
10454         * math/s_csqrtf.c (__csqrtf): Likewise.
10455         * math/s_csqrtl.c (__csqrtl): Likewise.
10456         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
10457         * math/s_ctanf.c (__ctanf): Likewise.
10458         * math/s_ctanh.c (__ctanh): Likewise.
10459         * math/s_ctanhf.c (__ctanhf): Likewise.
10460         * math/s_ctanhl.c (__ctanhl): Likewise.
10461         * math/s_ctanl.c (__ctanl): Likewise.
10462         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
10463         instead of volatile.
10464         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
10465         math_check_force_underflow.
10466         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
10467         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
10468         volatile when forcing underflow.
10469         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
10470         math_check_force_underflow_nonneg.
10471         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
10472         Likewise.
10473         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
10474         math_check_force_underflow.
10475         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
10476         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
10477         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
10478         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
10479         math_check_force_underflow_nonneg.
10480         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
10481         math_check_force_underflow.
10482         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
10483         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
10484         instead of volatile.
10485         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
10486         math_check_force_underflow.
10487         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
10488         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
10489         math_check_force_underflow_nonneg.
10490         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
10491         math_check_force_underflow.
10492         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
10493         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
10494         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
10495         math_check_force_underflow_nonneg.
10496         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
10497         Likewise.
10498         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
10499         math_check_force_underflow.
10500         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
10501         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
10502         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
10503         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
10504         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
10505         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
10506         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
10507         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
10508         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
10509         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
10510         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
10511         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
10512         Likewise.
10513         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
10514         math_check_force_underflow_nonneg.
10515         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
10516         Likewise.
10517         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
10518         math_check_force_underflow.
10519         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
10520         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
10521         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
10522         Likewise.
10523         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
10524         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
10525         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
10526         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
10527         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
10528         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
10529         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
10530         instead of volatile.
10531         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
10532         math_check_force_underflow.
10533         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
10534         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
10535         math_check_force_underflow.
10536         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
10537         Likewise.
10538         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
10539         Use math_check_force_underflow_nonneg.
10540         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
10541         math_check_force_underflow.
10542         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
10543         Likewise.
10544         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
10545         Likewise.
10546         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
10547         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
10548         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
10549         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
10550         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
10551         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
10552         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
10553         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
10554         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
10555         math_check_force_underflow_nonneg.
10556         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
10557         math_check_force_underflow.
10558         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
10559         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
10560         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
10561         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
10562         math_check_force_underflow_nonneg.
10563         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
10564         math_check_force_underflow.
10565         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
10566         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
10567         instead of volatile.
10568         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
10569         math_check_force_underflow.
10571         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
10572         * stdlib/strtod_l.c: Include <math_private.h>.
10573         (overflow_value): Use math_narrow_eval.
10574         (underflow_value): Likewise.
10575         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
10576         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
10577         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
10578         (__ieee754_gamma_r): Likewise.
10579         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
10580         Likewise.
10581         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
10582         Likewise.
10583         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
10584         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
10585         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
10586         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
10587         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
10588         (__ieee754_gammaf_r): Likewise.
10589         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
10590         Likewise.
10591         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
10592         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
10593         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
10594         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
10595         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
10596         volatile.
10597         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
10598         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
10599         math_narrow_eval.
10600         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
10601         Likewise.
10602         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10603         Likewise.
10604         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
10605         Likewise.
10606         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
10607         volatile.
10608         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
10609         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
10610         math_narrow_eval.
10611         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
10612         Likewise.
10613         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
10614         Likewise.
10616 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
10618         * nptl/Versions: Remove ignored symbols.
10620 2015-09-22  Florian Weimer  <fweimer@redhat.com>
10622         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
10623         * nss/Makefile (tests): Update.
10625 2015-09-22  Florian Weimer  <fweimer@redhat.com>
10627         * nss/bug18287.c: New file.
10628         * nss/Makefile (tests): Add bug18287.
10630 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10632         * mach/Versions (__mach_host_self_): Add symbol.
10634 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10636         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
10637         vm_page_size.
10639 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10641         Really fix sysdeps/i386/fpu/s_scalbn.S build
10643         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
10644         (libc: GLIBC_2_22): Remove unused version set.
10646 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
10648         * config.make.in (enable-timezone-tools): New variable.
10649         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
10650         (enable_timezone_tools): Export to generated files.
10651         * configure: Regenerate.
10652         * INSTALL: Regenerate.
10653         * manual/install.texi (--disable-timezone-tools): Document new flag.
10654         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
10655         ifeq ($(enable-timezone-tools),yes) check.
10657 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
10659         * timezone/Makefile: Revert previous change.
10661         [BZ #18980]
10662         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
10663         (DEFINE_DBL_MIN): Likewise.
10664         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
10665         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
10666         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
10667         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
10668         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
10669         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10670         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
10671         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
10672         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
10673         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10674         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
10675         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
10676         (flt_min): Replace with use of DEFINE_FLT_MIN.
10677         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
10678         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
10679         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10680         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
10681         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
10682         (flt_min): Replace with use of DEFINE_FLT_MIN.
10683         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
10684         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
10685         (flt_min): Replace with use of DEFINE_FLT_MIN.
10686         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
10687         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
10688         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
10689         (__ieee754_hypot): Use DBL_NARROW_EVAL.
10690         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
10691         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
10692         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
10693         (__ieee754_pow): Use DBL_NARROW_EVAL.
10694         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
10695         (__ieee754_powf): Use FLT_NARROW_EVAL.
10696         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
10697         (__ieee754_expf_sse2): Convert double-precision result to single
10698         precision.
10699         * sysdeps/i386/fpu/libm-test-ulps: Update.
10701 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
10703         * timezone/Makefile: Ignore unused variable errors due to private.h
10704         (time_t_min) and (time_t_max).
10705         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
10706         Likewise.
10708 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
10710         [BZ #18981]
10711         * sysdeps/i386/fpu/i386-math-asm.h: New file.
10712         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
10713         (__ieee754_scalb): Use DBL_NARROW_EVAL.
10714         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
10715         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
10716         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
10717         (__scalbn): Use DBL_NARROW_EVAL.
10718         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
10719         (__scalbnf): Use FLT_NARROW_EVAL.
10721 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
10723         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
10724         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
10725         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
10726         * stdio-common/printf_fp.c (___printf_fp):
10727         Use signbit to get the sign. Use isinf macro to allow inlining.
10728         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
10729         * stdio-common/printf_size.c (__printf_size): Likewise.
10731 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
10733         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
10735 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
10737         [BZ #18980]
10738         * sysdeps/generic/math_private.h: Include <float.h>.
10739         (math_narrow_eval): New macro.
10740         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
10741         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
10742         math_narrow_eval on overflowing return value.
10743         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
10744         Likewise.
10745         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
10746         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
10747         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
10748         Likewise.
10749         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
10751 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
10753         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
10754         * math/Makefile: Remove isinf_ns.c.
10755         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
10756         * math/multc3.c (__multc3): Likewise.
10757         * math/s_casin.c (__casin): Likewise.
10758         * math/s_casinf.c (__casinf): Likewise.
10759         * math/s_casinl.c (__casinl): Likewise.
10760         * math/s_cproj.c (__cproj): Likewise.
10761         * math/s_cprojf.c (__cprojf): Likewise.
10762         * math/s_cprojl.c (__cprofl): Likewise.
10763         * math/s_ctan.c (__ctan): Likewise.
10764         * math/s_ctanf.c (__ctanf): Likewise.
10765         * math/s_ctanh.c (__ctanh): Likewise.
10766         * math/s_ctanhf.c (__ctanhf): Likewise.
10767         * math/s_ctanhl.c (__ctanhl): Likewise.
10768         * math/s_ctanl.c (__ctanl): Likewise.
10769         * math/w_fmod.c (__fmod): Likewise.
10770         * math/w_fmodf.c (__fmodf): Likewise.
10771         * math/w_fmodl.c (_fmodl): Likewise.
10772         * math/w_remainder.c (__remainder): Likewise.
10773         * math/w_remainderf.c (__remainderf): Likewise.
10774         * math/w_remainderl.c (__remainderl): Likewise.
10775         * math/w_scalb.c (__scalb): Likewise.
10776         * math/w_scalbf.c (__scalbf): Likewise.
10777         * math/w_scalbl.c (__scalbl): Likewise.
10778         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
10779         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
10780         with isinf.
10781         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
10782         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
10783         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
10784         __isinf_nsf with isinf.
10785         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
10786         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
10787         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
10788         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
10789         with isinf.
10790         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
10791         __isinf_nsl with isinf.
10792         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
10793         with isinf.
10794         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
10795         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
10796         __isinf_nsl with isinf.
10797         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
10798         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
10799         with isinf.
10801 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
10803         * resolv/base64.c (rcsid): Remove unused static.
10804         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
10805         static.  (tqpi1): Likewise.
10806         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
10807         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
10808         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
10809         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
10810         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
10811         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
10812         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
10813         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
10814         Likewise.
10816 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
10818         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
10819         <nptl/pthreadP.h>.
10820         (_longjmp_unwind): Use __libc_ptf_call.
10821         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
10823 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
10825         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
10826         * sysdeps/arm/__longjmp.S: Likewise.
10828 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
10830         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
10831         Use __builtin_signbit.
10832         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
10833         Use __builtin_signbitf.
10834         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
10835         Use __builtin_signbitl.
10836         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
10837         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
10839 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
10841         [BZ #15367]
10842         [BZ #17441]
10844         * math/Makefile: Build test-snan.c with -fsignaling-nans.
10845         * math/math.h (fpclassify): Use __builtin_fpclassify when
10846         available.  (signbit): Use __builtin_signbit(f/l).
10847         (isfinite): Use__builtin_isfinite.  (isnormal): Use
10848         __builtin_isnormal.  (isnan): Use __builtin_isnan.
10849         (isinf): Use __builtin_isinf_sign.
10851 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
10853         * benchtests/Makefile: Add bench-math-inlines, link with libm.
10854         * benchtests/bench-math-inlines.c: New benchmark.
10855         * benchtests/bench-util.h: New file.
10856         * benchtests/bench-util.c: New file.
10857         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
10859 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
10861         * elf/tst-dlmopen1.c: Define TEST_SO.
10862         (do_test): Use TEST_SO.
10864         * elf/dl-load.c: Include libc-internal.h.
10865         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
10867 2015-09-18  Vincent Bernat  <vincent@bernat.im>
10869         [BZ #17887]
10870         * time/strptime_l.c (__strptime_internal): Make %z accept
10871         [+-]HH:MM time zones.
10873 2015-09-18  Vincent Bernat  <vincent@bernat.im>
10875         [BZ #17886]
10876         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
10877         valid time zone.
10879 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
10881         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
10882         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
10883         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10884         (__ASSUME_FDATASYNC): Delete.
10886 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
10888         * conform/linknamespace.pl: Require weak undefined symbols to be
10889         in the standard namespace.
10890         (%strong_syms): Rename to %seen_syms.
10891         (%strong_seen): Rename to %seen_where.
10893 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
10895         [BZ #18970]
10896         * misc/error.c (error): Replace pthread_setcancelstate with
10897         __pthread_setcancelstate.
10898         (error_at_line): Likewise.
10899         * posix/wordexp.c (parse_comm): Likewise.
10900         * stdlib/fmtmsg.c (fmtmsg): Likewise.
10901         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
10902         (__pthread_setcancelstate): This.
10903         (pthread_setcancelstate): Add an alias.
10904         * nptl/nptl-init.c (pthread_functions): Replace
10905         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
10906         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
10907         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
10908         hidden_proto.
10909         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
10910         it with hidden_def.
10911         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
10912         (pthread_setcancelstate): Renamed to ...
10913         (__pthread_setcancelstate): This.
10914         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
10915         __libc_ptf_call with __pthread_setcancelstate.
10917 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
10918             Andreas Schwab  <schwab@suse.de>
10920         [BZ #17118]
10921         * math/s_ctan.c (__ctan): Determine sign of zero real part of
10922         result when imaginary part of argument is infinite using sine and
10923         cosine.
10924         * math/s_ctanf.c (__ctanf): Likewise.
10925         * math/s_ctanl.c (__ctanl): Likewise.
10926         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
10927         of result when real part of argument is infinite using sine and
10928         cosine.
10929         * math/s_ctanhf.c (__ctanhf): Likewise.
10930         * math/s_ctanhl.c (__ctanhl): Likewise.
10931         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
10932         (ctanh_test_data): Add more tests of ctanh.
10934 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
10936         [BZ #15384]
10937         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
10938         bit-mask as in subtraction.
10939         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
10940         Likewise.
10941         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
10942         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
10943         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
10945         [BZ #18951]
10946         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
10947         underflow exception for small results.
10948         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
10949         Likewise.
10950         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
10951         Likewise.
10952         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
10953         Likewise.
10954         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10955         Likewise.
10956         * math/auto-libm-test-in: Add more tests of tgamma.
10957         * math/auto-libm-test-out: Regenerated.
10959 2015-09-17  Andreas Schwab  <schwab@suse.de>
10961         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
10963 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
10965         [BZ #18977]
10966         * math/bits/mathcalls.h
10967         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
10968         not declare.
10969         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
10970         Likewise.
10971         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
10972         Likewise.
10973         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
10974         Likewise.
10975         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
10976         Likewise.
10977         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
10978         Likewise.
10979         * conform/data/math.h-data
10980         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
10981         function.
10982         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
10983         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
10984         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
10985         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
10986         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
10987         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
10988         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
10989         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
10990         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
10991         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
10992         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
10994         [BZ #6803]
10995         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
10996         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
10997         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
10998         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
10999         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
11000         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
11001         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
11002         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
11003         [NO_LONG_DOUBLE] (scalbnl): Likewise.
11004         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
11005         Likewise.
11006         [NO_LONG_DOUBLE] (scalbnl): Likewise.
11007         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
11008         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
11009         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
11010         long_double_symbol calls.
11011         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
11012         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
11013         strong alias of __ldexpl.
11014         (scalbnl): Define using long_double_symbol.
11015         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
11016         Remove alias.
11017         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
11018         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
11019         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
11020         (scalbln_test_data): Add more errno expectations.
11022 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
11024         Cache the host port like we cache the task port.  This way we do not
11025         need to call the kernel just to get the port.  Furthermore, we no
11026         longer increase the reference count on every invocation of
11027         `mach_host_self'.
11029         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
11030         Protect declarations against the macro expansion.
11031         * mach/mach_init.c (__mach_host_self_): New variable.
11032         (mach_init): Initialize `__mach_host_self_'.
11033         * mach/mach_init.h (__mach_host_self_): New declaration.
11034         (__mach_host_self, mach_host_self): New macros.
11035         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
11036         Release reference.
11038 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
11040         [BZ #4404]
11041         * po/de.po: Update from Translation Project.
11043         [BZ #16415]
11044         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
11045         (__expm1l): Remove code to handle positive infinity and overflow.
11046         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
11047         variable.
11048         (__expm1l): Remove code to handle positive infinity and overflow.
11050 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
11051             Paul Pluzhnikov  <ppluzhnikov@google.com>
11053         [BZ #18872]
11054         * stdio-common/Makefile (tst-printf-bz18872): New test.
11055         (tst-printf-bz18872-mem.out): Likewise.
11056         * stdio-common/tst-printf-bz18872.sh: Generate new test.
11057         * stdio-common/vfprintf.c: Fix memory leaks.
11059 2015-09-16  Andreas Schwab  <schwab@suse.de>
11061         [BZ #17244]
11062         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
11063         Remove extra va_start/va_end calls.
11065         [BZ #17243]
11066         * posix/execl.c (execl): Add missing va_end.
11067         * posix/execle.c (execle): Likewise.
11068         * posix/execlp.c (execlp): Likewise.
11070 2015-09-15  Roland McGrath  <roland@hack.frob.com>
11072         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
11073         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
11075 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
11077         [BZ #18967]
11078         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
11079         undefine around includes of <bits/mathcalls.h>.
11080         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
11081         not declare function.
11082         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
11083         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
11084         (scalb): Likewise.
11085         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
11086         not define macro.
11087         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
11088         variable.
11089         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
11090         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
11091         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
11093         [BZ #18857]
11094         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
11095         return non-finite argument without doing ordered comparisons on
11096         it.
11098         [BZ #16296]
11099         * math/fenv.h (fegetround): Use __attribute_pure__.
11100         * include/fenv.h (__fegetround): Likewise.
11102         [BZ #18595]
11103         * math/s_ctan.c (__ctan): Force underflow exception for results
11104         whose real or imaginary part has small absolute value.
11105         * math/s_ctanf.c (__ctanf): Likewise.
11106         * math/s_ctanh.c (__ctanh): Likewise.
11107         * math/s_ctanhf.c (__ctanhf): Likewise.
11108         * math/s_ctanhl.c (__ctanhl): Likewise.
11109         * math/s_ctanl.c (__ctanl): Likewise.
11110         * math/auto-libm-test-in: Do not allow missing underflow for ctan
11111         and ctanh.  Add more tests of ctan and ctanh.
11113         [BZ #15918]
11114         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
11115         handling of cases where one argument is an infinity.
11117         [BZ #18875]
11118         [BZ #18966]
11119         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
11120         (MO): New macro.
11121         (__ieee754_exp10): For small results, force underflow exception
11122         and remove excess range and precision from return value.
11123         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
11124         (MO): New macro.
11125         (__ieee754_exp10f): For small results, force underflow exception
11126         and remove excess range and precision from return value.
11127         * math/auto-libm-test-in: Add more tests of exp10.
11128         * math/auto-libm-test-out: Regenerated.
11130 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
11132         [BZ #18875]
11133         [BZ #18961]
11134         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
11135         (MO): New macro.
11136         (__ieee754_exp): For small results, force underflow exception and
11137         remove excess range and precision from return value.
11138         (__exp_finite): Likewise.
11139         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
11140         (MO): New macro.
11141         (__ieee754_expf): For small results, force underflow exception and
11142         remove excess range and precision from return value.
11143         (__expf_finite): Likewise.
11144         * math/auto-libm-test-in: Add more tests of exp.
11145         * math/auto-libm-test-out: Regenerated.
11147         [BZ #16521]
11148         [BZ #18875]
11149         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
11150         small results.
11151         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
11152         (MO): New macro.
11153         (__ieee754_exp2): For small results, force underflow exception and
11154         remove excess range and precision from return value.
11155         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
11156         (MO): New macro.
11157         (__ieee754_exp2f): For small results, force underflow exception
11158         and remove excess range and precision from return value.
11159         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
11160         (MO): New macro.
11161         (__ieee754_exp2l): Force underflow exception for small results.
11162         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
11163         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
11164         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
11165         (MO): New macro.
11166         (__ieee754_exp2l): Force underflow exception for small results.
11167         * math/auto-libm-test-in: Add more tests or exp2.
11168         * math/auto-libm-test-out: Regenerated.
11170 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
11172         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
11174         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
11175         /dev/null.
11177 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11179         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
11180         io fs process)): Drop spurious backslash.
11182 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
11184         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
11185         Use sysinfo system call instead of parsing /proc/meminfo.
11186         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
11187         Likewise.
11189 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
11191         [BZ #16985]
11192         * programs/localedef.c (main): Display argv[remaining] when
11193         output_path is NULL.
11195 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
11197         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
11198         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
11199         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
11200         tanh.
11201         * math/auto-libm-test-out: Regenerated.
11202         * sysdeps/i386/fpu/libm-test-ulps: Update.
11203         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
11204         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11205         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11207 2015-09-11  Roland McGrath  <roland@hack.frob.com>
11209         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
11210         Use 'override' keyword to freeze the value here, preventing
11211         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
11213 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
11215         [BZ #14912]
11216         * sysdeps/aarch64/bits/atomic.h: Move to ...
11217         * sysdeps/aarch64/atomic-machine.h: ...here.
11218         (_AARCH64_BITS_ATOMIC_H): Rename macro to
11219         _AARCH64_ATOMIC_MACHINE_H.
11220         * sysdeps/alpha/bits/atomic.h: Move to ...
11221         * sysdeps/alpha/atomic-machine.h: ...here.
11222         * sysdeps/arm/bits/atomic.h: Move to ...
11223         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
11224         * bits/atomic.h: Move to ...
11225         * sysdeps/generic/atomic-machine.h: ...here.
11226         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
11227         * sysdeps/i386/bits/atomic.h: Move to ...
11228         * sysdeps/i386/atomic-machine.h: ...here.
11229         * sysdeps/ia64/bits/atomic.h: Move to ...
11230         * sysdeps/ia64/atomic-machine.h: ...here.
11231         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
11232         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
11233         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
11234         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
11235         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
11236         * sysdeps/microblaze/bits/atomic.h: Move to ...
11237         * sysdeps/microblaze/atomic-machine.h: ...here.
11238         * sysdeps/mips/bits/atomic.h: Move to ...
11239         * sysdeps/mips/atomic-machine.h: ...here.
11240         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
11241         * sysdeps/powerpc/bits/atomic.h: Move to ...
11242         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
11243         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
11244         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
11245         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
11246         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
11247         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
11248         <atomic-machine.h> instead of <bits/atomic.h>.
11249         * sysdeps/s390/bits/atomic.h: Move to ...
11250         * sysdeps/s390/atomic-machine.h: ...here.
11251         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
11252         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
11253         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
11254         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
11255         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
11256         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
11257         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
11258         * sysdeps/tile/bits/atomic.h: Move to ...
11259         * sysdeps/tile/atomic-machine.h: ...here.
11260         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
11261         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
11262         <sysdeps/tile/atomic-machine.h> instead of
11263         <sysdeps/tile/bits/atomic.h>.
11264         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
11265         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
11266         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
11267         <sysdeps/tile/atomic-machine.h> instead of
11268         <sysdeps/tile/bits/atomic.h>.
11269         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
11270         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
11271         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
11272         <sysdeps/arm/atomic-machine.h> instead of
11273         <sysdeps/arm/bits/atomic.h>.
11274         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
11275         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
11276         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
11277         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
11278         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
11279         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
11280         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
11281         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
11282         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
11283         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
11284         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
11285         * sysdeps/x86_64/bits/atomic.h: Move to ...
11286         * sysdeps/x86_64/atomic-machine.h: ...here.
11287         * include/atomic.h: Include <atomic-machine.h> instead of
11288         <bits/atomic.h>.
11290         * sysdeps/mips/mips32/libm-test-ulps: Update.
11291         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11293         [BZ #18952]
11294         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
11295         not convert non-integer negative arguments to int to determine the
11296         value of signgam.
11297         * math/auto-libm-test-in: Add more tests of lgamma.
11298         * math/auto-libm-test-out: Regenerated.
11300         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
11301         cosh, csqrt, erfc, expm1 and lgamma.
11302         * math/auto-libm-test-out: Regenerated.
11303         * sysdeps/i386/fpu/libm-test-ulps: Update.
11304         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11306 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
11308         [BZ #2542]
11309         [BZ #2543]
11310         [BZ #2558]
11311         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
11312         __lgamma_neg for arguments from -28.0 to -2.0.
11313         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
11314         __lgamma_negf for arguments from -15.0 to -2.0.
11315         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11316         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
11317         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
11318         Call __lgamma_negl for arguments from -33.0 to -2.0.
11319         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
11320         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
11321         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
11322         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
11323         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
11324         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
11325         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
11326         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
11327         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
11328         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
11329         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
11330         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
11331         (__lgamma_neg): Likewise.
11332         (__lgamma_negl): Likewise.
11333         (__lgamma_product): Likewise.
11334         (__lgamma_productl): Likewise.
11335         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
11336         * math/auto-libm-test-in: Add more tests of lgamma.
11337         * math/auto-libm-test-out: Regenerated.
11338         * sysdeps/i386/fpu/libm-test-ulps: Update.
11339         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11341 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
11343         [BZ #18675]
11344         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
11346 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
11348         [BZ #14912]
11349         * bits/libc-lock.h: Move to ...
11350         * sysdeps/generic/libc-lock.h: ...here.
11351         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
11352         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
11353         * sysdeps/mach/hurd/libc-lock.h: ...here.
11354         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
11355         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
11356         * sysdeps/mach/bits/libc-lock.h: Move to ...
11357         * sysdeps/mach/libc-lock.h: ...here.
11358         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
11359         * sysdeps/nptl/bits/libc-lock.h: Move to ...
11360         * sysdeps/nptl/libc-lock.h: ...here.
11361         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
11362         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
11363         * sysdeps/nptl/libc-lockP.h: ...here.
11364         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
11365         * crypt/crypt_util.c: Include <libc-lock.h> instead of
11366         <bits/libc-lock.h>.
11367         * dirent/scandir-tail.c: Likewise.
11368         * dlfcn/dlerror.c: Likewise.
11369         * elf/dl-close.c: Likewise.
11370         * elf/dl-iteratephdr.c: Likewise.
11371         * elf/dl-lookup.c: Likewise.
11372         * elf/dl-open.c: Likewise.
11373         * elf/dl-support.c: Likewise.
11374         * elf/dl-writev.h: Likewise.
11375         * elf/rtld.c: Likewise.
11376         * grp/fgetgrent.c: Likewise.
11377         * gshadow/fgetsgent.c: Likewise.
11378         * gshadow/sgetsgent.c: Likewise.
11379         * iconv/gconv_conf.c: Likewise.
11380         * iconv/gconv_db.c: Likewise.
11381         * iconv/gconv_dl.c: Likewise.
11382         * iconv/gconv_int.h: Likewise.
11383         * iconv/gconv_trans.c: Likewise.
11384         * include/link.h: Likewise.
11385         * inet/getnameinfo.c: Likewise.
11386         * inet/getnetgrent.c: Likewise.
11387         * inet/getnetgrent_r.c: Likewise.
11388         * intl/bindtextdom.c: Likewise.
11389         * intl/dcigettext.c: Likewise.
11390         * intl/finddomain.c: Likewise.
11391         * intl/gettextP.h: Likewise.
11392         * intl/loadmsgcat.c: Likewise.
11393         * intl/localealias.c: Likewise.
11394         * intl/textdomain.c: Likewise.
11395         * libidn/idn-stub.c: Likewise.
11396         * libio/libioP.h: Likewise.
11397         * locale/duplocale.c: Likewise.
11398         * locale/freelocale.c: Likewise.
11399         * locale/newlocale.c: Likewise.
11400         * locale/setlocale.c: Likewise.
11401         * login/getutent_r.c: Likewise.
11402         * login/getutid_r.c: Likewise.
11403         * login/getutline_r.c: Likewise.
11404         * login/utmp-private.h: Likewise.
11405         * login/utmpname.c: Likewise.
11406         * malloc/mtrace.c: Likewise.
11407         * misc/efgcvt.c: Likewise.
11408         * misc/error.c: Likewise.
11409         * misc/fstab.c: Likewise.
11410         * misc/getpass.c: Likewise.
11411         * misc/mntent.c: Likewise.
11412         * misc/syslog.c: Likewise.
11413         * nis/nis_call.c: Likewise.
11414         * nis/nis_callback.c: Likewise.
11415         * nis/nss-default.c: Likewise.
11416         * nis/nss_compat/compat-grp.c: Likewise.
11417         * nis/nss_compat/compat-initgroups.c: Likewise.
11418         * nis/nss_compat/compat-pwd.c: Likewise.
11419         * nis/nss_compat/compat-spwd.c: Likewise.
11420         * nis/nss_nis/nis-alias.c: Likewise.
11421         * nis/nss_nis/nis-ethers.c: Likewise.
11422         * nis/nss_nis/nis-grp.c: Likewise.
11423         * nis/nss_nis/nis-hosts.c: Likewise.
11424         * nis/nss_nis/nis-network.c: Likewise.
11425         * nis/nss_nis/nis-proto.c: Likewise.
11426         * nis/nss_nis/nis-pwd.c: Likewise.
11427         * nis/nss_nis/nis-rpc.c: Likewise.
11428         * nis/nss_nis/nis-service.c: Likewise.
11429         * nis/nss_nis/nis-spwd.c: Likewise.
11430         * nis/nss_nisplus/nisplus-alias.c: Likewise.
11431         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
11432         * nis/nss_nisplus/nisplus-grp.c: Likewise.
11433         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
11434         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
11435         * nis/nss_nisplus/nisplus-network.c: Likewise.
11436         * nis/nss_nisplus/nisplus-proto.c: Likewise.
11437         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
11438         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
11439         * nis/nss_nisplus/nisplus-service.c: Likewise.
11440         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
11441         * nis/ypclnt.c: Likewise.
11442         * nptl/libc_pthread_init.c: Likewise.
11443         * nss/getXXbyYY.c: Likewise.
11444         * nss/getXXent.c: Likewise.
11445         * nss/getXXent_r.c: Likewise.
11446         * nss/nss_db/db-XXX.c: Likewise.
11447         * nss/nss_db/db-netgrp.c: Likewise.
11448         * nss/nss_db/nss_db.h: Likewise.
11449         * nss/nss_files/files-XXX.c: Likewise.
11450         * nss/nss_files/files-alias.c: Likewise.
11451         * nss/nsswitch.c: Likewise.
11452         * posix/regex_internal.h: Likewise.
11453         * posix/wordexp.c: Likewise.
11454         * pwd/fgetpwent.c: Likewise.
11455         * resolv/res_hconf.c: Likewise.
11456         * resolv/res_libc.c: Likewise.
11457         * shadow/fgetspent.c: Likewise.
11458         * shadow/lckpwdf.c: Likewise.
11459         * shadow/sgetspent.c: Likewise.
11460         * socket/opensock.c: Likewise.
11461         * stdio-common/reg-modifier.c: Likewise.
11462         * stdio-common/reg-printf.c: Likewise.
11463         * stdio-common/reg-type.c: Likewise.
11464         * stdio-common/vfprintf.c: Likewise.
11465         * stdio-common/vfscanf.c: Likewise.
11466         * stdlib/abort.c: Likewise.
11467         * stdlib/cxa_atexit.c: Likewise.
11468         * stdlib/fmtmsg.c: Likewise.
11469         * stdlib/random.c: Likewise.
11470         * stdlib/setenv.c: Likewise.
11471         * string/strsignal.c: Likewise.
11472         * sunrpc/auth_none.c: Likewise.
11473         * sunrpc/bindrsvprt.c: Likewise.
11474         * sunrpc/create_xid.c: Likewise.
11475         * sunrpc/key_call.c: Likewise.
11476         * sunrpc/rpc_thread.c: Likewise.
11477         * sysdeps/arm/backtrace.c: Likewise.
11478         * sysdeps/generic/ldsodefs.h: Likewise.
11479         * sysdeps/generic/stdio-lock.h: Likewise.
11480         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
11481         * sysdeps/i386/backtrace.c: Likewise.
11482         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
11483         * sysdeps/m68k/backtrace.c: Likewise.
11484         * sysdeps/mach/hurd/cthreads.c: Likewise.
11485         * sysdeps/mach/hurd/dirstream.h: Likewise.
11486         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
11487         * sysdeps/nptl/malloc-machine.h: Likewise.
11488         * sysdeps/nptl/stdio-lock.h: Likewise.
11489         * sysdeps/posix/dirstream.h: Likewise.
11490         * sysdeps/posix/getaddrinfo.c: Likewise.
11491         * sysdeps/posix/system.c: Likewise.
11492         * sysdeps/pthread/aio_suspend.c: Likewise.
11493         * sysdeps/s390/s390-32/backtrace.c: Likewise.
11494         * sysdeps/s390/s390-64/backtrace.c: Likewise.
11495         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
11496         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
11497         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
11498         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
11499         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
11500         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
11501         * sysdeps/unix/sysv/linux/system.c: Likewise.
11502         * sysdeps/x86_64/backtrace.c: Likewise.
11503         * time/alt_digit.c: Likewise.
11504         * time/era.c: Likewise.
11505         * time/tzset.c: Likewise.
11506         * wcsmbs/wcsmbsload.c: Likewise.
11507         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
11508         instead of <bits/libc-lock.h> in comment.
11510 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
11512         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
11513         Only use .set mips2 if the current ISA is below mips2.
11514         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
11515         Likewise.
11516         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
11517         mips32r2 if the current ISA is below mips32r2.
11518         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
11519         (TLS_IE): Updated to use the TLD_RDHWR macro.
11520         (TLS_LE): Likewise.
11521         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
11522         __ASSEMBLER__ condition.
11524 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11526         Fix parallel build of before-compile targets.
11528         * sysdeps/mach/Makefile ($(patsubst
11529         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
11530         mach-before-compile target.
11531         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
11532         io fs process)): Move rule to dedicated hurd-before-compile target.
11534 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11536         Fix rules generating headers in hurd/ and mach/ when initial make call
11537         has subdir= explicitly set.
11539         * sysdeps/mach/Makefile ($(patsubst
11540         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
11541         calling $(MAKE).
11542         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
11543         io fs process)): Force subdir to hurd when calling $(MAKE).
11544         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
11545         subdir to mach when calling $(MAKE).
11547 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
11549         Check sysheaders when looking for Mach and Hurd headers
11551         * sysdeps/mach/configure.ac: Add sysheaders check.
11552         * sysdeps/mach/configure: Regenerate.
11553         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
11554         * sysdeps/mach/hurd/configure: Regenerate.
11556 2015-09-04  Roland McGrath  <roland@hack.frob.com>
11558         [BZ #18921]
11559         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
11560         Fix inverted sense of test of 'o_directory_works' value.
11561         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
11562         Bernhard Voelker <mail@bernhard-voelker.de>.
11564 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
11566         [BZ #14912]
11567         * bits/linkmap.h: Move to ...
11568         * sysdeps/generic/linkmap.h: ...here.
11569         * sysdeps/aarch64/bits/linkmap.h: Move to ...
11570         * sysdeps/aarch64/linkmap.h: ...here.
11571         * sysdeps/arm/bits/linkmap.h: Move to ...
11572         * sysdeps/arm/linkmap.h: ...here.
11573         * sysdeps/hppa/bits/linkmap.h: Move to ...
11574         * sysdeps/hppa/linkmap.h: ...here.
11575         * sysdeps/ia64/bits/linkmap.h: Move to ...
11576         * sysdeps/ia64/linkmap.h: ...here.
11577         * sysdeps/mips/bits/linkmap.h: Move to ...
11578         * sysdeps/mips/linkmap.h: ...here.
11579         * sysdeps/s390/bits/linkmap.h: Move to ...
11580         * sysdeps/s390/linkmap.h: ...here.
11581         * sysdeps/sh/bits/linkmap.h: Move to ...
11582         * sysdeps/sh/linkmap.h: ...here.
11583         * sysdeps/x86/bits/linkmap.h: Move to ...
11584         * sysdeps/x86/linkmap.h: ...here.
11585         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
11587 2015-09-04  Andreas Schwab  <schwab@suse.de>
11589         [BZ #18635]
11590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
11591         (__makecontext): Terminate FDE before return label.
11592         (__novec_makecontext): Likewise.
11594 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11596         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
11597         first member of struct sv in syscall macro.
11599 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
11601         [BZ #14912]
11602         * bits/stdio-lock.h: Move to ...
11603         * sysdeps/generic/stdio-lock.h: ...here.
11604         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
11605         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
11606         * sysdeps/nptl/stdio-lock.h: ...here.
11607         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
11608         * include/libio.h: Include <stdio-lock.h> instead of
11609         <bits/stdio-lock.h>.
11610         * sysdeps/nptl/fork.c: Likewise.
11611         * sysdeps/pthread/flockfile.c: Likewise.
11612         * sysdeps/pthread/ftrylockfile.c: Likewise.
11613         * sysdeps/pthread/funlockfile.c: Likewise.
11615         [BZ #14912]
11616         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
11617         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
11618         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
11619         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
11620         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
11621         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
11622         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
11624 2015-09-03  Roland McGrath  <roland@hack.frob.com>
11626         * elf/Makefile (test-xfail-tst-protected1a): New variable.
11627         (test-xfail-tst-protected1b): New variable.
11629 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
11631         [BZ #14912]
11632         * bits/libc-tsd.h: Move to ...
11633         * sysdeps/generic/libc-tsd.h: ...here.
11634         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
11635         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
11636         * sysdeps/mach/hurd/libc-tsd.h: ...here.
11637         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
11638         * include/ctype.h: Include <libc-tsd.h> instead of
11639         <bits/libc-tsd.h>.
11640         * include/rpc/rpc.h: Likewise.
11641         * locale/localeinfo.h: Likewise.
11642         * sunrpc/rpc_thread.c: Likewise.
11643         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
11644         * sysdeps/nptl/malloc-machine.h: Likewise.
11646         * Makefile (headers): Remove bits/libc-lock.h.
11647         * libio/Makefile (headers): Remove bits/stdio-lock.h.
11649         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
11650         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
11651         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
11652         <bits/stdio-lock.h>.
11653         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
11654         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
11656 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
11658         [BZ #18757]
11659         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
11660         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
11661         BZ #18757.
11663 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
11665         * malloc/mtrace.pl: Filter out NULL entries.
11667 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
11669         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
11670         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
11671         macro.
11673         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
11674         (TCP_CC_INFO): Likewise.
11675         (TCP_SAVE_SYN): Likewise.
11676         (TCP_SAVED_SYN): Likewise.
11678 2015-08-31  Brett Neumeier <brett@neumeier.us>
11680         [BZ #18870]
11681         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
11683 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
11685         [BZ #18873]
11686         Fix broken overflow check in posix_fallocate
11687         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
11688         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
11689         Fix parenthesization typo.
11691 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
11693         [BZ #18887]
11694         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
11695         tst-mntent-blank-passno.
11696         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
11697         * misc/tst-mntent-blank-corrupt.c: New test.
11698         * misc/tst-mntent-blank-passno.c: New test ripped from ...
11699         * misc/tst-mntent.c (do_test): ... here.
11701 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
11703         [BZ #4404]
11704         * po/de.po: Fix SIGALRM typo.
11706 2015-08-28  James Perkins  <james@loowit.net>
11708         * time/tst-strptime2.c (tests): Replace short list of test
11709         strings for strptime %z specifier with code which exhaustively
11710         tests every combination of sign and 0 to 5 digits. Tests for
11711         rejection of invalid strings.
11713 2015-08-28  James Perkins  <james@loowit.net>
11715         [BZ #16141]
11716         * time/strptime_l.c (__strptime_internal): Fix %z minutes
11717         calculation, removing incorrect decimal time rounding, so that
11718         all minute values result in a valid seconds value.
11719         * time/strptime_l.c (__strptime_internal): Extend %z time zone
11720         offset range limits to UTC-99:59 through UTC+99:59 to parse
11721         current and historical use cases.
11722         * time/tst-strptime2.c (tests): Modify and add tests for the
11723         strptime %z input field descriptor, specifically conversion of
11724         minutes to seconds and validating an offset range of -9959 to
11725         +9959.
11727 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11728             Dmitry V. Levin  <ldv@altlinux.org>
11730         [BZ #18877]
11731         * posix/Makefile (tests): Add tst-mmap-offset.
11732         * posix/tst-mmap.c: New file.
11733         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
11734         offset calculation for negative values.
11736 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11738         * sysdeps/i386/init-arch.h: New file.
11739         * sysdeps/i386/i586/init-arch.h: Likewise.
11740         * sysdeps/i386/i686/init-arch.h: Likewise.
11741         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
11742         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
11743         * sysdeps/x86/cpu-features.h (bit_I586): New.
11744         (bit_I686): Likewise.
11745         (bit_CX8): Likewise.
11746         (bit_CMOV): Likewise.
11747         (index_CX8): Likewise.
11748         (index_CMOV): Likewise.
11749         (index_I586): Likewise.
11750         (index_I686): Likewise.
11751         (reg_CX8): Likewise.
11752         (reg_CMOV): Likewise.
11753         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
11754         available at compile-time.
11755         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
11756         available at compile-time.
11757         * sysdeps/x86/init-arch.h (USE_I586): New macro.
11758         (USE_I686): Likewise.
11760 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11762         * sysdeps/i386/bcopy.S: New file.
11763         * sysdeps/i386/bzero.S: Likewise.
11764         * sysdeps/i386/memcpy.S: Likewise.
11765         * sysdeps/i386/memmove.S: Likewise.
11766         * sysdeps/i386/mempcpy.S: Likewise.
11767         * sysdeps/i386/memset.S: Likewise.
11768         * sysdeps/i386/bzero.c: Removed.
11769         * sysdeps/i386/memset.c: Likewise.
11770         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
11771         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
11772         * sysdeps/i386/i586/memset_chk.S: Likewise.
11773         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
11774         * sysdeps/i386/memcpy_chk.S: Here.
11775         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
11776         * sysdeps/i386/memmove_chk.S: Here.
11777         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
11778         * sysdeps/i386/mempcpy_chk.S: Likewise.
11779         * sysdeps/i386/i686/memset_chk.S: Moved to ...
11780         * sysdeps/i386/memset_chk.S: Likewise.
11782 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
11784         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
11785         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
11786         file, move DIAG_POP_NEEDS_COMMENT to end of file.
11787         * soft-fp/fmadf4.c: Ditto.
11788         * soft-fp/fmatf4.c: Ditto.
11790 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11792         * sysdeps/i386/i586/Implies: Removed.
11793         * sysdeps/i386/i686/Implies: Likewise.
11795 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11797         * sysdeps/i386/i486/strlen.S: Moved to ...
11798         * sysdeps/i386/strlen.S: Here.
11800 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11802         * sysdeps/i386/i486/strcat.S: Moved to ...
11803         * sysdeps/i386/strcat.S: Here.
11805 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11807         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
11808         * sysdeps/i386/pthread_spin_trylock.S: Here.
11809         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
11810         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
11812 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11814         * sysdeps/i386/i486/string-inlines.c: Moved to ...
11815         * sysdeps/i386/string-inlines.c: Here.
11817 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11819         * sysdeps/i386/i486/htonl.S: Moved ...
11820         * sysdeps/i386/htonl.S: here.
11822 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11824         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
11825         * sysdeps/i386/bits/atomic.h: Here.
11827 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11829         * sysdeps/i386/i486/Versions: Removed.
11831 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
11833         [BZ #2898]
11834         * misc/mktemp.c: Add mkdtemp to the link_warning message.
11835         Based on patch by Aurelien Jarno.
11837 2015-08-26  Stan Shebs  <stanshebs@google.com>
11839         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
11840         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
11842 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11844         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
11845         * sysdeps/powerpc/dl-procinfo.c:
11846         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
11847         feature so it shows when LD_SHOW_AUXV=1.
11849 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11851         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
11852         (__arch_compare_and_exchange_val_32_acq): Remove and use common
11853         definition.  ISA 2.07B no longer requires full sync.
11855 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
11857         [BZ #18863]
11858         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
11859         (si_call_addr): Define.
11860         (si_syscall): Define.
11861         (si_arch): Define.
11863 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
11865         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
11866         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
11867         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
11868         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
11869         (__memset_zero_constant_len_parameter): New.
11870         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
11871         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
11872         (__memset_zero_constant_len_parameter): Don't define if
11873         __memset_chk or USE_AS_BZERO are defined.
11875         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
11876         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
11877         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
11879         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
11880         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
11881         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
11882         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
11883         comments.
11884         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
11885         -mno-mmx for $(all-rtld-routines).
11886         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
11887         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
11888         i386.
11890 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
11892         * sysdeps/generic/unwind.h
11893         (_Unwind_Word): Use __mode__(__unwind_word__)
11894         instead of __mode__(__word__).
11895         (_Unwind_Sword): Likewise.
11897         * sysdeps/s390/s390-64/utf8-utf16-z9.c
11898         (MAX_NEEDED_INPUT): New define.
11899         (MAX_NEEDED_OUTPUT): New define.
11901         * NEWS: New item for IBM z13 string optimizations.
11903         * sysdeps/s390/multiarch/memrchr-c.c: New File.
11904         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
11905         * sysdeps/s390/multiarch/memrchr.c: Likewise.
11906         * sysdeps/s390/multiarch/Makefile
11907         (sysdep_routines): Add memrchr functions.
11908         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
11909         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
11911         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
11912         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
11913         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
11914         * sysdeps/s390/multiarch/Makefile
11915         (sysdep_routines): Add wmemcmp functions.
11916         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
11917         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
11918         * benchtests/bench-wmemcmp.c: New File.
11919         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
11921         * sysdeps/s390/multiarch/wmemset-c.c: New File.
11922         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
11923         * sysdeps/s390/multiarch/wmemset.c: Likewise.
11924         * sysdeps/s390/multiarch/Makefile
11925         (sysdep_routines): Add wmemset functions.
11926         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
11927         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
11928         * wcsmbs/wmemset.c: Use WMEMSET if defined.
11929         * string/test-memset.c: Add wmemset support.
11930         * wcsmbs/test-wmemset.c: New File.
11931         * wcsmbs/Makefile (strop-tests): Add wmemset.
11932         * benchtests/bench-memset.c: Add wmemset support.
11933         * benchtests/bench-wmemset.c: New File.
11934         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
11936         * sysdeps/s390/multiarch/memccpy-c.c: New File.
11937         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
11938         * sysdeps/s390/multiarch/memccpy.c: Likewise.
11939         * sysdeps/s390/multiarch/Makefile
11940         (sysdep_routines): Add memccpy functions.
11941         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
11942         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
11943         * string/memccpy.c: Use MEMCCPY if defined.
11945         * sysdeps/s390/multiarch/memchr-vx.S: New File.
11946         * sysdeps/s390/multiarch/memchr.c: Likewise.
11947         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
11948         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
11949         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
11950         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
11951         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
11952         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
11953         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
11954         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
11955         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
11956         and rawmemchr functions.
11957         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
11958         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
11959         and wmemchr.
11960         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
11961         * string/test-memchr.c: Add wmemchr support.
11962         * wcsmbs/test-wmemchr.c: New File.
11963         * wcsmbs/Makefile (strop-tests): Add wmemchr.
11964         * benchtests/bench-memchr.c: Add wmemchr support.
11965         * benchtests/bench-wmemchr.c: New File.
11966         * benchtests/Makefile (wcsmbs-bench): wmemchr.
11968         * sysdeps/s390/multiarch/strcspn-c.c: New File.
11969         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
11970         * sysdeps/s390/multiarch/strcspn.c: Likewise.
11971         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
11972         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
11973         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
11974         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
11975         wcscspn functions.
11976         * sysdeps/s390/multiarch/ifunc-impl-list.c
11977         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
11978         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
11979         * string/test-strcspn.c: Add wcscspn support.
11980         * wcsmbs/test-wcscspn.c: New File.
11981         * wcsmbs/Makefile (strop-tests): Add wcscspn.
11982         * benchtests/bench-strcspn.c: Add wcscspn support.
11983         * benchtests/bench-wcscspn.c: New File.
11984         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
11986         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
11987         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
11988         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
11989         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
11990         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
11991         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
11992         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
11993         wcspbrk functions.
11994         * sysdeps/s390/multiarch/ifunc-impl-list.c
11995         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
11996         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
11997         * string/test-strpbrk.c: Add wcspbrk support.
11998         * wcsmbs/test-wcspbrk.c: New File.
11999         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
12000         * benchtests/bench-strpbrk.c: Add wcspbrk support.
12001         * benchtests/bench-wcspbrk.c: New File.
12002         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
12004         * sysdeps/s390/multiarch/strspn-c.c: New File.
12005         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
12006         * sysdeps/s390/multiarch/strspn.c: Likewise.
12007         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
12008         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
12009         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
12010         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
12011         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
12012         wcsspn functions.
12013         * sysdeps/s390/multiarch/ifunc-impl-list.c
12014         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
12015         * string/test-strspn.c: Add wcsspn support.
12016         * wcsmbs/test-wcsspn.c: New File.
12017         * wcsmbs/Makefile (strop-tests): Add wcsspn.
12018         * benchtests/bench-strspn.c: Add wcsspn support.
12019         * benchtests/bench-wcsspn.c: New File.
12020         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
12022         * sysdeps/s390/multiarch/strrchr-c.c: New File.
12023         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
12024         * sysdeps/s390/multiarch/strrchr.c: Likewise.
12025         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
12026         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
12027         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
12028         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
12029         wcsrchr functions.
12030         * sysdeps/s390/multiarch/ifunc-impl-list.c
12031         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
12032         * benchtests/bench-wcsrchr.c: New File.
12033         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
12035         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
12036         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
12037         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
12038         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
12039         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
12040         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
12041         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
12042         wcschrnul functions.
12043         * sysdeps/s390/multiarch/ifunc-impl-list.c
12044         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
12045         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
12046         * string/test-strchr.c: Add wcschrnul support.
12047         * wcsmbs/test-wcschrnul.c: New File.
12048         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
12049         * benchtests/bench-strchr.c: Add wcschrnul support.
12050         * benchtests/bench-wcschrnul.c: New File.
12051         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
12053         * sysdeps/s390/multiarch/strchr-c.c: New File.
12054         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
12055         * sysdeps/s390/multiarch/strchr.c: Likewise.
12056         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
12057         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
12058         * sysdeps/s390/multiarch/wcschr.c: Likewise.
12059         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
12060         wcschr functions.
12061         * sysdeps/s390/multiarch/ifunc-impl-list.c
12062         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
12063         * string/strchr.c (STRCHR): Define and use macro.
12064         * benchtests/bench-wcschr.c: New File.
12065         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
12067         * sysdeps/s390/multiarch/strncmp-c.c: New File.
12068         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
12069         * sysdeps/s390/multiarch/strncmp.c: Likewise.
12070         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
12071         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
12072         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
12073         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
12074         wcsncmp functions.
12075         * sysdeps/s390/multiarch/ifunc-impl-list.c
12076         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
12077         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
12078         * benchtests/bench-strncmp.c: Add wcsncmp support.
12079         * benchtests/bench-wcsncmp.c: New File.
12080         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
12082         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
12083         * sysdeps/s390/multiarch/strcmp.c: Likewise.
12084         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
12085         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
12086         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
12087         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
12088         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
12089         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
12090         wcscmp functions.
12091         * sysdeps/s390/multiarch/ifunc-impl-list.c
12092         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
12093         * string/strcmp.c (STRCMP): Define and use macro.
12094         * benchtests/bench-wcscmp.c: New File.
12095         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
12096         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
12097         instead of _HAVE_STRING_ARCH_memchr.
12099         * sysdeps/s390/multiarch/strncat-c.c: New File.
12100         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
12101         * sysdeps/s390/multiarch/strncat.c: Likewise.
12102         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
12103         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
12104         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
12105         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
12106         wcsncat functions.
12107         * sysdeps/s390/multiarch/ifunc-impl-list.c
12108         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
12109         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
12110         * string/test-strncat.c: Add wcsncat support.
12111         * wcsmbs/test-wcsncat.c: New File.
12112         * wcsmbs/Makefile (strop-tests): Add wcsncat.
12113         * benchtests/bench-strncat.c: Add wcsncat support.
12114         * benchtests/bench-wcsncat.c: New File.
12115         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
12117         * sysdeps/s390/multiarch/strcat-c.c: New File.
12118         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
12119         * sysdeps/s390/multiarch/strcat.c: Likewise.
12120         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
12121         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
12122         * sysdeps/s390/multiarch/wcscat.c: Likewise.
12123         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
12124         wcscat functions.
12125         * sysdeps/s390/multiarch/ifunc-impl-list.c
12126         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
12127         * string/strcat.c (STRCAT): Define and use macro.
12128         * wcsmbs/wcscat.c: Use WCSCAT if defined.
12129         * string/test-strcat.c: Add wcscat support.
12130         * wcsmbs/test-wcscat.c: New File.
12131         * wcsmbs/Makefile (strop-tests): Add wcscat.
12132         * benchtests/bench-strcat.c: Add wcscat support.
12133         * benchtests/bench-wcscat.c: New File.
12134         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
12136         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
12137         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
12138         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
12139         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
12140         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
12141         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
12142         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
12143         wcpncpy functions.
12144         * sysdeps/s390/multiarch/ifunc-impl-list.c
12145         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
12146         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
12147         * string/test-stpncpy.c: Add wcpncpy support.
12148         * wcsmbs/test-wcpncpy.c: New File.
12149         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
12150         * benchtests/bench-stpncpy.c: Add wcpncpy support.
12151         * benchtests/bench-wcpncpy.c: New File.
12152         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
12154         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
12155         * sysdeps/s390/multiarch/strncpy.c: Likewise.
12156         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
12157         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
12158         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
12159         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
12160         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
12161         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
12162         wcsncpy functions.
12163         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
12164         * sysdeps/s390/multiarch/ifunc-impl-list.c
12165         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
12166         * string/test-strncpy.c: Add wcsncpy support.
12167         * wcsmbs/test-wcsncpy.c: New File.
12168         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
12169         * benchtests/bench-strncpy.c: Add wcsncpy support.
12170         * benchtests/bench-wcsncpy.c: New File.
12171         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
12173         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
12174         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
12175         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
12176         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
12177         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
12178         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
12179         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
12180         wcpcpy functions.
12181         * string/stpcpy.c: Use STPCPY if defined.
12182         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
12183         * sysdeps/s390/multiarch/ifunc-impl-list.c
12184         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
12185         * string/test-stpcpy.c: Add wcpcpy support.
12186         * wcsmbs/test-wcpcpy.c: New File.
12187         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
12188         * benchtests/bench-stpcpy.c: Add wcpcpy support.
12189         * benchtests/bench-wcpcpy.c: New File.
12190         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
12192         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
12193         * sysdeps/s390/multiarch/strcpy.c: Likewise.
12194         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
12195         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
12196         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
12197         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
12198         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
12199         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
12200         wcscpy functions.
12201         * sysdeps/s390/multiarch/ifunc-impl-list.c
12202         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
12203         * benchtests/bench-wcscpy.c: New File.
12204         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
12206         * sysdeps/s390/multiarch/strnlen-c.c: New File.
12207         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
12208         * sysdeps/s390/multiarch/strnlen.c: Likewise.
12209         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
12210         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
12211         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
12212         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
12213         wcsnlen functions.
12214         * sysdeps/s390/multiarch/ifunc-impl-list.c
12215         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
12216         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
12217         * string/test-strnlen.c: Add wcsnlen support.
12218         * wcsmbs/test-wcsnlen.c: New File.
12219         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
12220         * benchtests/bench-strnlen.c: Add wcsnlen support.
12221         * benchtests/bench-wcsnlen.c: New File.
12222         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
12224         * sysdeps/s390/multiarch/Makefile: New File.
12225         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
12226         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
12227         * sysdeps/s390/multiarch/strlen.c: Likewise.
12228         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
12229         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
12230         * sysdeps/s390/multiarch/wcslen.c: Likewise.
12231         * string/strlen.c (STRLEN): Define and use macro.
12232         * sysdeps/s390/multiarch/ifunc-impl-list.c
12233         (IFUNC_VX_IMPL): New macro function.
12234         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
12235         * benchtests/Makefile (wcsmbs-bench): New variable.
12236         (string-bench-all): Added wcsmbs-bench.
12237         * benchtests/bench-wcslen.c: New File.
12239         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
12240         s390_vx_libc_ifunc2): New macro function.
12242         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
12243         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
12244         assembler support.
12245         * sysdeps/s390/configure: Regenerated.
12247         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
12248         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
12250         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
12251         * sysdeps/s390/dl-procinfo.h: Add vector capability.
12252         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
12254         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
12255         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
12256         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
12257         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
12258         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
12259         (memcmp, bcmp): Use __memcmp_default as alias source.
12260         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
12261         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
12262         Rename to __memcmp_default.
12263         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
12264         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
12265         (memcpy): Use __memcpy_default as alias source.
12266         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
12267         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
12268         Rename to __memcpy_default.
12269         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
12270         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
12271         (memset): Use __memset_default as alias source.
12272         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
12273         * sysdeps/s390/s390-32/memset.S (__memset_g5):
12274         Rename to __memset_default.
12275         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
12276         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
12277         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
12278         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
12279         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
12280         (memcmp, bcmp): Use __memcmp_default as alias source.
12281         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
12282         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
12283         Rename to __memcmp_default.
12284         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
12285         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
12286         (memcpy): Use __memcpy_default as alias source.
12287         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
12288         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
12289         Rename to __memcpy_default.
12290         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
12291         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
12292         (memset): Use __memset_default as alias source.
12293         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
12294         * sysdeps/s390/s390-64/memset.S (__memset_z900):
12295         Rename to __memset_default.
12296         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
12297         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
12299         [BZ #18610]
12300         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
12301         __ieee_instruction_pointer to __unused.
12302         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
12303         __ieee_instruction_pointer.
12304         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
12305         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
12306         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
12307         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
12308         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
12309         Mark dxc-field as reserved.
12311 2015-08-25  Roland McGrath  <roland@hack.frob.com>
12313         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
12314         if the weak reference is not null.
12316 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
12318         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
12320         [BZ #11214]
12321         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
12323 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12325         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
12326         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
12327         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
12328         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
12329         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
12330         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
12331         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
12332         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
12333         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
12334         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
12335         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
12336         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
12337         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
12338         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
12339         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
12340         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
12341         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
12342         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
12344 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12346         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
12347         register other than r0 for tabort, it has special meaning.
12348         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
12349         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
12350         transaction before starting syscall.
12352 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12354         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
12356 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
12358         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
12360         * sysdeps/x86_64/rtld-memcmp.c: Removed.
12361         * sysdeps/x86_64/rtld-memset.S: Likewise.
12362         * sysdeps/x86_64/rtld-strchr.S: Likewise.
12363         * sysdeps/x86_64/rtld-strlen.S: Likewise.
12364         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
12365         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
12367         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
12369 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
12371         * debug/strcpy_chk.c: Improve performance.
12372         * debug/stpcpy_chk.c: Likewise.
12373         * sysdeps/x86_64/strcpy_chk.S: Remove.
12374         * sysdeps/x86_64/stpcpy_chk.S: Remove.
12376         [BZ #18240]
12377         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
12379 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
12381         [BZ #15128]
12382         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
12383         ifuncmain8.
12384         (modules-names): Add ifuncmod8.
12385         ($(objpfx)ifuncmain8): New rule.
12386         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
12387         <cpuid.h>.
12388         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
12389         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
12390         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
12391         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
12392         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
12393         * sysdeps/x86_64/dl-trampoline.h: Likewise.
12394         * sysdeps/x86_64/ifuncmain8.c: New file.
12395         * sysdeps/x86_64/ifuncmod8.c: Likewise.
12396         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
12397         Removed.
12398         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
12399         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
12400         Change rtld_savespace_sse to __glibc_unused2.
12401         (RTLD_CHECK_FOREIGN_CALL): Removed.
12402         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
12403         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
12404         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
12406 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
12408         * sysdeps/aarch64/bzero.S (__bzero): Remove.
12410 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
12412         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
12413         Unconditionally set __fpcr to avoid uninialized warning.
12414         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
12416 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
12418         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
12419         is corrupt.
12421         * malloc/arena.c (arena_get2): Drop unused argument.
12422         (arena_lock): Adjust.
12423         (arena_get_retry): Likewise.
12425 2015-08-24  Andreas Schwab  <schwab@suse.de>
12427         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
12428         Don't define.
12429         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
12430         (__ASSUME_IPC64): Don't undef.
12431         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
12432         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
12433         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
12434         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
12435         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
12436         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
12437         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
12438         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
12439         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
12440         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
12441         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
12442         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
12443         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
12444         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
12445         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
12446         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
12447         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
12448         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
12449         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
12450         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
12451         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
12453 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
12455         * manual/Makefile (install): Only build manual when perl is available.
12457 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12459         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
12460         '#undef memcpy' by '#undef memchr'.
12462 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12464         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
12465         memchr not point to the internal __GI_memchr implementation.
12467 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
12469         * timezone/Makefile (CFLAGS-zdump.c): Remove
12470         -Wno-strict-prototypes.
12471         (CFLAGS-zic.c): Likewise.
12472         (CFLAGS-ialloc.c): Likewise.
12473         (CFLAGS-scheck.c): Likewise.
12475         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
12476         -Wno-error=undef.
12478 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
12480         * i386/i686/multiarch/strcasestr-c.c: Removed.
12481         * x86_64/multiarch/strcasestr.c: Likewise.
12482         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12483         Remove strcasestr.
12485 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
12487         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
12489         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
12490         variables for high and low parts before possibly modifying them.
12492 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
12494         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
12495         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
12496         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
12497         of "multiarch/init-arch.h".
12498         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
12499         * sysdeps/x86/init-arch.h: This.
12501 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
12503         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
12504         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
12506 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
12508         [BZ #17787]
12509         * manual/macros.texi: Add twoexp macro.
12510         * manual/filesys.texi: Fix exponents.
12511         * manual/llio.texi: Likewise.
12512         * manual/stdio.texi: Likewise.
12514 2015-08-20  Florian Weimer  <fweimer@redhat.com>
12516         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
12517         incorrect use.
12519 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
12521         [BZ #18370]
12522         * math/s_csqrt.c (__csqrt): Force underflow exception for results
12523         whose real or imaginary part has small absolute value.
12524         * math/s_csqrtf.c (__csqrtf): Likewise.
12525         * math/s_csqrtl.c (__csqrtl): Likewise.
12526         * math/auto-libm-test-in: Add more tests of csqrt.
12527         * math/auto-libm-test-out: Regenerated.
12528         * sysdeps/i386/fpu/libm-test-ulps: Update.
12530 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
12532         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
12533         __ppc_set_ppr_very_low): New functions.
12534         * manual/platform.texi: Add documentation about
12535         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
12537 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
12539         * string/stpncpy.c (stpncpy): Improve performance using
12540         __strnlen/memcpy/memset.
12542 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
12544         [BZ #18796]
12545         * scripts/test-installation.pl: Don't add -lmvec to build options if
12546         libmvec wasn't built.
12548 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
12550         [BZ #14341]
12551         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
12552         case when there is a gap between DT_REL and DT_JMPREL sections.
12553         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
12554         (LDFLAGS-tst-split-dynreloc): New.
12555         (tst-split-dynreloc-ENV): Likewise.
12556         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
12557         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
12559 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
12561         [BZ #18822]
12562         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
12563         attribute_hidden.
12564         (__xstat64_conv): Likewise.
12565         (__xstat32_conv): Likewise.
12567 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
12569         [BZ #18822]
12570         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
12571         Don't load %ebx when calling __setcontext.  Call __setcontext
12572         with HIDDEN_JUMPTARGET.
12573         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
12574         libc_hidden_def.
12576 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
12578         * sysdeps/i386/i686/Makefile
12579         [$(subdir) == string] (sysdep_routines): Moved to ...
12580         * sysdeps/i386/Makefile: Here.
12581         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
12582         * sysdeps/i386/cacheinfo.c: Here.
12583         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
12584         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
12585         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
12586         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
12588 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
12590         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
12591         __i586__ is defined.
12592         (HAS_I686): Defined to 1 if __i686__ is defined.
12594 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
12596         * elf/Makefile [$(have-z-execstack) = yes]
12597         (CPPFLAGS-tst-execstack.c): New variable.
12599         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
12600         conditional to [defined UTMPX || _HAVE_UT_TYPE].
12601         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
12602         UTMPX || _HAVE_UT_TV].
12603         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
12604         UTMPX || _HAVE_UT_TV - 0].
12606 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
12608         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
12609         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
12610         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
12612 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12614         * sysdeps/powerpc/dl-procinfo.c:
12615         (_dl_powerpc_cap_flags): Added missing strings for some
12616         hwcap features.
12617         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
12619 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
12621         Port the 0x7efe...feff pattern to GCC 6.
12622         See Steve Ellcey's bug report in:
12623         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
12624         * string/memrchr.c (MEMRCHR):
12625         * string/rawmemchr.c (RAWMEMCHR):
12626         * string/strchr.c (strchr):
12627         * string/strchrnul.c (STRCHRNUL):
12628         Rewrite code to avoid issues with signed shift overflow.
12630 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
12632         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
12633         whether cpuid is available only if HAS_CPUID is 0.
12634         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
12635         (HAS_I586): Likewise.
12636         (HAS_I686): Likewise.
12638 2015-08-18  Zack Weinberg  <zackw@panix.com>
12640         * misc/Versions (libc): Add GLIBC_2.23.
12642 2015-08-18  Alan Modra  <amodra@gmail.com>
12644         [BZ #18421]
12645         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
12646         .Lp__global.
12647         (_start): Load %dp via .Lp__global.
12648         [!SHARED]: Use .section .rodata.
12650 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12652         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
12653         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
12655 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12657         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
12658         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
12660 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12662         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
12663         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
12665 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12667         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
12668         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
12670 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12672         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
12673         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
12675 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12677         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
12678         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
12680 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12682         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
12684 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12686         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
12687         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
12688         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12689         (__ASSUME_LWS_CAS): Delete.
12691 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12693         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
12694         * sysdeps/hppa/configure: Regenerated.
12695         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
12696         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
12697         * sysdeps/hppa/nptl/tls.h: Likewise.
12699 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
12701         [BZ #18823]
12702         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
12703         for scaling up small arguments.
12704         * math/s_csqrtf.c (__csqrtf): Likewise.
12705         * math/s_csqrtl.c (__csqrtl): Likewise.
12706         * math/auto-libm-test-in: Add more tests of csqrt.
12707         * math/auto-libm-test-out: Regenerated.
12709 2015-08-17  Andreas Schwab  <schwab@suse.de>
12711         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
12712         version set GLIBC_2.19.
12714 2015-08-16  Zack Weinberg  <zackw@panix.com>
12716         [BZ #18681]
12717         * misc/regexp.h: This interface is no longer supported.
12718         Remove all contents, leaving only an #error directive.
12719         * misc/regexp.c (loc1, loc2, locs, step, advance):
12720         Demote to compatibility symbols.
12722 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
12724         [BZ #18084]
12725         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
12726         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
12727         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
12728         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
12729         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
12730         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
12731         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
12732         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
12733         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
12735 2015-08-15  Zack Weinberg  <zackw@panix.com>
12737         [BZ #18795]
12738         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
12739         buffer length is known to be too large, not if it's known to be
12740         small enough.
12741         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
12742         overflow at runtime, involving a length parameter, twice: once
12743         with a compile-time constant length parameter, once without.
12745 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
12747         [BZ #18824]
12748         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
12749         scaling x * y up instead of down.
12750         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12751         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12752         * math/auto-libm-test-in: Add more tests of fma.
12753         * math/auto-libm-test-out: Regenerated.
12755 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
12757         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12759 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
12761         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
12762         unnecessary movq.
12763         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
12764         Likewise.
12766 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
12768         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12769         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
12770         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
12771         and tgamma.
12772         * math/auto-libm-test-out: Regenerated.
12773         * sysdeps/i386/fpu/libm-test-ulps: Update.
12774         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12776         [BZ #16520]
12777         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
12778         (__tanh): Force underflow exception for arguments with small
12779         absolute value.
12780         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
12781         (__tanhf): Force underflow exception for arguments with small
12782         absolute value.
12783         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
12784         (__tanhl): Force underflow exception for arguments with small
12785         absolute value.
12786         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
12787         (__tanhl): Force underflow exception for arguments with small
12788         absolute value.
12789         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
12790         (__tanhl): Force underflow exception for arguments with small
12791         absolute value.
12792         * math/auto-libm-test-in: Add more tests of tanh.
12793         * math/auto-libm-test-out: Regenerated.
12794         * sysdeps/i386/fpu/libm-test-ulps: Update.
12796 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
12798         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
12799         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
12801 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
12803         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
12804         <cpuid.h>.
12806 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
12808         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
12809         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
12811 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
12813         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
12814         Remove $(objpfx)init-arch.o.
12815         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
12816         init-arch.
12817         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
12818         (INIT_ARCH_EXT): Defined as empty.
12819         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
12820         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
12821         __init_cpu_features call.  Replace HAS_XXX with
12822         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
12823         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
12824         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
12825         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
12826         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
12827         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
12828         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
12829         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
12830         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
12831         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
12832         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
12833         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
12834         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
12835         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
12836         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
12837         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
12838         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
12839         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
12840         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
12841         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
12842         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
12843         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
12844         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
12845         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
12846         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
12847         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
12848         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
12849         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
12850         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
12851         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
12852         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
12853         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
12854         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
12855         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
12856         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
12857         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
12859 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
12861         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
12862         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
12863         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
12864         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
12865         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
12866         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
12867         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
12868         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
12869         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
12870         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
12871         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
12872         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
12873         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
12874         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12875         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12876         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12877         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12878         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12879         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12880         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12881         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12882         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12883         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12884         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12885         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12886         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12887         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12888         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12889         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12890         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12891         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12892         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12893         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12894         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12895         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12896         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12897         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12898         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12899         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12900         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12901         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12902         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12903         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12905 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
12907         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
12908         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
12909         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
12910         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12911         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12912         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
12913         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12914         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
12915         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
12916         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12917         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12918         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
12919         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
12920         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
12921         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
12922         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
12923         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
12924         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
12925         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
12926         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
12927         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
12928         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
12929         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
12930         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
12931         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12932         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
12933         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
12934         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
12935         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
12936         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
12937         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
12938         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
12939         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
12940         * sysdeps/x86_64/multiarch/memset.S: Likewise.
12941         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12942         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
12943         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
12944         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12945         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
12946         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
12947         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
12948         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
12949         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
12951 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
12953         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
12954         (dl_platform_init): Call init_cpu_features.
12955         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
12956         * sysdeps/i386/i686/cacheinfo.c
12957         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
12958         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
12959         * sysdeps/i386/i686/multiarch/Versions: Removed.
12960         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
12961         Removed.
12962         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
12963         * sysdeps/unix/sysv/linux/x86/Makefile
12964         (libpthread-sysdep_routines): Remove init-arch.
12965         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
12966         <sysdeps/x86_64/dl-procinfo.c> instead of
12967         sysdeps/generic/dl-procinfo.c>.
12968         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
12969         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
12970         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
12971         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
12972         [$(subdir) == elf] (tests-static): Add
12973         tst-get-cpu-features-static.
12974         * sysdeps/x86/Versions: New file.
12975         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
12976         * sysdeps/x86/cpu-features.c: Likewise.
12977         * sysdeps/x86/cpu-features.h: Likewise.
12978         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
12979         * sysdeps/x86/libc-start.c: Likewise.
12980         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
12981         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
12982         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
12983         * sysdeps/x86_64/dl-procinfo.c: Likewise.
12984         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
12985         Assume USE_MULTIARCH is defined and don't check it.
12986         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
12987         (is_amd): Likewise.
12988         (max_cpuid): Likewise.
12989         (intel_check_word): Likewise.
12990         (__cache_sysconf): Don't call __init_cpu_features.
12991         (__x86_preferred_memory_instruction): Removed.
12992         (init_cacheinfo): Don't call __init_cpu_features. Replace
12993         __cpu_features with GLRO(dl_x86_cpu_features).
12994         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
12995         (dl_platform_init): Call init_cpu_features.
12996         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
12997         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
12998         * sysdeps/x86_64/multiarch/Versions: Removed.
12999         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
13000         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
13001         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
13002         Removed.
13003         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
13005 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
13007         [BZ #18820]
13008         * libio/Makefile (test-fmemopen-mem): New test.
13009         * libio/test-fmemopen.c (do_bz18820): New test.
13010         * libio/fmemopen.c (__fmemopen): Fix memory leak.
13011         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
13013 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
13015         [BZ #16734]
13016         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
13017         (FREE_BUF): Delete.
13018         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
13019         * libio/genops.c (_IO_setb): Use malloc and free directly.
13020         (_IO_default_doallocate, _IO_default_finish): Likewise.
13021         ( _IO_unbuffer_all): Likewise.
13022         ( libc_freeres_fn): Likewise.
13023         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
13024         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
13025         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
13026         (_IO_wdefault_doallocate): Likewise.
13028 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
13030         [BZ #18086]
13031         * sysdeps/posix/nice.c (nice): Restore old errno.
13032         * posix/tst-nice.c (do_test): Add test for BZ #18086.
13034 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
13036         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
13038 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13040         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
13041         __bcopy and add a weak_alias to bcopy.
13042         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
13043         for static build.
13045         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
13046         cleanup macro usage.
13047         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
13048         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
13049         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
13050         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
13051         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
13052         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
13053         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
13054         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
13055         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
13056         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
13057         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
13058         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
13059         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
13060         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
13061         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
13062         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
13063         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
13064         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
13065         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
13067         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
13068         libc_hidden_def.
13069         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
13071         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
13072         (sysdep_routines): Add strstr-ppc64.
13073         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
13075 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
13077         [BZ #18778]
13078         * elf/Makefile (tests): Add Add tst-nodelete2.
13079         (modules-names): Add tst-nodelete2mod.
13080         (tst-nodelete2mod.so-no-z-defs): New.
13081         ($(objpfx)tst-nodelete2): Likewise.
13082         ($(objpfx)tst-nodelete2.out): Likewise.
13083         (LDFLAGS-tst-nodelete2): Likewise.
13084         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
13085         out of loop through all loaded libraries.
13086         * elf/tst-nodelete2.c: New file.
13087         * elf/tst-nodelete2mod.c: Likewise.
13088         * elf/tst-znodelete-zlib.cc: Delete.
13090 2015-08-11  Andreas Schwab  <schwab@suse.de>
13092         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
13093         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
13094         (__openat64_nocancel): Likewise.
13096 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
13098         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
13099         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
13100         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
13101         * math/auto-libm-test-out: Regenerated.
13102         * sysdeps/i386/fpu/libm-test-ulps: Update.
13103         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13105 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
13107         [BZ #18790]
13108         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
13109         threshold for returning +/- 1.
13110         * math/auto-libm-test-in: Add more tests of tanh.
13111         * math/auto-libm-test-out: Regenerated.
13112         * sysdeps/i386/fpu/libm-test-ulps: Update.
13114 2015-08-10  Andreas Schwab  <schwab@suse.de>
13116         [BZ #18781]
13117         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
13118         MORE_OFLAGS to oflag.
13119         * io/test-lfs.c (do_test): Test openat64.
13121 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
13123         [BZ #18789]
13124         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
13125         smaller threshold for returning the argument.
13126         * math/auto-libm-test-in: Add more tests of sinh.
13127         * math/auto-libm-test-out: Regenerated.
13128         * sysdeps/i386/fpu/libm-test-ulps: Update.
13130 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
13132         [BZ #18674]
13133         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
13134         break.
13136 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
13138         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
13139         (generated): Don't add $(addprefix z.,$(tzfiles)).
13141 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
13143         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
13144         * scripts/sysd-rules.awk: Likewise.
13146 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
13148         * iconvdata/tst-tables.sh: Change echo -n to printf.
13149         * nss/db-Makefile: Likewise.
13150         * posix/tst-getconf.sh: Likewise.
13151         * stdio-common/tst-unbputc.sh: Likewise.
13153 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
13155         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
13156         MADV_*_PAGES defines behind this feature check.
13158 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
13160         [BZ #18480]
13161         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
13162         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
13163         Define.
13164         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
13165         LOAD_REGS_5, LOAD_REGS_6): Update.
13166         (INTERNAL_SYSCALL): Update using new LOAD defines.
13167         (INTERNAL_SYSCALL_NCS): Likewise.
13168         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
13170 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
13172         [BZ #16734]
13173         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
13175 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
13177         [BZ #17905]
13178         * catgets/Makefile (tst-catgets-mem): New test.
13179         * catgets/catgets.c (catopen): Don't use unbounded alloca.
13180         * catgets/open_catalog.c (__open_catalog): Likewise.
13181         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
13183 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
13185         [BZ #18787]
13186         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
13187         clobber registers.
13188         (atomic_compare_and_exchange_val_acq): Use register asms to assign
13189         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
13190         Cast return to __typeof (oldval).
13192 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
13194         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
13195         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
13196         and delete sys/syscall.h include.
13198 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
13200         [BZ #16517]
13201         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
13202         (tan): Force underflow exception for arguments with small absolute
13203         value.
13204         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
13205         (__kernel_tanf): Force underflow exception for arguments with
13206         small absolute value.
13207         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
13208         (__kernel_tanl): Force underflow exception for arguments with
13209         small absolute value.
13210         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
13211         (__kernel_tanl): Force underflow exception for arguments with
13212         small absolute value.
13213         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
13214         (__kernel_tanl): Force underflow exception for arguments with
13215         small absolute value.
13216         * math/auto-libm-test-in: Add more tests of tan.
13217         * math/auto-libm-test-out: Regenerated.
13219 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13221         Fix sysdeps/i386/fpu/s_scalbn.S build
13223         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
13225 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
13227         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
13229 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13231         Fix gcrt0.o compilation
13233         When static-start-installed-name is different from
13234         start-installed-name, we must not use the shared objects.
13236         * csu/Makefile
13237         (extra-objs): Add gmon-start.o when building shared library and
13238         $(static-start-installed-name) is different from
13239         $(start-installed-name).
13240         $(objpfx)g$(static-start-installed-name): When building shared
13241         library and $(static-start-installed-name) is different from
13242         $(static-start-installed-name), revert to non-shared rule,
13243         i.e. using $(objpfx)% and gmon-start.o.
13245 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
13247         [BZ #16519]
13248         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
13249         (__ieee754_sinh): Force underflow exception for arguments with
13250         small absolute value.
13251         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
13252         (__ieee754_sinhf): Force underflow exception for arguments with
13253         small absolute value.
13254         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
13255         (__ieee754_sinhl): Force underflow exception for arguments with
13256         small absolute value.
13257         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
13258         (__ieee754_sinhl): Force underflow exception for arguments with
13259         small absolute value.
13260         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
13261         (__ieee754_sinhl): Force underflow exception for arguments with
13262         small absolute value.
13263         * math/auto-libm-test-in: Add more tests of sinh.
13264         * math/auto-libm-test-out: Regenerated.
13265         * sysdeps/i386/fpu/libm-test-ulps: Update.
13267 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
13269         * libio/oldfileops.c: Include unistd.h.
13271 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
13273         * stdlib/isomac.c: Include ctype.h.
13275 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
13277         * dirent/tst-seekdir.c (main): Converted to ...
13278         (do_test): ... this.
13279         (TEST_FUNCTION): New macro.
13280         Include test-skeleton.c.
13281         * elf/tst-dlmodcount.c (main): Converted to ...
13282         (do_test): ... this.
13283         (TEST_FUNCTION): New macro.
13284         Include test-skeleton.c.
13285         * elf/tst-order-main.c (main): Converted to ...
13286         (do_test): ... this.
13287         (TEST_FUNCTION): New macro.
13288         Include test-skeleton.c.
13289         * elf/tst-pie2.c (main): Converted to ...
13290         (do_test): ... this.
13291         (TEST_FUNCTION): New macro.
13292         Include test-skeleton.c.
13293         * inet/tst-ether_aton.c (main): Converted to ...
13294         (do_test): ... this.
13295         (TEST_FUNCTION): New macro.
13296         Include test-skeleton.c.
13297         * misc/tst-mntent.c (main): Converted to ...
13298         (do_test): ... this.
13299         (TEST_FUNCTION): New macro.
13300         Include test-skeleton.c.
13301         * misc/tst-tsearch.c (main): Converted to ...
13302         (do_test): ... this.
13303         (TEST_FUNCTION): New macro.
13304         Include test-skeleton.c.
13305         * posix/tst-regexloc.c (main): Converted to ...
13306         (do_test): ... this.
13307         (TEST_FUNCTION): New macro.
13308         Include test-skeleton.c.
13309         * resolv/tst-aton.c (main): Converted to ...
13310         (do_test): ... this.
13311         (TEST_FUNCTION): New macro.
13312         Include test-skeleton.c.
13313         * stdio-common/test-fwrite.c (main): Converted to ...
13314         (do_test): ... this.
13315         (TEST_FUNCTION): New macro.
13316         Include test-skeleton.c.
13317         * stdio-common/tst-ferror.c (main): Converted to ...
13318         (do_test): ... this.
13319         (TEST_FUNCTION): New macro.
13320         Include test-skeleton.c.
13321         * stdio-common/tst-printf.c (main): Converted to ...
13322         (do_test): ... this.
13323         (TEST_FUNCTION): New macro.
13324         Include test-skeleton.c.
13325         * stdio-common/tst-printfsz.c (main): Converted to ...
13326         (do_test): ... this.
13327         (TEST_FUNCTION): New macro.
13328         Include test-skeleton.c.
13329         * stdlib/tst-strtod.c (main): Converted to ...
13330         (do_test): ... this.
13331         (TEST_FUNCTION): New macro.
13332         Include test-skeleton.c.
13333         * string/tst-strlen.c (main): Converted to ...
13334         (do_test): ... this.
13335         (TEST_FUNCTION): New macro.
13336         Include test-skeleton.c.
13337         * string/tst-svc.c (main): Converted to ...
13338         (do_test): ... this.
13339         (TEST_FUNCTION): New macro.
13340         Include test-skeleton.c.
13341         * time/tst-strptime.c (main): Converted to ...
13342         (do_test): ... this.
13343         (TEST_FUNCTION): New macro.
13344         Include test-skeleton.c.
13345         * timezone/tst-timezone.c (main): Converted to ...
13346         (do_test): ... this.
13347         (TEST_FUNCTION): New macro.
13348         Include test-skeleton.c.
13350 2015-08-05  Zack Weinberg  <zackw@panix.com>
13352         * misc/regexp.h: Update comments.
13354 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
13356         [BZ #18635]
13357         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
13358         before return label.
13360 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
13362         [BZ #18661]
13363         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
13364         when calling __errno_location.
13365         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
13366         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
13368 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
13370         [BZ #18661]
13371         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
13372         (__lll_timedwait_tid): Align stack to 16 bytes when calling
13373         __gettimeofday.
13375 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
13377         [BZ #18661]
13378         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
13379         (__start_context): Don't use pop to restore %rdi so that stack
13380         is aligned to 16 bytes when calling __setcontext.
13382 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
13384         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
13385         only for libc.
13386         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
13388 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
13390         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
13391         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
13392         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
13394 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
13396         * string/memccpy.c (memccpy):
13397         Improve performance by using memchr/memcpy/__mempcpy.
13399 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
13401         * string/strncpy.c (strncpy):
13402         Improve performance by using __strnlen/memcpy.
13404 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
13406         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
13407         Optimize to avoid an unnecessary FPCR read.
13409 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
13411         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
13412         Optimize to reduce FPCR/FPSR accesses.
13414 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
13416         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
13417         dead->data[category] != NULL.
13419 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
13421         [BZ #18647]
13422         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
13423         and |x| close to 1, use absolute value of x when computing log.
13424         * math/auto-libm-test-in: Add more tests of pow.
13425         * math/auto-libm-test-out: Regenerated.
13427 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13429         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
13430         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
13431         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
13433 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
13435         [BZ #18525]
13436         * locales/km_KH: Remove timezone definition.
13437         * locales/lo_LA: Likewise.
13438         * locales/my_MM: Likewise.
13439         * locales/nan_TW@latin: Likewise.
13440         * locales/th_TH: Likewise.
13441         * locales/uk_UA: Likewise.
13443 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
13445         [BZ #18265]
13446         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
13447         (wcsncat): Likewise.
13448         (wcscmp): Likewise.
13449         (wcsncmp): Likewise.
13451 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
13453         * test-skeleton.c (usage): New function.
13454         (main): Call usage when opt is '?'.
13456 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
13458         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
13459         before first use.
13461 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
13463         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
13464         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
13465         in there too.
13467 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
13469         * version.h (RELEASE): Set to "development".
13470         (VERSION): Set to "2.22.90"
13472         * version.h (RELEASE): Set to "stable".
13473         (VERSION): Set to "2.22"
13474         * include/features.h (__GLIBC_MINOR__): Set to 22.
13476 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
13478         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
13479         Restructure macro to avoid "value computed is not used" warning.
13480         (atomic_compare_and_exchange_val_acq): Likewise.
13482 2015-08-04  Andreas Schwab  <schwab@suse.de>
13484         [BZ #18635]
13485         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
13486         ret.
13487         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
13489 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
13491         * po/pl.po: Updated translation.
13492         * po/uk.po: Likewise.
13493         * po/fi.po: Likewise.
13494         * po/ko.po: Likewise.
13495         * po/ru.po: Likewise.
13496         * po/vi.po: Likewise.
13498 2015-07-31  Zack Weinberg  <zackw@panix.com>
13500         [BZ #18681]
13501         * regexp.h: Add unconditional #warning stating that this header
13502         will be removed soon.  Revise banner comment to match.
13503         (compile): Consistently use ERROR instead of RETURN to report
13504         errors (partial fix for bz#18681).
13505         * regexp.c: Don't include regexp.h. Remove some unnecessary
13506         declarations.
13508 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
13510         * po/libc.pot: Regenerated.
13512 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
13514         [BZ #18740]
13515         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
13516         float-vlen4-arch-ext-cflags): Removed.
13517         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
13518         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
13520 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
13522         [BZ #14113]
13523         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
13524         aligned to __aligned__.
13525         (pthread_cond_t, pthread_rwlock_t): Likewise.
13527 2015-07-30  Torvald Riegel  <triegel@redhat.com>
13529         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
13531 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
13533         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
13534         (struct sigaction): Change sa_flags from a long to an int, and add
13535         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
13537 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
13539         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
13540         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
13541         sysdeps/generic/sysdep.h include.
13542         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
13543         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
13544         sysdeps/hppa/sysdep.h.
13545         (ENTRY, PSEUDO): Undefine before defining.
13547 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
13549         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
13550         from scratch to use INTERNAL_SYSCALL.
13552 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
13554         [BZ #18078]
13555         * scripts/check-localplt.awk: Support alternate relocations.
13556         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
13557         sections.
13558         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
13559         malloc entries with + REL R_386_GLOB_DAT.
13560         * sysdeps/x86_64/localplt.data: New file.
13562 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
13564         [BZ #18731]
13565         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
13566         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
13567         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
13569 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
13571         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
13573 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
13575         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
13576         directly in terms of __sync_fetch_and_add and delete (int) cast.
13578 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
13580         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
13581         the -D_ASM_IA64_CURRENT_H flag.
13583 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
13585         [BZ #18641]
13586         * pwd/pwd.h (putpwent): Delete __nonnull markings.
13588 2015-07-27  Andreas Schwab  <schwab@suse.de>
13590         * conform/conformtest.pl (checknamespace): Filter out string
13591         literals while tokenizing.
13593 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
13595         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
13596         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
13597         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
13599 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
13601         * nptl/tst-join7mod.c: Add #include <string.h>.
13603 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
13605         * sysdeps/nios2/libm-test-ulps: Update.
13607 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
13609         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
13610         Fix order of arguments to the rt_sigprocmask syscall.
13611         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
13612         Likewise.
13614 2015-07-24  Roland McGrath  <roland@hack.frob.com>
13616         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
13618 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13620         [BZ #18457]
13621         * nptl/Makefile (tests): New test case tst-join7.
13622         (modules-names): New test case module tst-join7mod.
13623         * nptl/tst-join7.c: New file.
13624         * nptl/tst-join7mod.c: New file.
13625         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
13626         all translation units in libc.so, libpthread.so and rtld.
13628 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13630         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13632 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
13634         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
13635         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
13636         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
13637         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
13638         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
13639         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
13640         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
13641         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
13642         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
13643         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
13644         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
13645         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
13646         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
13647         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
13648         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
13649         implementation.
13651 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13653         [BZ #17711]
13654         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
13655         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
13656         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
13657         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
13658         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
13659         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
13661 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13663         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
13664         instead of just saying load lock in the comments.
13666 2015-07-23  Roland McGrath  <roland@hack.frob.com>
13668         * sysdeps/unix/Subdirs: Moved ...
13669         * sysdeps/posix/Subdirs: ... here.
13670         * login/pty.h (struct termios, struct winsize): Add forward decls.
13671         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
13672         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
13673         * sysdeps/arm/nacl/libc.abilist: Updated.
13674         * sysdeps/nacl/libutil.abilist: New file.
13676         * bits/signum.h: Update comments to mention 1003.1-2013 too.
13677         (SIGWINCH): New macro.
13679         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
13680         * sysdeps/arm/nacl/libc.abilist: Add it.
13682 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
13684         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
13686 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
13688         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
13689         Swap __glibc_reserved0 and sa_flags order.
13691 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
13693         [BZ #18657]
13694         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
13695         are pending TLS destructor calls.
13696         * include/link.h (struct link_map): Add concurrency note for
13697         L_TLS_DTOR_COUNT.
13698         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
13699         Don't touch the link map flag.  Atomically increment
13700         l_tls_dtor_count.
13701         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
13702         Avoid taking the load lock and don't touch the link map flag.
13703         * stdlib/tst-tls-atexit-nodelete.c: New test case.
13704         * stdlib/Makefile (tests): Use it.
13705         * stdlib/tst-tls-atexit.c (do_test): dlopen
13706         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
13707         to allow tst-tls-atexit-nodelete test case to use it.
13709 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
13711         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
13712         to bits/types.h.
13713         (msgqnum_t): New typedef.
13714         (msglen_t): Likewise.
13715         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
13716         and msg_qbytes type to msglen_t.
13718 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
13720         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
13721         pad0 to __glibc_reserved0.
13722         (struct stat64): Likewise.
13724 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
13726         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
13727         Change sa_flags from a long to an int and add __glibc_reserved0 before
13728         it for padding.
13730 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
13732         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
13733         anonymous by deleting "siginfo" name.
13735 2015-07-21  Roland McGrath  <roland@hack.frob.com>
13737         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
13738         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
13739         rather than __nacl_irt_filename.
13740         * sysdeps/nacl/xstat.c (__xstat): Likewise.
13742         * NEWS: New item for arm-nacl port.
13743         * sysdeps/arm/nacl/libc.abilist: New file.
13744         * sysdeps/nacl/ld.abilist: New file.
13745         * sysdeps/nacl/libBrokenLocale.abilist: New file.
13746         * sysdeps/nacl/libanl.abilist: New file.
13747         * sysdeps/nacl/libcrypt.abilist: New file.
13748         * sysdeps/nacl/libdl.abilist: New file.
13749         * sysdeps/nacl/libm.abilist: New file.
13750         * sysdeps/nacl/libpthread.abilist: New file.
13751         * sysdeps/nacl/libresolv.abilist: New file.
13752         * sysdeps/nacl/librt.abilist: New file.
13754 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
13756         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
13757         __startcontext to initialize the new context.
13758         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
13759         up CFI directive to forbid further backtracing.
13761 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
13763         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
13764         reference.
13765         * charmaps/ANSI_X3.4-1968: Likewise.
13766         * charmaps/BS_4730: Likewise.
13767         * charmaps/BS_VIEWDATA: Likewise.
13768         * charmaps/CP1250: Likewise.
13769         * charmaps/CP1251: Likewise.
13770         * charmaps/CP1252: Likewise.
13771         * charmaps/CP1253: Likewise.
13772         * charmaps/CP1254: Likewise.
13773         * charmaps/CP1255: Likewise.
13774         * charmaps/CP1256: Likewise.
13775         * charmaps/CSN_369103: Likewise.
13776         * charmaps/EBCDIC-DK-NO: Likewise.
13777         * charmaps/GB_1988-80: Likewise.
13778         * charmaps/GREEK-CCITT: Likewise.
13779         * charmaps/GREEK7: Likewise.
13780         * charmaps/INIS-8: Likewise.
13781         * charmaps/ISIRI-3342: Likewise.
13782         * charmaps/ISO_2033-1983: Likewise.
13783         * charmaps/ISO_5427-EXT: Likewise.
13784         * locales/POSIX: Likewise.
13785         * locales/ar_SA: Likewise.
13786         * locales/be_BY: Likewise.
13787         * locales/be_BY@latin: Likewise.
13788         * locales/ca_ES: Likewise.
13789         * locales/cs_CZ: Likewise.
13790         * locales/da_DK: Likewise.
13791         * locales/de_BE: Likewise.
13792         * locales/de_CH: Likewise.
13793         * locales/de_LU: Likewise.
13794         * locales/en_AU: Likewise.
13795         * locales/en_BW: Likewise.
13796         * locales/en_CA: Likewise.
13797         * locales/en_DK: Likewise.
13798         * locales/en_GB: Likewise.
13799         * locales/en_IE: Likewise.
13800         * locales/en_NZ: Likewise.
13801         * locales/en_ZA: Likewise.
13802         * locales/en_ZW: Likewise.
13803         * locales/es_AR: Likewise.
13804         * locales/es_BO: Likewise.
13805         * locales/es_CL: Likewise.
13806         * locales/es_CO: Likewise.
13807         * locales/es_DO: Likewise.
13808         * locales/es_EC: Likewise.
13809         * locales/es_ES: Likewise.
13810         * locales/es_HN: Likewise.
13811         * locales/es_MX: Likewise.
13812         * locales/es_PA: Likewise.
13813         * locales/es_PE: Likewise.
13814         * locales/es_PY: Likewise.
13815         * locales/es_SV: Likewise.
13816         * locales/es_US: Likewise.
13817         * locales/es_UY: Likewise.
13818         * locales/es_VE: Likewise.
13819         * locales/et_EE: Likewise.
13820         * locales/fa_IR: Likewise.
13821         * locales/fo_FO: Likewise.
13822         * locales/fr_CA: Likewise.
13823         * locales/fr_CH: Likewise.
13824         * locales/gv_GB: Likewise.
13825         * locales/he_IL: Likewise.
13826         * locales/hr_HR: Likewise.
13827         * locales/id_ID: Likewise.
13828         * locales/is_IS: Likewise.
13829         * locales/it_CH: Likewise.
13830         * locales/iw_IL: Likewise.
13831         * locales/kl_GL: Likewise.
13832         * locales/ko_KR: Likewise.
13833         * locales/kw_GB: Likewise.
13834         * locales/lg_UG: Likewise.
13835         * locales/lt_LT: Likewise.
13836         * locales/lv_LV: Likewise.
13837         * locales/mi_NZ: Likewise.
13838         * locales/nhn_MX: Likewise.
13839         * locales/nl_BE: Likewise.
13840         * locales/pl_PL: Likewise.
13841         * locales/sk_SK: Likewise.
13842         * locales/sl_SI: Likewise.
13843         * locales/sv_FI: Likewise.
13844         * locales/tl_PH: Likewise.
13845         * locales/tr_TR: Likewise.
13846         * locales/vi_VN: Likewise.
13848 2015-07-21  Khem Raj  <raj.khem@gmail.com>
13850         [BZ #17475]
13851         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
13852         of tu_IN and bh_IN.
13854 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
13856         [BZ #18694]
13857         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
13858         bits/wordsize.h.
13859         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
13861 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
13863         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
13864         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
13865         (spawn_thread): New function.
13866         (load): Rename to reg_dtor_and_close.  Move dlopen to...
13867         (do_test): ... here.  Use IS_LOADED to test for its
13868         availability.
13870 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
13872         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
13874 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
13876         [BZ #18696]
13877         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
13878         si_addr_bnd.
13879         (si_lower): New.
13880         (si_upper): Likewise.
13882 2015-07-16  David S. Miller  <davem@davemloft.net>
13884         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
13886 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13888         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
13889         buffer.
13890         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
13891         fail output information.
13893 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13895         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
13896         and strstr-ppc64..
13897         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
13898         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
13899         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
13900         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
13901         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
13903 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
13905         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
13906         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
13907         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
13908         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
13910 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
13912         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
13913         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
13914         rtld_hidden_proto.
13915         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
13917 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13919         * tst-nodelete-opened.c (do_test): Add comment to clarify how
13920         the test can fail.
13922         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
13924         [BZ #18676]
13925         * elf/tst-nodelete-opened.c: New test case.
13926         * elf/tst-nodelete-opened-lib.c: New test case module.
13927         * elf/Makefile (tests, modules-names): Use them.
13928         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
13929         early.
13931 2015-07-15  David S. Miller  <davem@davemloft.net>
13933         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
13934         futex-intenal.h
13935         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
13936         * sysdeps/sparc/sparc64/Makefile: Likewise.
13937         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
13938         Remove space from macro define.
13939         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
13941 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
13943         [BZ #17475]
13944         * locale/iso-639.def: Update Bhili and Tulu language codes as
13945         per iso639-3.
13947 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
13949         * elf/tst-leaks1.c (main): Converted to ...
13950         (do_test): ... this.
13951         (TEST_FUNCTION): New macro.
13952         Include test-skeleton.c.
13953         * localedata/tst-langinfo.c (main): Converted to ...
13954         (do_test): ... this.
13955         (TEST_FUNCTION): New macro.
13956         Include test-skeleton.c.
13957         * math/test-fpucw.c (main): Converted to ...
13958         (do_test): ... this.
13959         (TEST_FUNCTION): New macro.
13960         Include test-skeleton.c.
13961         * math/test-tgmath.c (main): Converted to ...
13962         (do_test): ... this.
13963         (TEST_FUNCTION): New macro.
13964         Include test-skeleton.c.
13965         * math/test-tgmath2.c (main): Converted to ...
13966         (do_test): ... this.
13967         (TEST_FUNCTION): New macro.
13968         Include test-skeleton.c.
13969         * setjmp/tst-setjmp.c (main): Converted to ...
13970         (do_test): ... this.
13971         (TEST_FUNCTION): New macro.
13972         Include test-skeleton.c.
13973         * stdio-common/tst-sscanf.c (main): Converted to ...
13974         (do_test): ... this.
13975         (TEST_FUNCTION): New macro.
13976         Include test-skeleton.c.
13977         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
13978         (do_test): ... this.
13979         (TEST_FUNCTION): New macro.
13980         Include test-skeleton.c.
13982         * elf/tst-audit9.c (main): Converted to ...
13983         (do_test): ... this.
13984         (TEST_FUNCTION): New macro.
13985         Include test-skeleton.c.
13987 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
13989         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
13991 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
13993         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
13994         New variable.
13996 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
13998         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14000 2015-07-14  Roland McGrath  <roland@hack.frob.com>
14002         * sysdeps/generic/dl-fileid.h: New file.
14003         * sysdeps/posix/dl-fileid.h: New file.
14004         * sysdeps/nacl/dl-fileid.h: New file.
14005         * include/link.h: Include <dl-fileid.h>.
14006         (struct link_map): Replace l_dev and l_ino with l_file_id.
14007         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
14008         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
14009         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
14011 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
14013         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
14015 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14017         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
14018         Add iff $CXX is set.
14019         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
14020         Likewise.
14021         (tst-nodelete-zmodiff): Likewise.
14022         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
14024 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
14026         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
14028 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
14030         * sysdeps/aarch64/fpu/math_private.h
14031         (define math_opt_barrier): Add AArch64 version.
14032         (math_force_eval): Likewise.
14034 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
14036         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
14038 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
14040         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
14041         %ld with %jd and cast to intmax_t.
14042         (do_test_length_zero): Likewise.
14044 2015-07-10  Roland McGrath  <roland@hack.frob.com>
14046         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
14048 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
14050         * sysdeps/tile/libm-test-ulps: Regenerated.
14052         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
14053         Comment out the whole function, not just its body.
14055 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14057         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
14058         locks.
14060         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
14062 2015-07-10  Torvald Riegel  <triegel@redhat.com>
14064         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
14065         (sem_assume_only_signals_cause_futex_EINTR): Remove.
14067 2015-07-10  Torvald Riegel  <triegel@redhat.com>
14069         * sysdeps/nptl/futex-internal.h: New file.
14070         * sysdeps/nacl/futex-internal.h: New file.
14071         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
14072         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
14073         error checking.
14074         (setxid_unmark_thread): Likewise.
14075         (__nptl_setxid): Likewise.
14076         (__wait_lookup_done): Likewise.
14077         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
14078         * nptl/nptl-init.c (sighandler_setxid): Likewise.
14079         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
14080         * nptl/pthread_once.c (clear_once_control): Likewise.
14081         (__pthread_once_slow): Likewise.
14082         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
14083         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
14084         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
14085         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
14086         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
14087         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
14088         Likewise.
14089         (__pthread_rwlock_rdlock): Likewise.
14090         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
14091         Likewise.
14092         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
14093         Likewise.
14094         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
14095         Likewise.
14096         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
14097         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
14098         Likewise.
14099         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
14100         __ASSUME_PRIVATE_FUTEX check.
14101         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
14102         Check that shared futexes are supported.
14103         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
14104         wrappers with error checking.
14105         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
14106         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
14107         * nptl/pthread_barrierattr_setpshared.c
14108         (pthread_barrierattr_setpshared): Check that shared futexes are
14109         supported.
14110         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
14111         Likewise.
14112         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
14113         Likewise.
14114         * nptl/sem_init.c (futex_private_if_supported): Remove.
14115         (__new_sem_init): Adapt and check that shared futexes are supported.
14116         * nptl/sem_open.c (sem_open): Likewise.
14117         * nptl/sem_post.c (futex_wake): Remove.
14118         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
14119         (do_futex_wait): Use futex wrappers with error checking.
14120         * nptl/sem_wait.c: Include lowlevellock.h.
14121         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
14122         Use futex_supports_pshared.
14123         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
14124         Use futex wrappers with error checking.
14125         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
14126         Likewise.
14127         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
14128         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
14129         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
14130         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
14131         (futex_wake): Likewise.
14132         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
14133         (do_futex_wait): Use futex wrappers with error checking.
14134         (__new_sem_wait_slow): Update EINTR handling.
14135         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
14137 2015-07-09  Martin Sebor  <msebor@redhat.com>
14139         [BZ #18435]
14140         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
14141         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
14142         * nptl/Makefile (test-xfail-tst-once5): Define.
14144 2015-07-09  Roland McGrath  <roland@hack.frob.com>
14146         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
14147         * elf/dl-minimal.c: For readability, reorder some definitions and
14148         introduce more page breaks.  Include <stdio.h>.
14149         (__libc_fatal): New function.
14151         * include/unistd.h: Add rtld_hidden_proto for _exit.
14152         * posix/_exit.c: Add rtld_hidden_def.
14153         * sysdeps/mach/hurd/_exit.c: Likewise.
14154         * sysdeps/nacl/_exit.c: Likewise.
14155         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
14156         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
14158 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
14160         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
14161         bndmov encoding with zero displacement.
14163 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
14164             H.J. Lu  <hongjiu.lu@intel.com>
14166         [BZ #18134]
14167         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
14168         * sysdeps/i386/configure: Regenerated.
14169         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
14170         (_dl_runtime_profile): Save and restore Intel MPX return bound
14171         registers when calling _dl_call_pltexit.  Add
14172         PRESERVE_BND_REGS_PREFIX before return.
14173         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
14174         (LRV_BND1_OFFSET): Likewise.
14175         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
14176         lrv_bnd1.
14177         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
14178         typo in bndmov encoding.
14179         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
14180         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
14181         branch instructions to preserve bounds.
14183 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
14186         [GLIBC_2.22]: Add fmemopen.
14188 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14190         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
14191         returns an error, also try to use host port from __mach_host_self for
14192         the __vm_wire call.
14193         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
14195 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14197         [BZ #18400]
14198         [BZ #18648]
14199         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
14200         Fix pr_uid and pr_gid members.
14201         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
14202         definition to elf_greg_t.
14204 2015-07-08  Roland McGrath  <roland@hack.frob.com>
14206         [BZ #18383]
14207         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
14208         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
14209         * sysdeps/arm/configure: Regenerated.
14210         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
14211         (test-xfail-tst-tlsalign-static): Variable removed.
14213         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
14214         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
14215         rather than explicit 'ln -s'.
14217         * resolv/rpc/netdb.h: New file.
14218         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
14220 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14222         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
14223         length buffers.
14224         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
14225         test-skeleton.c.
14227         [BZ #6544]
14228         [BZ #11216]
14229         [BZ #12836]
14230         [BZ #13151]
14231         [BZ #13152]
14232         [BZ #14292]
14233         * include/stdio.h (fmemopen): Remove hidden prototype.
14234         (__fmemopen): Add new hidden prototype.
14235         * libio/Makefile: Add oldfmemopen object.
14236         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
14237         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
14238         compliance.
14239         * libio/oldfmemopen.c: New file: old fmemopen implementation for
14240         symbol compatibility.
14241         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
14242         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
14243         fmemopen.
14244         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
14245         on append and read mode.
14246         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
14247         fmemopen.
14248         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
14249         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
14250         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
14251         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
14252         Likewise.
14253         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
14254         [GLIBC_2.22]: Likewise.
14255         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
14256         Likewise.
14257         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
14258         Likewise.
14259         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
14260         [GLIBC_2.22]: Likewise.
14261         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
14262         [GLIBC_2.22]: Likewise.
14263         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
14264         [GLIBC_2.22]: Likewise.
14265         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
14266         [GLIBC_2.22]: Likewise.
14267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
14268         [GLIBC_2.22]: Likewise.
14269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
14270         [GLIBC_2.22]: Likewise.
14271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
14272         [GLIBC_2.22]: Likewise.
14273         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
14274         Likewise.
14275         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
14276         Likewise.
14277         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
14278         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
14279         [GLIBC_2.22]: Likewise.
14280         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
14281         [GLIBC_2.22]: Likewise.
14282         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
14283         [GLIBC_2.22]: Likewise.
14284         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
14285         [GLIBC_2.22]: Likewise.
14286         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
14287         Likewise.
14288         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
14289         Likewise.
14290         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
14291         Likewise.
14292         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
14293         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
14295 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
14297         [BZ #18643]
14298         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
14299         IPV6_PATHMTU, and IPV6_DONTFRAG.
14301 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
14303         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
14304         and _IO_UNBUFFERED.
14305         * libio/oldfileops.c: Likewise.
14306         * libio/wfileops.c: Likewise.
14308 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
14310         * nscd/selinux.c: Delete selinux/flask.h include.
14312 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
14314         [BZ #18641]
14315         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
14316         (putpwent): Likewise.
14317         (getpwnam): Likewise.
14318         (getpwent_r): Likewise.
14319         (getpwuid_r): Likewise.
14320         (getpwnam_r): Likewise.
14321         (fgetpwent_r): Likewise.
14323 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
14325         [BZ #18557]
14326         * inet/rcmd.c (__validuser2_sa): Check user first to
14327         short-circuit host check.
14329 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
14330             Mikhail Ilin  <m.ilin@samsung.com>
14332         [BZ #17833]
14333         * elf/Makefile (tests): Add tst-nodelete.
14334         (modules-names): Add tst-nodelete-uniquemod.
14335         (tst-nodelete-uniquemod.so-no-z-defs): New.
14336         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
14337         (tst-nodelete-zmod.so-no-z-defs): Likewise.
14338         ($(objpfx)tst-nodelete): Likewise.
14339         ($(objpfx)tst-nodelete.out): Likewise.
14340         (LDFLAGS-tst-nodelete): Likewise.
14341         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
14342         * elf/dl-close.c (_dl_close_worker): Add a parameter to
14343         implement forced object deletion.
14344         (_dl_close): Pass false to _dl_close_worker.
14345         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
14346         * elf/tst-nodelete.cc: New file.
14347         * elf/tst-nodeletelib.cc: Likewise.
14348         * elf/tst-znodeletelib.cc: Likewise.
14349         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
14351 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
14353         [BZ #18508]
14354         * stdlib/Makefile ($(objpfx)tst-makecontext3):
14355         Depend on $(libdl).
14356         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
14357         is not called infinitely times.
14358         (backtrace_helper): New function.
14359         (trace_arg): New struct.
14360         (st1): Enlarge stack size.
14361         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
14362         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
14363         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
14364         Likewise.
14366 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
14368         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14370 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
14372         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
14373         Include sys/types.h instead of bits/types.h.
14374         Remove inclusion of bits/wordsize.h.
14376 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
14378         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
14379         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
14380         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
14381         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
14382         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
14383         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
14385 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
14387         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
14388         link-defines.sym.
14389         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
14390         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
14391         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
14392         and LR_SIZE.
14393         * sysdeps/i386/link-defines.sym: New file.
14395 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
14397         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
14398         (modules-names): Add tst-auditmod3a tst-auditmod3b.
14399         ($(objpfx)tst-audit3): New rule.
14400         ($(objpfx)tst-audit3.out): Likewise.
14401         * sysdeps/i386/tst-audit3.c: New file.
14402         * sysdeps/i386/tst-audit3.h: Likewise.
14403         * sysdeps/i386/tst-auditmod3a.c: Likewise.
14404         * sysdeps/i386/tst-auditmod3b.c: Likewise.
14406 2015-07-07  Torvald Riegel  <triegel@redhat.com>
14408         [BZ #18633]
14409         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
14410         pointer in C code.
14411         (__strcat_c): Likewise.
14412         (__strcat_g): Likewise.
14414 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
14416         [BZ #18592]
14417         * misc/sbrk.c: Set errno to ENOMEM on overflow.
14419 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
14421         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
14422         New function.  (__ieee754_sqrtf): New function.
14423         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
14424         New function.
14425         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
14426         New function.
14428 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
14430         * sysdeps/ieee754/support.c: Remove unused file.
14432 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14434         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
14435         registers instead of d ones so the layout is kernel abi compatible.
14436         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
14437         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
14438         Likewise.
14440 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14442         * sysdeps/aarch64/libm-test-ulps: Regenerated.
14444 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
14446         [BZ #18619]
14447         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
14448         and return argument in case of subnormal argument.
14450 2015-07-01  Martin Sebor  <msebor@redhat.com>
14452         [BZ #18435]
14453         * nptl/Makefile: Add tst-once5.cc.
14454         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
14455         Remove macro redefinitions.
14456         * nptl/tst-once5.cc: New test.
14458 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
14460         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14462         * sysdeps/arm/libm-test-ulps: Regenerated.
14464         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
14465         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14467 2015-06-30  Torvald Riegel  <triegel@redhat.com>
14469         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
14470         lll_lock_wait_private and lll_futex_wake probes.
14472         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
14473         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
14474         Likewise.
14475         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
14476         atomic_spin_nop.
14477         * sysdeps/x86_64/bits/atomic.h: Likewise.
14478         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
14479         to atomic_spin_nop and move ...
14480         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
14481         ... here and ...
14482         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
14483         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
14484         atomic_spin_nop instead of BUSY_WAIT_NOP.
14485         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
14486         Likewise.
14487         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
14488         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
14489         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
14490         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
14491         instead of atomic_delay.
14493 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
14495         [BZ #18613]
14496         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
14497         X_ADJ not X when adjusting exponent.
14498         (__ieee754_gamma_r): Do intermediate computations in
14499         round-to-nearest then adjust overflowing and underflowing results
14500         as needed.
14501         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
14502         of X_ADJ not X when adjusting exponent.
14503         (__ieee754_gammaf_r): Do intermediate computations in
14504         round-to-nearest then adjust overflowing and underflowing results
14505         as needed.
14506         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
14507         log of X_ADJ not X when adjusting exponent.
14508         (__ieee754_gammal_r): Do intermediate computations in
14509         round-to-nearest then adjust overflowing and underflowing results
14510         as needed.  Use 1.0L not 1.0f as numerator of division.
14511         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
14512         log of X_ADJ not X when adjusting exponent.
14513         (__ieee754_gammal_r): Do intermediate computations in
14514         round-to-nearest then adjust overflowing and underflowing results
14515         as needed.  Use 1.0L not 1.0f as numerator of division.
14516         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
14517         of X_ADJ not X when adjusting exponent.
14518         (__ieee754_gammal_r): Do intermediate computations in
14519         round-to-nearest then adjust overflowing and underflowing results
14520         as needed.  Use 1.0L not 1.0f as numerator of division.
14521         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
14522         to auto-libm-test-in.
14523         (tgamma_test): Use ALL_RM_TEST.
14524         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
14525         tests of tgamma with spurious-overflow.
14526         * math/auto-libm-test-out: Regenerated.
14527         * math/gen-libm-have-vector-test.sh: Do not check for START.
14528         * sysdeps/i386/fpu/libm-test-ulps: Update.
14529         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14531         [BZ #18612]
14532         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
14533         arguments, just return 0.5 times the argument, with underflow
14534         forced as needed.
14535         * math/auto-libm-test-in: Add more tests of j1.
14536         * math/auto-libm-test-out: Regenerated.
14538         [BZ #16559]
14539         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
14540         (__ieee754_j1): Force underflow exception for small results.
14541         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
14542         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
14543         (__ieee754_j1f): Force underflow exception for small results.
14544         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
14545         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
14546         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14547         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
14548         (__ieee754_j1l): Force underflow exception for small results.
14549         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
14550         * math/auto-libm-test-in: Add more tests of j1 and jn.
14551         * math/auto-libm-test-out: Regenerated.
14553         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
14554         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
14555         (PF_MPLS): Likewise.
14556         (AF_IB): Likewise.
14557         (AF_MPLS): Likewise.
14558         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
14559         value and macro.
14560         (MS_RMT_MASK): Include MS_LAZYTIME.
14562 2015-06-26  Mel Gorman  <mgorman@suse.de>
14564         [BZ #18502]
14565         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
14566         already minimal.
14568 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
14570         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
14571         (DT_MIPS_NUM): Update.
14572         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
14573         DT_MIPS_RLD_MAP_REL.
14575 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
14577         [BZ #16559]
14578         [BZ #18602]
14579         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
14580         round-to-nearest internally then recompute results that
14581         underflowed to zero in the original rounding mode.
14582         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
14583         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
14584         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14585         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
14586         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
14587         * sysdeps/i386/fpu/libm-test-ulps: Update.
14588         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14590 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
14592         * NEWS: Fixed description of link with vector math library.
14594 2015-06-25  Andreas Schwab  <schwab@suse.de>
14596         [BZ #18549]
14597         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
14598         * libio/test-fmemopen.c (do_test): Add test for it.
14600 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
14602         [BZ #17841]
14603         * Makeconfig (no-pie-ldflag): New.
14604         (+link): Set to $(+link-pie) if default to PIE.
14605         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
14606         * config.make.in (build-pie-default): New.
14607         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
14608         is default.  AC_SUBST.
14609         * configure: Regenerated.
14610         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
14612 2015-06-24  Roland McGrath  <roland@hack.frob.com>
14614         * nptl/descr.h (struct pthread): Change type of field setxid_futex
14615         to 'unsigned int'.
14617         * resolv/gai_misc.h (struct waitlist): Change type of field
14618         counterp to 'volatile unsigned int *'.
14619         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
14620         FUTEXADDR and OLDVAL.
14621         * resolv/getaddrinfo_a.c (getaddrinfo_a):
14622         Give local variable TOTAL type 'volatile unsigned int'.
14623         (struct async_waitlist): Change type of field counter to 'unsigned int'.
14624         * resolv/gai_suspend.c (gai_suspend):
14625         Give local variable CNTR type 'unsigned int'.
14627         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
14628         counterp to 'volatile unsigned int *'.
14629         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
14630         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
14631         (aio_suspend): Give local variable CNTR type 'unsigned int'.
14632         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
14633         Give local variable TOTAL type 'volatile unsigned int'.
14634         (struct async_waitlist): Change type of field counter to 'unsigned int'.
14636 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
14638         [BZ #18383]
14639         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
14640         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
14641         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
14642         comment for i386/x86-64.
14643         (test-xfail-tst-tlsalign-extern-static): Removed.
14645 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
14647         * math/test-double.h: New file.
14648         * math/test-float.h: Likewise.
14649         * math/test-ldouble.h: Likewise.
14650         * math/test-math-inline.h: Likewise.
14651         * math/test-math-no-inline.h: Likewise.
14652         * math/test-math-scalar.h: Likewise.
14653         * math/test-math-vector.h: Likewise.
14654         * math/test-vec-loop.h: Remove file.  Contents moved into
14655         test-math-vector.h.
14656         * math/libm-test.inc (MATHCONST): Do not document macro.
14657         * math/test-double.c: Include test-double.h, test-math-no-inline.h
14658         and test-math-scalar.h.
14659         (FUNC): Remove macro.
14660         (FUNC_TEST): Likewise.
14661         (FLOAT): Likewise.
14662         (MATHCONST): Likewise.
14663         (PRINTF_EXPR): Likewise.
14664         (PRINTF_XEXPR): Likewise.
14665         (PRINTF_NEXPR): Likewise.
14666         (TEST_DOUBLE): Likewise.
14667         (TEST_MATHVEC): Likewise.
14668         (__NO_MATH_INLINES): Likewise.
14669         * math/test-float.c: Include test-float.h, test-math-no-inline.h
14670         and test-math-scalar.h.
14671         (FUNC): Remove macro.
14672         (FUNC_TEST): Likewise.
14673         (FLOAT): Likewise.
14674         (MATHCONST): Likewise.
14675         (PRINTF_EXPR): Likewise.
14676         (PRINTF_XEXPR): Likewise.
14677         (PRINTF_NEXPR): Likewise.
14678         (TEST_FLOAT): Likewise.
14679         (TEST_MATHVEC): Likewise.
14680         (__NO_MATH_INLINES): Likewise.
14681         * math/test-idouble.c: Include test-double.h, test-math-inline.h
14682         and test-math-scalar.h.
14683         (FUNC): Remove macro.
14684         (FUNC_TEST): Likewise.
14685         (FLOAT): Likewise.
14686         (MATHCONST): Likewise.
14687         (PRINTF_EXPR): Likewise.
14688         (PRINTF_XEXPR): Likewise.
14689         (PRINTF_NEXPR): Likewise.
14690         (TEST_DOUBLE): Likewise.
14691         (TEST_MATHVEC): Likewise.
14692         (TEST_INLINE): Likewise.
14693         (__NO_MATH_INLINES): Likewise.
14694         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
14695         test-math-scalar.h.
14696         (FUNC): Remove macro.
14697         (FUNC_TEST): Likewise.
14698         (FLOAT): Likewise.
14699         (MATHCONST): Likewise.
14700         (PRINTF_EXPR): Likewise.
14701         (PRINTF_XEXPR): Likewise.
14702         (PRINTF_NEXPR): Likewise.
14703         (TEST_FLOAT): Likewise.
14704         (TEST_MATHVEC): Likewise.
14705         (TEST_INLINE): Likewise.
14706         (__NO_MATH_INLINES): Likewise.
14707         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
14708         and test-math-scalar.h.
14709         (FUNC): Remove macro.
14710         (FUNC_TEST): Likewise.
14711         (FLOAT): Likewise.
14712         (MATHCONST): Likewise.
14713         (PRINTF_EXPR): Likewise.
14714         (PRINTF_XEXPR): Likewise.
14715         (PRINTF_NEXPR): Likewise.
14716         (TEST_LDOUBLE): Likewise.
14717         (TEST_MATHVEC): Likewise.
14718         (TEST_INLINE): Likewise.
14719         (__NO_MATH_INLINES): Likewise.
14720         * math/test-ldouble.c: Include test-ldouble.h,
14721         test-math-no-inline.h and test-math-scalar.h.
14722         (FUNC): Remove macro.
14723         (FUNC_TEST): Likewise.
14724         (FLOAT): Likewise.
14725         (MATHCONST): Likewise.
14726         (PRINTF_EXPR): Likewise.
14727         (PRINTF_XEXPR): Likewise.
14728         (PRINTF_NEXPR): Likewise.
14729         (TEST_LDOUBLE): Likewise.
14730         (TEST_MATHVEC): Likewise.
14731         (__NO_MATH_INLINES): Likewise.
14732         * math/test-double-vlen2.h: Include test-double.h,
14733         test-math-no-inline.h and test-math-vector.h.
14734         (FLOAT): Remove macro.
14735         (FUNC): Likewise.
14736         (MATHCONST): Likewise.
14737         (PRINTF_EXPR): Likewise.
14738         (PRINTF_XEXPR): Likewise.
14739         (PRINTF_NEXPR): Likewise.
14740         (TEST_DOUBLE): Likewise.
14741         (TEST_MATHVEC): Likewise.
14742         (__NO_MATH_INLINES): Likewise.
14743         (CNCT): Likewise.
14744         (CONCAT): Likewise.
14745         (WRAPPER_NAME): Likewise.
14746         (WRAPPER_DECL): Likewise.
14747         (WRAPPER_DECL_ff): Likewise.
14748         (WRAPPER_DECL_fFF): Likewise.
14749         (VECTOR_WRAPPER): Likewise.
14750         (VECTOR_WRAPPER_ff): Likewise.
14751         (VECTOR_WRAPPER_fFF): Likewise.
14752         (VEC_LEN): New macro.
14753         * math/test-double-vlen4.h: Include test-double.h,
14754         test-math-no-inline.h and test-math-vector.h.
14755         (FLOAT): Remove macro.
14756         (FUNC): Likewise.
14757         (MATHCONST): Likewise.
14758         (PRINTF_EXPR): Likewise.
14759         (PRINTF_XEXPR): Likewise.
14760         (PRINTF_NEXPR): Likewise.
14761         (TEST_DOUBLE): Likewise.
14762         (TEST_MATHVEC): Likewise.
14763         (__NO_MATH_INLINES): Likewise.
14764         (CNCT): Likewise.
14765         (CONCAT): Likewise.
14766         (WRAPPER_NAME): Likewise.
14767         (WRAPPER_DECL): Likewise.
14768         (WRAPPER_DECL_ff): Likewise.
14769         (WRAPPER_DECL_fFF): Likewise.
14770         (VECTOR_WRAPPER): Likewise.
14771         (VECTOR_WRAPPER_ff): Likewise.
14772         (VECTOR_WRAPPER_fFF): Likewise.
14773         (VEC_LEN): New macro.
14774         * math/test-double-vlen8.h: Include test-double.h,
14775         test-math-no-inline.h and test-math-vector.h.
14776         (FLOAT): Remove macro.
14777         (FUNC): Likewise.
14778         (MATHCONST): Likewise.
14779         (PRINTF_EXPR): Likewise.
14780         (PRINTF_XEXPR): Likewise.
14781         (PRINTF_NEXPR): Likewise.
14782         (TEST_DOUBLE): Likewise.
14783         (TEST_MATHVEC): Likewise.
14784         (__NO_MATH_INLINES): Likewise.
14785         (CNCT): Likewise.
14786         (CONCAT): Likewise.
14787         (WRAPPER_NAME): Likewise.
14788         (WRAPPER_DECL): Likewise.
14789         (WRAPPER_DECL_ff): Likewise.
14790         (WRAPPER_DECL_fFF): Likewise.
14791         (VECTOR_WRAPPER): Likewise.
14792         (VECTOR_WRAPPER_ff): Likewise.
14793         (VECTOR_WRAPPER_fFF): Likewise.
14794         (VEC_LEN): New macro.
14795         * math/test-float-vlen4.h: Include test-float.h,
14796         test-math-no-inline.h and test-math-vector.h.
14797         (FLOAT): Remove macro.
14798         (FUNC): Likewise.
14799         (MATHCONST): Likewise.
14800         (PRINTF_EXPR): Likewise.
14801         (PRINTF_XEXPR): Likewise.
14802         (PRINTF_NEXPR): Likewise.
14803         (TEST_FLOAT): Likewise.
14804         (TEST_MATHVEC): Likewise.
14805         (__NO_MATH_INLINES): Likewise.
14806         (CNCT): Likewise.
14807         (CONCAT): Likewise.
14808         (WRAPPER_NAME): Likewise.
14809         (WRAPPER_DECL): Likewise.
14810         (WRAPPER_DECL_ff): Likewise.
14811         (WRAPPER_DECL_fFF): Likewise.
14812         (VECTOR_WRAPPER): Likewise.
14813         (VECTOR_WRAPPER_ff): Likewise.
14814         (VECTOR_WRAPPER_fFF): Likewise.
14815         (VEC_LEN): New macro.
14816         * math/test-float-vlen8.h: Include test-float.h,
14817         test-math-no-inline.h and test-math-vector.h.
14818         (FLOAT): Remove macro.
14819         (FUNC): Likewise.
14820         (MATHCONST): Likewise.
14821         (PRINTF_EXPR): Likewise.
14822         (PRINTF_XEXPR): Likewise.
14823         (PRINTF_NEXPR): Likewise.
14824         (TEST_FLOAT): Likewise.
14825         (TEST_MATHVEC): Likewise.
14826         (__NO_MATH_INLINES): Likewise.
14827         (CNCT): Likewise.
14828         (CONCAT): Likewise.
14829         (WRAPPER_NAME): Likewise.
14830         (WRAPPER_DECL): Likewise.
14831         (WRAPPER_DECL_ff): Likewise.
14832         (WRAPPER_DECL_fFF): Likewise.
14833         (VECTOR_WRAPPER): Likewise.
14834         (VECTOR_WRAPPER_ff): Likewise.
14835         (VECTOR_WRAPPER_fFF): Likewise.
14836         (VEC_LEN): New macro.
14837         * math/test-float-vlen16.h: Include test-float.h,
14838         test-math-no-inline.h and test-math-vector.h.
14839         (FLOAT): Remove macro.
14840         (FUNC): Likewise.
14841         (MATHCONST): Likewise.
14842         (PRINTF_EXPR): Likewise.
14843         (PRINTF_XEXPR): Likewise.
14844         (PRINTF_NEXPR): Likewise.
14845         (TEST_FLOAT): Likewise.
14846         (TEST_MATHVEC): Likewise.
14847         (__NO_MATH_INLINES): Likewise.
14848         (CNCT): Likewise.
14849         (CONCAT): Likewise.
14850         (WRAPPER_NAME): Likewise.
14851         (WRAPPER_DECL): Likewise.
14852         (WRAPPER_DECL_ff): Likewise.
14853         (WRAPPER_DECL_fFF): Likewise.
14854         (VECTOR_WRAPPER): Likewise.
14855         (VECTOR_WRAPPER_ff): Likewise.
14856         (VECTOR_WRAPPER_fFF): Likewise.
14857         (VEC_LEN): New macro.
14858         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
14859         test-vec-loop.h.
14860         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
14861         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
14862         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
14863         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
14864         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
14865         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
14866         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
14868 2015-06-24  Roland McGrath  <roland@hack.frob.com>
14870         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
14871         (__getlogin_r): ... this.
14873 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
14875         [BZ #18594]
14876         * math/s_ccosh.c (__ccosh): Compare with least normal value
14877         instead of comparing class with FP_SUBNORMAL.
14878         * math/s_ccoshf.c (__ccoshf): Likewise.
14879         * math/s_ccoshl.c (__ccoshl): Likewise.
14880         * math/s_cexp.c (__cexp): Likewise.
14881         * math/s_cexpf.c (__cexpf): Likewise.
14882         * math/s_cexpl.c (__cexpl): Likewise.
14883         * math/s_csin.c (__csin): Likewise.
14884         * math/s_csinf.c (__csinf): Likewise.
14885         * math/s_csinh.c (__csinh): Likewise.
14886         * math/s_csinhf.c (__csinhf): Likewise.
14887         * math/s_csinhl.c (__csinhl): Likewise.
14888         * math/s_csinl.c (__csinl): Likewise.
14889         * math/s_ctan.c (__ctan): Likewise.
14890         * math/s_ctanf.c (__ctanf): Likewise.
14891         * math/s_ctanh.c (__ctanh): Likewise.
14892         * math/s_ctanhf.c (__ctanhf): Likewise.
14893         * math/s_ctanhl.c (__ctanhl): Likewise.
14894         * math/s_ctanl.c (__ctanl): Likewise.
14895         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
14896         csin, csinh, ctan and ctanh.
14897         * math/auto-libm-test-out: Regenerated.
14898         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
14899         * sysdeps/i386/fpu/libm-test-ulps: Update.
14900         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14902 2015-06-24  Roland McGrath  <roland@hack.frob.com>
14904         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
14905         return value is wrong, print the expected value too.
14907 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
14909         [BZ #18585]
14910         * elf/readlib.c (is_gdb_python_file): New.
14911         (process_file): Don't issue errors on filenames with -gdb.py
14912         suffix.
14914 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
14916         * math/auto-libm-test-in: Add more tests of csin and csinh.
14917         * math/auto-libm-test-out: Regenerated.
14918         * math/libm-test.inc (csin_test_data): Remove tests moved to
14919         auto-libm-test-in.
14920         (csinh_test_data): Likewise.
14922         [BZ #18593]
14923         * math/s_csin.c (__csin): Negate before rather than after possibly
14924         overflowing multiplication.
14925         * math/s_csinf.c (__csinf): Likewise.
14926         * math/s_csinh.c (__csinh): Likewise.
14927         * math/s_csinhf.c (__csinhf): Likewise.
14928         * math/s_csinhl.c (__csinhl): Likewise.
14929         * math/s_csinl.c (__csinl): Likewise.
14930         * math/auto-libm-test-in: Add some tests of csin and csinh.
14931         * math/auto-libm-test-out: Regenerated.
14932         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
14933         (csinh_test_data): Likewise.
14934         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14936         [BZ #18586]
14937         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
14938         underflow exception for small results.
14940 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
14942         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
14943         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
14944         variable and included header.
14945         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
14946         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
14947         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
14948         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
14949         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
14950         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
14951         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
14952         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
14953         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
14954         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
14955         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
14956         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
14957         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
14958         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
14959         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
14960         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
14962 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
14964         [BZ #16526]
14965         [BZ #16538]
14966         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
14967         (__sin): Force underflow exception for arguments with small
14968         absolute value.
14969         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
14970         (__kernel_sinf): Force underflow exception for arguments with
14971         small absolute value.
14972         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
14973         (__kernel_sincosl): Force underflow exception for arguments with
14974         small absolute value.
14975         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
14976         (__kernel_sinl): Force underflow exception for arguments with
14977         small absolute value.
14978         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
14979         (__kernel_sincosl): Force underflow exception for arguments with
14980         small absolute value.
14981         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
14982         (__kernel_sinl): Force underflow exception for arguments with
14983         small absolute value.
14984         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
14985         (__kernel_sinl): Force underflow exception for arguments with
14986         small absolute value.
14987         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
14988         (__kernel_sinf): Force underflow exception for arguments with
14989         small absolute value.
14990         * math/auto-libm-test-in: Add more tests of sin and sincos.
14991         * math/auto-libm-test-out: Regenerated.
14993         [BZ #18245]
14994         [BZ #18583]
14995         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
14996         (__kernel_standard_l): Use feholdexcept and fesetenv around
14997         conversion to double instead of special-casing overflow and
14998         underflow.
14999         * math/libm-test.inc (fmod_test_data): Add more tests.
15000         (remainder_test_data): Likewise.
15001         (sqrt_test_data): Likewise.
15003 2015-06-23  Torvald Riegel  <triegel@redhat.com>
15005         [BZ #17403]
15006         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
15007         atomic_read_barrier, atomic_write_barrier): Define.
15008         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
15009         atomic_read_barrier, atomic_write_barrier): Define.
15011 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
15013         * math/Makefile [$(PERL) != no]
15014         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
15015         dependency on libm-test.stmp below the inclusion of Rules.
15017 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
15019         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
15020         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
15021         and included header.
15022         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
15023         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
15024         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
15025         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
15026         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
15027         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
15028         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
15029         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
15030         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
15031         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
15032         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
15033         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
15034         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
15035         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
15036         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
15037         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
15038         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
15039         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
15040         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
15042 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
15044         [BZ #18371]
15045         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
15046         intermediate but not final result might underflow.
15047         * math/s_csqrtf.c (__csqrtf): Likewise.
15048         * math/s_csqrtl.c (__csqrtl): Likewise.
15049         * math/auto-libm-test-in: Add more tests of csqrt.
15050         * math/auto-libm-test-out: Regenerated.
15051         * sysdeps/i386/fpu/libm-test-ulps: Update.
15053         [BZ #18219]
15054         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
15055         threshold on absolute value of exponent for which scaling is used.
15056         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
15057         * math/auto-libm-test-in: Add more tests of exp2.
15058         * math/auto-libm-test-out: Regenerated.
15060 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
15062         [BZ #17977]
15063         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
15064         when initializing interface list, based on the bug analysis
15065         and the patch proposed by Eric Newton.
15066         * resolv/tst-res_hconf_reorder.c: New test.
15067         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
15068         tst-res_hconf_reorder.
15069         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
15070         and $(shared-thread-library).
15071         (tst-res_hconf_reorder-ENV): New variable.
15073         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
15074         in comment.
15076 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
15078         [BZ #16353]
15079         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
15080         (__expm1): Force underflow exception for arguments with small
15081         absolute value.
15082         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
15083         (__expm1f): Force underflow exception for arguments with small
15084         absolute value.
15085         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
15086         (__expm1): Force underflow exception for arguments with small
15087         absolute value.
15088         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
15089         (__expm1f): Force underflow exception for arguments with small
15090         absolute value.
15091         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
15092         Check for small arguments before calling __expm1.
15093         * math/auto-libm-test-in: Do not mark underflow exceptions as
15094         possibly missing for bug 16353.
15095         * math/auto-libm-test-out: Regenerated.
15097 2015-06-22  Andreas Schwab  <schwab@suse.de>
15099         [BZ #18513]
15100         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
15101         PTR queries.
15103 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
15105         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
15107         * string/strcoll_l.c: Remove unused struct element idxnow.
15109 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
15111         [BZ #18569]
15112         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
15113         underflow and return argument in case of subnormal argument.
15114         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
15115         Likewise.
15116         * math/auto-libm-test-in: Add more tests of expm1.
15117         * math/auto-libm-test-out: Regenerated.
15119         [BZ #16361]
15120         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
15121         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
15122         tiny results.
15123         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
15124         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
15125         tiny results.
15126         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
15127         mark underflow exceptions as possibly missing for bug 16361.
15128         * math/auto-libm-test-out: Regenerated.
15130 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
15132         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
15133         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
15134         Remove variable.
15135         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
15136         (test-xfail-XOPEN2K8/utmpx.h/conform).
15138         * conform/conformtest.pl ($xerrors): New variable.
15139         (note_error): New function.
15140         (compiletest): New argument $xfail.  Use not_error.
15141         (runtest): Likewise.
15142         (top level): Handle xfail- lines.  Update calls to compiletest and
15143         runtest.  Handle xfail- and optional- in headers listed with
15144         allow-header.
15145         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
15146         (O_EXEC): Likewise.
15147         (O_SEARCH): Likewise.
15148         * conform/data/stropts.h-data (ioctl): Likewise.
15149         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
15150         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
15151         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
15152         (msghdr.msg_controllen): Likewise.
15153         (cmsghdr.cmsg_len): Likewise.
15154         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
15155         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
15156         variable.
15157         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
15158         (test-xfail-XPG4/stropts.h/conform): Likewise.
15159         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
15160         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
15161         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
15162         (test-xfail-UNIX98/stropts.h/conform): Likewise.
15163         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
15164         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
15165         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
15166         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
15167         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
15168         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
15169         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
15170         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
15171         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
15172         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
15173         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
15174         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
15175         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
15176         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
15177         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
15179 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
15181         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
15182         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
15183         definitions for proper unfolding of __MATHDECL_VEC.
15185 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
15187         * benchtests/bench-strcoll.c:
15188         Include string.h.
15189         (main): Remove unused variable res.
15191 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
15193         * timezone/Makefile (%/UTC %/Universal):
15194         Generate test-result files for UTC and Universal.
15196 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
15198         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15200 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
15202         [BZ #16350]
15203         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
15204         for arguments with small absolute value.
15205         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
15206         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
15207         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
15208         (__asinh): Force underflow exception for arguments with small
15209         absolute value.
15210         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
15211         (__asinhf): Force underflow exception for arguments with small
15212         absolute value.
15213         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
15214         (__asinhl): Force underflow exception for arguments with small
15215         absolute value.
15216         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
15217         (__asinhl): Force underflow exception for arguments with small
15218         absolute value.
15219         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
15220         (__asinhl): Force underflow exception for arguments with small
15221         absolute value.
15222         * math/auto-libm-test-in: Do not mark underflow exceptions as
15223         possibly missing for bug 16350.
15224         * math/auto-libm-test-out: Regenerated.
15226         * include/bits/ipc.h: Remove file.
15227         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
15228         variable.
15229         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
15230         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
15231         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
15232         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
15233         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
15234         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
15235         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
15236         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
15237         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
15239         * math/auto-libm-test-in: Remove spurious underflow allowance for
15240         tests of cexp.
15241         * math/auto-libm-test-out: Regenerated.
15243         [BZ #18558]
15244         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
15245         unconditional definition.
15246         (MCAST_BLOCK_SOURCE): Likewise.
15247         (MCAST_UNBLOCK_SOURCE): Likewise.
15248         (MCAST_LEAVE_GROUP): Likewise.
15249         (MCAST_JOIN_SOURCE_GROUP): Likewise.
15250         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
15251         (MCAST_MSFILTER): Likewise.
15252         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
15253         Remove variable.
15254         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
15255         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
15256         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
15257         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
15258         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
15260 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
15262         * NEWS: Mention addition of x86_64 vector sincosf.
15263         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
15264         * math/test-float-vlen4.h: Likewise.
15265         * math/test-float-vlen8.h: Likewise.
15266         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
15267         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
15268         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15269         * sysdeps/x86_64/fpu/Versions: New versions added.
15270         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15271         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
15272         Added build of SSE, AVX2 and AVX512 IFUNC versions.
15273         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
15274         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
15275         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
15276         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
15277         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
15278         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
15279         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
15280         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
15281         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
15282         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
15283         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
15284         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
15285         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
15286         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
15287         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
15288         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
15289         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
15290         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
15291         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
15292         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
15293         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
15295         * NEWS: Mention addition of x86_64 vector sincos.
15296         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
15297         * math/math.h (__MATHDECL_VEC): New macro.
15298         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
15299         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
15300         declaration under condition.
15301         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
15302         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
15303         TEST_VEC_LOOP change.
15304         * math/test-double-vlen4.h: Likewise.
15305         * math/test-double-vlen8.h: Likewise.
15306         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
15307         * math/test-float-vlen4.h: Likewise.
15308         * math/test-float-vlen8.h: Likewise.
15309         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
15310         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
15311         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15312         * sysdeps/x86_64/fpu/Versions: New versions added.
15313         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15314         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
15315         Added build of SSE, AVX2 and AVX512 IFUNC versions.
15316         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
15317         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
15318         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
15319         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
15320         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
15321         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
15322         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
15323         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
15324         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
15325         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
15326         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
15327         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
15328         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
15329         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
15330         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
15331         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
15332         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
15333         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
15334         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
15335         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
15336         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
15338         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
15339         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
15340         redirections for powf.
15341         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15342         * sysdeps/x86_64/fpu/Versions: New versions added.
15343         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15344         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
15345         Added build of SSE, AVX2 and AVX512 IFUNC versions.
15346         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
15347         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
15348         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
15349         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
15350         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
15351         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
15352         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
15353         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
15354         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
15355         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
15356         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
15357         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
15358         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
15359         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
15360         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
15361         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
15362         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
15363         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
15364         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
15365         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
15366         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
15367         * math/test-float-vlen16.h: Fixed 2 argument macro.
15368         * math/test-float-vlen4.h: Likewise.
15369         * math/test-float-vlen8.h: Likewise.
15370         * NEWS: Mention addition of x86_64 vector powf.
15372 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
15374         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15375         and redefine.
15376         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15377         and redefine.
15378         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
15379         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
15380         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
15382         [BZ #18553]
15383         * resource/getpriority.c (getpriority): Rename to __getpriority
15384         and define as weak alias of __getpriority.
15385         * resource/setpriority.c (setpriority): Rename to __setpriority
15386         and define as weak alias of __setpriority.
15387         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
15388         __getpriority and define as weak alias of __getpriority.
15389         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
15390         __setpriority and define as weak alias of __setpriority.
15391         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
15392         strong name.
15393         (setpriority): Use __setpriority as strong name.
15394         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
15395         __getpriority and define as weak alias of __getpriority.
15396         * include/sys/resource.h (__getpriority): Declare.  Use
15397         libc_hidden_proto.
15398         (__setpriority): Likewise.
15399         (getpriority): Don't use libc_hidden_proto.
15400         (setpriority): Likewise.
15401         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
15402         getpriority.  Call __setpriority instead of setpriority.
15403         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
15404         Remove variable.
15406         [BZ #18547]
15407         * misc/getttyent.c (getttynam): Rename to __getttynam and define
15408         as weak alias of __getttynam.  Use prototype function definition.
15409         Call __setttyent, __getttyent and __endttyent instead of
15410         setttyent, getttyent and endttyent.
15411         (getttyent): Rename to __getttyent and define as weak alias of
15412         __getttyent.  Call __setttyent instead of setttyent.  Call
15413         __fgets_unlocked instead of fgets_unlocked.
15414         (setttyent): Rename to __setttyent and define as weak alias of
15415         __setttyent.
15416         (endttyent): Rename to __endttyent and define as weak alias of
15417         __endttyent.
15418         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
15419         (__setttyent): Likewise.
15420         (__endttyent): Likewise.
15421         (getttyent): Don't use libc_hidden_proto.
15422         (setttyent): Likewise.
15423         (endttyent): Likewise.
15424         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
15425         __endttyent instead of setttyent, getttyent and endttyent.
15426         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
15427         Remove variable.
15429         [BZ #18546]
15430         * socket/recv.c (__recv): Use libc_hidden_def.
15431         * socket/socket.c (__socket): Likewise.
15432         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
15433         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
15434         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
15435         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
15436         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
15437         libc_hidden_def.
15438         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
15439         libc_hidden_weak.
15440         * include/sys/socket.h (__socket): Do not use attribute_hidden.
15441         Use libc_hidden_proto.
15442         (__recv): Likewise.
15443         * socket/Versions (libc): Export __recv and __socket at version
15444         GLIBC_PRIVATE.
15445         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
15446         instead of recv.
15447         (init_mq_netlink): Call __socket instead of socket.
15448         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
15449         Remove variable.
15451         [BZ #18545]
15452         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
15453         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
15454         hidden_weak.
15455         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
15456         define as alias of __mq_timedsend.  Use hidden_weak.
15457         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
15458         __mq_timedsend as strong name.
15459         (mq_timedreceive): Use __mq_timedreceive as strong name.
15460         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
15461         (__mq_timedreceive): Likewise.
15462         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
15463         __mq_timedreceive instead of mq_timedreceive.
15464         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
15465         instead of mq_timedsend.
15466         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
15467         Remove variable.
15469         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
15470         hidden_def and hidden_weak instead of libc_hidden_def and
15471         libc_hidden_weak.
15472         (top level): Refer to hidden_def in comment.
15473         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
15474         macro.  Use it instead of libc_hidden_def.
15475         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
15476         specify __GI_* name explicitly.
15477         (mq_timedreceive): Likewise.
15478         (mq_setattr): Likewise.
15480         [BZ #18544]
15481         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
15482         __pthread_barrier_init and define as weak alias of
15483         __pthread_barrier_init.
15484         * sysdeps/sparc/nptl/pthread_barrier_init.c
15485         (pthread_barrier_init): Likewise.
15486         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
15487         __pthread_barrier_wait and define as weak alias of
15488         __pthread_barrier_wait.
15489         * sysdeps/sparc/nptl/pthread_barrier_wait.c
15490         (pthread_barrier_wait): Likewise.
15491         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
15492         (pthread_barrier_wait): Likewise.
15493         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
15494         (pthread_barrier_wait): Likewise.
15495         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
15496         (pthread_barrier_wait): Likewise.
15497         * nptl/Versions (libpthread): Export __pthread_barrier_init and
15498         __pthread_barrier_wait at version GLIBC_PRIVATE.
15499         * include/pthread.h (__pthread_barrier_init): Declare.
15500         (__pthread_barrier_wait): Likewise.
15501         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
15502         Call __pthread_barrier_wait instead of pthread_barrier_wait.
15503         (helper_thread): Likewise.
15504         (init_mq_netlink): Call __pthread_barrier_init instead of
15505         pthread_barrier_init.
15507         [BZ #18542]
15508         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
15509         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
15510         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
15511         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
15512         vswscanf.
15513         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
15514         Remove variable.
15516         [BZ #18540]
15517         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
15518         strong alias of _IO_fflush.  Use libc_hidden_def.
15519         * libio/iofflush_u.c (fflush_unlocked): Rename to
15520         __fflush_unlocked and define as weak alias of __fflush_unlocked.
15521         Use libc_hidden_weak.
15522         * include/stdio.h (__fflush_unlocked): Declare.  Use
15523         libc_hidden_proto.
15524         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
15525         fflush_unlocked.
15526         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
15527         Remove variable.
15529         [BZ #18539]
15530         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
15531         define as weak alias of __addseverity.
15532         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
15533         Remove variable.
15534         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
15535         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
15536         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
15538         [BZ #18536]
15539         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
15540         (__tfind): Likewise.
15541         (__tdelete): Likewise.
15542         (__twalk): Likewise.
15543         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
15544         __twalk to GLIBC_PRIVATE.
15545         * include/search.h (__tsearch): Use libc_hidden_proto.
15546         (__tfind): Likewise.
15547         (__tdelete): Likewise.
15548         (__twalk): Likewise.
15549         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
15550         Call __tdelete instead of tdelete.
15551         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
15552         tfind.  Call __tsearch instead of tsearch.
15553         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
15554         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
15555         Remove variable.
15556         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
15558         [BZ #18534]
15559         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
15560         (dprintf): Define as a weak alias of __dprintf, not a strong
15561         alias.
15562         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
15563         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
15564         dprintf.
15565         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
15566         Remove variable.
15567         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
15568         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
15570         [BZ #18533]
15571         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
15572         not a strong alias.
15573         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
15574         Remove variable.
15576         [BZ #18532]
15577         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
15578         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
15579         (in6addr_loopback): Rename to __in6addr_loopback and define as
15580         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
15581         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
15582         libc_hidden_proto.
15583         (__in6addr_any): Likewise.
15584         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
15585         in6addr_any.
15586         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
15587         variable.
15588         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
15590 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
15592         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
15593         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
15594         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
15595         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
15596         redirections for pow.
15597         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15598         * sysdeps/x86_64/fpu/Versions: New versions added.
15599         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15600         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
15601         build of SSE, AVX2 and AVX512 IFUNC versions.
15602         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
15603         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
15604         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
15605         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
15606         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
15607         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
15608         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
15609         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
15610         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
15611         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
15612         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
15613         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
15614         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
15615         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
15616         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
15617         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
15618         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
15619         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
15620         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
15621         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
15622         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
15623         * NEWS: Mention addition of x86_64 vector pow.
15625         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
15626         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
15627         redirections for expf.
15628         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15629         * sysdeps/x86_64/fpu/Versions: New versions added.
15630         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15631         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
15632         build of SSE, AVX2 and AVX512 IFUNC versions.
15633         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
15634         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
15635         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
15636         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
15637         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
15638         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
15639         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
15640         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
15641         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
15642         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
15643         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
15644         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
15645         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
15646         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
15647         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
15648         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
15649         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
15650         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
15651         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
15652         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
15653         * NEWS: Mention addition of x86_64 vector expf.
15655         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
15656         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
15657         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
15658         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
15659         redirections for exp.
15660         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15661         * sysdeps/x86_64/fpu/Versions: New versions added.
15662         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15663         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
15664         build of SSE, AVX2 and AVX512 IFUNC versions.
15665         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
15666         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
15667         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
15668         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
15669         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
15670         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
15671         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
15672         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
15673         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
15674         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
15675         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
15676         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
15677         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
15678         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
15679         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
15680         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
15681         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
15682         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
15683         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
15684         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
15685         * NEWS: Mention addition of x86_64 vector exp.
15687         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
15688         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
15689         redirections for logf.
15690         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15691         * sysdeps/x86_64/fpu/Versions: New versions added.
15692         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15693         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
15694         build of SSE, AVX2 and AVX512 IFUNC versions.
15695         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
15696         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
15697         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
15698         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
15699         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
15700         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
15701         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
15702         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
15703         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
15704         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
15705         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
15706         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
15707         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
15708         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
15709         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
15710         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
15711         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
15712         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
15713         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
15714         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
15715         * NEWS: Mention addition of x86_64 vector logf.
15717         * bits/libm-simd-decl-stubs.h: Added stubs for log.
15718         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
15719         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
15720         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
15721         redirections for log.
15722         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15723         * sysdeps/x86_64/fpu/Versions: New versions added.
15724         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15725         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
15726         build of SSE, AVX2 and AVX512 IFUNC versions.
15727         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
15728         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
15729         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
15730         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
15731         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
15732         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
15733         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
15734         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
15735         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
15736         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
15737         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
15738         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
15739         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
15740         test.
15741         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
15742         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
15743         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
15744         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
15745         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
15746         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
15747         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
15748         * NEWS: Mention addition of x86_64 vector log.
15750 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15752         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
15753         cfi_adjust_cfa_offset argument.
15754         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
15755         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
15757         [BZ #18034]
15758         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
15759         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
15760         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
15761         ordering using ldar.
15762         (_dl_tlsdesc_dynamic): Likewise.
15763         (_dl_tlsdesc_return_lazy): Likewise.
15764         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
15765         relaxed atomics instead of volatile and synchronize with release store.
15766         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
15767         volatile.
15768         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
15770 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
15772         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
15773         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
15774         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15775         * sysdeps/x86_64/fpu/Versions: New versions added.
15776         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15777         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
15778         build of SSE, AVX2 and AVX512 IFUNC versions.
15779         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
15780         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
15781         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
15782         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
15783         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
15784         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
15785         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
15786         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
15787         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
15788         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
15789         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
15790         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
15791         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
15792         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
15793         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
15794         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
15795         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
15796         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
15797         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
15798         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
15799         * NEWS: Mention addition of x86_64 vector sinf.
15801 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
15803         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
15804         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
15805         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
15806         Remove variable.
15807         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
15808         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
15810 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
15812         [BZ #18530]
15813         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
15814         strong alias of _IO_fputs.  Use libc_hidden_def.
15815         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
15816         and define as weak alias of __fputs_unlocked.  Use
15817         libc_hidden_weak.
15818         * include/stdio.h (__fputs_unlocked): Declare.  Use
15819         libc_hidden_proto.
15820         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
15821         fputs_unlocked.
15823         [BZ #18529]
15824         * resolv/netdb.h [__USE_POSIX]: Change condition to
15825         [__USE_XOPEN2K].
15826         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
15827         not expect.
15828         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
15829         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
15830         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
15831         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
15832         [XPG4 || UNIX98] (AI_ALL): Likewise.
15833         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
15834         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
15835         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
15836         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
15837         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
15838         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
15839         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
15840         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
15841         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
15842         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
15843         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
15844         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
15845         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
15846         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
15847         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
15848         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
15849         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
15850         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
15851         [XPG4 || UNIX98] (gai_strerror): Likewise.
15852         [XPG4 || UNIX98] (getaddrinfo): Likewise.
15853         [XPG4 || UNIX98] (getnameinfo): Likewise.
15855         [BZ #18528]
15856         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
15857         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
15858         __USE_XOPEN2K8].
15859         (getgrent): Likewise.
15860         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
15861         expect.
15862         [XPG3 || POSIX2008] (endgrent): Likewise.
15863         [XPG3] (setgrent): Likewise.
15864         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
15865         variable.
15866         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
15868         [BZ #18527]
15869         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
15870         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
15871         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
15872         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
15873         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
15874         * include/unistd.h (__getlogin_r): Declare.  Use
15875         libc_hidden_proto.
15876         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
15877         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
15878         variable.
15879         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
15880         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
15881         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
15883 2015-06-12  Martin Sebor  <msebor@redhat.com>
15885         [BZ #18512]
15886         * Makerules (check-install-supported): New target.
15887         (install): Add check-install-supported as a dependency.
15888         * manual/install.texi (Installing the C Library): Document
15889         that overriding prefix and exec_prefix is not supported.
15890         Mention DESTDIR.
15891         * INSTALL: Regenerate from the above.
15893 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
15895         [BZ #18519]
15896         * posix/Versions (libc): Export __libc_pread at version
15897         GLIBC_PRIVATE.
15898         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
15899         instead of pread.
15900         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
15901         variable.
15903         [BZ #18522]
15904         * misc/efgcvt_r.c
15905         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
15906         (cvt_symbol): Use weak_alias instead of strong_alias.
15907         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
15908         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
15909         Remove variable.
15910         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
15911         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
15913         [BZ #18520]
15914         * inet/herrno.c (h_errno): Rename to __h_errno.
15915         (__libc_h_errno): Define as alias of __h_errno not h_errno.
15916         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
15917         to __h_errno instead of h_errno.
15918         * nptl/herrno.c (h_errno): Rename to __h_errno.
15919         (__h_errno_location): Refer to __h_errno not h_errno.
15920         * resolv/Versions (h_errno): Rename to __h_errno.
15921         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
15922         Remove variable.
15923         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
15925 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
15927         * configure.ac: More strict check for AVX512 assembler support.
15928         * configure: Regenerated.
15930         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
15931         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
15932         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
15933         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
15934         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15935         * sysdeps/x86_64/fpu/Versions: New versions added.
15936         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15937         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
15938         Added build of SSE, AVX2 and AVX512 IFUNC versions.
15939         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
15940         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
15941         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
15942         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
15943         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
15944         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
15945         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
15946         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
15947         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
15948         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
15949         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
15950         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
15951         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
15952         test.
15953         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
15954         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
15955         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
15956         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
15957         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
15958         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
15959         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
15960         * NEWS: Mention addition of x86_64 vector sin.
15962 2015-06-11  Florian Weimer  <fweimer@redhat.com>
15964         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
15965         comment.
15967 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
15969         [BZ #18479]
15970         * nptl/pt-interp.c: New file.
15971         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
15972         Add pt-interp.
15973         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
15974         $(common-objpfx)runtime-linker.h.
15976 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
15978         * Makeconfig (+interp): Remove unused variable.
15979         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
15980         only.  Depend on $(common-objpfx)runtime-linker.h instead of
15981         $(elf-objpfx)runtime-linker.h.
15982         ($(elf-objpfx)runtime-linker.h): Rename to
15983         $(common-objpfx)runtime-linker.h and move ...
15984         * Makerules [$(build-shared) = yes]: ... here.
15985         * elf/interp.c: Include <runtime-linker.h> instead of
15986         <elf/runtime-linker.h>.
15988 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15990         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
15991         (__gettimeofday_syscall): Remove vsyscall fallback.
15992         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
15993         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
15994         Add syscall fallback function.
15995         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
15996         if vDSO is not present.
15997         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
15998         fallback function.
15999         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
16000         present.
16001         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
16002         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
16004 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
16006         [BZ #18497]
16007         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
16008         of wcscmp.
16009         (wcscmp): Define as weak alias of WCSCMP.
16010         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
16011         wcscoll.
16012         (USE_HIDDEN_DEF): Define.
16013         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
16014         __wcscoll.  Don't use libc_hidden_weak.
16015         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
16016         wcscmp.
16017         * sysdeps/i386/i686/multiarch/wcscmp-c.c
16018         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
16019         __GI_wcscmp.
16020         (weak_alias): Undefine and redefine.
16021         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
16022         __wcscmp and define as weak alias of __wcscmp.
16023         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
16024         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
16025         (__wcscoll): Likewise.
16026         (wcscmp): Don't use libc_hidden_proto.
16027         (wcscoll): Likewise.
16028         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
16029         wcscoll.
16030         * posix/regexec.c (check_node_accept_bytes): Likewise.
16031         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
16032         variable.
16033         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
16034         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
16036         [BZ #18507]
16037         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
16038         __fstatvfs and define as weak alias of __fstatvfs.  Use
16039         libc_hidden_weak.
16040         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
16041         and define as weak alias of __statvfs.  Use libc_hidden_weak.
16042         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
16043         Define as alias of __fstatvfs, not fstatvfs.
16044         (fstatvfs64): Likewise.
16045         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
16046         Define as alias of __statvfs, not statvfs.
16047         (statvfs64): Likewise.
16048         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
16049         Remove variable.
16051 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
16054         (HAVE_GETCPU_VSYSCALL): Define.
16055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
16056         (HAVE_GETCPU_VSYSCALL): Likewise.
16057         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
16058         * sysdeps/unix/sysv/linux/sched_getcpu.c
16059         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
16060         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
16061         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
16062         prototype.
16063         * sysdeps/unix/sysv/linux/x86_64/init-first.c
16064         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
16065         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
16066         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
16067         Define.
16068         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
16069         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
16070         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
16071         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
16073 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
16075         * sysdeps/x86_64/fpu/Makefile: New file.
16076         * sysdeps/x86_64/fpu/Versions: New file.
16077         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
16078         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
16079         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
16080         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
16081         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
16082         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
16083         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
16084         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
16085         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
16086         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
16087         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
16088         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
16089         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
16090         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
16091         Added build of SSE, AVX2 and AVX512 IFUNC versions.
16092         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
16093         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
16094         * sysdeps/x86_64/configure.ac: Options for libmvec build.
16095         * sysdeps/x86_64/configure: Regenerated.
16096         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
16097         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
16098         * manual/install.texi (Configuring and compiling): Document
16099         --disable-mathvec.
16100         * INSTALL: Regenerated.
16101         * NEWS: Mention addition of libmvec and x86_64 vector cos.
16103         * math/Makefile: Added rules for vector tests.
16104         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
16105         declaration under condition.
16106         * math/test-double-vlen2.h: New file.
16107         * math/test-double-vlen4.h: New file.
16108         * math/test-double-vlen8.h: New file.
16109         * math/test-vec-loop.h: Added initialization macro.
16110         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
16111         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
16112         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
16113         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
16114         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
16115         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
16116         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
16117         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
16118         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
16119         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
16120         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
16122         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16123         * sysdeps/x86_64/fpu/Versions: New versions added.
16124         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
16125         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
16126         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
16127         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
16128         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
16129         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
16130         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
16131         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
16132         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
16133         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
16134         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
16135         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
16136         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
16137         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
16138         Added build of SSE, AVX2 and AVX512 IFUNC versions.
16139         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
16140         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
16141         * NEWS: Mention addition of x86_64 vector cosf.
16143         * math/Makefile: Added CFLAGS for new tests.
16144         * math/test-float-vlen16.h: New file.
16145         * math/test-float-vlen4.h: New file.
16146         * math/test-float-vlen8.h: New file.
16147         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
16148         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
16149         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16150         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
16151         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
16152         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
16153         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
16154         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
16155         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
16156         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
16157         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
16159 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
16161         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
16162         * locale/programs/ld-ctype.c: Likewise.
16164 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
16166         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
16167         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
16168         bit_ZMM16_31_state): New macro.
16169         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16170         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
16172 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
16174         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
16176 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
16178         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
16180 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
16182         [BZ #18498]
16183         * libio/memstream.c (open_memstream): Rename to __open_memstream
16184         and define as weak alias of __open_memstream.
16185         * include/stdio.h (__open_memstream): Declare.  Use
16186         libc_hidden_proto.
16187         (open_memstream): Don't use libc_hidden_proto.
16188         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
16189         open_memstream.
16190         * posix/getopt.c (_getopt_internal_r): Likewise.
16191         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
16192         variable.
16193         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
16194         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
16195         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
16197         [BZ #18496]
16198         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
16199         instead of wcrtomb.
16201         [BZ #18483]
16202         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
16203         [__USE_XOPEN2K8].  Remove redundant #endif.
16204         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
16205         Remove redundant #if.
16206         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
16207         Remove variable.
16208         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
16209         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
16211         [BZ #18495]
16212         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
16213         (__iswlower): Likewise.
16214         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
16215         (__iswlower): Likewise.
16216         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
16217         instead of towlower.
16218         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
16219         instead of iswlower.  Call __towupper instead of towupper.
16220         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
16221         instead of iswalnum.
16223 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16225         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
16226         errors to stderr.
16228 2015-06-05  Florian Weimer  <fweimer@redhat.com>
16230         [BZ #15661]
16231         [BZ #17322]
16232         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
16233         Check for overflow properly.  Check for O_APPEND.  Ignore large
16234         file system block sizes.  Add comments about problems.
16235         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
16236         * manual/filesys.texi (Storage Allocation): New node.
16238 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16240         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
16241         cancellable syscalls.
16242         (SYS_ify): Add guard to no redefine it.
16243         (INLINE_SYSCALL): Likewise.
16244         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
16245         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
16246         SYSCALL_CANCEL instead.
16247         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
16248         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
16249         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
16250         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
16251         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
16252         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
16253         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
16254         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
16255         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
16256         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
16257         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
16258         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
16259         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
16260         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
16261         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
16262         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
16263         Likewise.
16264         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
16265         (__libc_pread64): Likewise.
16266         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
16267         (__libc_preadv): Likewise.
16268         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
16269         (__libc_readv64): Likewise.
16270         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
16271         (__libc_pwrite): Likewise.
16272         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
16273         (__libc_pwrite64): Likewise.
16274         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
16275         (__libc_pwritev): Likewise.
16276         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
16277         (__libc_pwritev64): Likewise.
16278         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
16279         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
16280         (sync_file_range): Likewise.
16281         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
16282         Likewise.
16283         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
16284         Likewise.
16285         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
16286         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
16287         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
16288         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
16289         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
16290         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
16291         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
16292         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
16293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
16294         Likewise.
16295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
16296         (__libc_read64): Likewise.
16297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
16298         Likewise.
16299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
16300         Likewise.
16301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
16302         Likewise.
16303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
16304         Likewise.
16305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
16306         (__libc_pread64): Likewise.
16307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
16308         Likewise.
16309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
16310         (__libc_pwrite64): Likewise.
16311         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
16312         (sync_file_range): Likewise.
16313         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
16314         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
16315         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
16316         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
16317         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
16318         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
16319         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
16320         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
16321         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
16322         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
16323         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
16324         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
16325         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
16326         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
16327         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
16328         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
16329         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
16330         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
16331         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
16332         Likewise.
16333         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
16334         Likewise.
16335         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
16336         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
16337         Likewise.
16338         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
16339         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
16340         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
16341         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
16342         Likewise.
16343         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
16344         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
16345         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
16346         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
16347         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
16349 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
16351         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
16352         Include dl-vdso.
16353         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
16354         Use VDSO routines for gettimeofday, clock_gettime if
16355         available.
16356         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
16357         Declare VDSO symbols.
16358         * sysdeps/unix/sysv/linux/arm/sysdep.h:
16359         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
16360         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
16361         * sysdeps/unix/sysv/linux/arm/Versions: Add
16362         __vdso_clock_gettime.
16364 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16366         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
16367         be an inline implementation regardless of library is built within.
16368         (open_not_cancel_2): Likewise.
16369         (__read_nocancel): Likewise.
16370         (__write_nocancel): Likewise.
16371         (openat_not_cancel): Likewise.
16372         (openat_not_cancel_3): Likewise.
16373         (openat64_not_cancel): Likewise.
16374         (openat64_not_cancel_3): Likewise.
16375         (__close_nocancel): Likewise.
16376         (pause_not_cancel): Likewise.
16377         (nanosleep_not_cancel): Likewise.
16378         (sigsuspend_not_cancel): Likewise.
16380 2015-06-04  Torvald Riegel  <triegel@redhat.com>
16382         [BZ #14958]
16383         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
16384         wake-up.
16385         (__pthread_rwlock_rdlock_slow): Likewise.
16386         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
16387         Likewise.
16388         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
16389         Likewise.
16390         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
16391         * nptl/tst-rwlock16.c: New file.
16392         * nptl/Makefile (tests): Add new test.
16394 2015-06-04  Torvald Riegel  <triegel@redhat.com>
16396         [BZ #18324]
16397         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
16398         missing wake-up of readers.
16399         * nptl/tst-rwlock15.c: New file.
16400         * nptl/Makefile (tests): Add new test.
16402 2015-06-03  Roland McGrath  <roland@hack.frob.com>
16404         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
16405         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
16406         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
16407         and __nacl_supply_interface_rtld.
16408         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
16409         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
16410         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
16411         Add __nacl_supply_interface_rtld.
16412         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
16414 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
16416         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
16417         isfinite.
16418         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16419         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
16421 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
16423         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
16424         __signbit* with standard C99 macros.
16425         * math/e_exp10l.c: Likewise.
16426         * math/e_exp2l.c: Likewise.
16427         * math/e_scalb.c: Likewise.
16428         * math/e_scalbf.c: Likewise.
16429         * math/e_scalbl.c: Likewise.
16430         * math/s_ldexp.c: Likewise.
16431         * math/s_ldexpf.c: Likewise.
16432         * math/s_ldexpl.c: Likewise.
16433         * math/w_atan2.c: Likewise.
16434         * math/w_atan2f.c: Likewise.
16435         * math/w_atan2l.c: Likewise.
16436         * math/w_cosh.c: Likewise.
16437         * math/w_coshf.c: Likewise.
16438         * math/w_coshl.c: Likewise.
16439         * math/w_exp10.c: Likewise.
16440         * math/w_exp10f.c: Likewise.
16441         * math/w_exp10l.c: Likewise.
16442         * math/w_exp2.c: Likewise.
16443         * math/w_exp2f.c: Likewise.
16444         * math/w_exp2l.c: Likewise.
16445         * math/w_fmod.c: Likewise.
16446         * math/w_fmodf.c: Likewise.
16447         * math/w_fmodl.c: Likewise.
16448         * math/w_hypot.c: Likewise.
16449         * math/w_hypotf.c: Likewise.
16450         * math/w_hypotl.c: Likewise.
16451         * math/w_jnl.c: Likewise.
16452         * math/w_lgamma.c: Likewise.
16453         * math/w_lgamma_r.c: Likewise.
16454         * math/w_lgammaf.c: Likewise.
16455         * math/w_lgammaf_r.c: Likewise.
16456         * math/w_lgammal.c: Likewise.
16457         * math/w_lgammal_r.c: Likewise.
16458         * math/w_pow.c: Likewise.
16459         * math/w_powf.c: Likewise.
16460         * math/w_powl.c: Likewise.
16461         * math/w_remainder.c: Likewise.
16462         * math/w_remainderf.c: Likewise.
16463         * math/w_remainderl.c: Likewise.
16464         * math/w_scalb.c: Likewise.
16465         * math/w_scalbf.c: Likewise.
16466         * math/w_scalbl.c: Likewise.
16467         * math/w_scalbln.c: Likewise.
16468         * math/w_scalblnf.c: Likewise.
16469         * math/w_scalblnl.c: Likewise.
16470         * math/w_sinh.c: Likewise.
16471         * math/w_sinhf.c: Likewise.
16472         * math/w_sinhl.c: Likewise.
16473         * math/w_tgamma.c: Likewise.
16474         * math/w_tgammaf.c: Likewise.
16475         * math/w_tgammal.c: Likewise.
16476         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16477         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
16478         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
16479         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16480         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
16481         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16482         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
16483         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
16484         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
16485         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16486         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
16487         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
16488         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16489         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
16490         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
16491         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16492         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
16493         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
16494         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
16495         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
16496         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16497         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
16498         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16499         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16500         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
16501         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16502         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
16503         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
16504         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16505         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
16506         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
16507         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
16508         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
16509         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
16510         * stdio-common/printf_fp.c: Likewise.
16511         * stdio-common/printf_fphex.c: Likewise.
16512         * stdio-common/printf_size.c: Likewise.
16514 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
16516         [BZ #18470]
16517         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
16518         strnlen.
16519         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
16520         Remove variable.
16521         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
16522         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
16523         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
16524         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
16525         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
16526         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
16527         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
16528         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
16529         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
16530         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
16532         [BZ #18468]
16533         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
16534         weak alias of __wmemchr.  Use libc_hidden_weak.
16535         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
16536         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
16537         instead of wmemchr.
16539 2015-06-02  Roland McGrath  <roland@hack.frob.com>
16541         [BZ #18383]
16542         * elf/tst-tlsalign-extern.c: New file.
16543         * elf/tst-tlsalign-extern-static.c: New file.
16544         * elf/tst-tlsalign-vars.c: New file.
16545         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
16546         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
16547         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
16548         ($(objpfx)tst-tlsalign-extern-static): Likewise.
16549         (test-xfail-tst-tlsalign-extern-static): New variable.
16551 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
16553         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
16554         Use variable name _sc_err instead of err.
16555         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
16556         instead of ret.
16557         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
16558         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
16559         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
16560         (INLINE_SYSCALL): Likewise.
16562         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
16563         * include/string.h (__strnlen): Use libc_hidden_proto.
16564         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
16565         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
16566         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
16567         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
16568         (libc_hidden_def): Undefine and redefine.
16569         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
16570         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
16571         __GI_strnlen.
16572         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
16573         libc_hidden_def.
16574         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
16576         [BZ #18469]
16577         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
16578         weak alias of __towlower.  Use libc_hidden_weak.
16579         (towupper): Rename to __towupper and define as weak alias of
16580         __towupper.  Use libc_hidden_weak.
16581         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
16582         (__towupper): Likewise.
16583         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
16584         __towlower instead of towlower.
16586 2015-06-02  Roland McGrath  <roland@hack.frob.com>
16588         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
16589         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
16591 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16593         * sysdeps/aarch64/libm-test-ulps: Update.
16595 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16597         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
16598         Define.
16599         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
16600         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
16601         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
16602         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
16603         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
16604         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
16605         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
16607 2015-06-01  Martin Sebor  <msebor@redhat.com>
16609         [BZ #18116]
16610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
16611         (__setcontext): Use extended four-operand version of mtsf whenever
16612         possible.
16613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
16614         (__novec_swapcontext): Likewise.
16616 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
16618         * benchtests/scripts/compare_bench.py: New file.
16619         * benchtests/scripts/import_bench.py (mean): New function.
16620         (split_list): Likewise.
16621         (do_for_all_timings): Likewise.
16622         (compress_timings): Likewise.
16624         * benchtests/scripts/import_bench.py: New file.
16625         * benchtests/scripts/validate_benchout.py: Import import_bench
16626         instead of jsonschema.
16627         (validate_bench): Remove function.
16628         (main): Use import_bench.
16630 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
16632         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
16633         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
16635 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16637         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16639 2015-05-28  Roland McGrath  <roland@hack.frob.com>
16641         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
16642         set THREAD_SELF->tid to a magic value and futex-wake it.
16643         Pass its address to the thread_exit system call.
16644         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
16645         bit is clear.
16646         * sysdeps/nacl/lowlevellock.h: New file.
16647         * sysdeps/nacl/lll_timedwait_tid.c: New file.
16649         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
16650         Add TIMEOUT to current time, don't subtract it.
16652 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
16654         [BZ #2981]
16655         [BZ #18422]
16656         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
16657         ($(objpfx)tst-audit2.out): Also depend on
16658         $(objpfx)tst-auditmod9b.so.
16659         * elf/tst-audit2.c: Include <dlfcn.h>.
16660         (calloc_called): New.
16661         (calloc): Allow to be called more than once.
16662         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
16664 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
16666         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
16667         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
16669 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
16671         * stdlib/monetary.h: Fix comment.
16673 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
16675         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
16676         Avoid using variables in #defines that might cause shadowing.
16677         (INTERNAL_VSYSCALL_CALL): Likewise.
16679 2015-05-26  Roland McGrath  <roland@hack.frob.com>
16681         * sysdeps/nacl/lll_timedlock_wait.c: New file.
16683         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
16684         * nptl/lll_timedlock_wait.c: ... to this new file.
16685         * nptl/Makefile (libpthread-routines): Add it.
16686         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
16687         * nptl/lll_timedwait_tid.c: ... to this new file.
16688         * nptl/Makefile (libpthread-routines): Add it.
16689         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
16690         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
16691         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
16692         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
16693         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
16694         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
16695         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
16696         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
16697         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
16698         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
16700 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16702         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
16703         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
16704         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
16705         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
16706         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
16707         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
16708         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
16709         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
16710         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
16711         * sysdeps/unix/sysv/linux/tile/sysdep.h
16712         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
16713         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
16714         using vDSO syscall macro.
16716 2015-05-26  Andriy Rysin  <arysin@gmail.com>
16718         [BZ #17293]
16719         * uk_UA: Fix sorting order for Ukrainian locale
16721 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
16723         * stdlib/monetary.h: Fix comment.
16725 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16727         [BZ #18234]
16728         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
16729         st_mtim and st_ctim members.
16730         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
16731         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
16732         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
16733         (struct stat64): Likewise.
16734         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
16735         (struct stat64): Likewise.
16736         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
16737         (struct stat64): Likewise.
16739 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16741         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
16742         Define and include sysdep-vdso.h.
16743         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
16744         Likewise.
16745         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
16746         Likewise.
16747         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
16748         Define with VDSO_SYMBOL and use PTR_MANGLE.
16749         (__vdso_clock_gettime): Likewise.
16750         (__vdso_clock_getres): Likewise.
16751         (_libc_vdso_platform_setup): Likewise.
16752         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
16753         Likewise.
16754         (_libc_vdso_platform_setup): Likewise.
16755         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
16756         Likewise.
16757         (__vdso_clock_gettime): Likewise.
16758         (__vdso_clock_getres): Likewise.
16759         (__vdso_get_tbfreq): Likewise.
16760         (__vdso_getcpu): Likewise.
16761         (__vdso_time): Likewise.
16762         (__vdso_sigtramp_rt64): Likewise.
16763         (__vdso_signtramp32): Likewise.
16764         (__vdso_sigtramp_rt32): Likewise.
16765         (_libc_vdso_platform_setup): Likewise.
16766         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
16767         Likewise.
16768         (__vdso_clock_gettime): Likewise.
16769         (__vdso_clock_getres): Likewise.
16770         (_libc_vdso_platform_setup): Likewise.
16771         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
16772         Likewise.
16773         (__vdso_clock_gettime): Likewise.
16774         (_libc_vdso_platform_setup): Likewise.
16775         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
16776         Likewise.
16777         (__vdso_getcpu): Likewise.
16778         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
16779         Use VDSO_SYMBOL macro to define.
16780         (__vdso_clock_gettime): Likewise.
16781         (__vdso_clock_getres): Likewise.
16782         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
16783         Likewise.
16784         (__vdso_clock_gettime): Likewise.
16785         (__vdso_clock_getres): Likewise.
16786         (__vdso_get_tbfreq): Likewise.
16787         (__vdso_getcpu): Likewise.
16788         (__vdso_time): Likewise.
16789         (__vdso_sigtramp_rt64): Likewise.
16790         (__vdso_signtramp32): Likewise.
16791         (__vdso_sigtramp_rt32): Likewise.
16792         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
16793         Likewise.
16794         (__vdso_clock_gettime): Likewise.
16795         (__vdso_clock_getres): Likewise.
16796         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
16797         Likewise.
16798         (__vdso_clock_gettime): Likewise.
16799         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
16800         Likewise.
16801         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
16802         macro.
16803         (INTERNAL_VSYSCALL): Likewise.
16804         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
16805         Remove macro.
16806         (INTERNAL_VSYSCALL): Likewise.
16807         (INTERNAL_VSYSCALL_NCS): Likewise.
16808         (INTERNAL_VSYSCALL_CALL): New macro.
16809         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
16810         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
16811         Likewise.
16812         (INTERNAL_VSYSCALL): Likewise.
16813         (INTERNAL_VSYSCALL_NCS): Likewise.
16814         (INTERNAL_VSYSCALL_CALL): New macro.
16815         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
16816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
16817         (INLINE_VSYSCALL): Remove macro.
16818         (INTERNAL_VSYSCALL): Remove macro.
16819         (INTERNAL_VSYSCALL_NCS): Remove macro.
16820         (INTERNAL_VSYSCALL_CALL): New macro.
16821         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
16822         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
16823         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
16824         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
16825         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
16826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
16827         (INLINE_VSYSCALL): Remove macro.
16828         (INTERNAL_VSYSCALL): Likewise.
16829         (INTERNAL_VSYSCALL_NCS): Likewise.
16830         (INTERNAL_VSYSCALL_CALL): New macro.
16831         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
16832         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
16833         PTR_DEMANGLE on vDSO pointer.
16834         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
16835         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
16836         macro.
16837         (INTERNAL_SYSCALL): Likewise.
16838         (INTERNAL_VSYSCALL_NCS): Remove macro.
16839         (INTERNAL_VSYSCALL_CALL): New macro.
16840         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
16841         Remove macro.
16842         (INTERNAL_VSYSCALL): Likewise.
16843         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
16844         sysdep-vdso.h instead of libc-vdso.h.
16845         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
16846         definition.
16847         (INLINE_VSYSCALL): Likewise.
16848         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
16849         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
16850         definition.
16851         (INLINE_VSYSCALL): Likewise.
16852         (INTERNAL_VSYSCALL): Likewise.
16853         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
16854         * sysdeps/unix/sysv/linux/timespec_get.c
16855         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
16856         (timespec_get): Use ANSI prototype.
16857         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
16858         and definition for Linux.
16860 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
16862         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
16863         * include/libc-symbols.h: libmvec_hidden_* macro series added.
16865 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
16867         [BZ #2981]
16868         [BZ #18410]
16869         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
16870         for missing DT_PLTRELSZ.
16872 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
16874         Remove obsolete aliases that broke 'locale -a'
16875         [BZ #18412]
16876         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
16877         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
16878         breaking some applications that use 'locale -a' output.
16879         Change the encoding of this file from Latin-1 to ASCII to avoid
16880         other potential problems with people grepping this file.
16882 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16884         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
16885         -fasynchronous-unwind-tables.
16886         (CFLAGS-sendto.c): Likewise.
16887         (CFLAGS-sendmsg.c): Likewise.
16888         (CFLAGS-connect.c): Likewise.
16889         (CFLAGS-recvmsg.c): Likewise.
16890         (CFLAGS-recvfrom.c): Likewise.
16891         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
16892         (SOCKETCALL): New macro: non-cancellable socketcall.
16893         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
16894         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
16895         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
16896         * sysdeps/unix/sysv/linux/accept.c: New file.
16897         * sysdeps/unix/sysv/linux/bind.c: Likewise.
16898         * sysdeps/unix/sysv/linux/connect.c: Likewise.
16899         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
16900         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
16901         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
16902         * sysdeps/unix/sysv/linux/listen.c: Likewise.
16903         * sysdeps/unix/sysv/linux/recv.c: Likewise.
16904         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
16905         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
16906         * sysdeps/unix/sysv/linux/send.c: Likewise.
16907         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
16908         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
16909         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
16910         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
16911         * sysdeps/unix/sysv/linux/socket.c: Likewise.
16912         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
16913         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
16914         prototype.
16915         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
16916         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
16917         instead of __internal_xxx function.
16918         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
16919         prototype.
16920         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
16921         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
16922         instead of __internal_xxx function.
16923         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
16924         prototype.
16925         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
16926         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
16927         instead of __internal_xxx function.
16928         * sysdeps/unix/sysv/linux/accept.S: Remove file.
16929         * sysdeps/unix/sysv/linux/bind.S: Likewise.
16930         * sysdeps/unix/sysv/linux/connect.S: Likewise.
16931         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
16932         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
16933         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
16934         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
16935         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
16936         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
16937         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
16938         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
16939         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
16940         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
16941         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
16942         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
16943         * sysdeps/unix/sysv/linux/listen.S: Likewise.
16944         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
16945         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
16946         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
16947         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
16948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
16949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
16950         * sysdeps/unix/sysv/linux/recv.S: Likewise.
16951         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
16952         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
16953         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
16954         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
16955         * sysdeps/unix/sysv/linux/send.S: Likewise.
16956         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
16957         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
16958         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
16959         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
16960         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
16961         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
16962         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
16963         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
16964         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
16965         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
16966         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
16967         socketcall is implemented in GLIBC.
16969 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
16971         * soft-fp/fmadf4.c: Include <libc-internal.h>.
16972         (__fma): Ignore uninitialized warnings around packing.
16973         * soft-fp/fmasf4.c: Include <libc-internal.h>.
16974         (__fmaf): Ignore uninitialized warnings around packing.
16975         * soft-fp/fmatf4.c: Include <libc-internal.h>.
16976         (__fmal): Ignore uninitialized warnings around packing.
16978         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
16979         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
16980         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
16981         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
16983         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
16984         switch statement into default case.
16985         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
16987         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
16988         a conditional in forcing "inexact".
16989         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
16990         Likewise.
16992 2015-05-22  Roland McGrath  <roland@hack.frob.com>
16994         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
16995         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
16996         for each INTERNAL_SYSCALL use.
16998 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
17000         [BZ #438]
17001         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
17002         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
17003         variable.
17005         [BZ #18444]
17006         * string/basename.c (basename): Rename to __basename and define as
17007         weak alias of __basename.  Use libc_hidden_weak.
17008         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
17009         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
17010         __basename instead of basename.
17011         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
17012         Remove variable.
17013         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
17015 2015-05-18  Florian Weimer  <fweimer@redhat.com>
17017         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
17018         (_IO_JUMPS_FILE_plus): New.
17019         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
17020         _IO_CAST_FIELD_ACCESS.
17021         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
17022         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
17023         * libio/freopen.c (freopen): Likewise.
17024         * libio/freopen64.c (freopen64): Likewise.
17025         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
17026         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
17027         * libio/iofwide.c (_IO_fwide): Likewise.
17028         * libio/memstream.c (open_memstream): Likewise.
17029         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
17030         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
17031         * libio/oldiopopen.c (_IO_old_popen): Likewise.
17033 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
17035         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
17036         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
17037         NADJ.
17038         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
17039         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
17040         NADJ.
17041         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
17042         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
17043         NADJ.
17045         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
17046         (p == 4) case.
17048         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
17049         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
17050         Remove variable.
17051         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
17052         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
17053         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
17055 2015-05-21  Florian Weimer  <fweimer@redhat.com>
17057         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
17058         Adjust jump table label generation macros.
17060 2015-05-21  Florian Weimer  <fweimer@redhat.com>
17062         * stdio-common/vfprintf.c (vfprintf): Move local variables
17063         args_malloced, specs, specs_malloced, and the code after
17064         do_positional to the printf_positional function.
17065         (printf_positional): New function.
17067 2015-05-21  Florian Weimer  <fweimer@redhat.com>
17069         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
17070         function.
17071         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
17072         STEP4_TABLE, process_arg): Move macro definitions
17073         out of the vfprintf function.  (Cosmetic change only.)
17075 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
17077         * benchtests/Makefile (stdio-common-bench): Define.
17078         (benchset): Add stdio-common-bench.
17079         * sprintf-inputs: New file.
17080         * sprintf-source.c: New file.
17082 2015-05-21  Andreas Schwab  <schwab@suse.de>
17084         [BZ #13028]
17085         [BZ #17053]
17086         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
17087         of struct __res_state.
17088         * resolv/res_send.c (__libc_res_nsend): Likewise.
17089         (get_nsaddr): New function.
17090         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
17091         statp directly.
17093 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
17095         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
17096         -D_POSIX_C_SOURCE=199506L.
17098         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
17100         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
17101         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
17102         Do not mention otherwise.
17103         [POSIX] (_XOPEN_VERSION): Do not expect.
17104         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
17105         [POSIX] (_POSIX2_C_BIND): Likewise.
17106         [POSIX] (_POSIX2_VERSION): Likewise.
17107         [POSIX] (_XOPEN_XPG2): Likewise.
17108         [POSIX] (_XOPEN_XPG3): Likewise.
17109         [POSIX] (_XOPEN_XPG4): Likewise.
17110         [POSIX] (_XOPEN_UNIX): Likewise.
17111         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
17112         [POSIX] (_POSIX_BARRIERS): Likewise.
17113         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
17114         [POSIX] (_POSIX_CPUTIME): Likewise.
17115         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
17116         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
17117         [POSIX] (_POSIX_SHELL): Likewise.
17118         [POSIX] (_POSIX_SPAWN): Likewise.
17119         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
17120         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
17121         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
17122         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
17123         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
17124         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
17125         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
17126         [POSIX] (_XBS5_LP64_OFF64): Likewise.
17127         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
17128         [POSIX] (_POSIX_TIMEOUTS): Likewise.
17129         [POSIX] (_POSIX2_PBS): Likewise.
17130         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
17131         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
17132         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
17133         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
17134         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
17135         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
17136         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
17137         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
17138         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
17139         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
17140         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
17141         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
17142         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
17143         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
17144         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
17145         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
17146         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
17147         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
17148         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
17149         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
17150         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
17151         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
17152         [POSIX] (_SC_2_C_BIND): Likewise.
17153         [POSIX] (_SC_2_C_VERSION): Likewise.
17154         [POSIX] (_SC_2_PBS): Likewise.
17155         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
17156         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
17157         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
17158         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
17159         [POSIX] (_SC_2_PBS_TRACK): Likewise.
17160         [POSIX] (_SC_ATEXIT_MAX): Likewise.
17161         [POSIX] (_SC_BARRIERS): Likewise.
17162         [POSIX] (_SC_BASE): Likewise.
17163         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
17164         [POSIX] (_SC_DEVICE_IO): Likewise.
17165         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
17166         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
17167         [POSIX] (_SC_FD_MGMT): Likewise.
17168         [POSIX] (_SC_FIFO): Likewise.
17169         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
17170         [POSIX] (_SC_FILE_LOCKING): Likewise.
17171         [POSIX] (_SC_FILE_SYSTEM): Likewise.
17172         [POSIX] (_SC_IOV_MAX): Likewise.
17173         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
17174         [POSIX] (_SC_NETWORKING): Likewise.
17175         [POSIX] (_SC_PAGE_SIZE): Likewise.
17176         [POSIX] (_SC_PASS_MAX): Likewise.
17177         [POSIX] (_SC_PIPE): Likewise.
17178         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
17179         [POSIX] (_SC_REGEXP): Likewise.
17180         [POSIX] (_SC_SHELL): Likewise.
17181         [POSIX] (_SC_SIGNALS): Likewise.
17182         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
17183         [POSIX] (_SC_SPIN_LOCKS): Likewise.
17184         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
17185         [POSIX] (_SC_USER_GROUPS): Likewise.
17186         [POSIX] (_SC_USER_GROUPS_R): Likewise.
17187         [POSIX] (_SC_STREAMS): Likewise.
17188         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
17189         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
17190         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
17191         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
17192         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
17193         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
17194         [POSIX] (_PC_FILESIZEBITS): Likewise.
17195         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
17196         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
17197         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
17198         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
17199         [POSIX] (uid_t): Likewise.
17200         [POSIX] (gid_t): Likewise.
17201         [POSIX] (off_t): Likewise.
17202         [POSIX] (pid_t): Likewise.
17203         [POSIX] (cuserid): Allow.
17204         (_SC_2_CHAR_TERM): Require constant.
17205         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
17206         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
17207         variable.
17209 2015-05-20  Roland McGrath  <roland@hack.frob.com>
17211         * sysdeps/nacl/pthread-pids.h: New file.
17212         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
17213         (create_thread): Use __nacl_get_tid to initialize PD->tid.
17215         * nptl/pthread-pids.h: New file.
17216         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
17217         * nptl/nptl-init.c: Include <pthread-pids.h>.
17218         (__pthread_initialize_minimal_internal):
17219         Call __pthread_initialize_pids instead of set_tid_address syscall.
17221         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
17222         * sysdeps/posix/usleep.c: ... here.
17224 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17226         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
17227         call_pselect6 object.
17228         [$(subdir) = io]: Remove call_sync_file_range object.
17229         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
17230         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
17231         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
17232         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
17234 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
17236         * math/s_cproj.c: Add include "math_private.h".
17237         * math/s_cprojf.c: Likewise.
17238         * math/s_cprojl.c: Likewise.
17240 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
17242         [BZ #18244]
17243         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
17244         high mantissa bit when testing whether P is a NaN.
17245         * math/libm-test.inc (remainder_test_data): Add more tests.
17246         (remquo_test_data): Likewise.
17248         [BZ #18049]
17249         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
17250         below -32, return the argument, with underflow if subnormal.
17251         * math/auto-libm-test-in: Add more tests of atanh.
17252         * math/auto-libm-test-out: Regenerated.
17254 2015-05-19  Roland McGrath  <roland@hack.frob.com>
17256         [BZ #18434]
17257         * nptl/tst-sem15.c: New file.
17258         * nptl/Makefile (tests): Add it.
17259         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
17260         s/<</>>/ to fix typo in EOVERFLOW check.
17261         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
17263 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17265         * manual/strings.texi (envz_remove): Fix typo in safety
17266         annotations.
17268 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
17269             Steve Ellcey  <sellcey@imgtec.com>
17271         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
17272         in order to avoid strict alias warnings.
17273         (iruserok_af): Ditto for ra.
17275 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
17277         [BZ #17581]
17278         * malloc/hooks.c
17279         (magicbyte): Convert to a function and avoid returning 0x01.
17280         (mem2mem_check): Avoid using a length byte equal to the magic byte.
17281         (mem2chunk_check): Fix unsigned comparisons to zero.
17282         Hoist defs of sz and magic.
17284 2015-05-19  Richard Henderson  <rth@redhat.com>
17286         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
17288         * sysdeps/alpha/fpu/libm-test-ulps: Update.
17290 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17292         [BZ #16159]
17293         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
17294         * malloc/arena.c (arena_lock): Check if arena is corrupt.
17295         (reused_arena): Find a non-corrupt arena.
17296         (heap_trim): Pass arena to unlink.
17297         * malloc/hooks.c (malloc_check_get_size): Pass arena to
17298         malloc_printerr.
17299         (top_check): Likewise.
17300         (free_check): Likewise.
17301         (realloc_check): Likewise.
17302         * malloc/malloc.c (malloc_printerr): Add arena argument.
17303         (unlink): Likewise.
17304         (munmap_chunk): Adjust.
17305         (ARENA_CORRUPTION_BIT): New macro.
17306         (arena_is_corrupt): Likewise.
17307         (set_arena_corrupt): Likewise.
17308         (sysmalloc): Use mmap if there are no usable arenas.
17309         (_int_malloc): Likewise.
17310         (__libc_malloc): Don't fail if arena_get returns NULL.
17311         (_mid_memalign): Likewise.
17312         (__libc_calloc): Likewise.
17313         (__libc_realloc): Adjust for additional argument to
17314         malloc_printerr.
17315         (_int_free): Likewise.
17316         (malloc_consolidate): Likewise.
17317         (_int_realloc): Likewise.
17318         (_int_memalign): Don't touch corrupt arenas.
17319         * malloc/tst-malloc-backtrace.c: New test case.
17321         * Makefile (summarize-tests): Fix return value on success.
17323         * manual/string.texi (Envz Functions): Add envz_remove.
17325 2015-05-18  Roland McGrath  <roland@hack.frob.com>
17327         * sysdeps/posix/opendir.c: Include <stdbool.h>.
17328         (invalid_name): New function, broken out of ...
17329         (__opendirat): ... here.  Call it.
17330         (need_isdir_precheck): New function, broken out of ...
17331         (__opendirat): ... here.  Call it.
17332         Use __fxstatat64, not __xstatat64.
17333         (opendir_oflags): New function, broken out of ...
17334         (__opendirat): ... here.  Call it.
17335         (opendir_tail): New function, broken out of ...
17336         (__opendirat): ... here.  Call it.
17337         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
17338         opendir_tail, rather than punting to __opendirat.
17339         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
17341 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
17343         * .gitignore: Ignore generated *.pyc.
17345 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
17347         * include/stdio.h: Define __need_wint_t.
17348         * test-skeleton.c: Avoid `for' loop initial declaration.
17349         * nptl/tst-initializers1.c: Use test-skeleton.c.
17351 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17353         [BZ #18418]
17354         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
17356 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
17358         [BZ #16352]
17359         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
17360         (__ieee754_atanh): Force underflow exception for results with
17361         small absolute value.
17362         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
17363         (__ieee754_atanhf): Force underflow exception for results with
17364         small absolute value.
17365         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
17366         (__ieee754_atanh): Force underflow exception for results with
17367         small absolute value.
17368         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
17369         (__ieee754_atanhf): Force underflow exception for results with
17370         small absolute value.
17371         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
17372         (__ieee754_atanhl): Force underflow exception for results with
17373         small absolute value.
17374         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
17375         (__ieee754_atanhl): Force underflow exception for results with
17376         small absolute value.
17377         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
17378         (__ieee754_atanhl): Force underflow exception for results with
17379         small absolute value.
17380         * math/auto-libm-test-in: Do not allow missing underflow
17381         exceptions from atanh.
17382         * math/auto-libm-test-out: Regenerated.
17384         [BZ #18221]
17385         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
17386         2**-28 as threshold for returning x or +/- 1/x.
17387         * math/auto-libm-test-in: Add more tests of tan.
17388         * math/auto-libm-test-out: Regenerated.
17390         [BZ #18220]
17391         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
17392         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
17393         * math/auto-libm-test-in: Add another test of lgamma.
17394         * math/auto-libm-test-out: Regenerated.
17396 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
17398         * stdio-common/printf_fp.c (___printf_fp): Use abs.
17399         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
17400         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
17401         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
17402         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
17403         (ADD2A): Use fabs.  (SUB2A): Use fabs.
17404         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
17405         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
17406         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
17407         (log1): Use fabs.  (my_log2): Use fabs.
17408         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
17409         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
17410         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
17411         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
17412         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
17413         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
17414         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
17415         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
17416         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
17417         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
17418         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
17420 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
17422         [BZ #18217]
17423         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
17424         as threshold for returning 1 - x.
17425         * math/auto-libm-test-in: Add more tests of erfc.
17426         * math/auto-libm-test-out: Regenerated.
17428 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
17430         [BZ #18196]
17431         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
17432         threshold for large arguments.
17433         * math/auto-libm-test-in: Add another test of atan.
17434         * math/auto-libm-test-out: Regenerated.
17436         [BZ #16339]
17437         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
17438         (__log1p): Force underflow exception for results with small
17439         absolute value.
17440         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
17441         (__log1pf): Force underflow exception for results with small
17442         absolute value.
17443         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
17444         (__log1p): Force underflow exception for results with small
17445         absolute value.
17446         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
17447         (__log1pf): Force underflow exception for results with small
17448         absolute value.
17449         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
17450         (__log1pl): Force underflow exception for results with small
17451         absolute value.
17452         * math/auto-libm-test-in: Do not allow missing underflow
17453         exceptions from log1p.
17454         * math/auto-libm-test-out: Regenerated.
17456 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
17457             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17459         [BZ #16704]
17460         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
17462 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
17464         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
17465         (libmvec): New variable.
17466         * configure.ac: Added option for mathvec build.
17467         * configure: Regenerated.
17468         * mathvec/Depend: New file.
17469         * mathvec/Makefile: New file.
17470         * shlib-versions: Added libmvec.
17471         * math/Makefile: Added rule for libm.so installation.
17473         * bits/math-vector.h: New file.
17474         * bits/libm-simd-decl-stubs.h: New header.
17475         * math/Makefile (headers): Added new header
17476         libm-simd-decl-stubs.h.
17477         * math/math.h (__MATHCALL_VEC): New macro.
17479         * math/gen-libm-have-vector-test.sh: Script generates series of macros
17480         for conditions in testing functions.
17481         * math/Makefile: Added call of libm-have-vector-test.sh.
17482         * math/libm-test.inc (HAVE_VECTOR): New macros.
17484         * math/libm-test.inc: START refactored.
17485         * math/test-double.c (TEST_MATHVEC): Add define.
17486         * math/test-float.c: Likewise.
17487         * math/test-idouble.c: Likewise.
17488         * math/test-ifloat.c: Likewise.
17489         * math/test-ildoubl.c: Likewise.
17490         * math/test-ldouble.c: Likewise.
17491         * sysdeps/generic/math-tests-arch.h
17492         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
17493         architecture check.
17495         * math/test-double.c (FUNC_TEST): New macro.
17496         * math/test-float.c: Likewise.
17497         * math/test-idouble.c: Likewise.
17498         * math/test-ifloat.c: Likewise.
17499         * math/test-ildoubl.c: Likewise.
17500         * math/test-ldouble.c: Likewise.
17501         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
17503 2015-05-13  Roland McGrath  <roland@hack.frob.com>
17505         * sysdeps/nacl/fdopendir.c: New file.
17507         * dirent/scandir-tail.c: New file.
17508         * dirent/scandir64-tail.c: New file.
17509         * dirent/Makefile (routines): Add them.
17510         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
17511         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
17512         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
17513         [!SCANDIR] (SCANDIR_TAIL): New macro.
17514         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
17515         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
17516         (SCANDIRAT): Macro removed.
17517         (SCANDIR_TAIL): New macro.
17518         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
17519         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
17520         (SCANDIRAT): Just call __opendirat and __scandir_tail.
17521         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
17522         (READDIR): Macro removed.
17523         (SCANDIR_TAIL): New macro.
17524         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
17525         (SCANDIR_TAIL): New macro.
17527         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
17528         * dirent/scandir-cancel.c: ... to this new file.
17529         * dirent/Makefile (routines): Add it.
17530         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
17531         * sysdeps/unix/sysv/linux/i386/scandir64.c
17532         (SKIP_SCANDIR_CANCEL): Macro removed.
17533         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
17535         * dirent/tst-scandir.c: New file.
17536         * dirent/tst-scandir64.c: New file.
17537         * dirent/Makefile (tests): Add them.
17539 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
17541         [BZ #18409]
17542         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
17544 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17546         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
17547         list.
17549 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
17551         * benchtests/bench-strcoll.c: New benchmark.
17552         * benchtests/Makefile: Generate locales and run benchmark.
17553         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
17554         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
17555         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
17556         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
17557         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
17558         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
17559         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
17560         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
17561         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
17562         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
17563         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
17564         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
17565         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
17566         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
17567         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
17568         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
17569         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
17570         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
17571         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
17572         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
17573         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
17574         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
17575         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
17576         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
17578 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
17580         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
17581         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
17583 2015-05-12  Roland McGrath  <roland@hack.frob.com>
17585         * posix/uname-values.h: New file.
17586         * posix/uname.c: Include that instead of <config-name.h>.
17587         * sysdeps/nacl/uname-values.h: New file.
17588         * sysdeps/arm/nacl/uname-values.h: New file.
17590 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
17592         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
17593         splitting into fields.
17595 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
17597         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
17598         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
17599         * locale/localeinfo.h: Add enum collation_encoding_type.
17600         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
17601         * programs/ld-collate.c (collate_output): Add encoding type info.
17602         * string/strcoll_l.c (STRDIFF): New function.
17603         * (STRCOLL): Use STRDIFF to skip over equal prefix.
17604         * wcsmbs/wcscoll_l.c: Define STRDIFF.
17606 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
17608         [BZ #18397]
17609         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
17610         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
17611         <fpu_control.h> instead of <math/fpu_control.c>.
17612         * sysdeps/mips/mips32/fpu/Makefile: New file.
17614 2015-05-11  Andreas Schwab  <schwab@suse.de>
17616         [BZ #18007]
17617         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
17618         nss_endgrent.
17619         (_nss_compat_endgrent): Call nss_endgrent.
17620         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
17621         nss_endpwent.
17622         (_nss_compat_endpwent): Call nss_endpwent.
17623         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
17624         needent, call nss_setspent only if non-zero.
17625         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
17626         (internal_endspent): Don't call nss_endspent.
17627         (_nss_compat_endspent): Call nss_endspent.
17628         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
17629         Remove.  All uses removed.
17630         (internal_setent): Remove parameter stayopen, add parameter
17631         stream.  Use it instead of global variable.
17632         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
17633         (internal_endent, internal_getent): Add parameter stream.  Use it
17634         instead of global variable.
17635         (CONCAT(_nss_files_end,ENTNAME))
17636         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
17637         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
17638         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
17639         uses removed.
17640         (internal_setent, internal_endent): Add parameter stream.  Use it
17641         instead of global variable.
17642         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
17643         stream.
17644         (get_next_alias): Add parameter stream.
17645         (_nss_files_getaliasent_r): Pass global stream.
17646         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
17647         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
17648         (_nss_files_gethostbyname4_r): Pass local stream to
17649         internal_setent, internal_getent and internal_endent.  Remove
17650         locking.
17652 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
17654         * tst-strfmon1.c (tests): Update expected currency symbol.
17656 2015-05-08  Roland McGrath  <roland@hack.frob.com>
17658         * sysdeps/nacl/gethostname.c: New file.
17660 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
17662         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
17663         and sinh.
17664         * math/auto-libm-test-out: Regenerated.
17665         * sysdeps/i386/fpu/libm-test-ulps: Update.
17666         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17668 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
17670         [BZ #18125]
17671         * stdlib/tst-setcontext3.c: New file.
17672         * stdlib/tst-setcontext3.sh: New file.
17673         * stdlib/Makefile (tests): Add tst-setcontext3.
17674         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
17675         to verify test program created output file.
17676         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
17677         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
17678         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
17679         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
17681 2015-05-06  Roland McGrath  <roland@hack.frob.com>
17683         [BZ #18383]
17684         * elf/tst-tlsalign.c: New file.
17685         * elf/tst-tlsalign-static.c: New file.
17686         * elf/tst-tlsalign-lib.c: New file.
17687         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
17688         (tests-static): Add tst-tlsalign-static.
17689         (modules-names): Add tst-tlsalign-lib.
17690         (test-xfail-tst-tlsalign): New variable.
17691         (test-xfail-tst-tlsalign-static): New variable.
17693         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
17694         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
17696 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
17698         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
17699         csqrt, erfc, sin and sincos.
17700         * math/auto-libm-test-out: Regenerated.
17701         * sysdeps/i386/fpu/libm-test-ulps: Update.
17702         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17704 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17706         * sysdeps/aarch64/libm-test-ulps: Update.
17708 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
17710         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
17711         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
17712         * math/auto-libm-test-out: Regenerated.
17713         * sysdeps/i386/fpu/libm-test-ulps: Update.
17714         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17716 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
17718         [BZ #18265]
17719         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
17720         (wcsncpy): Likewise.
17722 2015-05-05  Florian Weimer  <fweimer@redhat.com>
17724         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
17725         Assume __ASSUME_FALLOCATE is always true.
17726         * sysdeps/unix/sysv/linux/posix_fallocate64.c
17727         (__posix_fallocate64_l64): Likweise.
17728         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
17729         (posix_fallocate): Likewise.
17730         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
17731         (__posix_fallocate64_l64): Likewise.
17732         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17733         [!__ASSUME_FALLOCATE]: Add comment.
17735 2015-05-05  Florian Weimer  <fweimer@redhat.com>
17737         * sysdeps/unix/sysv/linux/i386/Makefile
17738         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
17739         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
17740         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
17741         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
17742         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
17743         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
17744         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
17746 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
17748         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
17749         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
17750         tgamma.
17751         * math/auto-libm-test-out: Regenerated.
17752         * sysdeps/i386/fpu/libm-test-ulps: Update.
17753         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17755 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
17757         * math/auto-libm-test-in: Add more tests of tgamma.
17758         * math/auto-libm-test-out: Regenerated.
17759         * sysdeps/i386/fpu/libm-test-ulps: Update.
17760         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17762         * math/auto-libm-test-in: Add more tests of tanh.
17763         * math/auto-libm-test-out: Regenerated.
17764         * sysdeps/i386/fpu/libm-test-ulps: Update.
17765         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17767         * math/auto-libm-test-in: Add more tests of tan.
17768         * math/auto-libm-test-out: Regenerated.
17769         * sysdeps/i386/fpu/libm-test-ulps: Update.
17770         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17772         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
17773         * math/auto-libm-test-out: Regenerated.
17774         * sysdeps/i386/fpu/libm-test-ulps: Update.
17775         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17777         * math/auto-libm-test-in: Add another test of pow.
17778         * math/auto-libm-test-out: Regenerated.
17779         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17781         * math/auto-libm-test-in: Add more tests of lgamma.
17782         * math/auto-libm-test-out: Regenerated.
17783         * sysdeps/i386/fpu/libm-test-ulps: Update.
17784         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17786         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
17787         log1p.
17788         * math/auto-libm-test-out: Regenerated.
17789         * sysdeps/i386/fpu/libm-test-ulps: Update.
17790         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17792 2015-05-01  Mark Wielaard  <mjw@redhat.com>
17794         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
17795         Elf64_Chdr structs and ELFCOMPRESS constants.
17797 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
17799         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
17800         expm1.
17801         * math/auto-libm-test-out: Regenerated.
17802         * sysdeps/i386/fpu/libm-test-ulps: Update.
17803         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17805         * math/auto-libm-test-in: Add more tests of erf and erfc.
17806         * math/auto-libm-test-out: Regenerated.
17807         * sysdeps/i386/fpu/libm-test-ulps: Update.
17808         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17810 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17812         * config.h.in (HAVE_AARCH64_BE): Add.
17814 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
17816         * math/auto-libm-test-in: Add more tests of csqrt.
17817         * math/auto-libm-test-out: Regenerated.
17818         * sysdeps/i386/fpu/libm-test-ulps: Update.
17819         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17821         * math/auto-libm-test-in: Add more tests of cosh and sinh.
17822         * math/auto-libm-test-out: Regenerated.
17823         * sysdeps/i386/fpu/libm-test-ulps: Update.
17824         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17826         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
17828 2015-04-29  Roland McGrath  <roland@hack.frob.com>
17830         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
17831         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
17833         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
17834         (euidaccess, eaccess): Define as weak aliases.
17836         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
17837         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
17838         but __suseconds_t is often 'long int' so some sources assume that
17839         type is being used (e.g. they use %ld to print tv_usec).
17841 2015-04-29  Florian Weimer  <fweimer@redhat.com>
17843         [BZ #18007]
17844         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
17845         (CVE-2014-8121)
17846         * nss/tst-nss-getpwent.c: New file.
17847         * nss/Makefile (tests): Add new test.
17849 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
17851         [BZ #18346]
17852         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
17853         exponents less than 48 as cases where high part of mantissa needs
17854         examining to determine whether argument is integral.
17855         * math/libm-test.inc (round_test_data): Add more tests.
17857 2015-04-28  Mark Wielaard  <mjw@redhat.com>
17859         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
17861 2015-04-27  David S. Miller  <davem@davemloft.net>
17863         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
17864         __tls_get_addr.
17865         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
17867 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
17869         [BZ#18333]
17870         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
17872 2015-04-27  Florian Weimer  <fweimer@redhat.com>
17874         [BZ#18333]
17875         * time/tzset.c (parse_tzname): Return error on memory allocation
17876         failure.
17877         * test-skeleton.c (struct temp_name_list): Change type of name
17878         member to non-const.
17879         (add_temp_file): Create a copy of the file name.
17880         (delete_temp_files): Deallocate memory.
17881         (create_temp_file): Add comment.
17883 2015-04-24  Florian Weimer  <fweimer@redhat.com>
17885         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
17886         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
17888 2015-04-24  Roland McGrath  <roland@hack.frob.com>
17890         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
17891         * sysdeps/arm/configure: Regenerated.
17893 2015-04-24  Florian Weimer  <fweimer@redhat.com>
17895         [BZ #17715]
17896         * time/tzfile.c (__tzfile_read): Check for large values of
17897         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
17898         * time/tzset.c (__tzstring_len): New function, based on the old
17899         __tzstring function.
17900         (__tzstring): Call __tzstring_len.
17901         (parse_tzname): New helper function extracted from
17902         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
17903         the input string.
17904         (parse_offset): New helper function extracted from
17905         __tzset_parse_tz.  Replace switch with fallthrough with
17906         initialization before sscanf.
17907         (parse_rule): Likewise.
17908         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
17909         new-style function definition.
17910         * timezone/Makefile (tests): Add tst-tzset.
17911         (tst-tzset.out): Dependencies on time zone files.
17912         (tst-tzset-ENV): Set TZDIR.
17913         (testdata/XT%): Copy crafted time zone files.
17914         * timezone/README: Mention crafted time zone files.
17915         * timezone/testdata/XT1, timezone/testdata/XT2,
17916         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
17917         files.
17918         * timezone/tst-tzset.c: New test.
17920 2015-04-24  Florian Weimer  <fweimer@redhat.com>
17922         * Makeconfig (+gccwarn): Remove -Winline.
17924 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
17926         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
17928 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
17930         * NEWS: Mention sysconf() cache information support for s390.
17931         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
17933 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
17935         * math/k_casinh.c (__kernel_casinh): Use __copysign.
17936         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
17937         (__nearbyint): Likewise.
17938         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
17939         (copysignl): Likewise.
17941 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
17943         [BZ #18287]
17944         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
17945         based on padding.  (CVE-2015-1781)
17947 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17949         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
17950         libc-vdso.h.
17951         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
17952         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
17953         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
17954         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
17955         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
17956         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
17957         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
17958         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
17959         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
17960         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
17961         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
17962         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
17963         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
17964         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
17965         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
17966         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
17967         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
17968         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
17969         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
17970         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
17971         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
17972         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
17973         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
17975 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
17977         * stdlib/setenv.c (__add_to_environ):
17978         Dump core quickly if setenv (..., NULL, ...) is called.
17979         This time, do it the right way, and pacify GCC with a pragma.
17981 2015-04-17  Roland McGrath  <roland@hack.frob.com>
17983         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
17984         IMAP->l_prev cannot be null, and #if out the code for the contrary
17985         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
17986         believe that NS (&_dl_ns[NSID]) could point outside the array.
17988         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
17989         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
17990         before using NSID as an index.
17992 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
17994         [BZ #17825]
17995         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
17996         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
17997         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
17999 2015-04-17  Roland McGrath  <roland@hack.frob.com>
18001         Add preliminary port to Google Native Client on ARM.
18002         * abi-tags (.*-.*-nacl.*): New entry.
18003         * sysdeps/arm/nacl: New directory.
18004         * sysdeps/nacl: New directory.
18006 2015-04-16  David S. Miller  <davem@davemloft.net>
18008         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
18009         lowlevellock-futex.h
18011 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
18013         * sysdeps/tile/configure.ac: New file.
18014         * sysdeps/tile/configure: Regenerated.
18016 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18018         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
18019         conditionals for weak_alias and libc_hidden_weak.
18020         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
18021         libc_hidden_weak and weak_alias.
18022         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
18023         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
18024         and weak_alias for static one.
18026 2015-04-15  David S. Miller  <davem@davemloft.net>
18028         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
18030 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
18032         [BZ #18206]
18033         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
18034           Use signed comparision instead of substraction to avoid
18035           overflow bug.
18036         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
18037           Take the sign of ret.
18038         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
18039           Do not expect precise return values. Only the sign matters.
18040         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
18041         * wcsmbs/test-wcsncmp.c: New File.
18042         * string/test-strncmp.c: Add wcsncmp support.
18044 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
18046         [BZ #6792]
18047         * math/w_log1p.c: New file.
18048         * math/w_log1pf.c: Likewise.
18049         * math/w_log1pl.c: Likewise.
18050         * math/Makefile (libm-calls): Add w_log1p.
18051         * math/s_log1pl.c (log1pl): Remove weak_alias.
18052         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
18053         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
18054         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
18055         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
18056         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
18057         [NO_LONG_DOUBLE] (log1pl): Likewise.
18058         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
18059         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
18060         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
18061         (log1p): Remove long_double_symbol.
18062         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
18063         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
18064         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
18065         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
18066         remove weak_alias for corresponding log1p function.
18067         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
18068         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
18069         * sysdeps/ia64/fpu/w_log1p.c: New file.
18070         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
18071         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
18072         * math/libm-test.inc (log1p_test_data): Add errno expectations.
18074 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
18076         [BZ #18247]
18077         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
18078         decimal exponent by 1.
18079         * stdlib/tst-strtod-round-data: Add more tests.
18080         * stdlib/tst-strtod-round.c (tests): Regenerated.
18082 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
18084         * math/auto-libm-test-in: Add more tests of clog and clog10.
18085         * math/auto-libm-test-out: Regenerated.
18086         * sysdeps/i386/fpu/libm-test-ulps: Update.
18087         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18089 2015-04-09  Roland McGrath  <roland@hack.frob.com>
18091         * Makeconfig (module-cppflags): Exclude all .v.i files.
18092         (skip-module-cppflags): Variable removed.
18094         * configure.ac (libc_config_ok): Initialize before reading
18095         preconfigure scripts, not after.
18096         * configure: Regenerated.
18098         * test-skeleton.c (TIMEOUT): Move #define to top level.
18099         (main): Grok environment variable TEST_DIRECT.  If set, print
18100         test expectation details into that file and then behave as if
18101         given --direct.
18103 2015-04-09  Florian Weimer  <fweimer@redhat.com>
18105         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
18106         warning on 32-bit.
18108 2015-04-08  David S. Miller  <davem@davemloft.net>
18110         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18112 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
18114         * math/auto-libm-test-in: Add more tests of atanh.
18115         * math/auto-libm-test-out: Regenerated.
18116         * sysdeps/i386/fpu/libm-test-ulps: Update.
18117         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18119         * math/auto-libm-test-in: Add more tests of atan.
18120         * math/auto-libm-test-out: Regenerated.
18121         * sysdeps/i386/fpu/libm-test-ulps: Update.
18122         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18124 2015-04-08  Florian Weimer  <fweimer@redhat.com>
18126         * elf/pldd.c (main): Rewrite to use struct
18127         scratch_buffer instead of extend_alloca.
18128         * elf/pldd-xx.c (find_maps): Likewise.
18129         * grp/initgroups.c: Include <scratch_buffer.h> instead of
18130         <alloca.h>.
18131         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
18132         scratch_buffer instead of extend_alloca.
18133         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
18134         grp/compat-initgroups.c.
18135         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
18136         Rewrite to use struct scratch_buffer instead of extend_alloca.
18137         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
18138         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
18140 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
18142         * math/auto-libm-test-in: Add more tests of cbrt.
18143         * math/auto-libm-test-out: Regenerated.
18144         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18146         * math/auto-libm-test-in: Add more tests of cabs.
18147         * math/auto-libm-test-out: Regenerated.
18148         * sysdeps/i386/fpu/libm-test-ulps: Update.
18149         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18151         [BZ #18210]
18152         [BZ #18211]
18153         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
18154         (__ieee754_atan2): Set FE_TONEAREST mode for internal
18155         computations.
18156         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
18157         clog10.
18158         * math/auto-libm-test-out: Regenerated.
18159         * sysdeps/i386/fpu/libm-test-ulps: Update.
18160         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18162         [BZ #18197]
18163         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
18164         (atan): Set FE_TONEAREST mode for internal computations.
18165         * math/auto-libm-test-in: Add more tests of atan.
18166         * math/auto-libm-test-out: Regenerated.
18168 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
18170         [BZ #17930]
18171         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
18173 2015-04-07  Florian Weimer  <fweimer@redhat.com>
18175         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
18177 2015-04-07  Florian Weimer  <fweimer@redhat.com>
18179         * include/scratch_buffer.h: New file.
18180         * malloc/scratch_buffer_grow.c: Likewise.
18181         * malloc/scratch_buffer_grow_preserve.c: Likewise.
18182         * malloc/scratch_buffer_set_array_size.c: Likewise.
18183         * malloc/tst-scratch_buffer.c: Likewise.
18184         * malloc/Makefile (routines): Add scratch_buffer_grow.
18185         (tests): Add test case.
18186         * malloc/Versions (GLIBC_PRIVATE): Export
18187         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
18188         __libc_scratch_buffer_set_array_size.
18190 2015-04-06  Richard Henderson  <rth@redhat.com>
18192         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
18193         * sysdeps/alpha/fpu/libm-test-ulps: Update.
18195         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
18196         unsigned int before printing.
18198 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18200         [BZ #17596]
18201         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
18202         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
18204 2015-04-02  Florian Weimer  <fweimer@redhat.com>
18206         * include/libc-internal.h (libc_max_align_t): Define.
18208 2015-04-02  Andreas Schwab  <schwab@suse.de>
18210         [BZ #16850]
18211         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
18213 2015-04-02  Mel Gorman  <mgorman@suse.de>
18215         [BZ #17195]
18216         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
18217         as well as the main arena.
18219 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
18221         [BZ #18185]
18222         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
18223         sharing L2 cache to 2 for Silvermont/Knights Landing.
18225 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
18227         [BZ #17711]
18228         * config.make.in (have-protected-data): New.
18229         * configure.ac: Check linker support for protected data symbol.
18230         * configure: Regenerated.
18231         * elf/Makefile (modules-names): Add tst-protected1moda and
18232         tst-protected1modb if $(have-protected-data) is yes.
18233         (tests): Add tst-protected1a and tst-protected1b if
18234         $(have-protected-data) is yes.
18235         ($(objpfx)tst-protected1a): New.
18236         ($(objpfx)tst-protected1b): Likewise.
18237         (tst-protected1modb.so-no-z-defs): Likewise.
18238         * elf/tst-protected1a.c: New file.
18239         * elf/tst-protected1b.c: Likewise.
18240         * elf/tst-protected1mod.h: Likewise.
18241         * elf/tst-protected1moda.c: Likewise.
18242         * elf/tst-protected1modb.c: Likewise.
18244 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
18246         [BZ #17711]
18247         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
18248         indicates it is called from do_lookup_x on relocation against
18249         protected data, skip the data definion in the executable from
18250         copy reloc.
18251         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
18252         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
18253         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
18254         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
18255         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
18256         otherwise to 0.
18257         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
18258         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
18259         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
18260         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
18261         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
18262         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
18264 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
18266         * sysdeps/nptl/pthread.h: Remove duplicate definition of
18267         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
18269 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
18271         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
18272         THREAD_SETMEM_NC.
18273         * sysdeps/x86_64/nptl/tls.h: Ditto.
18275 2015-03-27  Roland McGrath  <roland@hack.frob.com>
18277         * dlfcn/tststatic.c (main): Converted to ...
18278         (do_test): ... this.
18279         (TEST_FUNCTION): New macro.
18280         Include test-skeleton.c.
18282 2015-03-26  Alan Modra  <amodra@gmail.com>
18284         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
18285         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
18286         zero for undefined weak.
18287         (elf_machine_plt_conflict): Similarly.
18289 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
18291         * math/auto-libm-test-in: Add more tests of acosh, asinh and
18292         atanh.
18293         * math/auto-libm-test-out: Regenerated.
18294         * sysdeps/i386/fpu/libm-test-ulps: Update.
18295         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18297         * math/auto-libm-test-in: Add another test of asin.
18298         * math/auto-libm-test-out: Regenerated.
18299         * sysdeps/i386/fpu/libm-test-ulps: Update.
18300         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18302         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
18303         Remove macro.
18304         (LLL_EBX_REG): Likewise.
18305         (LLL_ENTER_KERNEL): Likewise.
18307         * math/auto-libm-test-in: Add more tests of asin.
18308         * math/auto-libm-test-out: Regenerated.
18309         * sysdeps/i386/fpu/libm-test-ulps: Update.
18310         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18312         [BZ #18138]
18313         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
18314         libc_do_syscall_args): New structure.
18315         (INTERNAL_SYSCALL_MAIN_0): New macro.
18316         (INTERNAL_SYSCALL_MAIN_1): Likewise.
18317         (INTERNAL_SYSCALL_MAIN_2): Likewise.
18318         (INTERNAL_SYSCALL_MAIN_3): Likewise.
18319         (INTERNAL_SYSCALL_MAIN_4): Likewise.
18320         (INTERNAL_SYSCALL_MAIN_5): Likewise.
18321         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
18322         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
18323         Replace conditional definitions by conditional definitions of ....
18324         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
18325         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
18326         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
18327         (libpthread-sysdep_routines): Add libc-do-syscall.
18328         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
18329         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
18330         to __NR_futex not 240.
18332 2015-03-25  Alan Modra  <amodra@gmail.com>
18334         * NEWS: Advertise TLS optimization.
18335         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
18336         (DT_PPC_NUM): Increment.
18337         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
18338         (CHECK_STATIC_TLS): Use here.
18339         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
18340         TLS descriptors.
18341         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18342         * sysdeps/powerpc/dl-tls.c: New file.
18343         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
18344         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
18345         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
18346         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
18347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
18348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
18349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
18351 2015-03-25  Alan Modra  <amodra@gmail.com>
18353         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
18354         for overlapping .opd entries" to "support...".
18355         * sysdeps/powerpc/powerpc64/configure: Regenerate
18357 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
18359         * math/auto-libm-test-in: Add more tests of acos.
18360         * math/auto-libm-test-out: Regenerated.
18361         * sysdeps/i386/fpu/libm-test-ulps: Update.
18362         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18364         * math/auto-libm-test-in: Add more tests of expm1.
18365         * math/auto-libm-test-out: Regenerated.
18366         * sysdeps/i386/fpu/libm-test-ulps: Update.
18367         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18369 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
18371         * math/auto-libm-test-in: Add more tests of cosh and sinh.
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         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
18377         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18379         * math/auto-libm-test-in: Add more tests of log2.
18380         * math/auto-libm-test-out: Regenerated.
18381         * sysdeps/i386/fpu/libm-test-ulps: Update.
18382         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18384 2015-03-23  Roland McGrath  <roland@hack.frob.com>
18386         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
18387         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
18388         _IO_IS_APPENDING bit in READ_WRITE instead.
18390 2015-03-23  Florian Weimer  <fweimer@redhat.com>
18392         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
18393         (__determine_cpumask_size): Replace extend_alloca with a
18394         variable-length array.  Do not treat res == 0 as an error.
18396 2015-03-23  Florian Weimer  <fweimer@redhat.com>
18398         [BZ #18100]
18399         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
18400         and integer overflow.
18401         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
18402         (main): Add integer overflow tests.
18403         * manual/pattern.texi (Calling Wordexp): Document additional use
18404         for WRDE_SYNTAX.
18406 2015-03-23  Alan Modra  <amodra@gmail.com>
18408         * config.h.in: Remove HAVE_ASM_PPC_REL16.
18409         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
18410         and false branch of conditional.
18411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
18412         Likewise.
18414 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
18416         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
18417         libc-modules.h
18418         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
18419         unused declaration of _hurd_intr_rpc_msg_in_trap.
18420         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
18421         defined instead of whether it is non-zero.
18422         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
18423         input constraint instead of both input and output constraint.  Use ecx
18424         clobber instead of %ecx.
18425         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
18426         mutex_unlock): Use a statement expression instead of an expression list.
18427         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
18428         type to vm_size_t instead of vm_address_t.
18429         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
18430         defined instead of whether it is non-zero.
18431         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
18432         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
18433         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
18434         comparisons with mapaddr.
18435         * nscd/nscd-client.h: Include <time.h>.
18436         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
18437         9th parameter to __vm_region instead of int.
18438         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
18439         * scripts/check-local-headers.sh (exclude): Add device/,
18440         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
18441         cthreads.h.
18443 2015-03-19  Roland McGrath  <roland@hack.frob.com>
18445         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
18446         to account for alignment padding.
18447         * sysdeps/arm/memmove.S: Likewise.
18449 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
18451         * sysdeps/unix/sysv/linux/generic/README: New file.
18453 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
18455         [BZ #18138]
18456         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
18457         (futex_abstimed_wait)
18458         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
18459         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
18460         of lll_futex_timed_wait.
18462 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
18464         [BZ #17542]
18465         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
18467 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
18469         [BZ #17090]
18470         [BZ #17620]
18471         [BZ #17621]
18472         [BZ #17628]
18473         * NEWS: Update.
18474         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
18475         entries with Static TLS too.  Skip entries past the end of the
18476         allocated DTV, from Alan Modra.
18477         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
18478         Static TLS DTV entry set up from...
18479         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
18480         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
18481         * nptl/allocatestack.c (init_one_static_tls): ... and here...
18482         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
18483         for Static TLS.
18484         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
18485         that the slot we find is associated with the given map before
18486         using its generation count.
18487         * nptl_db/db_info.c: Include ldsodefs.h.
18488         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
18489         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
18490         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
18491         (link_map::l_tls_offset): New struct field.
18492         (dtv_t::counter): Likewise.
18493         (rtld_global): New struct.
18494         (_rtld_global): New rtld variable.
18495         (dl_tls_dtv_slotinfo_list): New rtld global field.
18496         (dtv_slotinfo_list): New struct.
18497         (dtv_slotinfo): Likewise.
18498         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
18499         (td_lookup): Rename to...
18500         (td_mod_lookup): ... this.  Use new mod parameter instead of
18501         LIBPTHREAD_SO.
18502         * nptl_db/td_thr_tlsbase.c: Include link.h.
18503         (dtv_slotinfo_list, dtv_slotinfo): New functions.
18504         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
18505         addresses even if the DTV is out of date or missing them.
18506         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
18507         index zero-length arrays.
18508         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
18509         (td_lookup): Make it a macro implemented in terms of...
18510         (td_mod_lookup): ... this declaration.
18511         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
18512         (DB_MAIN_VARIABLE): Likewise.
18514 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
18516         [BZ #18134]
18517         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
18519 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
18521         * stdlib/setenv.c (__add_to_environ): Revert previous change.
18523 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
18525         [BZ #18128]
18526         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
18527         (atomic_add, atomic_increment_and_test)
18528         (atomic_decrement_and_test): Fix 64-bit arithmetic.
18530 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
18532         * stdlib/setenv.c (__add_to_environ):
18533         Dump core quickly if setenv (..., NULL, ...) is called.
18535 2015-03-13  Roland McGrath  <roland@hack.frob.com>
18537         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
18538         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
18539         all the necessary asm magic in one place.
18540         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
18541         using those.
18543 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
18545         [BZ #14906]
18546         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
18547         traced file mtime. Use consistent log message.
18548         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
18549         (register_traced_file): Call install_watches. Always set mtime.
18550         (invalidate_cache): Iterate over all trace files. Call install_watches.
18551         (inotify_check_files): Don't inline. Handle watching parent
18552         directories and configuration file movement in and out.
18553         (handle_inotify_events): New function.
18554         (main_loop_poll): Call handle_inotify_events.
18555         (main_loop_epoll): Likewise.
18556         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
18557         (struct traced_file): Use array of inotify fds. Add parent directory,
18558         and basename.
18559         (struct database_dyn): Remove unused file_mtime.
18560         (init_traced_file): New inline function.
18561         (define_traced_file): New macro.
18562         * nss/nss_db/db-init.c: Use define_traced_file.
18563         (_nss_db_init): Use init_traced_file.
18564         * nss/nss_files/files-init.c: Use define_traced_file.
18565         (_nss_files_init): Use init_traced_file.
18567 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
18569         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
18570         [_LIBC]: Do not include <stdlib.h>.
18571         [!_LIBC] (abort): Remove declaration.
18572         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
18573         _FP_STATIC_ASSERT instead of conditionally calling abort.
18574         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
18575         (_FP_EXTEND_CNAN): Likewise.
18576         (FP_TRUNC): Likewise.
18577         (__FP_CLZ): Likewise.
18578         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
18580 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
18582         * manual/string.texi (XPG basename): Fix prototype.
18584 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
18586         [BZ #18080]
18587         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
18588         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
18589         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
18590         (__setcontext): Likewise.
18591         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
18592         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
18593         Call rt_sigprocmask syscall one time to set new signal mask
18594         and retrieve the current signal mask instead of two calls.
18595         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
18596         (__swapcontext): Likewise.
18597         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
18598         * stdlib/tst-setcontext2.c: New file.
18600 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
18602         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18604 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
18606         [BZ #18093]
18607         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
18608         the wrong size.
18610 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
18612         [BZ #18043]
18613         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
18615 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
18617         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
18618         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
18619         Remove define.
18620         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
18621         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
18622         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
18623         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
18624         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
18625         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
18626         define.
18627         * nptl_db/td_symbol_list.c (td_lookup): Remove
18628         HAVE_ASM_GLOBAL_DOT_NAME code.
18629         * sysdeps/powerpc/powerpc64/configure.ac: Remove
18630         HAVE_ASM_GLOBAL_DOT_NAME check.
18631         * sysdeps/powerpc/powerpc64/configure: Regenerate.
18632         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
18633         (DOT_LABEL): Remove define.
18634         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
18635         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
18636         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
18637         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
18638         (__TLS_GET_ADDR): Likewise.
18639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
18640         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
18642 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
18644         [BZ #18111]
18645         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
18646         (_FPU_SETCW): Initialize cw from fpsr before storing.
18647         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
18648         (fesetexceptflag): Rewrite using fpu_control.h.
18649         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
18651 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
18653         [BZ #18110]
18654         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
18655         asms.
18656         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
18658 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
18660         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
18661         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
18662         abort.
18663         (_FP_FMA): Likewise.
18664         (_FP_DIV): Likewise.
18666 2015-03-10  Roland McGrath  <roland@hack.frob.com>
18668         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
18669         with 0 in that case.
18670         * Makefile (summarize-tests): New canned sequence, factored out of
18671         commands for targets tests and xtests.  Display summary lines that
18672         don't start with PASS: or XFAIL: rather than ones that do start with
18673         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
18674         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
18675         do start with ERROR: or FAIL:.
18676         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
18677         (except for [$(build-shared) = yes]).
18678         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
18679         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
18680         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
18681         * nptl/Makefile: Revert 2015-03-04 changes.
18682         [$(CXX) empty] (tests-unsupported): New variable.
18683         * debug/Makefile: Likewise.
18685         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
18686         gnulib file.  Replace __attribute with __attribute__ throughout.
18688 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
18690         * sysdeps/hppa/fpu/libm-test-ulps: Update.
18692 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
18694         [BZ #18104]
18695         * math/auto-libm-test-in: Add another test of pow.
18696         * math/auto-libm-test-out: Regenerated.
18698 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18700         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
18701         $(config-cflags-nofma).
18703 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
18705         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
18706         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
18707         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
18708         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
18709         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
18710         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
18711         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
18712         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
18713         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
18714         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
18715         Add comment on closing #endif.
18717 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
18719         * posix/wordexp.c (CHAR_IN_SET): New macro.
18720         (parse_param): Use it.
18722 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18724         * sysdeps/powerpc/fpu/libm-test-ulps: update.
18726 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
18728         [BZ #18043]
18729         * posix/wordexp.c (parse_param): Fix buffer overflow.
18730         * posix/wordexp-test.c (test_case): Add test case.
18732 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
18734         [BZ #18042]
18735         * posix/wordexp.c (parse_backtick): Fix off-by-one.
18736         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
18738 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
18740         [BZ #18043]
18741         * posix/wordexp-test.c (test_case): Add test for BZ #18043
18742         (do_bz18043): Delete.
18743         (at_page_end): New.
18744         (testit): Refactor to have words at the edge of unreadable page.
18746 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
18748         [BZ #16734]
18749         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
18750         Cleanup read-only streams as well.
18751         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
18753 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18755         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
18756         <bits/libc-lockP.h>
18758 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
18760         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
18761         on [__KERNEL__].
18762         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
18763         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
18764         * soft-fp/op-common.h (_FP_DECL): Likewise.
18766 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
18768         * elf/ifuncdep2.c (global): Replace
18769         __attribute__((visibility("protected"))) with
18770         asm (".protected global").
18771         * elf/ifuncmod1.c (global): Likewise.
18772         * elf/ifuncmod5.c (global): Likewise.
18774 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
18776         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
18777         <asm/sfp-machine.h> instead of <sfp-machine.h>.
18779 2015-03-06  Roland McGrath  <roland@hack.frob.com>
18781         * manual/install.texi (Configuring and compiling):
18782         Document test-wrapper-env-only.
18783         * INSTALL: Regenerated.
18785 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
18787         [BZ #18043]
18788         * posix/wordexp.c (parse_param): Fix buffer overflow.
18789         * posix/wordexp-test.c (do_bz18043): Add test case.
18791 2015-03-06  Vincent Bernat  <vincent@bernat.im>
18793         * time/tst-strptime2.c (do_test): Ensure failing tests are
18794         reported correctly.
18795         * time/tst-strptime3.c (do_test): Likewise.
18797 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
18799         Fix aio_error thread-safety.
18800         * sysdeps/pthread/aio_error.c: New file
18801         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
18802         synchronization.
18804 2015-03-06  Florian Weimer  <fweimer@redhat.com>
18806         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
18807         (group_number, vfprintf): Use it.
18808         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
18809         (JUMP, REF): Use it.
18810         (WORK_BUFFER_SIZE): New enum constant.
18811         (process_arg, vfprintf): Use it.
18813 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
18815         * manual/errno.texi (Error Messages): Complete example function
18816         by adding missing #define.
18817         (program_invocation_name): Add statement indicating GNU
18818         extension and reference which header file declares the variable.
18819         (program_invocation_short_name): Likewise.
18821 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
18823         * manual/errno.texi (Error Messages): Delete strerror ISO C89
18824         compatibility note.
18826 2015-03-05  Roland McGrath  <roland@hack.frob.com>
18828         * Makeconfig (test-wrapper-env-only): New variable.
18829         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
18830         then use that with $(test-wrapper-env-only) rather than using
18831         $(test-wrapper-env) $(run-program-env) $($*-ENV).
18833 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
18835         [BZ #18082]
18836         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
18837         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
18838         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
18839         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
18840         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
18841         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
18842         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
18843         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
18844         Likewise.
18845         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
18846         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
18847         Likewise.
18848         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
18849         Likewise.
18850         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
18851         Likewise.
18852         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
18853         Likewise.
18854         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
18855         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
18856         Likewise.
18857         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
18858         Likewise.
18859         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
18860         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
18862 2015-03-04  Roland McGrath  <roland@hack.frob.com>
18864         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
18865         (ETH_ALEN): New macro.
18866         (struct ether_addr): Use it for length of ether_addr_octet.
18868         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
18869         (setdb): Don't call __nss_configure_lookup for "rpc".
18870         (do_test): Don't call test_rpc.
18871         (output_rpcent, test_rpc): Functions moved ...
18872         * sunrpc/test-rpcent.c: ... to this new file.
18873         * sunrpc/Makefile (tests): Add it.
18875         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
18876         __xpg_sigpause.
18877         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
18878         * nptl/tst-signal6.c: Likewise.
18879         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
18880         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
18882         * configure.ac (libc_cv_cxx_link_ok): New check.
18883         Reset CXX to empty if it fails to link.
18884         * configure: Regenerated.
18885         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
18886         bug-atexit3-lib only if $(CXX) is nonempty.
18887         * nptl/Makefile (tests): Likewise for tst-cancel24.
18888         (tests, tests-static): Likewise for tst-cancel24-static.
18889         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
18890         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
18891         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
18892         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
18894 2015-03-04  Andreas Schwab  <schwab@suse.de>
18896         [BZ #17631]
18897         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
18898         for non-GCC compilers.
18899         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
18900         Likewise.
18902 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
18904         [BZ #17776]
18905         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
18906         integer before bitwise and assembly operations.
18907         (feclearexcept): Likewise.
18908         * math/test-fenvinline.c: New file.
18909         * math/Makefile: Add test-fenvinline test.
18911 2015-03-03  Alan Modra  <amodra@gmail.com>
18913         [BZ #16512]
18914         * scripts/localplt.awk: Strip off symbol version.
18915         * NEWS: Mention bug fix.
18917 2015-03-02  Roland McGrath  <roland@hack.frob.com>
18919         * sysdeps/pthread/timer_routines.c
18920         (timer_free_list, thread_free_list, thread_active_list): Make static.
18922 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
18924         [BZ #17779]
18925         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
18926         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
18927         Undefine.
18928         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18929         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
18930         Likewise.
18931         * sysdeps/unix/sysv/linux/sh/kernel-features.h
18932         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
18933         Likewise.
18935 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
18937         [BZ #18036]
18938         * posix/fnmatch_loop.c (END): Detect invalid pattern.
18939         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
18941 2015-03-02  Andreas Schwab  <schwab@suse.de>
18943         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
18944         variable name.
18946 2015-03-02  Florian Weimer  <fweimer@redhat.com>
18948         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
18949         Return error status.
18951 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
18953         [BZ #15969]
18954         * locale/findlocale.c (_nl_find_locale): Introduce const
18955         version of loc_name and drop unsafe type casts.
18957 2015-02-27  Roland McGrath  <roland@hack.frob.com>
18959         * dlfcn/tststatic2.c (main): Converted to ...
18960         (do_test): ... this.
18961         (TEST_FUNCTION): New macro.
18962         Include test-skeleton.c.
18964 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
18966         [BZ #17711]
18967         * elf/Makefile (tests): Add vismain only if PIE is enabled.
18968         (tests-pie): Add vismain.
18969         (CFLAGS-vismain.c): New.
18970         * elf/vismain.c: Add comments for PIE requirement.
18972 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
18974         [BZ #18046]
18975         [BZ #18047]
18976         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
18977         0x1p-56L as threshold for just returning the argument.
18978         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
18979         0x1p-32L as threshold for just returning the argument.
18980         * math/auto-libm-test-in: Add more tests of atanh.
18981         * math/auto-libm-test-out: Regenerated.
18982         * sysdeps/i386/fpu/libm-test-ulps: Update.
18983         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
18985 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
18987         * string/bcopy.c (bcopy): Call memmove for performance.
18989 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
18991         * string/bzero.c (__bzero): Call memset for performance.
18993 2015-02-27  John David Anglin  <dave.anglin@bell.net>
18995         [BZ #18068]
18996         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
18997         to 00100000.
18999 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
19001         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
19003 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
19005         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
19006         (__kernel_standard): Use CSTR macro when setting exc.name.
19007         * sysdeps/ieee754/Makefile [$(subdir) = math]
19008         (CFLAGS-k_standard.c): Remove variable.
19010         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
19011         setting p and q from "else if" to "else".
19012         (qzero): Likewise.
19013         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
19014         (qone): Likewise.
19015         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
19016         (qzerof): Likewise.
19017         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
19018         (qonef): Likewise.
19019         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
19020         (qzero): Likewise.
19021         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
19022         (qone): Likewise.
19024         [BZ #18038]
19025         [BZ #18039]
19026         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
19027         return pi/2 for arguments below 0x1p-113L.
19028         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
19029         return pi/2 for arguments below 0x1p-106L.
19030         * math/auto-libm-test-in: Add more tests of acos.
19031         * math/auto-libm-test-out: Regenerated.
19033         [BZ #16351]
19034         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
19035         (MO): New macro.
19036         (__ieee754_asin): Force underflow exception for results with small
19037         absolute value.
19038         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
19039         (MO): New macro.
19040         (__ieee754_asinf): Force underflow exception for results with
19041         small absolute value.
19042         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
19043         (__ieee754_asin): Force underflow exception for results with small
19044         absolute value.
19045         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
19046         (__ieee754_asinf): Force underflow exception for results with
19047         small absolute value.
19048         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
19049         (__ieee754_asinl): Force underflow exception for results with
19050         small absolute value.
19051         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
19052         (__ieee754_asinl): Force underflow exception for results with
19053         small absolute value.
19054         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
19055         (__ieee754_asinl): Force underflow exception for results with
19056         small absolute value.
19057         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
19058         Include <math.h>.
19059         * math/auto-libm-test-in: Do not mark underflow exceptions as
19060         possibly missing for bug 16351.
19061         * math/auto-libm-test-out: Regenerated.
19063         [BZ #18030]
19064         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
19065         of power of 2 down when low part has opposite sign.
19066         * math/libm-test.inc (logb_test_data): Add more tests.
19068 2015-02-26  Andreas Schwab  <schwab@suse.de>
19070         [BZ #18032]
19071         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
19072         over collating symbol inside a bracket expression.  Minor cleanup.
19073         * posix/tst-fnmatch3.c (do_test): Add test case.
19075 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
19077         [BZ #18029]
19078         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
19079         Adjust exponent of power of 2 down when low part has opposite
19080         sign.
19081         * math/libm-test.inc (ilogb_test_data): Add more tests.
19083 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
19085         [BZ #15969]
19086         * locale/findlocale.c (_nl_find_locale): Fix constness error in
19087         the previous change.
19089         [BZ #15969]
19090         * locale/findlocale.c (_nl_find_locale): Retry archive search
19091         after alias expansion.
19093 2015-02-25  Roland McGrath  <roland@hack.frob.com>
19095         * iconv/tst-iconv3.c (main): Converted to ...
19096         (do_test): ... this.
19097         (TEST_FUNCTION): New macro.
19098         Include test-skeleton.c.
19100         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
19101         (convert): Make function static.
19102         (test_unalign): Likewise.  Add const to argument pointee types.
19103         (main): Replace with static function do_test.
19104         Print "Succeeded." only if RET is zero.
19105         (TEST_FUNCTION): New macro.
19106         Include test-skeleton.c.
19108         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
19109         returns a null pointer.
19111 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19113         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
19114         to __memcpy_ppc only for static builds.
19116 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
19118         [BZ #18020]
19119         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
19120         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
19121         * math/auto-libm-test-in: Add more tests of asinh.
19122         * math/auto-libm-test-out: Regenerated.
19123         * sysdeps/i386/fpu/libm-test-ulps: Update.
19124         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19126 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
19128         [BZ #15850]
19129         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
19130         and ip6_mtuinfo definitions here.
19131         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
19132         in this define too.  Update comment.
19134 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
19136         * elf/sprof.c (load_shobj): Tweak error message to match others.
19138 2015-02-24  Kevin Easton  <kevin@guarana.org>
19140         [BZ #16145] (partial fix)
19141         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
19142         to reduce lock contention.
19144 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
19146         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
19147         (struct timex): Update time comment.
19148         (ADJ_SETOFFSET): Define.
19150 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
19152         [BZ #18019]
19153         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
19154         2**56 not 2**28 as threshold for log (2x) formula.
19155         * math/auto-libm-test-in: Add more tests of acosh.
19156         * math/auto-libm-test-out: Regenerated.
19157         * sysdeps/i386/fpu/libm-test-ulps: Update.
19158         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19160 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
19162         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
19163         parenthesis around the buf assignment.
19164         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
19166 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
19168         [BZ #16783]
19169         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
19170         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
19171         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
19172         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
19173         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
19174         * math/libm-test.inc (scalb_test_data): Add more tests.
19176 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
19178         [BZ #17916]
19179         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
19180         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
19182 2015-02-24  Eric Rannaud  <e@nanocritical.com>
19184         [BZ #17523]
19185         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
19186         * io/bits/fcntl2.h (open): Use it.
19187         (openat): Likewise.
19188         * io/open.c (__libc_open): Likewise.
19189         * io/open64.c (__libc_open64): Likewise.
19190         * io/open64_2.c (__open64_2): Likewise.
19191         * io/open_2.c (__open_2): Likewise.
19192         * io/openat.c (__openat): Likewise.
19193         * io/openat64.c (__openat64): Likewise.
19194         * io/openat64_2.c (__openat64_2): Likewise.
19195         * io/openat_2.c (__openat_2): Likewise.
19196         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
19197         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
19198         * sysdeps/posix/open64.c (__libc_open64): Likewise.
19199         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
19200         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
19201         (__open_nocancel): Likewise.
19202         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
19203         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
19204         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
19206 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19208         [BZ #14841]
19209         * resolv/gethnamaddr.c (getanswer): Skip logging if
19210         RES_USE_DNSSEC is set.
19211         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
19213 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
19215         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
19217 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
19219         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
19220         201304L, for Unicode 7.
19222 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
19224         [BZ #17836]
19225         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
19226         shared library.  Add gmon-start.os otherwise.
19227         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
19228         $(objpfx)gmon-start.os if builing shared library.
19229         ($(objpfx)g$(static-start-installed-name)): Likewise.
19231 2015-02-23  Andreas Schwab  <schwab@suse.de>
19233         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
19235 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
19237         [BZ #17269]
19238         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
19239         (enlarge_userbuf): Likewise.
19241 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
19243         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
19244         * math/atest-exp.c (TIMEOUT): Adjust to 200.
19245         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
19246         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
19248 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
19250         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
19251         expression inside statement expression.
19253 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
19255         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
19256         <sysdeps/nptl/lowlevellock.h> and remove macros and
19257         functions that are now defined there.
19258         (SYS_futex): Remove.
19259         (lll_compare_and_swap): Remove.
19260         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
19262 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
19264         [BZ #17999]
19265         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
19266         instead of scandirat.
19267         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
19268         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
19269         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
19270         __scandirat.
19271         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
19272         (__scandirat): Declare.  Use libc_hidden_proto.
19273         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
19274         Remove variable.
19275         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
19277 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
19279         [BZ #15319]
19280         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
19281         (MO): New macro.
19282         (__ieee754_atan2): For results with small absolute value, force
19283         underflow exception and remove excess range and precision from
19284         return value.
19285         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
19286         (MO): New macro.
19287         (__ieee754_atan2f): For results with small absolute value, force
19288         underflow exception and remove excess range and precision from
19289         return value.
19290         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
19291         (MO): New macro.
19292         (__atan): For results with small absolute value, force underflow
19293         exception and remove excess range and precision from return value.
19294         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
19295         (MO): New macro.
19296         (__atanf): For results with small absolute value, force underflow
19297         exception and remove excess range and precision from return value.
19298         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
19299         <math.h>.
19300         (__ieee754_atan2): Force underflow exception for results with
19301         small absolute value.
19302         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
19303         <math_private.h>.
19304         (atan): Force underflow exception for results with small absolute
19305         value.
19306         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
19307         (__atanf): Force underflow exception for results with small
19308         absolute value.
19309         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
19310         <math.h>.
19311         (__atanl): Force underflow exception for results with small
19312         absolute value.
19313         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
19314         (__atanl): Force underflow exception for results with small
19315         absolute value.
19316         * sysdeps/x86/fpu/bits/mathinline.h
19317         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
19318         (__ieee754_atan2): Only define inline for long double.
19319         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
19320         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
19321         * math/auto-libm-test-in: Do not mark underflow exceptions as
19322         possibly missing for bug 15319.  Add more tests of atan2.
19323         * math/auto-libm-test-out: Regenerated.
19324         * math/libm-test.inc (casin_test_data): Do not mark underflow
19325         exceptions as possibly missing for bug 15319.
19326         (casinh_test_data): Likewise.
19327         * sysdeps/i386/fpu/libm-test-ulps: Update.
19329 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
19331         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
19332         * sysdeps/mips/bits/endian.h: Fix comments.
19334 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
19336         [BZ #17996]
19337         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
19338         (hdestroy_r): Likewise.
19339         (hsearch_r): Likewise.
19340         (__hcreate_r): Declare and use libc_hidden_proto.
19341         (__hdestroy_r): Likewise.
19342         (__hsearch_r): Likewise.
19343         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
19344         (hcreate): Call __hcreate_r instead of hcreate_r.
19345         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
19346         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
19347         as weak alias of __hcreate_r.
19348         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
19349         __hdestroy_r.
19350         (hsearch_r): Rename to __hsearch_r and define as weak alias of
19351         __hsearch_r.
19352         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
19353         Remove variable.
19354         (test-xfail-XPG4/search.h/linknamespace): Likewise.
19355         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
19356         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
19357         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
19359 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
19361         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
19362         arena_lock into a single arena_get.
19364 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
19366         * dl-reloc.c: Inlucde libc-internal.h.
19367         (_dl_try_allocate_static_tls): Call ALIGN_UP.
19368         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
19369         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
19370         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
19371         (grow_heap): Likewise.
19372         * malloc/malloc.c: Include libc-internal.h.
19373         (do_check_malloc): Call powerof2.
19374         (sysmalloc): Use pagesize. Call ALIGN_UP.
19375         (systrim): Use pagesize.
19376         (mremap_chunk): Use pagesize. Call ALIGN_UP.
19377         (__libc_valloc): Use pagesize.
19378         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
19380 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
19382         [BZ #17991]
19383         * include/sys/resource.h (__getrlimit64): Declare.  Use
19384         libc_hidden_proto.
19385         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
19386         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
19387         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
19388         getrlimit64.
19389         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
19390         __getrlimit64.
19391         [!getrlimit64] (getrlimit64): Define as weak alias of
19392         __getrlimit64.  Use libc_hidden_weak.
19393         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
19394         using __getrlimit64 not __new_getrlimit64.
19395         (__GI_getrlimit64): Likewise.
19396         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
19397         Likewise.
19398         (__GI_getrlimit64): Likewise.
19399         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
19400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
19401         (getrlimit): Add __getrlimit64 alias.
19402         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
19403         Likewise.
19404         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
19405         Remove variable.
19406         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
19407         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
19409 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
19411         * libio/fileops.c: Add missing sys/mman.h
19412         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
19414 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
19416         * manual/math.texi (Errors in Math Functions): Clarify goals
19417         regarding inexact and underflow exceptions.
19419 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
19421         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
19422         * sysdeps/mips/memset.S: Ditto.
19424 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
19426         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
19428 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
19430         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
19431         (__v1longjmp): Remove versioned symbol.
19432         (__v1siglongjmp): Remove alias and versioned symbol.
19433         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
19434         (__v2siglongjmp): Likewise.
19436 2015-02-16  Torvald Riegel  <triegel@redhat.com>
19438         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
19440 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
19442         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
19444 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
19446         [BZ #17987]
19447         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
19448         zero result does not depend on the sign resulting from
19449         subtraction.
19450         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
19451         Likewise.
19452         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
19453         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
19454         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
19455         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
19456         * math/libm-test.inc (remquo_test_data): Add more tests.
19458 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
19460         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
19461         Problem reported by J William Piggott.
19463 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
19465         [BZ #17978]
19466         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
19467         products 4 * y and 2 * y where those would overflow.
19468         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
19469         Likewise.
19470         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
19471         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
19472         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
19473         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
19474         * math/libm-test.inc (remquo_test_data): Add more tests.
19476         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
19478         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
19479         [defined _COMPILING_NEWLIB].
19480         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
19481         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
19483         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
19484         [!defined __mips_isa_rev || __mips_isa_rev < 6].
19486 2015-02-16  Torvald Riegel  <triegel@redhat.com>
19488         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
19489         acquired.
19491 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
19493         [BZ #17792]
19494         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
19495         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
19496         HOST_STACK_END_ADDR): Likewise.
19498 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
19500         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
19501         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
19502         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
19504 2015-02-13  Roland McGrath  <roland@hack.frob.com>
19506         * sysdeps/generic/c++-types.data: New file.
19507         * sysdeps/generic/ld.abilist: New file.
19508         * sysdeps/generic/libBrokenLocale.abilist: New file.
19509         * sysdeps/generic/libanl.abilist: New file.
19510         * sysdeps/generic/libc.abilist: New file.
19511         * sysdeps/generic/libcrypt.abilist: New file.
19512         * sysdeps/generic/libdl.abilist: New file.
19513         * sysdeps/generic/libm.abilist: New file.
19514         * sysdeps/generic/libpthread.abilist: New file.
19515         * sysdeps/generic/libresolv.abilist: New file.
19516         * sysdeps/generic/librt.abilist: New file.
19518 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
19520         [BZ #17569]
19521         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
19522         Compute absolute value of x as modified by fmod, not original
19523         value of x.
19524         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
19525         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
19526         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
19527         RUN_TEST_ffI_f1_mod8.
19528         (remquo_test_data): Add more tests.
19530 2015-02-13  Roland McGrath  <roland@hack.frob.com>
19532         * sysdeps/init_array/pt-crti.S: New file.
19534 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
19536         [BZ #17967]
19537         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
19538         __builtin_fmaf instead of relying on contraction of a * b + c.
19540 2015-02-12  J William Piggott  <elseifthen@gmx.com>
19542         [BZ #17969]
19543         * manual/time.texi: correct the zoneinfo path in the TZ Variable
19544         node.
19546 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
19548         [BZ #17964]
19549         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
19550         __builtin_fma instead of relying on contraction of a * b + c.
19552 2015-02-12  Roland McGrath  <roland@hack.frob.com>
19554         * Makeconfig (ASFLAGS): Add -Werror=undef.
19555         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
19556         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
19557         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
19559         * Makeconfig (after-link): New variable.
19560         (+link-pie, +link-pie-tests): Use it.
19561         (+link-static, +link-static-tests): Likewise.
19562         (+link, +link-tests): Likewise.
19563         * Makerules (build-module, build-module-asneeded): Likewise.
19564         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
19565         Likewise.
19566         * elf/Makefile ($(objpfx)ld.so): Likewise.
19568 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
19570         [BZ #17965]
19571         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
19572         both struct timeval and struct timespec.
19574 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
19576         [BZ #16560]
19577         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19578         and redefine.
19579         (__ieee754_exp2l): Do not multiply small fractional parts by
19580         M_LN2l.
19581         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
19582         small argument.
19583         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
19584         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
19585         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
19586         * math/auto-libm-test-in: Add more tests of exp2.
19587         * math/auto-libm-test-out: Regenerated.
19589 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19591         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
19592         unaligned path.
19594 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19596         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
19597         little endian.
19599 2015-02-12  Andreas Schwab  <schwab@suse.de>
19601         [BZ #15790]
19602         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
19603         Filter out elision flags from value returned in kind.
19604         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
19605         * nptl/tst-pthread-mutexattr.c: New file.
19607 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19609         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
19610         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
19611         into gnu-gnu, and update comment to refer to abi-tags.
19613 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
19615         [BZ #15467]
19616         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
19617         (__sincos): Set errno to EDOM for infinite argument.
19618         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
19619         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
19620         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
19621         (__sincosl): Set errno to EDOM for infinite argument.
19622         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
19623         (__sincosl): Set errno to EDOM for infinite argument.
19624         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
19625         (__sincosl): Set errno to EDOM for infinite argument.
19626         * math/libm-test.inc (sincos_test_data): Test errno setting.
19628 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
19630         * string/strxfrm_l.c: Remove #define STRCMP.
19631         * string/strcoll_l.c: Remove #define STRLEN.
19632         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
19633         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
19635 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
19637         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
19638         * sysdeps/mips/mips32/sfp-machine.h: ... here.
19639         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
19640         * sysdeps/mips/mips64/Makefile: ... here.
19641         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
19642         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
19643         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
19644         * sysdeps/mips/mips64/sfp-machine.h: ... here.
19645         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
19646         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
19647         * sysdeps/mips/mips64/n64/Implies: Likewise.
19649 2015-02-10  Roland McGrath  <roland@hack.frob.com>
19651         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
19652         <sys/time.h>, <string.h>, and <errno.h>.
19653         (dest_offset, dest_address, value, zero): Remove unused variables.
19654         (ldouble): Remove typedef.
19655         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
19656         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
19657         1).  Fix code style.
19658         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
19659         (check): Function removed.
19660         (CHECK): New macro.
19661         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
19662         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
19663         Don't call set_sigaction_FP and remove_sigaction_FP here.
19664         (ldouble_test): Just use 'long double' as macro argument, no need for
19665         the 'ldouble' typedef.
19666         (do_test): Set up SIGFPE handler at start, using plain signal rather
19667         than sigaction.  Fix code style.
19669 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
19671         [BZ #17949]
19672         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
19673         jump label.
19675 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
19677         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
19678         * sysdeps/powerpc/powerpc32/configure: Regenerated.
19680         * sysdeps/powerpc/configure.ac: Remove file.
19681         * sysdeps/powerpc/configure: Likewise.
19683         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
19684         [sysdep_routines]: Remove wordcopy-power6 object.
19685         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
19686         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
19687         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
19688         (__memmove_ppc32): Likewise.
19689         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
19690         file.
19691         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
19692         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
19693         Remove preprocessor.
19695         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
19696         [sysdep_routines]: Remove wide chars objects.
19697         [wcsmbs]: New rule for wide char objects.
19699         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19700         Remove wordcopy-power6 obejct.
19701         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
19702         Use local call for wordcopy and memcpy symbols.
19703         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
19704         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
19705         implementation for loader.
19706         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
19708         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19709         Remove wordcopy-power7 object.
19710         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
19711         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
19712         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
19713         (_wordcopy_fwd_dest_aligned): Likewise.
19714         (_wordcopy_bwd_aligned): Likewise.
19715         (_wordcopy_bwd_dest_aligned): Likewise.
19717         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
19718         Rewrite to call __memmove_ppc instead of include default
19719         implementation.
19721         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19722         Remove wide chars objects.
19723         [wcsmbs]: New rule for wide char objects.
19725 2015-02-09  Andreas Schwab  <schwab@suse.de>
19727         [BZ #17912]
19728         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
19729         in terms of __O_DIRECTORY.
19731 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19733         * time/getdate.c: Include <stdbool.h>.
19734         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
19735         call PTR_MANGLE.
19736         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
19737         PTR_DEMANGLE.
19739 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
19741         Add ersatz _Static_assert on older C hosts
19742         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
19743         pre-C11 C platform that is not known to support _Static_assert.
19745 2015-02-07  Richard Braun  <rbraun@sceen.net>
19747         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
19748         sigstate.
19749         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
19751 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19753         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
19754         priority against unexistent AIO_PRIO_DELTA_MAX.
19755         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
19756         instead of int.
19757         * misc/fchflags.c (fchflags): Likewise.
19758         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
19759         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
19760         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
19761         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
19762         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
19763         Declare macros.
19764         [__USE_MISC] (chflags, fchflags): Declare functions.
19765         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
19766         EINVAL when nfds is greater than FD_SETSIZE.
19767         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
19768         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
19769         45.
19770         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
19771         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
19772         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
19773         MACH_RCV_TIMED_OUT.
19774         * hurd/hurd/signal.h (_hurd_self_sigstate,
19775         _hurd_critical_section_lock, _hurd_critical_section_unlock):
19776         Explicit casts from void *.
19777         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
19778         * abi-tags: Rename gnu-gnu os into gnu.
19780         [BZ #4719]
19781         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
19782         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
19783         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
19784         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
19785         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
19786         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
19788         [BZ #17944]
19789         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
19790         duplicates ADDR->sun_path with sockaddr LEN limitation.
19791         * sysdeps/mach/hurd/connect.c: Include <string.h>
19792         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
19793         * sysdeps/mach/hurd/sendmsg.c: Likewise.
19794         * sysdeps/mach/hurd/sendto.c: Likewise.
19795         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
19796         implementing it by hand.
19798 2015-02-06  Roland McGrath  <roland@hack.frob.com>
19800         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
19801         Use sfi_breg on ldr.
19802         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
19803         Likewise.
19805         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
19806         it's defined.
19807         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
19808         Test SIGSETXID only if it's defined.
19810         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
19812         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
19813         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
19815         * nptl/tst-align2.c: Moved ...
19816         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
19817         * nptl/Makefile (tests): Remove tst-align2.
19818         * sysdeps/unix/sysv/linux/Makefile
19819         [$(subdir) = nptl] (tests): Add tst-align-clone.
19820         * nptl/tst-getpid1.c: Moved ...
19821         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
19822         * nptl/tst-getpid2.c: Moved ...
19823         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
19824         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
19825         * sysdeps/unix/sysv/linux/Makefile
19826         [$(subdir) = nptl] (tests): ... here.
19827         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
19828         * sysdeps/unix/sysv/linux/Makefile
19829         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
19831         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
19832         Drop trailing \n from perror argument.  Use return rather than exit.
19834         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
19835         on [SA_SIGINFO].
19836         * nptl/tst-cancel21.c (do_test): Likewise.
19837         * debug/tst-backtrace6.c: Include <signal.h> first thing.
19838         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
19839         [!SA_SIGINFO]: Make it a stub test.
19841         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
19842         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
19844         * posix/tst-getlogin.c: Move to ...
19845         * login/tst-getlogin.c: ... here.
19846         * posix/Makefile (tests): Move tst-getlogin to ...
19847         * login/Makefile (tests): ... here.
19849         * libio/tst-atime.c (do_test): Move local variables SV and E
19850         inside [ST_NOATIME] conditional.
19852         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
19854         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
19856         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
19857         (wait_code): New function replaces macro.
19858         Call nanosleep rather than syscall.
19860         * nptl/pt-system.c: Rewritten.  Put everything under
19861         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
19862         Use IFUNC to redirect when possible.
19864         * nptl/pt-longjmp.c: Rewritten.  Put everything under
19865         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
19866         Use IFUNC to redirect when possible.
19868         * nptl/pt-fork.c: Rewritten.  Put everything under
19869         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
19870         Use IFUNC to redirect when possible.
19871         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
19873         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
19874         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
19875         unconditionally nowadays.  This included the only reference to
19876         __vdso_clock_gettime that appears outside libc proper.
19877         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
19878         Remove version set (containing only __vdso_clock_gettime).
19879         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
19880         Add attribute_hidden.
19881         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
19882         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
19883         libc_hidden_data_def.
19884         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
19885         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
19887         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
19888         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
19889         setrpcent, and getrpcport to ...
19890         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
19891         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
19892         getrpcbynumber_r, and getrpcent_r to ...
19893         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
19894         * inet/getrpcbyname.c: Moved ...
19895         * sunrpc/getrpcbyname.c: ... here.
19896         * inet/getrpcbyname_r.c: Moved ...
19897         * sunrpc/getrpcbyname_r.c: ... here.
19898         * inet/getrpcbynumber.c: Moved ...
19899         * sunrpc/getrpcbynumber.c: ... here.
19900         * inet/getrpcbynumber_r.c: Moved ...
19901         * sunrpc/getrpcbynumber_r.c: ... here.
19902         * inet/getrpcent.c: Moved ...
19903         * sunrpc/getrpcent.c: ... here.
19904         * inet/getrpcent_r.c: Moved ...
19905         * sunrpc/getrpcent_r.c: ... here.
19906         * inet/Makefile (routines): Move those to ...
19907         * sunrpc/Makefile (routines): ... here.
19908         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
19909         the $(subdirs) list.
19910         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
19911         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
19912         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
19913         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
19915         * elf/Makefile (routines): Include $(all-dl-routines), not just
19916         $(dl-routines).
19917         (rtld-routines): Likewise.  Use = rather than :=.
19918         * sysdeps/aarch64/Makefile [$(subdir) = elf]
19919         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
19920         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
19921         * sysdeps/arm/Makefile: Likewise.
19922         * sysdeps/i386/Makefile: Likewise.
19923         * sysdeps/x86_64/Makefile: Likewise.
19924         * sysdeps/hppa/Makefile [$(subdir) = elf]
19925         (sysdep_routines, sysdep-rtld-routines): Don't add
19926         $(sysdep-dl-routines) to these.
19927         * sysdeps/ia64/Makefile: Likewise.
19928         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
19929         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
19930         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
19931         Don't add dl-static to these; sysdep-dl-routines alone is enough.
19932         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
19933         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
19934         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
19935         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
19936         * sysdeps/powerpc/Makefile [$(subdir) = elf]
19937         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
19938         these; sysdep-dl-routines alone is enough.
19940 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
19942         [BZ #17932]
19943         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
19944         where multiplication results in zero and third argument is finite
19945         and nonzero.
19946         * math/auto-libm-test-in: Add more tests of fma.
19947         * math/auto-libm-test-out: Regenerated.
19949         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
19950         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
19951         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
19952         (_FP_CMP_EQ): Likewise.
19953         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
19955         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
19956         extra argument CHECK_NAN.  Redefine as wrapper around
19957         _FP_EXTEND_CNAN.
19959 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
19961         * version.h (RELEASE): Set to "stable".
19962         (VERSION): Set to "2.21"
19963         * include/features.h (__GLIBC_MINOR__): Set to 21.
19965         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
19967 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
19968             Paul Eggert  <eggert@cs.ucla.edu>
19970         [BZ #16618]
19971         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
19972         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
19973         size in bytes. Store needed elements in wpmax. Use needed size
19974         in bytes for extend_alloca.
19976 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
19978         * manual/install.texi: Latest tested versions are GCC 4.9.2,
19979         binutls 2.25, and texinfo 5.2.
19980         * INSTALL: Regenerate.
19981         * sysdeps/nios2/configure: Regenerate.
19982         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
19983         * manual/contrib.texi: Update.
19984         * po/be.po: Update.
19985         * po/bg.po: Update.
19986         * po/ca.po: Update.
19987         * po/cs.po: Update.
19988         * po/da.po: Update.
19989         * po/de.po: Update.
19990         * po/el.po: Update.
19991         * po/eo.po: Update.
19992         * po/es.po: Update.
19993         * po/fi.po: Update.
19994         * po/fr.po: Update.
19995         * po/gl.po: Update.
19996         * po/hr.po: Update.
19997         * po/hu.po: Update.
19998         * po/ia.po: Update.
19999         * po/id.po: Update.
20000         * po/it.po: Update.
20001         * po/ja.po: Update.
20002         * po/ko.po: Update.
20003         * po/lt.po: Update.
20004         * po/nb.po: Update.
20005         * po/nl.po: Update.
20006         * po/pl.po: Update.
20007         * po/pt_BR.po: Update.
20008         * po/ru.po: Update.
20009         * po/rw.po: Update.
20010         * po/sk.po: Update.
20011         * po/sl.po: Update.
20012         * po/sv.po: Update.
20013         * po/tr.po: Update.
20014         * po/uk.po: Update.
20015         * po/vi.po: Update.
20016         * po/zh_CN.po: Update.
20017         * po/zh_TW.po: Update.
20019         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
20020         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
20021         * sysdeps/hppa/dl-irel.h: Remove #warning.
20022         * sysdeps/hppa/entry.h: Provide prototype for
20023         __canonicalize_funcptr_for_compare and cast argument.
20024         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
20025         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
20026         * sysdeps/hppa/sotruss-lib.c: New file.
20027         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
20028         (atomic_compare_and_exchange_val_acq): Use __typeof__.
20029         (atomic_compare_and_exchange_bool_acq): Likewise.
20030         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
20031         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
20033         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
20034         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
20035         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
20037 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
20039         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
20040         called function in non-PIC case.
20042 2015-01-31  David S. Miller  <davem@davemloft.net>
20044         * sysdeps/sparc/sparc32/bits/atomic.h
20045         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
20046         unlock not after it.
20047         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
20048         volatile register usage warnings from the compiler.
20050         * sysdeps/sparc/nptl/sem_init.c: Delete.
20051         * sysdeps/sparc/nptl/sem_post.c: Delete.
20052         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
20053         * sysdeps/sparc/nptl/sem_wait.c: Delete.
20054         * sysdeps/sparc/sparc32/sem_init.c: New file.
20055         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
20056         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
20057         padding explicitly initialized.
20058         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
20059         padding for in-semaphore spinlock.
20060         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
20061         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
20062         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
20063         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
20064         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
20065         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
20066         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
20067         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
20068         version.
20069         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
20070         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
20072 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
20074         [BZ #17801]
20075         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20076         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
20077         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
20078         New.
20079         (index_AVX_Fast_Unaligned_Load): Likewise.
20080         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
20081         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
20082         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
20083         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
20084         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
20085         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
20086         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
20087         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
20088         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
20090 2015-01-29  Andreas Schwab  <schwab@suse.de>
20092         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
20094 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
20096         [BZ #17892]
20097         * nscd/nscd_stat.c (send_stats): Initialize DATA.
20099 2015-01-28  Martin Sebor  <msebor@redhat.com>
20101         * math/README.libm-test: Clarify. Add "How to read the test output."
20103 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
20105         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
20106         Define to 0.
20108 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
20110         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
20111         (__HAVE_64B_ATOMICS): Define to 0.
20113 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
20115         [BZ #17885]
20116         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
20117         value to set as new flag.
20119         [BZ #16576]
20120         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
20121         and use _ARCH_PPCSQ instead.
20122         (__ieee754_sqrt): Likewise.
20123         (__ieee754_sqrtf): Likewise.
20124         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
20125         _ARCH_PPCSQ is defined.
20126         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
20127         fsqrt instruction.
20128         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
20129         _ARCH_PPCSQ is defined.
20130         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
20131         fsqrts instruction.
20132         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
20134 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20136         * iconv/loop.c: Suppress array out of bound warning caused by GCC
20137         bug (GCC BZ #64739).
20139 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
20141         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
20142         Mark _retval as used.
20143         (lll_futex_wake_unlock): Likewise.
20144         (lll_futex_timed_wait_requeue_pi): Likewise.
20146         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
20147         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
20148         register variables.
20150         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
20151         libm_hidden_def.
20153         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
20154         (__bswap_64): Mark as __always_inline.
20156 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
20158         [BZ #15378]
20159         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
20160         when none of the search directories exist.
20162 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
20164         [BZ #17869]
20165         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
20166         power8 in .machine directive.
20168         [BZ #17868]
20169         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
20170         set dependency from opd value.
20172 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
20174         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20175         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
20176         architecture.
20178 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
20180         [BZ #17870]
20181         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
20182         with uint64_t.
20183         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
20184         (uint64_t) 1.
20185         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
20186         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
20187         Replace 1UL with (uint64_t) 1.
20188         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
20189         int with uint64_t.
20191 2015-01-23  Roland McGrath  <roland@hack.frob.com>
20193         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
20194         (if_freenameindex): Likewise.
20196         * resource/getrlimit64.c: Add missing libc_hidden_def.
20198 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
20200         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
20201         __label__.
20202         (_FP_FMA): Likewise.
20203         (_FP_TO_INT_ROUND): Likewise.
20204         (_FP_FROM_INT): Likewise.
20206 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20208         [BZ #16418]
20209         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
20210         Make code racy and cancel safe.
20212 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
20214         * sysdeps/arm/unwind-resume.h: Fix copyright year.
20215         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
20216         attribution.
20218         * pwd/tst-getpw.c: Rewrite.
20220         [BZ #17702]
20221         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
20222         (modules-names): Add moddummy1 and moddummy2.
20223         ($(objpfx)tst-rec-dlopen): Define.
20224         * dlfcn/moddummy1.c: New file.
20225         * dlfcn/moddummy2.c: New file.
20226         * dlfcn/tst-rec-dlopen.c: New file.
20227         * elf/dl-cache.c (_dl_load_cache_lookup):
20228         Return char*. Copy result with alloca/strcpy/strdup.
20229         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
20230         returns char*. Free cached. If not saving realname
20231         free cached.
20232         * elf/dl-open.c (dl_open_worker): Do not assert that
20233         _r_debug->r_state is RT_CONSISTENT.
20234         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
20235         returns char*.
20237 2015-01-21  Torvald Riegel  <triegel@redhat.com>
20238             Carlos O'Donell  <carlos@redhat.com>
20240         [BZ #12674]
20241         * nptl/sem_waitcommon.c: New file.
20242         * nptl/sem_wait.c: Include sem_waitcommon.c.
20243         (__sem_wait_cleanup, do_futex_wait): Remove.
20244         (__new_sem_wait): Adapt.
20245         (__new_sem_trywait): New function.
20246         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
20247         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
20248         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
20249         (sem_timedwait): Adapt.
20250         * nptl/sem_post.c (__new_sem_post): Adapt.
20251         (futex_wake): New function.
20252         (__old_sem_post): Add release MO fence.
20253         * nptl/sem_open.c (sem_open): Adapt.
20254         * nptl/sem_init.c (__new_sem_init): Adapt.
20255         (futex_private_if_supported): New function.
20256         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
20257         (__old_sem_getvalue): Add using previous code.
20258         * sysdeps/nptl/internaltypes.h: Adapt.
20259         * nptl/tst-sem13.c (do_test): Adapt.
20260         * nptl/tst-sem11.c (main): Adapt.
20261         * nptl/sem_trywait.c: Remove.
20262         * nptl/DESIGN-sem.txt: Remove.
20263         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
20264         (gen-as-const-headers): Remove structsem.sym.
20265         * nptl/structsem.sym: Remove.
20266         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
20267         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
20268         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
20269         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
20270         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
20271         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
20272         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
20273         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
20274         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
20275         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
20276         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
20277         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
20278         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
20279         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
20280         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
20281         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
20282         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
20283         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
20284         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
20285         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
20286         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
20287         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
20289 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
20291         * INSTALL: Regenerated.
20293         * po/libc.pot: Regenerated.
20295 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
20296             Sandra Loosemore  <sandra@codesourcery.com>
20297             Andrew Jenner  <andrew@codesourcery.com>
20298             Joseph Myers  <joseph@codesourcery.com>
20299             Nathan Sidwell  <nathan@codesourcery.com>
20301         * NEWS: Mention new Nios II port.
20302         * sysdeps/nios2/Implies: New file.
20303         * sysdeps/nios2/Makefile: New file.
20304         * sysdeps/nios2/Subdirs: New file.
20305         * sysdeps/nios2/Versions: New file.
20306         * sysdeps/nios2/__longjmp.S: New file.
20307         * sysdeps/nios2/abort-instr.h: New file.
20308         * sysdeps/nios2/backtrace.c: New file.
20309         * sysdeps/nios2/bits/endian.h: New file.
20310         * sysdeps/nios2/bits/fenv.h: New file.
20311         * sysdeps/nios2/bits/link.h: New file.
20312         * sysdeps/nios2/bits/setjmp.h: New file.
20313         * sysdeps/nios2/bsd-_setjmp.S: New file.
20314         * sysdeps/nios2/bsd-setjmp.S: New file.
20315         * sysdeps/nios2/configure: New generated file.
20316         * sysdeps/nios2/configure.ac: New file.
20317         * sysdeps/nios2/crti.S: New file.
20318         * sysdeps/nios2/crtn.S: New file.
20319         * sysdeps/nios2/dl-init.c: New file.
20320         * sysdeps/nios2/dl-machine.h: New file.
20321         * sysdeps/nios2/dl-sysdep.h: New file.
20322         * sysdeps/nios2/dl-tls.h: New file.
20323         * sysdeps/nios2/dl-trampoline.S: New file.
20324         * sysdeps/nios2/gccframe.h: New file.
20325         * sysdeps/nios2/gmp-mparam.h: New file.
20326         * sysdeps/nios2/jmpbuf-offsets.h: New file.
20327         * sysdeps/nios2/jmpbuf-unwind.h: New file.
20328         * sysdeps/nios2/ldsodefs.h: New file.
20329         * sysdeps/nios2/libc-tls.c: New file.
20330         * sysdeps/nios2/libm-test-ulps: New file.
20331         * sysdeps/nios2/machine-gmon.h: New file.
20332         * sysdeps/nios2/math-tests.h: New file.
20333         * sysdeps/nios2/math_private.h: New file.
20334         * sysdeps/nios2/memusage.h: New file.
20335         * sysdeps/nios2/nptl/Makefile: New file.
20336         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
20337         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
20338         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
20339         * sysdeps/nios2/nptl/pthreaddef.h: New file.
20340         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
20341         * sysdeps/nios2/nptl/tls.h: New file.
20342         * sysdeps/nios2/preconfigure: New file.
20343         * sysdeps/nios2/s_fma.c: New file.
20344         * sysdeps/nios2/s_fmaf.c: New file.
20345         * sysdeps/nios2/setjmp.S: New file.
20346         * sysdeps/nios2/sfp-machine.h: New file.
20347         * sysdeps/nios2/sotruss-lib.c: New file.
20348         * sysdeps/nios2/stackguard-macros.h: New file.
20349         * sysdeps/nios2/stackinfo.h: New file.
20350         * sysdeps/nios2/start.S: New file.
20351         * sysdeps/nios2/sysdep.h: New file.
20352         * sysdeps/nios2/tls-macros.h: New file.
20353         * sysdeps/nios2/tst-audit.h: New file.
20354         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
20355         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
20356         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
20357         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
20358         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
20359         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
20360         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
20361         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
20362         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
20363         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
20364         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
20365         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
20366         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
20367         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
20368         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
20369         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
20370         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
20371         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
20372         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
20373         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
20374         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
20375         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
20376         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
20377         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
20378         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
20379         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
20380         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
20381         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
20382         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
20383         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
20384         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
20385         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
20386         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
20387         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
20388         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
20389         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
20390         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
20391         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
20392         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
20393         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
20394         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
20395         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
20396         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
20397         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
20399 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
20401         [BZ #17844]
20402         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
20403         (getutent): Use weak_alias in non SHARED case
20404         and default_symbol_version in SHARED case.
20405         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
20406         (getutent_r, pututline): Likewise.
20407         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
20408         (getutid): Likewise.
20409         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
20410         (getutid_r): Likewise.
20411         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
20412         (getutline): Likewise.
20413         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
20414         (getutline_r): Likewise.
20415         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
20416         (updwtmp): Likewise.
20418 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
20420         [BZ #17848]
20421         * sysdeps/s390/s390-32/memcmp.S
20422         (memcmp_g5): Rename to __memcmp_g5.
20423         * sysdeps/s390/s390-32/memcpy.S
20424         (memcpy_g5): Rename to __memcpy_g5.
20425         Jump to __memcpy_mvcle instead of memcpy_mvcle.
20426         (memcpy_mvcle) Rename to __memcpy_mvcle.
20427         * sysdeps/s390/s390-32/memset.S
20428         (memset_g5): Rename to __memset_g5.
20429         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
20430         (IFUNC_RESOLVE): Prefix ifunc-resolve function
20431         and use prefixed functions.
20432         * sysdeps/s390/s390-32/multiarch/memcmp.S
20433         (memcmp_z196): Rename to __memcmp_z196.
20434         (memcmp_z10): Rename to __memcmp_z10.
20435         (memcmp): Set alias to __memcmp_g5.
20436         (bcmp): Set alias to __memcmp_g5.
20437         * sysdeps/s390/s390-32/multiarch/memcpy.S
20438         (memcpy_z196): Rename to __memcpy_z196.
20439         Jump to __memcpy_mvcle instead of memcpy_mvcle.
20440         (memcpy_z10): Rename to __memcpy_z10.
20441         Jump to __memcpy_mvcle instead of memcpy_mvcle.
20442         (memcpy): Set alias to __memcpy_g5.
20443         * sysdeps/s390/s390-32/multiarch/memset.S
20444         (memset_z196): Rename to __memset_z196.
20445         Jump to __memset_mvcle instead of memset_mvcle.
20446         (memset_z10): Rename to __memset_z10.
20447         Jump to __memset_mvcle instead of memset_mvcle.
20448         (memset_mvcle) Rename to __memset_mvcle.
20449         (memset): Set alias to __memset_g5.
20450         * sysdeps/s390/s390-64/memcmp.S
20451         (memcmp_z900): Rename to __memcmp_z900.
20452         * sysdeps/s390/s390-64/memcpy.S
20453         (memcpy_z900): Rename to __memcpy_z900.
20454         Jump to __memcpy_mvcle instead of memcpy_mvcle.
20455         (memcpy_mvcle) Rename to __memcpy_mvcle.
20456         * sysdeps/s390/s390-64/memset.S
20457         (memset_z900): Rename to __memset_z900.
20458         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
20459         (IFUNC_RESOLVE): Prefix ifunc-resolve function
20460         and use prefixed functions.
20461         * sysdeps/s390/s390-64/multiarch/memcmp.S
20462         (memcmp_z196): Rename to __memcmp_z196.
20463         (memcmp_z10): Rename to __memcmp_z10.
20464         (memcmp): Set alias to __memcmp_z900.
20465         (bcmp): Set alias to __memcmp_z900.
20466         * sysdeps/s390/s390-64/multiarch/memcpy.S
20467         (memcpy_z196): Rename to __memcpy_z196.
20468         Jump to __memcpy_mvcle instead of memcpy_mvcle.
20469         (memcpy_z10): Rename to __memcpy_z10.
20470         Jump to __memcpy_mvcle instead of memcpy_mvcle.
20471         (memcpy): Set alias to __memcpy_z900.
20472         * sysdeps/s390/s390-64/multiarch/memset.S
20473         (memset_z196): Rename to __memset_z196.
20474         Jump to __memset_mvcle instead of memset_mvcle.
20475         (memset_z10): Rename to __memset_z10.
20476         Jump to __memset_mvcle instead of memset_mvcle.
20477         (memset_mvcle) Rename to __memset_mvcle.
20478         (memset): Set alias to __memset_z900.
20480 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
20482         [BZ #17748]
20483         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
20484         __fesetenv instead of fesetenv.
20486 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
20488         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
20489         macro.
20491 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20493         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
20494         regression on LE.
20496         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
20497         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
20498         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
20499         strncmp-power8 object.
20500         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20501         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
20502         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
20503         * NEWS: Update.
20505 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20506             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20508         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
20509         trailing byte check.
20511 2015-01-13  David S. Miller  <davem@davemloft.net>
20513         * include/signal.h (__sigreturn): Guard with __USE_MISC.
20515 2015-01-13  Roland McGrath  <roland@hack.frob.com>
20517         * login/logout.c (logout): Use memset rather than bzero.
20518         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
20519         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
20520         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
20521         (_gethtbyaddr): Likewise.
20522         * locale/programs/simple-hash.c (bcopy): Macro removed.
20524 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20526         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20527         Add strcmp-power8 object.
20528         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20529         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
20530         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
20531         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
20532         __strcmp_power8 implementation.
20533         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
20534         * NEWS: Update.
20536         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20537         Add strncpy-power8 and stpncpy-power8 objects.
20538         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20539         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
20540         implementations.
20541         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
20542         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
20543         __stpncpy_power8 implementation.
20544         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
20545         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
20546         __strncpy_power8 implementation.
20547         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
20548         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
20549         * NEWS: Update.
20551         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
20552         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
20553         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
20555         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
20556         strncat-power8 object.
20557         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
20558         __strcat_power8 implementation.
20559         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20560         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
20561         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
20562         optimized strcat for power8.
20564         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
20565         strcpy-power8 and stpcpy-power8 objects.
20566         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20567         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
20568         implementations.
20569         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
20570         multiarch stpcpy implementation for POWER8.
20571         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
20572         multiarch strcpy implementation for POWER8.
20573         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
20574         __strcpy_power8 function.
20575         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
20576         stpcpy for POWER8.
20577         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
20578         strcpy for POWER8.
20579         * NEWS: Update.
20581 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
20583         [BZ #16009]
20584         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
20585         weights and rules. Use do_xfrm_cached if data fits in cache,
20586         do_xfrm otherwise.  Moved former main loop to...
20587         * (do_xfrm_cached): New function.
20588         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
20589         find_idx, find_position and stack_push.
20590         * (find_idx): New function.
20591         * (find_position): Likewise.
20592         * localedata/sort-test.sh: Added test run for do_xfrm.
20593         * localedata/xfrm-test.c (main): Added command line option
20594         -nocache to run the test with strings that are too large for
20595         the STRXFRM cache.
20597 2015-01-13  Torvald Riegel  <triegel@redhat.com>
20599         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
20600         variable to lll_futex_wake call, not the value itself.
20602 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
20604         [BZ #17803]
20605         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
20606         twom64.  Adjust value to 0x1p-64L.
20607         (__scalblnl): Only return standard underflowing result for K <=
20608         -64 not K <= -63; adjust exponent for underflowing result by 64
20609         not 63.
20610         * math/libm-test.inc (scalbn_test_data): Add more tests.
20611         (scalbln_test_data): Likewise.
20613         [BZ #17834]
20614         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
20615         0x1p63L.
20616         (__scalblnl): Get new exponent of adjusted subnormal value from ES
20617         not HX.
20618         * math/libm-test.inc (scalbn_test_data): Add more tests.
20619         (scalbln_test_data): Likewise.
20621 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20622             Stefani Seibold  <stefani@seibold.net>
20624         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
20625         (sysdep_routines): Add dl-vdso here, ...
20626         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
20627         (sysdep_routines): ... not here.
20628         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
20629         fallback when vDSO is not presented.
20630         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
20631         Define with libc_hidden_proto/libc_hidden_data_def definitions.
20632         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
20633         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
20634         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
20635         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
20636         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
20637         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
20638         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
20639         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
20640         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
20641         fallback configurable symbol when vDSO is not available.
20642         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
20643         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
20644         be able to redefine fallback symbol when vDSO is not available.
20645         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
20646         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
20648 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20650         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
20651         (TLS_INIT_TP): Add tm_capable initialization.
20652         (TLS_DEFINE_INIT_TP): Likewise.
20653         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
20654         TCB.
20655         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
20656         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
20657         calculation.
20658         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
20659         transactoion is lock elision is built and TCB tm_capable is set.
20660         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
20661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20662         (INTERNAL_SYSCALL_NCS): Likewise.
20663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20664         (INTERNAL_SYSCALL_NCS): Likewise.
20665         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
20667         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
20668         for powerpc.
20669         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
20670         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
20671         and remove it for 32 bits case.
20672         [pthread_rwlock_t] (__rwelision): New field for lock elision.
20673         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
20674         initialization.
20675         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
20676         Disable lock elision with rdlocks if elision is not available.
20678         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
20679         (sysdep_routines): Add lock elision objects.
20680         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
20681         [pthread_mutex_t] (__spins): Rework to add lock elision field.
20682         [pthread_mutex_t] (__elision): Add field.
20683         [__PTHREAD_SPINS]: Adjust to init lock elision field.
20684         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
20685         elision definitions for powerpc.
20686         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
20687         implementation of lock elision for powerpc.
20688         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
20689         implementation of timed lock elision for powerpc.
20690         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
20691         implementation of trylock with lock elision for powerpc.
20692         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
20693         implementaion of unlock for lock elision for powerpc.
20694         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
20695         automatic enable lock elision for mutexes.
20696         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
20697         transaction execution definitions for powerpc.
20698         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
20699         definitions.
20700         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
20701         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
20702         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
20703         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
20704         * NEWS: Update.
20706 2015-01-09  Roland McGrath  <roland@hack.frob.com>
20708         * sysdeps/posix/shm-directory.c: Use <> rather than ""
20709         for #include of <shm-directory.h>.
20711 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
20713         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
20714         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
20716 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
20718         [BZ #17791]
20719         * NEWS: Mention bug fix.
20720         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
20721         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
20722         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
20724 2015-01-09  Torvald Riegel <triegel@redhat.com>
20726         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
20728 2015-01-09  Torvald Riegel <triegel@redhat.com>
20730         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
20732 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
20734         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
20735         pointer and cast to uintptr_t.
20737 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
20739         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
20740         removed.
20741         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
20743 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
20745         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
20746         of 0.
20748 2015-01-08  Roland McGrath  <roland@hack.frob.com>
20750         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
20751         <nptl/pthreadP.h> instead.
20752         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
20754         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
20755         already defined.
20756         [__SIGRTMIN] (init): Function removed.
20757         [__SIGRTMIN] (initialized): Variable removed.
20758         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
20759         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
20760         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
20761         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
20762         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
20763         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
20764         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
20765         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
20766         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
20767         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
20768         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
20769         * sysdeps/nptl/allocrtsig.c: New file.
20770         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
20771         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
20772         * sysdeps/generic/testrtsig.h: File removed.
20774         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
20775         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
20777         * nptl/nptl-init.c (pthread_functions): Conditionalize
20778         .ptr__nptl_setxid initialization on [SIGSETXID].
20780         * sysdeps/nptl/sys/procfs.h: New file.
20781         * nptl_db/Makefile (headers): Add it.
20782         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
20784         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
20785         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
20786         * nptl/pthread_attr_setaffinity.c: Include it.
20787         * nptl/pthread_setattr_default_np.c: Likewise.
20788         * nptl/check-cpuset.h: New file.
20790 2015-01-08  Richard Henderson  <rth@redhat.com>
20792         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
20793         (CFLAGS-tst-execstack-prog.c): Likewise.
20794         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
20796 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
20797             Sandra Loosemore  <sandra@codesourcery.com>
20798             Andrew Jenner  <andrew@codesourcery.com>
20799             Joseph Myers  <joseph@codesourcery.com>
20800             Nathan Sidwell  <nathan@codesourcery.com>
20802         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
20803         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
20804         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
20805         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
20806         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
20807         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
20808         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
20809         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
20810         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
20811         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
20812         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
20813         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
20814         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
20815         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
20816         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
20817         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
20818         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
20820 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20822         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
20823         timespec struct member in syscall macro.
20824         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
20825         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
20826         first timeval struct member in syscall macro.
20827         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
20829 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
20831         [BZ #17748]
20832         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
20833         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
20834         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
20835         __feupdateenv and define as weak alias of __feupdateenv.  Use
20836         libm_hidden_weak.
20837         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
20838         libm_hidden_def.
20839         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
20840         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
20841         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
20842         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
20843         libm_hidden_def.
20844         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
20845         __feupdateenv and define as weak alias of __feupdateenv.  Use
20846         libm_hidden_weak.
20847         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
20848         libm_hidden_def.
20849         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
20850         __feupdateenv and define as weak alias of __feupdateenv.  Use
20851         libm_hidden_weak.
20852         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
20853         libm_hidden_def.
20854         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
20855         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
20856         (__feupdateenv): Likewise.
20857         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
20858         __feupdateenv and define as weak alias of __feupdateenv.  Use
20859         libm_hidden_weak.
20860         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
20861         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
20862         libm_hidden_def.
20863         * sysdeps/tile/math_private.h (__feupdateenv): New inline
20864         function.
20865         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
20866         libm_hidden_def.
20867         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
20868         __feupdateenv instead of feupdateenv.
20869         (default_libc_feupdateenv_test): Likewise.
20870         (libc_feresetround_ctx): Likewise.
20872 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20874         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
20875         prototype.
20877 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
20879         * posix/regcomp.c (parse_bracket_exp): Initialize type to
20880         COLL_SYM in a couple of places to avoid uninitialized variable
20881         wanings on tilegx gcc 4.8.2.
20883 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
20885         * sysdeps/aarch64/strcpy.S: New file.
20886         * sysdeps/aarch64/stpcpy.S: New file.
20887         * NEWS: Updated.
20889 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
20891         * sysdeps/aarch64/strrchr.S: New file.
20892         * NEWS: Updated.
20894 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
20896         [BZ #17658]
20897         * stdlib/setenv.c: Fix memory leak when setting large,
20898         duplicate string.
20900 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
20902         [BZ #17273]
20903         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
20904         and tabs from buffer before parsing fstab entry.
20905         * misc/tst-mntent.c (main): Add test for mount entry with
20906         trailing spaces and tabs.
20908 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
20910         [BZ #17748]
20911         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
20912         * math/fesetround.c (fesetround): Rename to __fesetround and
20913         define as weak alias of __fesetround.  Use libm_hidden_weak.
20914         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
20915         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
20916         * sysdeps/arm/fesetround.c (fesetround): Likewise.
20917         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
20918         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
20919         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
20920         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
20921         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
20922         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
20923         __fesetround_inline.
20924         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
20925         __fesetround_inline instead of __fesetround.
20926         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
20927         __fesetround and define as weak alias of __fesetround.  Use
20928         libm_hidden_weak.  Call __fesetround_inline instead of
20929         __fesetround.
20930         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
20931         __fesetround and define as weak alias of __fesetround.  Use
20932         libm_hidden_weak.
20933         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
20934         Likewise.
20935         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
20936         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
20937         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
20938         * sysdeps/tile/math_private.h (__fesetround): New inline function.
20939         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
20940         __fesetround and define as weak alias of __fesetround.  Use
20941         libm_hidden_weak.
20942         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
20943         __fesetround instead of fesetround.
20944         (default_libc_feholdexcept_setround): Likewise.
20945         (libc_feholdsetround_ctx): Likewise.
20946         (libc_feholdsetround_noex_ctx): Likewise.
20948         [BZ #17748]
20949         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
20950         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
20951         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
20952         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
20953         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
20954         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
20955         define as weak alias of __fesetenv.  Use libm_hidden_weak.
20956         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
20957         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
20958         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
20959         define as weak alias of __fesetenv.  Use libm_hidden_weak.
20960         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
20961         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
20962         define as weak alias of __fesetenv.  Use libm_hidden_weak.
20963         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
20964         libm_hidden_def.
20965         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
20966         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
20967         Likewise.
20968         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
20969         define as weak alias of __fesetenv.  Use libm_hidden_weak.
20970         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
20971         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
20972         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
20973         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
20974         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
20975         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
20976         __fesetenv instead of fesetenv.
20977         (libc_feresetround_noex_ctx): Likewise.
20978         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
20979         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
20980         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
20981         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
20982         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
20983         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
20984         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
20985         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
20986         (__feupdateenv): Likewise.
20987         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
20988         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
20989         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
20990         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
20992 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
20994         [BZ #17806]
20995         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
20996         addresses have been freed.
20998 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
21000         * resolv/res_init.c (__res_vinit): Improve comments about nserv
21001         and nservall.
21003 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
21005         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
21006         Clean up check_pf allocation pattern. addresses
21008 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21010         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
21011         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
21012         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
21013         * nptl/pthread_exit.c (__pthread_exit): Likewise.
21014         * nptl/pthread_join.c (pthread_join): Likewise.
21015         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
21016         * sysdeps/posix/waitid.c (__waitid): Likewise.
21017         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
21018         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
21019         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
21020         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
21021         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
21022         Likewise.
21023         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
21024         (__libc_pread64): Likewise.
21025         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
21026         (__libc_pwrite): Likewise.
21027         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
21028         (__libc_pwrite64): Likewsie.
21029         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
21030         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
21031         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
21032         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
21033         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
21034         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
21035         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
21036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
21037         Likewise.
21038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
21039         (__libc_pread64): Likewise.
21040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
21041         Likewise.
21042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
21043         (__libc_pwrite64): Likewise.
21044         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
21045         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
21046         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
21047         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
21048         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
21049         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
21050         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
21051         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
21052         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
21053         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
21054         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
21055         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
21056         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
21057         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
21058         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
21059         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
21060         Likewise.
21062 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
21064         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
21065         (CFLAGS-test-double.c): Likewise.
21066         (CFLAGS-test-ldouble.c): Likewise.
21067         (CPPFLAGS-test-ifloat.c): Likewise.
21068         (CPPFLAGS-test-idouble.c): Likewise.
21069         (CPPFLAGS-test-ildoubl.c): Likewise.
21070         (CFLAGS-test-test-fenv.c): Remove variable.
21071         (CFLAGS-test-misc.c): Likewise.
21073 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
21075         [BZ #17797]
21076         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
21077         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
21078         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
21079         CLOCKS_PER_SEC == 1000000.
21080         * time/clocktest.c (main): Replace %ld with %jd and cast to
21081         intmax_t.
21083 2015-01-05  Roland McGrath  <roland@hack.frob.com>
21085         * sysdeps/generic/unwind-resume.h: New file.
21086         * sysdeps/gnu/unwind-resume.c: Include it.
21087         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
21088         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
21089         argument list.
21090         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
21091         global rather than static.
21092         (_Unwind_Resume): Update user.
21093         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
21094         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
21095         rather than static.  Add __attribute__ ((cold)).
21096         (_Unwind_Resume, __gcc_personality_v0): Update callers.
21097         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
21098         * sysdeps/arm/arm-unwind-resume.S: New file.
21099         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
21100         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
21101         * sysdeps/arm/Makefile [$(subdir) = csu]
21102         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
21103         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
21104         Add rt-arm-unwind-resume.
21105         [$(subdir) = nptl]
21106         (libpthread-sysdep_routines, libpthread-shared-only-routines):
21107         Add pt-arm-unwind-resume.
21108         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
21109         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
21111 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
21113         [BZ #17748]
21114         * include/fenv.h (__feholdexcept): Declare.  Use
21115         libm_hidden_proto.
21116         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
21117         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
21118         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
21119         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
21120         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
21121         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
21122         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
21123         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
21124         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
21125         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
21126         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
21127         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
21128         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
21129         (feholdexcept): Likewise.
21130         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
21131         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
21132         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
21133         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
21134         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
21135         __feholdexcept instead of feholdexcept.
21136         (default_libc_feholdexcept_setround): Likewise.
21138 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
21140         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
21141         to avoid using stl/str to align destination.
21143 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
21145         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
21147 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
21149         [BZ #17796]
21150         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
21151         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
21152         Define as weak alias not strong alias.
21154 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
21156         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
21157         bltzal with addiupc.
21158         (RTLD_START): Ditto.
21160 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
21162         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
21163         for __vdso_* functions in declarations.
21164         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
21165         definitions.
21166         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
21167         INTERNAL_VSYSCALL): Use struct return types to check for error.
21169         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
21170         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
21171         function with cast from llround().
21172         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
21173         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
21174         Define.
21176 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
21178         [BZ #17793]
21179         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
21180         Define as weak alias not strong alias.
21182         [BZ #17635]
21183         * ctype/ctype-c99.c: New file.  isblank implementation moved from
21184         ...
21185         * ctype/ctype-extn.c: ... here.
21186         (__isblank_l): Move to ...
21187         * ctype/ctype-c99_l.c: ... here.  New file.
21188         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
21189         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
21190         Remove variable.
21191         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
21192         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
21193         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
21194         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
21195         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
21197         [BZ #17777]
21198         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
21199         (posix_fadvise64): Define as weak alias not strong alias.
21200         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
21201         (posix_fallocate64): Likewise.
21202         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
21203         Remove variable.
21204         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
21205         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
21206         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
21207         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
21208         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
21210 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
21212         [BZ #16191]
21213         * NEWS: Mention bug fix.
21214         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
21215         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
21216         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
21217         (HOST_STACK_END_ADDR): Likewise.
21219 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
21221         [BZ #17748]
21222         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
21223         * math/fegetround.c (fegetround): Rename to __fegetround and
21224         define as weak alias of __fegetround.  Use libm_hidden_weak.
21225         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
21226         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
21227         * sysdeps/arm/fegetround.c (fegetround): Likewise.
21228         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
21229         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
21230         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
21231         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
21232         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
21233         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
21234         Undefine after rather than before function definition; use
21235         parentheses around function name in definition.
21236         (__fegetround): Also undefine macro after function definition.
21237         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
21238         __fegetround and define as weak alias of __fegetround.  Use
21239         libm_hidden_weak.  Do not undefine as macro.
21240         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
21241         Likewise.
21242         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
21243         __fegetround and define as weak alias of __fegetround.  Use
21244         libm_hidden_weak.
21245         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
21246         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
21247         * sysdeps/tile/math_private.h (__fegetround): New inline function.
21248         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
21249         __fegetround and define as weak alias of __fegetround.  Use
21250         libm_hidden_weak.
21251         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
21252         __fegetround instead of fegetround.
21254         [BZ #17782]
21255         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
21256         Condition macro definition on [__USE_MISC].
21258         [BZ #17781]
21259         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
21260         (struct sigaction): Change type of sa_flags field to int.
21262         [BZ #17780]
21263         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
21264         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
21265         __glibc_reserved0.
21267         * nptl/version.c (banner): Use single year in copyright notice.
21269         * NEWS: Update copyright dates.
21270         * catgets/gencat.c (print_version): Likewise.
21271         * csu/version.c (banner): Likewise.
21272         * debug/catchsegv.sh: Likewise.
21273         * debug/pcprofiledump.c (print_version): Likewise.
21274         * debug/xtrace.sh (do_version): Likewise.
21275         * elf/ldconfig.c (print_version): Likewise.
21276         * elf/ldd.bash.in: Likewise.
21277         * elf/pldd.c (print_version): Likewise.
21278         * elf/sotruss.sh: Likewise.
21279         * elf/sprof.c (print_version): Likewise.
21280         * iconv/iconv_prog.c (print_version): Likewise.
21281         * iconv/iconvconfig.c (print_version): Likewise.
21282         * locale/programs/locale.c (print_version): Likewise.
21283         * locale/programs/localedef.c (print_version): Likewise.
21284         * login/programs/pt_chown.c (print_version): Likewise.
21285         * malloc/memusage.sh (do_version): Likewise.
21286         * malloc/memusagestat.c (print_version): Likewise.
21287         * malloc/mtrace.pl: Likewise.
21288         * manual/libc.texinfo: Likewise.
21289         * nptl/version.c (banner): Likewise.
21290         * nscd/nscd.c (print_version): Likewise.
21291         * nss/getent.c (print_version): Likewise.
21292         * nss/makedb.c (print_version): Likewise.
21293         * posix/getconf.c (main): Likewise.
21294         * scripts/test-installation.pl: Likewise.
21295         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
21297 2015-01-02  Will Newton  <will.newton@linaro.org>
21299         * sysdeps/arm/armv7/configure: Removed.
21300         * sysdeps/arm/armv7/configure.ac: Likewise.
21302 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
21304         * All files with FSF copyright notices: Update copyright dates
21305         using scripts/update-copyrights.
21306         * intl/plural.c: Regenerated.
21307         * locale/programs/charmap-kw.h: Likewise.
21308         * locale/programs/locfile-kw.h: Likewise.
21310 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
21312         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
21314 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
21316         [BZ #17748]
21317         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
21318         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
21319         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
21320         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
21321         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
21322         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
21323         define as weak alias of __fegetenv.  Use libm_hidden_weak.
21324         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
21325         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
21326         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
21327         define as weak alias of __fegetenv.  Use libm_hidden_weak.
21328         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
21329         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
21330         define as weak alias of __fegetenv.  Use libm_hidden_weak.
21331         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
21332         libm_hidden_def.
21333         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
21334         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
21335         Likewise.
21336         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
21337         define as weak alias of __fegetenv.  Use libm_hidden_weak.
21338         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
21339         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
21340         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
21341         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
21342         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
21343         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
21344         __fegetenv instead of fegetenv.
21345         (libc_feholdsetround_noex_ctx): Likewise.
21347 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
21349         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
21350         (Elf_MIPS_ABIFlags_v0): New structure.
21351         (EF_MIPS_FP64): Define.
21352         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
21353         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
21354         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
21355         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
21356         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
21357         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
21358         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
21359         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
21360         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
21361         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
21362         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
21363         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
21364         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
21365         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
21366         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
21367         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
21368         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
21369         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
21370         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
21371         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
21372         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
21373         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
21374         field.
21375         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
21376         EF_MIPS_FP64.
21377         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
21378         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
21379         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
21380         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
21381         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
21382         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
21383         * sysdeps/mips/tst-abi-interlink.c: Likewise.
21384         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
21385         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
21386         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
21387         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
21388         record the current FP ABI extension.
21389         (mips-mode-switch): Define to show if kernel headers support mode
21390         switching.
21391         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
21392         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
21393         supported SYSV ABI version to 3.
21394         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
21395         feature.
21397 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21398             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21400         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
21401         path.
21402         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
21404 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
21406         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
21407         __fegetround and redefine to call __fegetround.  Remove condition
21408         on [!__NO_MATH_INLINES].
21409         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
21410         function.
21411         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
21412         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
21413         Remove macro.
21414         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
21415         instead of <fenv_libc.h>.
21416         (__llrintl): Call fegetround instead of __fegetround.
21417         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
21418         instead of <fenv_libc.h>.
21419         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
21420         (__lrintl): Call fegetround instead of __fegetround.
21421         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
21422         instead of <fenv_libc.h>.
21423         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
21424         (__rintl): Call fegetround instead of __fegetround.
21426 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
21428         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
21429         arrays.
21431 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
21433         [BZ #17775]
21434         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
21435         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
21436         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
21438 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
21440         * sysdeps/i386/tls-macros.h: Include <features.h>.
21441         (TLS_LE): Use non-PIC version for GCC >= 5.0.
21442         (TLS_IE): Likewise.
21443         (TLS_LD): Likewise.
21444         (TLS_GD): Likewise.
21445         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
21446         define for GCC >= 5.0.
21448 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
21450         * math/test-fenv.c (test_single_exception, set_single_exc,
21451         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
21452         feexcp_mask_test, feenable_test, fe_single_test): Add
21453         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
21454         case where they are not used.
21455         * math/libm-test.inc: Likewise.
21456         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
21457         unused in the absence of FP rounding/exception support.
21458         * stdio-common/tst-printf-round.c: Likewise.
21459         * stdlib/tst-strtod-round.c: Likewise.
21460         * stdlib/tst-strtod-underflow.c: Likewise.
21462 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
21464         [BZ #17723]
21465         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
21466         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
21467         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
21468         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
21469         libm_hidden_weak.
21470         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
21471         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
21472         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
21473         libm_hidden_def.
21474         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
21475         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
21476         libm_hidden_weak.
21477         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
21478         Likewise.
21479         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
21480         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
21481         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
21482         libm_hidden_weak.
21483         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
21484         libm_hidden_def.
21485         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
21486         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
21487         (__feraiseexcept): Likewise.
21488         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
21489         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
21490         libm_hidden_weak.
21491         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
21492         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
21493         libm_hidden_def.
21494         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
21495         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
21496         Use libm_hidden_def.
21497         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
21498         libm_hidden_def.
21499         (feraiseexcept): Define as weak not strong alias.  Use
21500         libm_hidden_weak.
21501         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
21502         New inline function.  Factored out of ...
21503         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
21504         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
21505         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
21506         feraiseexcept.
21507         * math/w_acos.c (__acos): Likewise.
21508         * math/w_asin.c (__asin): Likewise.
21509         * math/w_ilogb.c (__ilogb): Likewise.
21510         * math/w_j0.c (y0): Likewise.
21511         * math/w_j1.c (y1): Likewise.
21512         * math/w_jn.c (yn): Likewise.
21513         * math/w_log.c (__log): Likewise.
21514         * math/w_log10.c (__log10): Likewise.
21515         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
21516         * sysdeps/aarch64/fpu/math_private.h
21517         (libc_feupdateenv_test_aarch64): Likewise.
21518         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
21519         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
21520         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
21521         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
21522         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
21523         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
21524         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
21525         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
21526         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
21527         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
21529 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
21531         [BZ #17732]
21532         * io/test-utime.c (main): Replace %ld with %jd and cast to
21533         intmax_t.
21534         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
21535         * nptl/tst-mutex5.c: Include <stdint.h>.
21536         (do_test): Replace %ld with %jd and cast to intmax_t.
21537         * posix/tst-regex.c (run_test): Likewise.
21538         (run_test_backwards): Likewise.
21539         * rt/tst-clock.c: Include <stdint.h>.
21540         (clock_test): Replace %ld with %jd and cast to intmax_t.
21541         * rt/tst-cpuclock1.c: Include <stdint.h>.
21542         (do_test): Replace %lu with %ju and cast to uintmax_t.
21543         * rt/tst-cpuclock2.c: Include <stdint.h>.
21544         (do_test): Replace %lu with %ju and cast to uintmax_t.
21545         * rt/tst-mqueue1.c: Include <stdint.h>.
21546         (check_attrs): Replace %ld with %jd and cast to intmax_t.
21547         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
21548         intmax_t.
21549         * rt/tst-mqueue4.c (do_test): Likewise.
21550         * rt/tst-timer4.c: Include <stdint.h>.
21551         (check_ts): Replace %ld with %jd and cast to intmax_t.
21552         (do_test): Likewise.
21553         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
21554         and cast to intmax_t.
21555         * sysdeps/pthread/tst-timer.c (main): Likewise.
21556         * time/clocktest.c (main): Likewise.
21557         * time/tst-posixtz.c (do_test): Likewise.
21558         * timezone/tst-timezone.c (main): Likewise.
21560 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
21561             H.J. Lu  <hongjiu.lu@intel.com>
21563         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
21564         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
21565         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
21566         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
21567         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
21568         version if bit_Fast_Unaligned_Load is set.
21569         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
21570         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
21571         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
21572         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
21573         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
21574         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
21575         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21576         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
21577         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
21578         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
21579         to 4.
21580         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
21581         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
21582         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
21583         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
21585 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
21587         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
21588         instead of #if to avoid a Wundef warning.
21589         * stdlib/tst-limits.c (do_test): Likewise.
21591         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
21592         parallel other exception macros.
21593         (fegetenv): Convert from macro to extern inline so that it applies
21594         retroactively to inline functions already seen by the compiler.
21595         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
21597         * posix/Makefile (before-compile): Use $(objpfx) for
21598         posix-conf-vars-def.h.
21600 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
21602         * posix/getconf.c (main): Use size_t for type of I.
21603         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
21604         NSPEC.
21606         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
21607         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
21608         * posix/posix-envs.def: Likewise.
21609         * sysdeps/posix/sysconf.c: Likewise.
21610         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
21611         (specs): Remove array.
21612         * scripts/gen-posix-conf-vars.awk: Support generation of specs
21613         array.
21615         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
21616         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
21617         (__sysconf): Use CONF_IS_* macros.
21619         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
21620         ($(objpfx)posix-conf-vars-def.h): New target.
21621         * posix/posix-conf-vars.list: New file.
21622         * posix/posix-conf-vars.h: New file.
21623         * posix/confstr.c: Include posix-conf-vars.h.
21624         (confstr): Use CONF_IS_* macros.
21625         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
21626         CONF_IS_* macros.
21627         * scripts/gen-posix-conf-vars.awk: New file.
21629 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
21631         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
21632         fegetround): Add no-op macros to avoid linknamespace issues.
21634         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
21635         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
21637         * sysdeps/unix/sysv/linux/tile/sysdep.h
21638         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
21639         assembly-specific section to avoid a redefinition warning.
21641         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
21642         long before casting to pointer to avoid a cast warning.
21644 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
21646         * sysdeps/tile/tilegx/Implies: New file.
21648 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
21650         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
21652 2014-12-23  Florian Weimer  <fweimer@redhat.com>
21654         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
21656 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
21658         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
21659         not define.
21660         * sysdeps/unix/sysv/linux/utimes.c: Do not include
21661         <kernel-features.h>.
21662         (__utimes) [__NR_utimes]: Make code unconditional.
21663         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
21664         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21665         (__ASSUME_UTIMES): Do not undefine.
21666         * sysdeps/unix/sysv/linux/tile/kernel-features.h
21667         (__ASSUME_UTIMES): Likewise.
21668         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
21669         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
21670         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
21671         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
21673 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
21675         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
21677 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
21679         [BZ #17747]
21680         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
21681         alias to weak alias for j0l, y0l.
21682         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
21683         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
21685         [BZ #17746]
21686         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
21687         conversion.
21689 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
21691         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
21692         to zero if not already defined.
21694 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
21696         [BZ #17724]
21697         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
21698         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
21699         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
21700         (char *) casts added.
21701         * sysdeps/ieee754/k_standardf.c: New file.
21702         * sysdeps/ieee754/k_standardl.c: Likewise.
21703         * math/Makefile (libm-support): Remove k_standard.
21704         (libm-calls): Add k_standard.
21706 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
21708         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
21709         Optimize to avoid an unnecessary FPCR read.
21711 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
21713         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
21714         Optimize to reduce FPCR/FPSR accesses.
21716 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
21718         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
21719         Call libc_fetestexcept_aarch64.
21721 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
21723         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
21724         Call libc_fesetround_aarch64.
21726 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
21728         [BZ #17733]
21729         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
21730         (__bind): Do not define as weak alias.
21731         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
21732         define.
21733         (__getsockname): Do not define as weak alias.
21735 2014-12-22  Will Newton  <will.newton@linaro.org>
21737         * manual/install.texi: Document that we require bison 2.7
21738         or above.
21739         * INSTALL: Regenerate.
21740         * configure.ac: Use AC_CHECK_PROG_VER instead of
21741         AC_PATH_PROG when checking for bison and check for
21742         version 2.7 or above.
21743         * configure: Regenerate.
21745 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
21747         [BZ #17745]
21748         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
21749         * sysdeps/tile/ffsll.c (ffsll): To here.
21751         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
21753 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
21755         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
21756         if not defined.
21757         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
21758         definition.
21759         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
21760         hidden ___tls_get_addr.
21761         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
21762         hidden __tls_get_addr.
21763         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
21764         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
21765         Likewise.
21767 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
21769         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
21770         _dl_init call.
21772 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
21774         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
21775         from "call _dl_init@PLT".
21776         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
21778 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
21780         * manual/search.texi: (Array Sort Function): Clarify stable sorting
21781         guarantees.
21783 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
21785         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
21787 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
21789         [BZ #17744]
21790         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
21791         strnlen.
21793 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
21795         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
21796         of multu on MIPSr6.
21797         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
21798         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
21799         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
21800         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
21801         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
21803 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
21805         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
21806         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
21807         (PTR_SUBU): Use subu for mips32r6/mips64r6.
21808         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
21809         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
21810         mips32r6/mips64r6.
21811         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
21813 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
21815         * string/strncat.c (STRNCAT): Simplify implementation.
21817 2014-12-19  David S. Miller  <davem@davemloft.net>
21819         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
21820         access the quad as both a long double and as a series of 4 words.
21822         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
21823         link_map->l_info array access.
21825 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
21827         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
21829         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
21830         * math/atest-exp2.c (TIMEOUT): Likewise.
21831         * math/atest-sincos.c (TIMEOUT): Likewise.
21833 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
21835         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
21836         -Wno-error with -fno-builtin-lround.
21838 2014-12-19  Torvald Riegel  <triegel@redhat.com>
21840         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
21841         Contains futex constants and functions moved over from ...
21842         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
21843         <lowlevellock-futex.h>.
21844         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
21845         (lll_timedwait_tid): Add comments and parentheses around macro
21846         arguments.
21848 2014-12-19  Torvald Riegel  <triegel@redhat.com>
21850         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
21851         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
21852         (__lll_private_flag): Remove.
21853         (lll_futex_wait): Likewise.
21854         (lll_futex_timed_wait): Likewise.
21855         (lll_futex_wake): Likewise.
21856         (lll_futex_requeue): Likewise.
21857         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
21858         (__lll_timedwait_tid): Spell out argument names.
21859         (lll_timedwait_tid): Add comments and parentheses around macro
21860         arguments.
21861         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
21862         LLL_SHARED and LLL_PRIVATE usable from assembly code.
21864 2014-12-19  Torvald Riegel  <triegel@redhat.com>
21866         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
21867         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
21868         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
21869         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
21870         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
21871         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
21872         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
21873         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
21874         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
21875         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
21876         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
21877         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
21878         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
21879         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
21880         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
21881         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
21882         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
21883         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
21884         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
21886 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
21888         * sysdeps/x86_64/x32/Makefile: New file.
21890 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
21892         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
21893         1L with (mp_limb_t) 1.
21895 2014-12-17  Roland McGrath  <roland@hack.frob.com>
21897         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
21898         * nptl/libc_pthread_init.c: ... here.
21899         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
21900         * nptl/register-atfork.c: ... here.
21902         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
21903         Use pthread_sigmask rather than INTERNAL_SYSCALL.
21904         Use assert_perror to check its return value.
21905         (__gai_create_helper_thread): Likewise.
21907         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
21909         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
21911 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
21913         [BZ #17725]
21914         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
21915         __profil_counter.
21916         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
21917         Likewise.
21918         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
21919         Likewise.
21920         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
21921         Likewise.
21922         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
21923         (profil_counter): Likewise.
21924         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
21925         (profil_counter): Likewise.
21926         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
21927         Likewise.
21928         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
21929         Likewise.
21930         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
21931         (profil_counter): Likewise.
21932         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
21933         Likewise.
21934         [!__profil_counter] (profil_counter): Define as weak alias of
21935         __profil_counter.
21936         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
21937         (profil_counter): Rename to __profil_counter.
21938         [!__profil_counter] (profil_counter): Define as weak alias of
21939         __profil_counter.
21940         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
21941         (profil_counter): Rename to __profil_counter.
21942         [!__profil_counter] (profil_counter): Define as weak alias of
21943         __profil_counter.
21944         * sysdeps/posix/profil.c: Update comment referring to
21945         profil_counter.
21946         (__profil): Use __profil_counter instead of profil_counter.
21947         * sysdeps/posix/sprofil.c (profil_counter): Rename to
21948         __profil_counter.  Use __profil_counter_ushort and
21949         __profil_counter_uint in definitions.
21950         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
21951         instead of profil_counter_uint and profil_counter_ushort.
21953         [BZ #17722]
21954         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
21955         define as weak alias of __inet_makeaddr.
21956         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
21957         as weak alias of __inet_addr.
21958         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
21959         as weak alias of __inet_pton.  Use libc_hidden_weak.
21960         * include/arpa/inet.h (__inet_pton): Declare.  Use
21961         libc_hidden_proto.
21962         (inet_makeaddr): Don't use libc_hidden_proto.
21963         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
21964         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
21965         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
21966         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
21967         Remove variable.
21968         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
21969         (test-xfail-POSIX/time.h/linknamespace): Likewise.
21971 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
21973         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
21975 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
21977         * stdio-common/bug-vfprintf-nargs.c (do_test):
21978         Cast value to intptr_t to avoid format warning
21979         for usage with PRIdPTR printing macro.
21981 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
21983         * libio/tst-widetext.c (do_test):
21984         Use format type %td instead of %Zd for ptrdiff_t
21985         in order to avoid format warning.
21987 2014-12-17  Andreas Schwab  <schwab@suse.de>
21989         * nscd/mem.c (gc): Add size_t cast to match printf format.
21991 2014-12-16  Roland McGrath  <roland@hack.frob.com>
21993         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
21994         (init): Apply PTR_MANGLE to pointers before storing them.
21995         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
21996         before using them.
21998 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
22000         [BZ #17719]
22001         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
22002         define as weak alias of __memrchr.
22003         (__memrchr): Do not define as strong alias of memrchr.
22004         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
22005         Remove variable.
22006         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
22007         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
22008         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
22010         [BZ #17717]
22011         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
22012         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
22013         (if_indextoname): Rename to __if_indextoname and define as weak
22014         alias of __if_indextoname.  Use libc_hidden_weak.
22015         (if_freenameindex): Rename to __if_freenameindex and define as
22016         weak alias of __if_freenameindex.
22017         (if_nameindex): Rename to __if_nameindex and define as weak alias
22018         of __if_nameindex.
22019         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
22020         __if_nametoindex and define as weak alias of __if_nametoindex.
22021         Use libc_hidden_weak.
22022         (if_freenameindex): Rename to __if_freenameindex and define as
22023         weak alias of __if_freenameindex.
22024         (if_nameindex): Rename to __if_nameindex and define as weak alias
22025         of __if_nameindex.
22026         (if_indextoname): Rename to __if_indextoname and define as weak
22027         alias of __if_indextoname.  Use libc_hidden_weak.
22028         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
22029         __if_nametoindex and define as weak alias of __if_nametoindex.
22030         Use libc_hidden_weak.
22031         (if_freenameindex): Rename to __if_freenameindex and define as
22032         weak alias of __if_freenameindex.  Use libc_hidden_weak.
22033         (if_nameindex_netlink): Use __if_freenameindex instead of
22034         if_freenameindex.
22035         (if_nameindex): Rename to __if_nameindex and define as weak alias
22036         of __if_nameindex.  Use libc_hidden_weak.
22037         (if_indextoname): Rename to __if_indextoname and define as weak
22038         alias of __if_indextoname.  Use libc_hidden_weak.
22039         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
22040         libc_hidden_proto.
22041         [!_ISOMAC] (__if_freenameindex): Likewise.
22042         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
22043         if_nametoindex.
22044         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
22045         variable.
22046         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
22047         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
22048         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
22049         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
22050         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
22051         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
22052         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
22054         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
22055         Remove variable.
22056         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
22057         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
22059 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22061         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
22062         subscript above bounds'
22064         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
22065         bounds.
22067 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
22069         * libio/tst-fopenloc.c: Use test-skeleton.c.
22071         * stdlib/tst-bsearch.c: Use test-skeleton.c.
22072         (entry): Rename to ITEM.
22073         (do_test, comp): Adjust.
22075         * stdio-common/tst-fseek.c: Use test-skeleton.c.
22077 2014-12-16  Torvald Riegel  <triegel@redhat.com>
22079         * string/tester.c: Include <libc-internal.h>.
22080         (test_memset): Ignore -Wmemset-transposed-args.
22082 2014-12-16  Torvald Riegel  <triegel@redhat.com>
22084         * misc/tst-mntent2.c (do_test): Fix warning.
22086 2014-12-16  Torvald Riegel  <triegel@redhat.com>
22088         * elf/tst-unique4lib.cc(a): Mark as used.
22090 2014-12-16  Florian Weimer  <fweimer@redhat.com>
22092         [BZ #17630]
22093         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
22094         names.
22096 2014-12-16  Allan McRae  <allan@archlinux.org>
22098         * stdio-common/Makefile (tests): Re-add bug26.
22100 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
22102         [BZ #17657]
22103         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
22104         static array.
22106 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
22108         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
22109         (__lll_lock_wait): Likewise.
22110         (__lll_timedlock_wait): Likewise.
22111         (__lll_timedwait_tid): Likewise.
22112         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
22113         (__lll_robust_timedlock_wait): Likewise.
22114         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
22115         (lll_cond_trylock): Likewise.
22116         (__lll_lock): Likewise.
22117         (__lll_robust_lock): Likewise.
22118         (__lll_cond_lock): Likewise.
22119         (lll_robust_cond_lock): Likewise.
22120         (__lll_timedlock): Likewise.
22121         (__lll_robust_timedlock): Likewise.
22122         (__lll_unlock): Likewise.
22123         (__lll_robust_unlock): Likewise.
22124         (lll_wait_tid): Likewise.
22125         (lll_timedwait_tid): Likewise.
22127 2014-12-15  Torvald Riegel  <triegel@redhat.com>
22129         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
22131 2014-12-15  Torvald Riegel  <triegel@redhat.com>
22133         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
22135 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
22137         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
22138         * stdio-common/tst-sprintf.c: Likewise.
22140 2014-12-15  Torvald Riegel  <triegel@redhat.com>
22142         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
22144 2014-12-15  Jeff Law  <law@redhat.com>
22146         [BZ #16617]
22147         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
22148         on the heap.  (CVE-2012-3406)
22149         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
22150         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
22151         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
22153 2014-12-15  Will Newton  <will.newton@linaro.org>
22155         * manual/install.texi: Bump required version of texinfo
22156         to 4.7 from 4.5.
22157         * INSTALL: Regenerated.
22158         * configure.ac: Check for makeinfo version 4.7 and above.
22159         * configure: Regenerated.
22161 2014-12-12  Roland McGrath  <roland@hack.frob.com>
22163         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
22164         PREFIX, string constant to insert between directory and name.
22165         * sysdeps/posix/shm_open.c: Update caller.
22166         * sysdeps/posix/shm_unlink.c: Likewise.
22167         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
22168         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
22169         (SEM_SHM_PREFIX): New macro.
22170         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
22171         [$(have-thread-library) = no].
22172         * nptl/Makefile (libpthread-routines): Add shm-directory.
22173         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
22174         * sysdeps/nptl/shm-directory.h: New file.
22175         * sysdeps/posix/shm-directory.c
22176         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
22177         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
22178         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
22179         INTERNAL_SYSCALL.
22180         (__where_is_shmfs): Function removed.
22181         (mountpoint, defaultmount, defaultdir, __namedsem_once):
22182         Variables removed.
22183         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
22184         Use SHM_GET_NAME.
22185         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
22187         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
22188         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
22189         unconditional for use inside libpthread.
22190         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
22192 2014-12-12  Roland McGrath  <roland@hack.frob.com>
22194         * nptl/pthread_getaffinity.c: New file.
22195         * nptl/pthread_setaffinity.c: New file.
22196         * nptl/pthread_getname.c: New file.
22197         * nptl/pthread_setname.c: New file.
22199         * nptl/pthread_create.c (START_THREAD_DEFN)
22200         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
22202 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
22203             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22205         * resolv/res_send.c (send_vc): Disable warning resplen may
22206         be used uninitialized.
22208 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
22210         * nptl/tst-mutex6.c
22211         (ATTR_NULL): New define checks ATTR against NULL.
22212         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
22213         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
22215 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
22217         [BZ #17581]
22218         * malloc/hooks.c
22219         (mem2mem_check): Revert my previous change.
22220         (malloc_check_get_size): Revert my previous change.
22221         (mem2chunk_check): Revert my previous change.
22223 2014-12-11  Roland McGrath  <roland@hack.frob.com>
22225         * sysdeps/posix/shm-directory.c: New file.
22226         * sysdeps/posix/shm-directory.h: New file.
22227         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
22228         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
22229         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
22230         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
22231         Transmute EPERM to EACCES.
22232         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
22233         from ...
22234         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
22235         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
22237 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22239         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
22240         pointer and cast to uintptr_t.
22241         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
22242         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
22243         Add cast to avoid warning.
22244         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
22246 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
22248         * nptl/semaphore.h: Move to ...
22249         * sysdeps/pthread/semaphore.h: ... here.
22250         * Makefile (installed-headers): Change nptl/semaphore.h to
22251         sysdeps/pthread/semaphore.h.
22253 2014-12-11  Roland McGrath  <roland@hack.frob.com>
22255         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
22256         generated error format strings.
22258         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
22259         -Wformat-extra-args warnings for scanf formats.
22260         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
22261         test of zero-length format (duh).
22262         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
22263         corner-case scanf format test.
22264         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
22265         generated fprintf format string.
22266         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
22267         corner-case sprintf format tests.
22268         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
22269         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
22270         -Wformat-extra-args warnings throughout.
22271         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
22272         (CFLAGS-scanf4.c): Likewise.
22273         (CFLAGS-scanf7.c): Likewise.
22274         (CFLAGS-tst-sprintf.c): Likewise.
22275         (CFLAGS-tst-printf.c): Likewise.
22276         (CFLAGS-tst-printfsz.c): Likewise.
22278 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
22280         * include/cpio.h: New file.
22281         * include/fmtmsg.h: Likewise.
22283         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
22284         corresponding format argument to size_t.
22285         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
22286         arguments.
22287         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
22288         corresponding format argument to size_t.
22289         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
22290         arguments.
22291         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
22292         corresponding format argument to size_t.
22293         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
22294         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
22295         (CFLAGS-tst-mbswcs2.c): Likewise.
22296         (CFLAGS-tst-mbswcs3.c): Likewise.
22297         (CFLAGS-tst-mbswcs4.c): Likewise.
22298         (CFLAGS-tst-mbswcs5.c): Likewise.
22299         (CFLAGS-tst-trans.c): Likewise.
22301 2014-12-11  Roland McGrath  <roland@hack.frob.com>
22303         * posix/regexbug1.c (main): Use "%s" format with regerror results,
22304         rather than assuming they won't contain any '%'s.
22306 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
22308         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
22309         inhibit_loop_to_libcall to avoid recursive calls.
22310         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
22311         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
22313 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
22315         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
22316         prototype.
22318 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
22320         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
22321         integer value instead of boolean.
22323 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
22325         * malloc/malloc.c: Fix powerof2 check.
22327 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
22329         * locale/programs/locfile.h (maybe_swap_uint32):
22330         Remove inline and add unused attribute.
22332 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
22334         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
22335         Truncating assembler expression to a .long expression.
22337 2014-12-11  Andreas Schwab  <schwab@suse.de>
22339         * elf/rtld.c (struct map_args): Constify str member.
22340         (do_preload): Constify fname argument.
22342 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22344         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
22345         constants definition.
22347 2014-12-11  Andreas Schwab  <schwab@suse.de>
22349         [BZ #16657]
22350         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
22351         FORCE_ELISION instead of DO_ELISION.
22352         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
22353         Remove.
22354         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
22355         Likewise.
22357         * iconvdata/gconv-modules: Remove duplicate entry.
22359 2014-12-11  Will Newton  <will.newton@linaro.org>
22361         Merge gettext 0.19.3 into intl/.
22363         This involves a number of cosmetic changes to comments
22364         and ANSI function definitions and prototypes throughout
22365         all the files. The gettext copyright header is used but
22366         with the date ranges taken from the glibc copy.
22368         * NEWS: Add gettext merge to 2.21.
22369         * intl/bindtextdom.c: Switch to gettext copyright.
22370         Use ANSI definitions and prototypes.
22371         Use gl_* locking primitives rather than __libc_* ones.
22372         Use __builtin_expect rather than __glibc_likely/unlikely.
22373         * intl/dcgettext.c: Switch to gettext copyright.
22374         Use ANSI definitions and prototypes.
22375         * intl/dcigettext.c: Switch to gettext copyright.
22376         Use ANSI definitions and prototypes.
22377         (INTDIV0_RAISES_SIGFPE): New define.
22378         Use gl_* locking primitives rather than __libc_* ones.
22379         Include eval-plural.h instead of plural-eval.c.
22380         Use __builtin_expect rather than __glibc_likely/unlikely.
22381         * intl/dcngettext.c: Switch to gettext copyright.
22382         Use ANSI definitions and prototypes.
22383         * intl/dgettext.c: Likewise.
22384         * intl/dngettext.c: Likewise.
22385         * intl/plural-eval.c: Renamed to...
22386         * intl/eval-plural.h: ...this.
22387         * intl/explodename.c: Switch to gettext copyright.
22388         Use ANSI definitions and prototypes.
22389         (_nl_explode_name): Use strchr instead of __rawmemchr.
22390         * intl/finddomain.c: Switch to gettext copyright.
22391         Use ANSI definitions and prototypes.
22392         Use gl_* locking primitives rather than __libc_* ones.
22393         (_nl_find_domain): Use malloc rather than alloca for
22394         allocation of temporary locale name.
22395         * intl/gettext.c: Switch to gettext copyright.
22396         Use ANSI definitions and prototypes.
22397         * intl/gettextP.h: Switch to gettext copyright.
22398         Use ANSI definitions and prototypes.
22399         Use gl_* locking primitives rather than __libc_* ones.
22400         * intl/gmo.h: Switch to gettext copyright.
22401         (struct sysdep_string): Move struct segment_pair outside of
22402         struct definition.
22403         * intl/hash-string.c: Use ANSI definitions and prototypes.
22404         * intl/hash-string.h: Switch to gettext copyright.
22405         Use ANSI definitions and prototypes.
22406         * intl/l10nflist.c: Switch to gettext copyright.
22407         Use ANSI definitions and prototypes.
22408         (_nl_normalize_codeset): Avoid integer overflow.
22409         * intl/loadinfo.h: Switch to gettext copyright.
22410         Use ANSI definitions and prototypes.
22411         (LIBINTL_DLL_EXPORTED): New define.
22412         (PATH_SEPARATOR): New define.
22413         * intl/loadmsgcat.c: Switch to gettext copyright.
22414         * intl/localealias.c: Switch to gettext copyright.
22415         Use ANSI definitions and prototypes.
22416         (_nl_expand_alias): Use PATH_SEPARATOR.
22417         * intl/ngettext.c: Switch to gettext copyright.
22418         Use ANSI definitions and prototypes.
22419         * intl/plural-exp.c: Likewise.
22420         * intl/plural-exp.h: Switch to gettext copyright.
22421         Use ANSI definitions and prototypes.
22422         (struct expression): Move definition of enum operator outside
22423         of struct definition.
22424         * intl/plural.c: Regenerate.
22425         * intl/plural.y: Switch to gettext copyright.
22426         Use ANSI definitions and prototypes.
22427         Port to bison 3.0.
22428         * intl/textdomain.c: Switch to gettext copyright.
22429         Use ANSI definitions and prototypes.
22430         Use gl_* locking primitives rather than __libc_* ones.
22432 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
22434         * debug/warning-nop.c: Add used atrribute.
22436 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
22438         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
22440         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
22441         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
22442         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
22444 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
22445             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22447         [BZ #17634]
22448         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
22449         Undefine after defining function.  Define as weak alias of
22450         __wcschr.  Use libc_hidden_weak.
22451         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
22452         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
22453         (libc_hidden_def): Also define __GI___wcschr alias.
22454         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
22455         __wcschr and define as weak alias of __wcschr.
22456         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
22457         __wcschr.
22458         [!WCSCHR] (DEFAULT_WCSCHR): Define.
22459         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
22460         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
22461         libc_hidden_weak.  Do not use libc_hidden_def.
22462         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
22463         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
22464         __GI___wcschr alias.
22465         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
22466         [IS_IN (libc)] (wcschr): Define as macro expanding to
22467         __redirect_wcschr.
22468         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
22469         [IS_IN (libc)] (__wcschr_power6): Likewise.
22470         [IS_IN (libc)] (__wcschr_power7): Likewise.
22471         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
22472         instead of wcschr.
22473         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
22474         __libc_wcschr.
22475         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
22476         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
22477         __wcschr and define as weak alias of __wcschr.  Use
22478         libc_hidden_builtin_def.
22479         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
22480         as weak alias of __wcschr.  Use libc_hidden_weak.
22481         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
22482         wcschr.
22483         * time/era.c (_nl_init_era_entries): Likewise.
22484         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
22485         variable.
22486         (test-xfail-XPG3/time.h/linknamespace): Likewise.
22487         (test-xfail-XPG4/time.h/linknamespace): Likewise.
22489 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
22491         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
22492         format for long int variable.
22494 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
22496         [BZ #10672]
22497         * manual/search.texi: (Array Sort Function): Remove claim how to make
22498         qsort stable.
22500 2014-12-10  Andreas Schwab  <schwab@suse.de>
22502         [BZ #12847]
22503         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
22504         user-controlled locks.
22506 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
22508         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
22509         register.
22511 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
22513         * configure.ac (--disable-werror): New configure option.
22514         (enable_werror): New AC_SUBST.
22515         * configure: Regenerated.
22516         * config.make.in (enable-werror): New variable.
22517         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
22518         -Wno-error=undef.
22519         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
22520         * manual/install.texi (Configuring and compiling): Document
22521         --disable-werror.
22522         * INSTALL: Regenerated.
22523         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
22524         (CFLAGS-tst-chk2.c): Likewise.
22525         (CFLAGS-tst-chk3.c): Likewise.
22526         (CFLAGS-tst-chk4.cc): Likewise.
22527         (CFLAGS-tst-chk5.cc): Likewise.
22528         (CFLAGS-tst-chk6.cc): Likewise.
22529         (CFLAGS-tst-lfschk1.c): Likewise.
22530         (CFLAGS-tst-lfschk2.c): Likewise.
22531         (CFLAGS-tst-lfschk3.c): Likewise.
22532         (CFLAGS-tst-lfschk4.cc): Likewise.
22533         (CFLAGS-tst-lfschk5.cc): Likewise.
22534         (CFLAGS-tst-lfschk6.cc): Likewise.
22536         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
22537         (main): Disable -Wdeprecated-declarations around calls to
22538         register_printf_function.
22540         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
22541         (do_test): Disable -Wdiv-by-zero around some calls to
22542         fwrite_unlocked and fread_unlocked.
22544         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
22545         (DIAG_POP_NEEDS_COMMENT): Likewise.
22546         (_DIAG_STR1): Likewise.
22547         (_DIAG_STR): Likewise.
22548         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
22549         * stdio-common/bug21.c: Include <libc-internal.h>.
22550         (do_test): Disable -Wformat around call to sscanf.
22551         * stdio-common/scanf14.c: Include <libc-internal.h>.
22552         (main): Disable -Wformat around some calls to scanf functions.
22554 2014-12-09  Torvald Riegel  <triegel@redhat.com>
22556         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
22558 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22560         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
22561         stack variable alignment.
22563 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
22565         [BZ #17682]
22566         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
22567         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
22568         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
22569         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
22570         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
22571         __getrlimit instead of getrlimit.
22572         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
22573         __gettimeofday instead of gettimeofday.
22574         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
22575         Likewise.
22576         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
22577         Likewise.
22578         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
22579         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
22580         Remove variable.
22581         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
22582         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
22584 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22586         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
22587         for wide-character tests.
22589 2014-12-04  Roland McGrath  <roland@hack.frob.com>
22591         * io/openat64.c: #include <libc-internal.h>
22592         (__openat64): Prototypify.  Use ignore_value on MODE.
22593         * io/openat.c: Likewise.
22594         * misc/reboot.c: #include <libc-internal.h>
22595         (reboot): Prototypify.  Use ignore_value on HOWTO.
22596         * misc/ptrace.c: #include <libc-internal.h>
22597         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
22599 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
22601         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
22602         XPG4, UNIX98 and XOPEN2K.
22603         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
22604         Remove variable.
22605         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
22607 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22609         * libio/fileops.c: Use ISO C style for function definitions.
22610         * libio/iofopen.c: Likewise.
22611         * libio/wfileops.c: Likewise.
22613         [BZ #17653]
22614         * libio/fileops.c (_IO_new_file_underflow): Unset cached
22615         offset on EOF.
22616         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
22617         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
22618         (fgets_func): Function pointer to fgets and fgetws.
22619         (do_ftell_test): Add test to verify ftell value after read
22620         EOF.
22621         (do_test): Set fgets_func.
22623         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
22624         O_TRUNC flag for w and w+ modes.
22625         (do_rewind_test): Likewise.
22626         (do_ftell_test): Likewise.
22627         (do_write_test): Likewise.
22629         [BZ #17647]
22630         * libio/fileops.c (do_ftell): Seek only when there are
22631         unflushed writes.
22632         * libio/wfileops.c (do_ftell_wide): Likewise.
22633         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
22634         test case.
22635         (do_one_test): Call it.
22637 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
22639         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
22640         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
22641         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
22642         Remove variable.
22643         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
22644         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
22645         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
22647 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
22649         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
22650         Remove variable.
22651         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
22653         [BZ #17668]
22654         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
22655         as weak alias of __getifaddrs.  Use libc_hidden_weak.
22656         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
22657         __freeifaddrs.  Use libc_hidden_weak.
22658         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
22659         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
22660         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
22661         __freeifaddrs.  Use libc_hidden_weak.
22662         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
22663         __getifaddrs and define as weak alias of __getifaddrs.  Use
22664         libc_hidden_weak.
22665         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
22666         __freeifaddrs.  Use libc_hidden_weak.
22667         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
22668         Remove variable.
22669         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
22670         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
22672 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
22674         [BZ #17601]
22675         * sysdeps/mips/start.S (__start): Use indirect jump to call
22676         __libc_start_main.
22678 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
22680         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
22682         * nptl/tst-mutex1.c: Include <stdbool.h>.
22683         [!ATTR] (ATTR_NULL): New macro.
22684         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
22685         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
22686         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
22688         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
22689         to char *.
22691         [BZ #17665]
22692         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
22693         Change conditional to [__USE_MISC].
22695         [BZ #17664]
22696         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
22697         fgets_unlocked.
22698         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
22699         __fgets_unlocked.
22700         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
22701         fgets_unlocked.
22702         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
22703         Remove variable.
22704         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
22705         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
22706         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
22707         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
22708         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
22709         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
22710         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
22711         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
22712         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
22714         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
22716 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22718         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22719         Remove strpbrk objects.
22720         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22721         (__libc_ifunc_impl_list): Remove strpbrk implementation.
22722         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
22723         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
22724         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
22725         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
22727         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22728         Remove strcspn objects.
22729         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22730         (__libc_ifunc_impl_list): Remove strcspn implementation.
22731         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
22732         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
22733         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
22734         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
22736         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22737         Remove strspn objetcs.
22738         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22739         (__libc_ifunc_impl_list): Remove strspn implementation.
22740         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
22741         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
22742         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
22743         * sysdeps/powerpc/powerpc64/strspn.S: New file.
22745 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
22747         [BZ #17581]
22748         * malloc/hooks.c
22749         (mem2mem_check): Add a terminator to the chain of checking blocks.
22750         (malloc_check_get_size): Use it here.
22751         (mem2chunk_check): Ditto.
22753 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22755         * sysdeps/powerpc/powerpc64/strtok.S: New file.
22756         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
22758 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
22760         * bits/ioctl-types.h: Indent preprocessor directives correctly.
22762         * nptl/nptl-init.c: Include libc-internal.h.
22763         (__pthread_initialize_minimal_internal): Use ROUND_UP.
22765         * elf/ldconfig.c (search_dir): Expand comment.
22767 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
22769         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
22770         variable.
22771         (linknamespace-symlist-stdlibs-tests): Likewise.
22772         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
22773         instead of $(objpfx)symlist-stdlibs.
22774         (linknamespace-libs-isoc): New variable.
22775         (linknamespace-libs): Use $(linknamespace-libs-isoc).
22776         (linknamespace-libs-ISO): New variable.
22777         (linknamespace-libs-ISO99): Likewise.
22778         (linknamespace-libs-ISO11): Likewise.
22779         (linknamespace-libs-XPG3): Likewise.
22780         (linknamespace-libs-XPG4): Likewise.
22781         (linknamespace-libs-POSIX): Likewise.
22782         (linknamespace-libs-UNIX98): Likewise.
22783         (linknamespace-libs-XOPEN2K): Likewise.
22784         (linknamespace-libs-POSIX2008): Likewise.
22785         (linknamespace-libs-XOPEN2K8): Likewise.
22786         ($(objpfx)symlist-stdlibs): Replace by
22787         $(linknamespace-symlist-stdlibs-tests).  Use
22788         $(linknamespace-libs-$*) as set of libraries.
22789         ($(linknamespace-header-tests)): Update dependencies.  Use
22790         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
22791         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
22792         * conform/linknamespace.pl: Remove comment about considering
22793         definitions of symbols from irrelevant libraries.
22795 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
22797         [BZ #13862]
22798         * elf/dl-tls.c: Include <atomic.h>.
22799         (oom): Remove #ifdef SHARED/#endif.
22800         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
22801         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
22802         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
22803         big enough.
22804         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
22805         * nptl/Makefile (tests): Add tst-stack4.
22806         (modules-names): Add tst-stack4mod.
22807         ($(objpfx)tst-stack4): New.
22808         (tst-stack4mod.sos): Likewise.
22809         ($(objpfx)tst-stack4.out): Likewise.
22810         ($(tst-stack4mod.sos)): Likewise.
22811         (clean): Likewise.
22812         * nptl/tst-stack4.c: New file.
22813         * nptl/tst-stack4mod.c: Likewise.
22815 2014-11-27  J. Brown  <jb999@gmx.de>
22817         * sysdeps/x86/bits/string.h: Add recent CPUs.
22819 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
22821         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
22822         sigblock.
22824         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
22825         feof.
22827         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
22828         variable.
22830 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
22832         * nscd/connections.c: Include libc-internal.h because of macro
22833         usage ignore_value.
22835 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
22837         * string/bits/string3.h (__warn_memset_zero_len): Don't
22838         declare for gcc newer than 5.0.
22839         (memset): Don't test for zero-length __LEN for gcc newer than
22840         5.0.
22842 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
22844         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
22845         size_t for %zu format.
22847         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
22848         difference, not %ju.
22850 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
22852         * include/libc-internal.h (ignore_value): New macro.
22853         * nscd/connections.c (restart): Wrap calls to setuid and setgid
22854         with ignore_value.
22856         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
22857         definition.
22859         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
22860         pthread_cleanup_push to void *.
22862         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
22863         Undefine.
22865         [BZ #16619]
22866         [BZ #16740]
22867         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
22868         instead of 1L << 52.
22870         * libio/bug-rewind.c (do_test): Check fwscanf return values.
22871         * libio/bug-rewind2.c (do_test): Likewise.
22873         * debug/test-stpcpy_chk-ifunc.c: Remove file.
22874         * debug/test-strcpy_chk-ifunc.c: Likewise.
22875         * wcsmbs/test-wcschr-ifunc.c: Likewise.
22876         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
22877         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
22878         * wcsmbs/test-wcslen-ifunc.c: Likewise.
22879         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
22880         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
22881         * Rules [$(multi-arch) = no] (tests): Do not filter out
22882         $(tests-ifunc).
22883         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
22884         * debug/Makefile (tests-ifunc): Remove variable.
22885         (tests): Do not add $(tests-ifunc).
22886         * wcsmbs/Makefile (tests-ifunc): Remove variable.
22887         (tests): Do not add $(tests-ifunc).
22888         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
22889         [TEST_IFUNC]: Remove conditionals.
22890         * string/test-string.h (TEST_IFUNC): Remove macro.
22891         [TEST_IFUNC]: Remove conditionals.
22893         * string/test-strchr.c [!WIDE] (L): New macro.
22894         [WIDE] (L): Likewise.
22895         (check1): Use CHAR instead of char.  Use L on string and character
22896         constants.
22898 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
22900         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
22901         tests.
22902         * sysdeps/powerpc/bits/atomic.h
22903         (__arch_atomic_exchange_and_add_32_acq): Add definition.
22904         (__arch_atomic_exchange_and_add_32_rel): Likewise.
22905         (atomic_exchange_and_add_acq): Likewise.
22906         (atomic_exchange_and_add_rel): Likewise.
22907         * sysdeps/powerpc/powerpc32/bits/atomic.h
22908         (__arch_atomic_exchange_and_add_64_acq): Add definition.
22909         (__arch_atomic_exchange_and_add_64_rel): Likewise.
22910         * sysdeps/powerpc/powerpc64/bits/atomic.h
22911         (__arch_atomic_exchange_and_add_64_acq): Add definition.
22912         (__arch_atomic_exchange_and_add_64_rel): Likewise.
22914 2014-11-26  Torvald Riegel  <triegel@redhat.com>
22916         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
22917         Change synchronization of __sched_fifo_min_prio and
22918         __sched_fifo_max_prio.
22919         * nptl/pthread_mutexattr_getprioceiling.c
22920         (pthread_mutexattr_getprioceiling): Likewise.
22921         * nptl/pthread_mutexattr_setprioceiling.c
22922         (pthread_mutexattr_setprioceiling): Likewise.
22923         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
22924         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
22925         Likewise.
22927 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
22929         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
22930         void.
22932 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
22934         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
22935         third argument const.
22937 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
22939         fnmatch: work around GCC compiler warning bug with uninit var
22940         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
22941         This works around a bug with x86-64 GCC 4.9.2 and earlier
22942         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
22943         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
22944         used uninitialized in this function [-Wmaybe-uninitialized]".
22946 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
22948         * posix/bug-regex31.c (main): Return RES not 0.
22950 2014-11-25  Anton Blanchard <anton@samba.org>
22952         * sysdeps/powerpc/bits/atomic.h
22953         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
22955 2014-11-24  Sterling Augustine  <saugustine@google.com>
22957         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
22959 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
22961         [BZ #17608]
22962         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
22964 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
22966         [BZ #17633]
22967         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
22968         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
22969         variable.
22970         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
22971         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
22973 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
22975         * string/strncpy.c (strncpy): Improve performance by using memset.
22977 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
22979         * string/strcpy.c (strcpy):
22980         Improve performance by using strlen and memcpy.
22982 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
22984         * string/strcoll_l.c (get_next_seq): __always_inline.
22985         * string/strcoll_l.c (do_compare): __always_inline.
22987 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22989         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
22990         defined.
22991         * include/mqueue.h: Likewise.
22992         * include/stdlib.h: Likewise.
22994         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
22995         (get_null_defines): Adjust.
22996         * sunrpc/Makefile: Adjust comment.
22997         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
22998         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
22999         (CFLAGS-interp.c): Likewise.
23000         (CFLAGS-ldconfig.c): Likewise.
23001         (CPPFLAGS-.os): Likewise.
23002         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
23003         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
23004         * extra-modules.mk (extra-modules.mk): Likewise.
23005         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
23006         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
23007         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
23008         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
23009         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
23010         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
23011         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
23012         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
23013         * iconvdata/Makefile (CPPFLAGS): Likewise.
23014         (cpp-srcs-left): Add libof for all iconvdata routines.
23015         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
23016         * include/assert.h: Likewise.
23017         * include/ctype.h: Likewise.
23018         * include/errno.h: Likewise.
23019         * include/libc-symbols.h: Likewise.
23020         * include/math.h: Likewise.
23021         * include/netdb.h: Likewise.
23022         * include/resolv.h: Likewise.
23023         * include/stdio.h: Likewise.
23024         * include/stdlib.h: Likewise.
23025         * include/string.h: Likewise.
23026         * include/sys/stat.h: Likewise.
23027         * include/wctype.h: Likewise.
23028         * intl/l10nflist.c: Likewise.
23029         * libidn/idn-stub.c: Likewise.
23030         * libio/libioP.h: Likewise.
23031         * nptl/libc_multiple_threads.c: Likewise.
23032         * nptl/pthreadP.h: Likewise.
23033         * posix/regex_internal.h: Likewise.
23034         * resolv/res_hconf.c: Likewise.
23035         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
23036         * sysdeps/arm/memmove.S: Likewise.
23037         * sysdeps/arm/sysdep.h: Likewise.
23038         * sysdeps/generic/_itoa.h: Likewise.
23039         * sysdeps/generic/symbol-hacks.h: Likewise.
23040         * sysdeps/gnu/errlist.awk: Likewise.
23041         * sysdeps/gnu/errlist.c: Likewise.
23042         * sysdeps/i386/i586/memcpy.S: Likewise.
23043         * sysdeps/i386/i586/memset.S: Likewise.
23044         * sysdeps/i386/i686/memcpy.S: Likewise.
23045         * sysdeps/i386/i686/memmove.S: Likewise.
23046         * sysdeps/i386/i686/mempcpy.S: Likewise.
23047         * sysdeps/i386/i686/memset.S: Likewise.
23048         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
23049         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23050         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
23051         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
23052         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23053         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
23054         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
23055         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23056         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
23057         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
23058         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23059         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23060         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23061         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23062         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23063         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23064         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
23065         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
23066         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
23067         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23068         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
23069         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
23070         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23071         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23072         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23073         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
23074         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
23075         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23076         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
23077         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
23078         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23079         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
23080         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
23081         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23082         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
23083         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
23084         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23085         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23086         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23087         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
23088         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23089         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23090         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23091         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
23092         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23093         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23094         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
23095         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
23096         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23097         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
23098         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23099         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
23100         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
23101         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23102         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
23103         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
23104         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23105         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
23106         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
23107         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23108         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
23109         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23110         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
23111         * sysdeps/nptl/bits/libc-lock.h: Likewise.
23112         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
23113         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
23114         * sysdeps/posix/closedir.c: Likewise.
23115         * sysdeps/posix/opendir.c: Likewise.
23116         * sysdeps/posix/readdir.c: Likewise.
23117         * sysdeps/posix/rewinddir.c: Likewise.
23118         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
23119         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
23120         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
23121         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
23122         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
23123         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
23124         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
23125         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
23126         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
23127         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
23128         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
23129         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
23130         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
23131         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
23132         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
23133         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
23134         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
23135         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
23136         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
23137         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
23138         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
23139         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
23140         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
23141         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
23142         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
23143         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
23144         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
23145         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
23146         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
23147         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
23148         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
23149         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
23150         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
23151         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
23152         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
23153         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
23154         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
23155         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
23156         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
23157         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
23158         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
23159         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
23160         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
23161         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
23162         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
23163         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
23164         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
23165         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
23166         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
23167         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
23168         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
23169         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
23170         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
23171         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
23172         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
23173         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
23174         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
23175         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
23176         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
23177         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
23178         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
23179         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
23180         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
23181         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
23182         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
23183         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
23184         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
23185         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
23186         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
23187         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
23188         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
23189         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
23190         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
23191         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
23192         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
23193         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
23194         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
23195         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
23196         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
23197         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
23198         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
23199         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
23200         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
23201         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
23202         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
23203         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
23204         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
23205         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
23206         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
23207         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23208         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
23209         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
23210         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
23211         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
23212         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
23213         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
23214         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
23215         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
23216         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
23217         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
23218         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23219         * sysdeps/unix/alpha/sysdep.S: Likewise.
23220         * sysdeps/unix/alpha/sysdep.h: Likewise.
23221         * sysdeps/unix/make-syscalls.sh: Likewise.
23222         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
23223         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
23224         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
23225         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
23226         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
23227         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
23228         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
23229         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
23230         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
23231         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
23232         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
23233         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
23234         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23235         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
23236         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
23237         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
23238         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
23239         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
23240         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
23241         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
23242         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
23243         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
23244         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
23245         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
23246         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
23247         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
23248         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
23249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
23250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
23251         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
23252         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
23253         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
23254         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
23255         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23256         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
23257         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
23258         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
23259         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23260         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
23261         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
23262         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
23263         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
23264         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
23265         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
23266         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
23267         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
23268         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23269         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23270         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
23271         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23272         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
23273         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
23274         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
23275         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
23276         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
23277         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
23278         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
23279         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23280         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
23281         * sysdeps/x86_64/memcpy.S: Likewise.
23282         * sysdeps/x86_64/memmove.c: Likewise.
23283         * sysdeps/x86_64/memset.S: Likewise.
23284         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
23285         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
23286         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
23287         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
23288         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
23289         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23290         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23291         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
23292         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
23293         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
23294         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
23295         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
23296         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
23297         * sysdeps/x86_64/multiarch/memset.S: Likewise.
23298         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23299         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
23300         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
23301         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
23302         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
23303         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
23304         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
23305         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23306         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
23307         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
23308         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
23309         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
23310         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
23311         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
23312         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
23313         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
23314         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
23315         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
23316         * sysdeps/x86_64/strcmp.S: Likewise.
23318         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
23320         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
23321         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
23322         * elf/rtld-Rules: Likewise.
23323         * elf/setup-vdso.h: Likewise.
23324         * include/assert.h: Likewise.
23325         * include/bits/stdlib-float.h: Likewise.
23326         * include/errno.h: Likewise.
23327         * include/sys/stat.h: Likewise.
23328         * include/unistd.h: Likewise.
23329         * sysdeps/aarch64/setjmp.S: Likewise.
23330         * sysdeps/alpha/setjmp.S: Likewise.
23331         * sysdeps/arm/__longjmp.S: Likewise.
23332         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
23333         * sysdeps/arm/setjmp.S: Likewise.
23334         * sysdeps/arm/sysdep.h: Likewise.
23335         * sysdeps/generic/_itoa.h: Likewise.
23336         * sysdeps/generic/dl-sysdep.h: Likewise.
23337         * sysdeps/generic/ldsodefs.h: Likewise.
23338         * sysdeps/i386/dl-tls.h: Likewise.
23339         * sysdeps/i386/setjmp.S: Likewise.
23340         * sysdeps/m68k/setjmp.c: Likewise.
23341         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
23342         * sysdeps/mach/hurd/opendir.c: Likewise.
23343         * sysdeps/posix/getcwd.c: Likewise.
23344         * sysdeps/posix/opendir.c: Likewise.
23345         * sysdeps/posix/profil.c: Likewise.
23346         * sysdeps/powerpc/dl-procinfo.h: Likewise.
23347         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
23348         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
23349         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
23350         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
23351         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
23352         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
23353         * sysdeps/s390/dl-tls.h: Likewise.
23354         * sysdeps/s390/s390-32/setjmp.S: Likewise.
23355         * sysdeps/s390/s390-64/setjmp.S: Likewise.
23356         * sysdeps/sh/sh3/setjmp.S: Likewise.
23357         * sysdeps/sh/sh4/setjmp.S: Likewise.
23358         * sysdeps/unix/alpha/sysdep.h: Likewise.
23359         * sysdeps/unix/arm/sysdep.S: Likewise.
23360         * sysdeps/unix/i386/sysdep.S: Likewise.
23361         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
23362         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
23363         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
23364         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
23365         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23366         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
23367         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
23368         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
23369         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
23370         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
23371         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
23372         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
23373         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
23374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
23375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23376         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
23377         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23378         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23379         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
23380         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
23381         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
23382         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23383         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23384         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
23385         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
23386         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
23387         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23388         * sysdeps/unix/x86_64/sysdep.S: Likewise.
23389         * sysdeps/x86_64/setjmp.S: Likewise.
23391         * include/math.h: Use IS_IN instead of IS_IN_libm.
23392         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
23393         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
23394         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
23395         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
23396         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
23397         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
23398         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
23399         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
23400         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23401         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
23402         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
23403         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
23404         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
23405         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
23406         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
23407         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
23408         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
23409         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
23410         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
23411         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
23412         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
23413         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
23414         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
23415         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
23416         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
23417         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
23418         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
23419         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
23420         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
23421         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
23422         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
23423         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
23424         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
23425         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
23426         Likewise.
23427         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
23428         Likewise.
23429         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
23430         Likewise.
23431         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
23432         Likewise.
23433         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
23434         Likewise.
23435         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
23436         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
23437         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
23438         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
23439         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
23440         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
23441         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
23442         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
23443         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
23444         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
23445         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
23446         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
23447         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
23448         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
23449         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
23450         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
23451         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
23452         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
23453         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
23454         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
23455         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
23456         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
23457         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
23458         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
23459         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
23460         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
23461         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
23463         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
23464         * nptl/pthreadP.h: Likewise.
23465         * nptl_db/structs.def: Likewise.
23466         * sysdeps/arm/sysdep.h: Likewise.
23467         * sysdeps/nptl/bits/libc-lock.h: Likewise.
23468         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
23469         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
23470         * sysdeps/unix/alpha/sysdep.h: Likewise.
23471         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
23472         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
23473         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
23474         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
23475         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
23476         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
23477         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23478         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
23479         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
23480         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
23481         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
23482         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
23483         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
23484         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
23485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
23486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
23487         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
23488         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
23489         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
23490         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
23491         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
23492         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
23493         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
23494         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
23495         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
23496         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
23498         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
23499         * nptl/pthreadP.h: Likewise.
23500         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
23501         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
23502         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
23503         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
23504         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
23505         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
23506         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
23507         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
23508         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
23509         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
23510         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
23511         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
23512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
23513         Likewise.
23514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
23515         Likewise.
23516         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
23517         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
23518         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
23519         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
23520         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
23521         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
23522         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
23523         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
23525         * dlfcn/dladdr.c: Use IS_IN.
23526         * dlfcn/dladdr1.c: Likewise.
23527         * dlfcn/dlclose.c: Likewise.
23528         * dlfcn/dlerror.c: Likewise.
23529         * dlfcn/dlinfo.c: Likewise.
23530         * dlfcn/dlmopen.c: Likewise.
23531         * dlfcn/dlopen.c: Likewise.
23532         * dlfcn/dlsym.c: Likewise.
23533         * dlfcn/dlvsym.c: Likewise.
23535         * include/ifaddrs.h: Use IS_IN.
23536         * inet/check_pf.c: Likewise.
23537         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
23538         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
23540         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
23541         IS_IN_ldconfig.
23542         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
23543         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
23545         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
23546         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
23547         IS_IN (libc).
23549         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
23551         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
23552         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
23553         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
23554         * include/libc-symbols.h (IS_IN_LIB): New macro.
23555         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
23556         * include/netdb.h: Likewise.
23557         * include/stap-probe.h: Remove all uses of IN_LIB.
23559         * Makeconfig (module-cppflags-real): Define MODULE_NAME
23560         instead of IN_MODULE.
23561         * include/libc-symbols.h (IN_MODULE): Define using
23562         MODULE_NAME.
23563         (PASTE_NAME, PASTE_NAME1): New macros.
23564         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
23565         of IN_LIB.
23566         (STAP_PROBE_ASM): Likewise.
23568 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23570         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
23571         __mach_init in dlopened libc.
23573 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
23575         * sysdeps/arm/preconfigure.ac: Delete EABI check.
23576         * sysdeps/arm/preconfigure: Regenerate.
23578 2014-11-21  Roland McGrath  <roland@hack.frob.com>
23580         * nptl/pthread_create.c (__pthread_create_2_1): Set
23581         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
23582         when copying values from IATTR into PD.
23584 2014-11-21  Will Newton  <will.newton@linaro.org>
23585             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
23587         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
23588         Refactor inline-asm.  Also add comment.
23590         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
23591         ElfW macro instead of hardcoded Elf64 types.
23592         (la_aarch64_gnu_pltenter): Likewise.
23593         * sysdeps/aarch64/dl-machine.h
23594         (elf_machine_runtime_setup): Use ElfW(Addr).
23596         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
23597         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
23598         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
23599         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
23600         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
23601         (R_AARCH64_TLS_DTPMOD64): Rename to ..
23602         (R_AARCH64_TLS_DTPMOD): This.
23603         (R_AARCH64_TLS_DTPREL64): Rename to ...
23604         (R_AARCH64_TLS_DTPREL): This.
23605         (R_AARCH64_TLS_TPREL64): Rename to ...
23606         (R_AARCH64_TLS_TPREL): This.
23607         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
23608         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
23609         R_AARCH64_TLS_TPREL64.
23610         (elf_machine_rela): Likewise.
23612 2014-11-21  Torvald Riegel  <triegel@redhat.com>
23614         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
23615         by setting it to 0.  64b atomics are not supported currently.
23617 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
23619         [BZ #16469]
23620         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
23621         search domain names.
23623 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
23625         [BZ #16469]
23626         * NEWS: Update.
23627         * resolv/res_query.c (__libc_res_nquerydomain): Retain
23628         trailing dot.
23629         * posix/tst-getaddrinfo5.c: New.
23630         * posix/Makefile (tests): Add it.
23632 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
23634         [BZ #14498]
23635         * NEWS: Fixed.
23636         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
23637         after parsing line but before break_if_match.
23638         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
23639         if there is a protocol mismatch.
23641 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
23643         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
23644         because the potential race is on the user-supplied stream.
23646 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
23648         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
23649         string literal if not passed a buffer.
23650         * manual/job.texi (ctermid): Update reasoning, note deviation
23651         from posix, suggest mtasurace when not passed a buffer, for
23652         future non-preliminary safety notes.
23654 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
23656         * manual/users.texi (cuserid): Fix MT-Safety note for the case
23657         of not passing it a buffer.
23658         Reported by Peng Haitao.
23660 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
23662         * manual/Makefile ($(objpfx)stamp-summary): Require
23663         check-safety.sh to pass.
23664         * manual/check-safety.sh: Wish for verification that every
23665         @deftypefn and @deftypefun is followed by a @safety remark.
23667 2014-11-20  Roland McGrath  <roland@hack.frob.com>
23669         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
23671         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
23672         PTHREAD_CANCEL_ASYNCHRONOUS.
23673         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
23674         send SIGCANCEL.
23676         * nptl/default-sched.h: New file.
23677         * sysdeps/unix/sysv/linux/default-sched.h: New file.
23678         * nptl/pthread_create.c: Include it.
23679         (__pthread_create_2_1): Use collect_default_sched instead of making
23680         Linux syscalls here directly.
23682 2014-11-20  Torvald Riegel  <triegel@redhat.com>
23684         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
23685         __pthread_once): Use C11 atomics.
23687 2014-11-20  Torvald Riegel  <triegel@redhat.com>
23689         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
23691 2014-11-20  Torvald Riegel  <triegel@redhat.com>
23693         * include/atomic.h (__atomic_link_error, __atomic_check_size,
23694         atomic_thread_fence_acquire, atomic_thread_fence_release,
23695         atomic_thread_fence_seq_cst, atomic_load_relaxed,
23696         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
23697         atomic_compare_exchange_weak_relaxed,
23698         atomic_compare_exchange_weak_acquire,
23699         atomic_compare_exchange_weak_release,
23700         atomic_exchange_acquire, atomic_exchange_release,
23701         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
23702         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
23703         atomic_fetch_and_acquire,
23704         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
23706 2014-11-20  Torvald Riegel  <triegel@redhat.com>
23708         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
23709         USE_ATOMIC_COMPILER_BUILTINS): Define.
23710         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
23711         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23712         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
23713         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23714         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
23715         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23716         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
23717         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23718         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
23719         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23720         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
23721         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23722         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
23723         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23724         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
23725         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23726         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
23727         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23728         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
23729         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23730         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
23731         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23732         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
23733         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23734         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
23735         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23736         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
23737         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23738         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
23739         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23740         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
23741         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23742         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
23743         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23744         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
23745         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23746         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
23747         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23748         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
23749         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23751 2014-11-19  Roland McGrath  <roland@hack.frob.com>
23753         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
23754         the sched_priority value here.  It was already checked when the user
23755         called pthread_attr_setschedparam.
23757         * nptl/tst-bad-schedattr.c: New file.
23758         * nptl/Makefile (tests): Add it.
23760 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
23761             Florian Weimer  <fweimer@redhat.com>
23762             Joseph Myers  <joseph@codesourcery.com>
23763             Adam Conrad  <adconrad@0c3.net>
23764             Andreas Schwab  <schwab@suse.de>
23765             Brooks  <bmoses@google.com>
23767         [BZ #17625]
23768         * wordexp-test.c (__dso_handle): Add prototype.
23769         (__register_atfork): Likewise.
23770         (__app_register_atfork): New function.
23771         (registered_forks): New global.
23772         (register_fork): New function.
23773         (test_case): Add 3 new tests for WRDE_CMDSUB.
23774         (main): Call __app_register_atfork.
23775         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
23776         fork count is non-zero fail the test.
23777         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
23778         is set.
23779         (parse_dollars): Remove check for WRDE_NOCMD.
23780         (parse_dquote): Likewise.
23782 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23784         * Makeconfig (built-modules): List non-library modules to be
23785         built.
23786         (module-cppflags): Include libc-modules.h for
23787         everything except shlib-versions.v.i.
23788         (CPPFLAGS): Use it.
23789         (before-compile): Add libc-modules.h.
23790         ($(common-objpfx)libc-modules.h,
23791         $(common-objpfx)libc-modules.stmp): New targets.
23792         (common-generated): Add libc-modules.h and libc-modules.stmp.
23793         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
23794         * include/libc-symbols.h: Don't include libc-modules.h.
23795         * include/libc-modules.h: Remove file.
23796         * scripts/gen-libc-modules.awk: New script to generate
23797         libc-modules.h.
23798         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
23799         Depend on libc-modules.stmp.
23801         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
23803         * Makeconfig (in-module): Get value of libof set for the
23804         translation unit.
23805         (CPPFLAGS): Use $(in-module).
23806         * Makerules: Don't suffix routine names for nonlib.
23807         * include/libc-modules.h: New file.
23808         * include/libc-symbols.h: Include libc-modules.h
23809         (IS_IN): New macro to replace IS_IN_* macros.
23810         * elf/Makefile: Set libof-* for each routine.
23811         * elf/rtld-Rules: Likewise.
23812         * extra-modules.mk: Likewise.
23813         * iconv/Makefile: Likewise.
23814         * iconvdata/Makefile: Likewise.
23815         * locale/Makefile: Likewise.
23816         * malloc/Makefile: Likewise.
23817         * nss/Makefile: Likewise.
23818         * sysdeps/gnu/Makefile: Likewise.
23819         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
23820         * sysdeps/unix/sysv/linux/Makefile: Likewise.
23821         * sysdeps/s390/s390-64/Makefile: Likewise.
23822         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
23823         CPPFLAGS for nscd instead of nonlib.
23825 2014-11-18  Roland McGrath  <roland@hack.frob.com>
23827         * nptl/createthread.c: New file.
23829         * nptl/createthread.c: Moved ...
23830         * sysdeps/unix/sysv/linux/createthread.c: ... here.
23832         * nptl/createthread.c: Add proper top-line comment.
23833         (do_clone): Folded into ...
23834         (create_thread): ... here.  Take new arguments STOPPED_START and
23835         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
23836         increment __nptl_threads, do event-reporting logic, do
23837         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
23838         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
23839         resource cleanup if sched_setaffinity or sched_setscheduler fails,
23840         just send SIGCANCEL.
23841         * nptl/pthread_create.c: Forward-declare create_thread before
23842         including createthread.c.
23843         (start_thread): Use new macro START_THREAD_DEFN to replace defining
23844         declaration, and new macro START_THREAD_SELF to replace argument.
23845         Remove return statement.
23846         (report_thread_creation): New function.
23847         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
23848         synchronization logic, and __nptl_nthreads increment here, around
23849         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
23850         PD->parent_cancelhandling here, before create_thread.  When
23851         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
23852         __deallocate_stack, and ENOMEM translation here.
23854 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
23856         [BZ #17616]
23857         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
23858         (mptwo): Rename to __mptwo.
23859         (__inv): Use __mptwo instead of mptwo.
23860         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
23861         (mptwo): Rename to __mptwo.
23862         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
23863         of mpone and __mptwo instead of mptwo.
23864         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
23865         instead of mpone.
23866         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
23867         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
23868         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
23869         of mpone and __mptwo instead of mptwo.
23870         (__mpranred): Use __mpone instead of mpone.
23871         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
23872         variable.
23873         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
23874         (test-xfail-ISO99/math.h/linknamespace): Likewise.
23875         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
23876         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
23877         (test-xfail-ISO11/math.h/linknamespace): Likewise.
23878         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
23879         (test-xfail-XPG3/math.h/linknamespace): Likewise.
23880         (test-xfail-XPG4/math.h/linknamespace): Likewise.
23881         (test-xfail-POSIX/math.h/linknamespace): Likewise.
23882         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
23883         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
23884         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
23885         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
23886         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
23887         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
23888         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
23889         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
23890         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
23891         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
23893 2014-11-18  Tom de Vries  <tom@codesoucery.com>
23895         * manual/signal.texi (Primitives Interrupted by Signals): In section,
23896         replace BSD Handler xref with BSD Signal Handling.
23898 2014-11-17  Richard Henderson  <rth@redhat.com>
23900         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
23901         (_FP_PACK_RAW_2): Remove.
23902         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
23903         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
23904         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
23905         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
23906         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
23907         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
23908         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
23909         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
23910         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
23911         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
23912         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
23913         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
23914         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
23915         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
23916         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
23917         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
23919 2014-11-14  Roland McGrath  <roland@hack.frob.com>
23921         * signal/signal.h [__USE_MISC]
23922         (struct sigvec): Remove type.
23923         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
23924         (sigvec): Remove declaration.
23925         * sysdeps/posix/sigvec.c: Moved ...
23926         * signal/sigvec.c: ... here, replacing old file.
23927         (struct sigvec): New type, copied from old signal.h definition.
23928         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
23929         (__sigvec): Convert definition to prototype.
23930         (sigvec): Replace weak_alias with compat_symbol.
23931         * signal/Versions (libc: GLIBC_2.21): New version set.
23932         * include/signal.h: Remove __sigvec declaration.
23933         * sysdeps/unix/bsd/sigvec.c: Remove file.
23934         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
23935         * manual/signal.texi (BSD Handler): Remove subsection.
23936         Move siginterrupt up to ...
23937         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
23938         (Blocking in BSD): Fold subsection into its parent.
23939         * NEWS: Mention sigvec removal.
23941 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
23943         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
23944         (DLA_FMS): Make definition conditional only on [__FMA4__].
23945         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
23946         definition.
23948         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
23949         Make definition conditional only on [PROF].
23950         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
23951         definition.
23952         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
23953         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
23955         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
23956         !__GNUC__].
23957         * include/signal.h (__sigpause): Move declaration above call to
23958         libc_hidden_proto.
23959         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
23960         variable.
23961         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
23962         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
23964 2014-11-14  David S. Miller  <davem@davemloft.net>
23966         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
23967         Define before including <string/memcpy.c> and <string/mempcpy.c>.
23969 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
23971         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
23972         * configure: Regenerated.
23973         * manual/install.texi (Tools for Compilation): Document a
23974         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
23975         compiler verified to work.
23976         * INSTALL: Regenerated.
23978         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
23979         redeclare with asm name.
23980         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
23981         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
23982         including <string.h>.
23983         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
23984         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
23985         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
23986         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
23987         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
23988         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
23989         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
23991 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
23993         * stdlib/strtol.c (__strtol): Use prototype definition.
23995         [BZ #17594]
23996         * stdlib/strtol.c (SYM__): New macro.
23997         (SYM__1): Likewise.
23998         (__strtol): Likewise.
23999         (strtol): Rename to __strtol and define as weak alias of
24000         __strtol.  Use libc_hidden_weak.
24002 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
24004         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
24005         Use numbered labels in inline assembly.
24007 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
24009         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
24010         Add setjmp LIBC_PROBE.
24011         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
24012         Likewise.
24013         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
24014         Add longjmp, longjmp_target LIBC_PROBE.
24015         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
24016         Likewise.
24018 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
24020         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
24021         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
24022         to get rid of unused variable warning.
24024 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
24026         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
24027         Check for unwind_backtrace ==  NULL only in SHARED case.
24028         (__backchain_backtrace): Compile only in SHARED case.
24029         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
24030         Likewise.
24031         (__backchain_backtrace): Declare as static.
24033 2014-11-12  Roland McGrath  <roland@hack.frob.com>
24035         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
24036         (__libc_multiple_threads_ptr): Variable moved ...
24037         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
24039 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
24041         * conform/GlibcConform.pm: New file.
24042         * conform/conformtest.pl: Use GlibcConform module.
24043         * conform/linknamespace.pl: New file.
24044         * conform/list-header-symbols.pl: Likewise.
24045         * conform/Makefile (linknamespace-symlists-base): New variable.
24046         (linknamespace-symlists-tests): Likewise.
24047         (linknamespace-header-base): Likewise.
24048         (linknamespace-header-tests): Likewise.
24049         (tests-special): Add new tests.
24050         ($(linknamespace-symlists-tests)): New rule.
24051         (linknamespace-libs): New variable.
24052         ($(objpfx)symlist-stdlibs): New rule.
24053         ($(linknamespace-header-tests)): Likewise.
24054         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
24055         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
24056         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
24057         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
24058         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
24059         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
24060         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
24061         (test-xfail-ISO/math.h/linknamespace): Likewise.
24062         (test-xfail-ISO/signal.h/linknamespace): Likewise.
24063         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
24064         (test-xfail-ISO/time.h/linknamespace): Likewise.
24065         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
24066         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
24067         (test-xfail-ISO99/math.h/linknamespace): Likewise.
24068         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
24069         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
24070         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
24071         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
24072         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
24073         (test-xfail-ISO11/math.h/linknamespace): Likewise.
24074         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
24075         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
24076         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
24077         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
24078         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
24079         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
24080         (test-xfail-XPG3/math.h/linknamespace): Likewise.
24081         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
24082         (test-xfail-XPG3/search.h/linknamespace): Likewise.
24083         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
24084         (test-xfail-XPG3/time.h/linknamespace): Likewise.
24085         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
24086         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
24087         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
24088         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
24089         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
24090         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
24091         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
24092         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
24093         (test-xfail-XPG4/math.h/linknamespace): Likewise.
24094         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
24095         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
24096         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
24097         (test-xfail-XPG4/search.h/linknamespace): Likewise.
24098         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
24099         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
24100         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
24101         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
24102         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
24103         (test-xfail-XPG4/time.h/linknamespace): Likewise.
24104         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
24105         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
24106         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
24107         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
24108         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
24109         (test-xfail-POSIX/math.h/linknamespace): Likewise.
24110         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
24111         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
24112         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
24113         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
24114         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
24115         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
24116         (test-xfail-POSIX/time.h/linknamespace): Likewise.
24117         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
24118         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
24119         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
24120         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
24121         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
24122         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
24123         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
24124         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
24125         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
24126         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
24127         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
24128         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
24129         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
24130         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
24131         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
24132         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
24133         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
24134         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
24135         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
24136         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
24137         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
24138         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
24139         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
24140         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
24141         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
24142         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
24143         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
24144         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
24145         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
24146         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
24147         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
24148         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
24149         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
24150         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
24151         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
24152         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
24153         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
24154         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
24155         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
24156         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
24157         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
24158         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
24159         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
24160         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
24161         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
24162         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
24163         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
24164         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
24165         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
24166         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
24167         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
24168         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
24169         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
24170         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
24171         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
24172         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
24173         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
24174         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
24175         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
24176         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
24177         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
24178         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
24179         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
24180         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
24181         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
24182         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
24183         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
24184         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
24185         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
24186         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
24187         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
24188         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
24189         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
24190         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
24191         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
24192         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
24193         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
24194         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
24195         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
24196         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
24197         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
24198         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
24199         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
24200         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
24201         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
24202         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
24203         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
24204         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
24205         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
24206         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
24207         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
24208         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
24209         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
24210         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
24211         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
24212         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
24213         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
24214         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
24216         [BZ #17589]
24217         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
24218         of fgets_unlocked.
24220         [BZ #17585]
24221         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
24222         (memmem): Rename to __memmem and define as weak alias of
24223         __memmem.  Use libc_hidden_weak.
24224         (__memmem): Use libc_hidden_def.
24225         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
24226         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
24227         memmem.
24229         [BZ #17582]
24230         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
24231         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
24232         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
24233         and define as weak alias of __fgets_unlocked.  Use
24234         libc_hidden_weak.
24235         (__fgets_unlocked): Use libc_hidden_def.
24236         * include/stdio.h (__fgets_unlocked): Declare.  Use
24237         libc_hidden_proto.
24238         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
24239         __fgets_unlocked instead of fgets_unlocked.
24240         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
24241         (GET_NPROCS_CONF_PARSER): Likewise.
24242         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
24243         (GET_NPROCS_CONF_PARSER): Likewise.
24245         [BZ #17574]
24246         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
24247         weak alias of __wmemset.  Use libc_hidden_weak.
24248         (__wmemset): Use libc_hidden_def.
24249         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
24250         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
24251         of wmemset.
24253         [BZ #17573]
24254         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
24255         with asm name __mempcpy.
24256         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
24258         [BZ #17572]
24259         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
24260         and define as weak alias of __rawmemchr.
24261         (__rawmemchr): Do not define as strong alias of rawmemchr.
24263         [BZ #17571]
24264         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
24265         alias of __qsort_r.
24266         (qsort): Call __qsort_r instead of qsort_r.
24267         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
24268         (__qsort_r): Declare.  Call libc_hidden_proto.
24269         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
24270         instead of qsort_r.
24271         * nscd/gai.c (__qsort_r): Define to qsort_r.
24272         * posix/tst-rfc3484.c (__qsort_r): Likewise.
24273         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
24274         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
24276         [BZ #17570]
24277         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
24278         define as weak alias of __malloc_info.
24280         [BZ #17584]
24281         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
24282         as weak alias of __rewinddir.  Don't use libc_hidden_def.
24283         (__rewinddir): Use libc_hidden_def.
24284         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
24285         as weak alias of __rewinddir.  Don't use libc_hidden_def.
24286         (__rewinddir): Use libc_hidden_def.
24287         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
24288         weak alias of __rewinddir.  Don't use libc_hidden_def.
24289         (__rewinddir): Use libc_hidden_def.
24290         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
24291         (__rewinddir): Use libc_hidden_proto.
24292         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
24293         rewinddir.
24294         (__getcwd): Use __rewinddir instead of rewinddir.
24296         [BZ #17583]
24297         * libio/fileno.c (fileno): Rename to __fileno and define as weak
24298         alias of __fileno.  Use libc_hidden_weak.
24299         (__fileno): Use libc_hidden_def.
24300         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
24301         * libio/ftello.c (ftello): Rename to __ftello and define as weak
24302         alias of __ftello.
24303         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
24304         __ftello.
24305         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
24306         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
24307         libc_hidden_def.
24308         (fread_unlocked): Don't use libc_hidden_ver.
24309         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
24310         and define as weak alias of __fread_unlocked.  Don't use
24311         libc_hidden_def.
24312         (__fread_unlocked): Use libc_hidden_def.
24313         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
24314         (ftello): Don't use libc_hidden_proto.
24315         (__ftello): Declare.  Use libc_hidden_proto.
24316         (fread_unlocked): Don't use libc_hidden_proto.
24317         (__fread_unlocked): Declare.  Use libc_hidden_proto.
24318         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
24319         and __ftello instead of fileno, fread_unlocked and ftello.
24321 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
24323         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
24324         GOT12.
24325         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
24326         Likewise.
24327         (_dl_start_user): Likewise.
24328         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
24330 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
24331             Siddhesh Poyarekar  <siddhesh@redhat.com>
24333         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
24334         Move argv and envp down instead of moving argc up.
24335         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
24337 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
24339         [BZ #17506]
24340         * test-skeleton.c (main): Return successful if one of
24341         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
24342         * string/tst-strcoll-overflow.c: Define expected status.
24344 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
24346         [BZ #17475]
24347         * locale/iso-639.def: Define Bhili and Tulu language codes.
24349 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
24351         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
24353 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
24355         [BZ #17555]
24356         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
24358 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
24360         * configure.ac: Updated check of minimal required version to
24361         2.22.
24362         * manual/install.texi (Tools for Compilation): Updated version
24363         number.
24364         * configure: Regenerated.
24365         * INSTALL: Likewise.
24367 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
24369         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
24370         __tls_get_addr.
24372 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
24374         * include/sys/wait.h (__libc_waitpid): Remove declaration.
24375         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
24376         (__waitpid): Don't define as alias.  Use libc_hidden_def not
24377         libc_hidden_weak.
24378         (waitpid): Define as alias of __waitpid.
24379         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
24380         __waitpid.
24381         (__waitpid): Don't define as alias.  Use libc_hidden_def not
24382         libc_hidden_weak.
24383         (waitpid): Define as alias of __waitpid.
24384         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
24385         __libc_waitpid alias.
24386         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
24387         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
24388         Likewise.
24389         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
24390         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
24391         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
24392         alias.
24393         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
24394         __waitpid.
24395         (__waitpid): Don't define as alias.  Use libc_hidden_def not
24396         libc_hidden_weak.
24397         (waitpid): Define as alias of __waitpid.
24399 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
24401         * manual/llio.texi: Add comment that write safety has been
24402         fixed in Linux.
24404         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
24405         (localplt-build-dso): Add elf/ld.so.
24406         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
24407         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
24408         and free for ld.so.
24409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
24410         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
24411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
24412         Likewise.
24413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
24414         Likewise.
24415         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
24416         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
24417         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
24418         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
24419         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
24420         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
24421         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
24422         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
24423         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
24424         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
24425         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
24427 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
24429         [BZ #14132]
24430         * include/libc-symbols.h (INTUSE): Remove macro.
24431         (INTDEF): Likewise.
24432         (INTVARDEF): Likewise.
24433         (_INTVARDEF): Likewise.
24434         (INTDEF2): Likewise.
24435         (INTVARDEF2): Likewise.
24436         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
24437         rtld_hidden_def instead of INTVARDEF.
24438         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
24439         (_dl_starting_up_internal): Remove declaration.
24440         (_dl_starting_up): Use rtld_hidden_proto.
24441         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
24442         declaration.
24443         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
24444         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
24445         _dl_starting_up.
24446         * elf/dl-writev.h (_dl_writev): Likewise.
24447         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
24448         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
24449         _dl_starting_up_internal.
24451 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24453         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
24454         test-skeleton.c.
24456 2014-11-05  Will Newton  <will.newton@linaro.org>
24458         * benchtests/Makefile: (bench-malloc): Add malloc thread
24459         scalability benchmark.
24460         * benchtests/bench-malloc-threads.c: New file.
24462 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
24464         * sysdeps/aarch64/strchrnul.S: New file.
24466 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24468         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
24469         definition.
24470         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
24471         Likwise.
24472         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
24473         Likewise.
24474         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
24475         Likewise.
24476         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
24477         Likewise.
24478         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
24479         Likewise.
24481 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
24483         * catgets/test-gencat.c: Use test-skeleton.c.
24484         * catgets/tst-catgets.c: Likewise.
24485         * csu/tst-empty.c: Likewise.
24486         * elf/tst-audit2.c: Likewise.
24487         * elf/tst-global1.c: Likewise.
24488         * elf/tst-pathopt.c: Likewise.
24489         * elf/tst-piemod1.c: Likewise.
24490         * elf/tst-tls10.c: Likewise.
24491         * elf/tst-tls11.c: Likewise.
24492         * elf/tst-tls12.c: Likewise.
24493         * gnulib/tst-gcc.c: Likewise.
24494         * iconvdata/tst-e2big.c: Likewise.
24495         * iconvdata/tst-loading.c: Likewise.
24496         * iconv/tst-iconv1.c: Likewise.
24497         * iconv/tst-iconv2.c: Likewise.
24498         * inet/test-inet6_opt.c: Likewise.
24499         * inet/tst-gethnm.c: Likewise.
24500         * inet/tst-network.c: Likewise.
24501         * inet/tst-ntoa.c: Likewise.
24502         * intl/tst-codeset.c: Likewise.
24503         * intl/tst-gettext2.c: Likewise.
24504         * intl/tst-gettext3.c: Likewise.
24505         * intl/tst-ngettext.c: Likewise.
24506         * intl/tst-translit.c: Likewise.
24507         * io/test-stat.c: Likewise.
24508         * libio/test-fmemopen.c: Likewise.
24509         * libio/tst-freopen.c: Likewise.
24510         * libio/tst-sscanf.c: Likewise.
24511         * libio/tst-ungetwc1.c: Likewise.
24512         * libio/tst-ungetwc2.c: Likewise.
24513         * libio/tst-widetext.c: Likewise.
24514         * localedata/tst-ctype.c: Likewise.
24515         * localedata/tst-digits.c: Likewise.
24516         * localedata/tst-leaks.c: Likewise.
24517         * localedata/tst-mbswcs1.c: Likewise.
24518         * localedata/tst-mbswcs2.c: Likewise.
24519         * localedata/tst-mbswcs3.c: Likewise.
24520         * localedata/tst-mbswcs4.c: Likewise.
24521         * localedata/tst-mbswcs5.c: Likewise.
24522         * localedata/tst-setlocale.c: Likewise.
24523         * localedata/tst-trans.c: Likewise.
24524         * localedata/tst-wctype.c: Likewise.
24525         * localedata/tst-xlocale1.c: Likewise.
24526         * login/tst-grantpt.c: Likewise.
24527         * malloc/tst-calloc.c: Likewise.
24528         * malloc/tst-malloc.c: Likewise.
24529         * malloc/tst-mallocstate.c: Likewise.
24530         * malloc/tst-mcheck.c: Likewise.
24531         * malloc/tst-mtrace.c: Likewise.
24532         * malloc/tst-obstack.c: Likewise.
24533         * math/atest-exp2.c: Likewise.
24534         * math/atest-exp.c: Likewise.
24535         * math/atest-sincos.c: Likewise.
24536         * math/test-matherr.c: Likewise.
24537         * math/test-misc.c: Likewise.
24538         * math/test-powl.c: Likewise.
24539         * math/tst-definitions.c: Likewise.
24540         * misc/tst-dirname.c: Likewise.
24541         * misc/tst-efgcvt.c: Likewise.
24542         * misc/tst-fdset.c: Likewise.
24543         * misc/tst-hsearch.c: Likewise.
24544         * misc/tst-mntent2.c: Likewise.
24545         * nptl/tst-sem7.c: Likewise.
24546         * nptl/tst-sem8.c: Likewise.
24547         * nptl/tst-sem9.c: Likewise.
24548         * nss/test-netdb.c: Likewise.
24549         * posix/tst-fnmatch.c: Likewise.
24550         * posix/tst-getlogin.c: Likewise.
24551         * posix/tst-gnuglob.c: Likewise.
24552         * posix/tst-mmap.c: Likewise.
24553         * pwd/tst-getpw.c: Likewise.
24554         * resolv/tst-inet_ntop.c: Likewise.
24555         * rt/tst-timer.c: Likewise.
24556         * stdio-common/test-fseek.c: Likewise.
24557         * stdio-common/test-popen.c: Likewise.
24558         * stdio-common/test-vfprintf.c: Likewise.
24559         * stdio-common/tst-cookie.c: Likewise.
24560         * stdio-common/tst-fileno.c: Likewise.
24561         * stdio-common/tst-gets.c: Likewise.
24562         * stdio-common/tst-obprintf.c: Likewise.
24563         * stdio-common/tst-perror.c: Likewise.
24564         * stdio-common/tst-sprintf2.c: Likewise.
24565         * stdio-common/tst-sprintf3.c: Likewise.
24566         * stdio-common/tst-sprintf.c: Likewise.
24567         * stdio-common/tst-swprintf.c: Likewise.
24568         * stdio-common/tst-tmpnam.c: Likewise.
24569         * stdio-common/tst-unbputc.c: Likewise.
24570         * stdio-common/tst-wc-printf.c: Likewise.
24571         * stdlib/tst-environ.c: Likewise.
24572         * stdlib/tst-fmtmsg.c: Likewise.
24573         * stdlib/tst-limits.c: Likewise.
24574         * stdlib/tst-rand48-2.c: Likewise.
24575         * stdlib/tst-rand48.c: Likewise.
24576         * stdlib/tst-random2.c: Likewise.
24577         * stdlib/tst-random.c: Likewise.
24578         * stdlib/tst-strtol.c: Likewise.
24579         * stdlib/tst-strtoll.c: Likewise.
24580         * stdlib/tst-tls-atexit.c: Likewise.
24581         * stdlib/tst-xpg-basename.c: Likewise.
24582         * string/test-ffs.c: Likewise.
24583         * string/tst-bswap.c: Likewise.
24584         * string/tst-inlcall.c: Likewise.
24585         * string/tst-strtok.c: Likewise.
24586         * string/tst-strxfrm.c: Likewise.
24587         * sysdeps/x86_64/tst-audit10.c: Likewise.
24588         * sysdeps/x86_64/tst-audit3.c: Likewise.
24589         * sysdeps/x86_64/tst-audit4.c: Likewise.
24590         * sysdeps/x86_64/tst-audit5.c: Likewise.
24591         * time/tst-ftime_l.c: Likewise.
24592         * time/tst-getdate.c: Likewise.
24593         * time/tst-mktime3.c: Likewise.
24594         * time/tst-mktime.c: Likewise.
24595         * time/tst-posixtz.c: Likewise.
24596         * time/tst-strptime2.c: Likewise.
24597         * time/tst-strptime3.c: Likewise.
24598         * wcsmbs/tst-btowc.c: Likewise.
24599         * wcsmbs/tst-mbrtowc.c: Likewise.
24600         * wcsmbs/tst-mbsrtowcs.c: Likewise.
24601         * wcsmbs/tst-wchar-h.c: Likewise.
24602         * wcsmbs/tst-wcpncpy.c: Likewise.
24603         * wcsmbs/tst-wcrtomb.c: Likewise.
24604         * wcsmbs/tst-wcsnlen.c: Likewise.
24605         * wcsmbs/tst-wcstof.c: Likewise.
24607 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
24609         [BZ #14132]
24610         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
24611         INTDEF.
24612         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
24613         declaration.
24614         (_dl_mcount): Use rtld_hidden_proto.
24615         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
24616         _dl_mcount.
24617         * elf/rtld.c (_rtld_global_ro): Likewise.
24619         [BZ #14132]
24620         * elf/dl-init.c (_dl_init): Don't use INTDEF.
24621         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
24622         of _dl_init_internal.
24623         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
24624         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
24625         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
24626         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
24627         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
24628         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
24629         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
24630         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
24631         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
24632         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
24633         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
24634         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
24635         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
24636         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
24637         * sysdeps/tile/dl-start.S (_start): Likewise.
24638         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
24639         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
24641         [BZ #14132]
24642         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
24643         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
24644         (rtld_progname): Make macro definition unconditional.
24645         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
24646         INTDEF.
24647         (dlmopen_doit): Do not use INTUSE with _dl_argv.
24648         (dl_main): Likewise.
24649         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
24650         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
24651         instead of _dl_argv_internal.
24652         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
24653         __GI__dl_argv instead of INTUSE(_dl_argv).
24654         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
24655         __GI__dl_argv instead of _dl_argv_internal.
24657         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
24658         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
24659         macro.
24660         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
24661         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
24662         New macro.
24663         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
24664         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
24665         macro.
24666         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
24667         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
24669 2014-11-04  Andreas Schwab  <schwab@suse.de>
24671         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
24673 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24675         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
24676         mtvsrd instruction in binary form.
24678 2014-11-03  Andreas Schwab  <schwab@suse.de>
24680         [BZ #17522]
24681         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
24682         for less than MB_LEN_MAX use a local buffer of that size.
24683         * libio/tst-fputws.c: New file.
24684         * libio/Makefile (tests): Add tst-fputws.
24686 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
24688         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
24689         the size of the fpu_fr.fpu_dregs[] array.
24691 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
24693         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
24694         (__nanosleep): Do not define as alias.
24695         (nanosleep): Define as alias of __nanosleep.
24696         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
24697         __libc_nanosleep name.
24699 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
24701         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
24702         install.texi in comment.
24704 2014-10-31  Torvald Riegel  <triegel@redhat.com>
24706         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
24707         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
24708         ... add here and use lwsync or sync ...
24709         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
24710         ... and add here using lwsync.
24712 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
24714         * elf/dl-machine-reject-phdr.h: New file.
24715         * elf/dl-load.c: #include that.
24716         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
24717         if that returned true.
24719 2014-10-31  Roland McGrath  <roland@hack.frob.com>
24721         [BZ #17496]
24722         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
24723         gen-as-const-headers chunk.  Add a big scare comment after the last
24724         safe place to touch before-compile.
24726 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
24728         * manual/install.texi (Tools for Compilation): Update autoconf
24729         version requirements.
24730         * INSTALL: Regenerated.
24732         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
24733         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
24734         (__libc_pselect): Likewise.
24736         [BZ #14138]
24737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
24738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
24739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
24740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
24742 2014-10-31  Torvald Riegel  <triegel@redhat.com>
24744         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
24745         correct barrier instruction.
24746         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
24747         Likewise.
24748         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
24749         Likewise.
24751 2014-10-30  Roland McGrath  <roland@hack.frob.com>
24753         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
24754         after defining inlines.  Instead, just use parens to defeat macro
24755         expansion of __isctype in its declaration.
24757 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
24759         * include/sys/uio.h (__libc_readv): Remove declaration.
24760         (__libc_writev): Likewise.
24761         * misc/readv.c (__libc_readv): Rename to __readv.
24762         (__readv): Do not define as alias.
24763         (readv): Define as alias of __readv.
24764         * misc/writev.c (__libc_writev): Rename to __writev.
24765         (__writev): Do not define as alias.
24766         (writev): Define as alias of __writev.
24767         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
24768         (__readv): Do not define as alias.
24769         (readv): Define unconditionally as alias of __readv.
24770         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
24771         (__writev): Do not define as alias.
24772         (writev): Define unconditionally as alias of __writev.
24773         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
24774         name.
24775         (writev): Do not define __libc_writev name.
24777 2014-10-30  Roland McGrath  <roland@hack.frob.com>
24779         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
24780         (convert_charseq): New function, broken out of ...
24781         (use_from_charmap): ... here.  Call it.
24782         (use_to_charmap): Use convert_charseq and free instead of duplicating
24783         its code with a variable-length stack struct.
24785 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
24787         * include/fcntl.h (__libc_creat): Remove declaration.
24788         * io/creat.c (__libc_creat): Rename to creat.
24789         (creat): Do not define as alias.
24790         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
24791         of creat instead of __libc_creat.
24792         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
24793         to creat.
24794         (creat): Do not define as alias.
24795         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
24796         __libc_creat.
24797         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
24798         __libc_creat name.
24799         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
24800         Likewise.
24802 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
24804         * manual/llio.texi: Add comments discussing why write() may be
24805         considered MT-unsafe on Linux.
24807 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
24809         * dl-load.c (local_strdup): Remove.
24810         (expand_dynamic_string_token): Use __strdup.
24811         (decompose_rpath): Likewise.
24812         (_dl_map_object): Likewise.
24814 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
24816         [BZ #14132]
24817         * sysdeps/generic/unwind-dw2-fde.c
24818         (__register_frame_info_bases_internal): Do not declare.
24819         (__register_frame_info_table_bases_internal): Likewise.
24820         (__deregister_frame_info_bases_internal): Likewise.
24821         (__register_frame_info_bases): Declare and use hidden_proto before
24822         definition.  Use hidden_def instead of INTDEF.
24823         (__register_frame_info_table_bases): Likewise.
24824         (__deregister_frame_info_bases): Likewise.
24825         (__register_frame_info): Do not use INTUSE.
24826         (__register_frame): Likewise.
24827         (__register_frame_info_table): Likewise.
24828         (__register_frame_table): Likewise.
24829         (__deregister_frame_info): Likewise.
24830         (__deregister_frame): Likewise.
24832 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
24834         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24835         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
24836         not undefine.
24837         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
24838         Likewise.
24839         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
24840         Likewise.
24842 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
24844         [BZ #14138]
24845         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
24846         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
24847         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
24848         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
24849         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
24850         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
24851         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
24852         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
24853         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
24854         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
24855         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
24856         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
24857         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
24858         syscall.
24859         (setfsuid): Likewise.
24860         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
24861         (setfsuid): Likewise.
24862         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
24863         (setfsuid): Likewise.
24864         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
24865         Likewise.
24866         (setfsuid): Likewise.
24867         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
24868         (setfsuid): Likewise.
24869         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
24870         Likewise.
24871         (setfsuid): Likewise.
24873 2014-10-27  Andreas Schwab  <schwab@suse.de>
24875         [BZ #17501]
24876         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
24877         check for Slow_SSE4_2 feature bit.
24878         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
24879         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
24880         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
24881         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
24883 2014-10-24  Roland McGrath  <roland@hack.frob.com>
24885         * configure.ac: Validate compiler version with a empirical test of
24886         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
24887         $CC -v output.
24888         * configure: Regenerated.
24890         * inet/htons.c (htons): Prototypify.
24891         * inet/htonl.c (htonl): Likewise.
24893 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
24895         * string/strncat.c (strncat): Improve performance by using strlen.
24897 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
24899         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
24901 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
24903         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
24904         Call libc_fetestexcept_aarch64.
24906 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
24908         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
24909         Call libc_feholdexcept_aarch64.
24911 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
24913         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
24914         Call get_rounding_mode.
24916 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
24918         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
24919         Simplify logic.
24921 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
24923         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
24924         Simplify logic.
24926 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
24928         [BZ #14138]
24929         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
24930         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
24931         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
24932         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
24933         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
24934         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
24935         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
24936         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
24937         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
24938         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
24939         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
24940         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
24941         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
24942         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
24943         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
24944         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
24945         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
24946         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
24947         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
24948         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
24949         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
24950         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
24951         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
24952         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
24953         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
24954         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
24955         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
24956         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
24957         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
24958         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
24959         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
24960         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
24961         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
24962         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
24963         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
24964         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
24965         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
24966         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
24967         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
24968         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
24969         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
24970         syscall.
24971         (geteuid): Likewise.
24972         (getgid): Likewise.
24973         (getuid): Likewise.
24974         (getresgid): Likewise.
24975         (getresuid): Likewise.
24976         (getgroups): Likewise.
24977         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
24978         (geteuid): Likewise.
24979         (getgid): Likewise.
24980         (getuid): Likewise.
24981         (getresgid): Likewise.
24982         (getresuid): Likewise.
24983         (getgroups): Likewise.
24984         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
24985         (geteuid): Likewise.
24986         (getgid): Likewise.
24987         (getuid): Likewise.
24988         (getresgid): Likewise.
24989         (getresuid): Likewise.
24990         (getgroups): Likewise.
24991         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
24992         Likewise.
24993         (geteuid): Likewise.
24994         (getgid): Likewise.
24995         (getuid): Likewise.
24996         (getresgid): Likewise.
24997         (getresuid): Likewise.
24998         (getgroups): Likewise.
24999         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
25000         (geteuid): Likewise.
25001         (getgid): Likewise.
25002         (getuid): Likewise.
25003         (getresgid): Likewise.
25004         (getresuid): Likewise.
25005         (getgroups): Likewise.
25006         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
25007         Likewise.
25008         (geteuid): Likewise.
25009         (getgid): Likewise.
25010         (getuid): Likewise.
25011         (getgroups): Likewise.
25013         [BZ #14138]
25014         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
25015         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
25016         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
25017         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
25018         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
25019         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
25020         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
25021         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
25022         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
25023         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
25024         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
25025         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
25026         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
25027         __chown.
25028         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
25029         (lchown): Likewise.
25030         (fchown): Likewise.
25031         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
25032         Likewise.
25033         (lchown): Likewise.
25034         (fchown): Likewise.
25035         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
25036         (lchown): Likewise.
25037         (fchown): Likewise.
25038         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
25039         Likewise.
25040         (lchown): Likewise.
25041         (fchown): Likewise.
25043 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
25045         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
25046         Simplify logic.
25048 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
25050         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
25051         Cleanup logic.
25053 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
25055         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
25056         Remove unused include.
25058 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
25060         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
25061         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
25062         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
25063         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
25065 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
25066             Helge Deller <deller@gmx.de>
25068         [BZ #17508]
25069         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
25070         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
25071         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
25073 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
25075         [BZ #14132]
25076         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
25077         Remove macro definition.
25078         (__ashrdi3_v_glibc20): Likewise.
25079         (__lshrdi3_v_glibc20): Likewise.
25080         (__cmpdi2_v_glibc20): Likewise.
25081         (__ucmpdi2_v_glibc20): Likewise.
25082         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
25083         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
25084         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
25085         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
25086         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
25087         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
25089 2014-10-22  Roland McGrath  <roland@hack.frob.com>
25091         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
25092         old GNU extension [0] syntax.
25093         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
25094         alloca rather than an array member with variable length.
25095         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
25096         * nscd/nscd.c (invalidate_db): New function, broken out of ...
25097         (parse_opt): ... here.  Likewise use alloca there.
25098         Validate the -i argument before checking for rootness.
25099         (send_shutdown): New function, broken out of ...
25100         (parse_opt): ... here.
25102 2014-10-22  Roland McGrath  <roland@hack.frob.com>
25104         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
25105         macro to get at the _rt_local_ro field.
25106         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
25107         ([PIC] case) or _dl_hwcap ([!PIC] case).
25108         * sysdeps/arm/setjmp.S: Likewise.
25110         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
25111         * sysdeps/arm/configure.ac: New check to define it.
25112         * sysdeps/arm/configure: Regenerated.
25113         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
25114         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
25115         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
25116         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
25117         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
25118         Use move/movt pair instead of a load.
25119         (LDST_GLOBAL): Macro removed.
25120         (LDR_GLOBAL): New macro replaces it.
25121         (LDR_HIDDEN): New macro.
25122         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
25123         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
25125         * setjmp/tst-setjmp-static.c: New file.
25126         * setjmp/Makefile (tests): Add it.
25127         (tests-static): New variable.
25129 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
25131         [BZ #17485]
25132         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
25134 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
25136         [BZ #14132]
25137         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
25139 2014-10-21  Roland McGrath  <roland@hack.frob.com>
25141         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
25143 2014-10-20  Roland McGrath  <roland@hack.frob.com>
25145         * io/fts.c (dirent_not_directory): New function.
25146         (fts_build): Call it.
25148 2014-10-20  Roland McGrath  <roland@hack.frob.com>
25150         * nptl/version.c (__nptl_main): Use normal __write rather than
25151         INTERNAL_SYSCALL.
25152         (banner): Update copyright years.
25154         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
25155         gettimeofday.
25156         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
25157         * nptl/pthread_cond_timedwait.c: Likewise.
25158         * nptl/pthread_mutex_timedlock.c: Likewise.
25159         * nptl/sem_timedwait.c: Likewise.
25161         * sysdeps/nptl/bits/libc-lock.h
25162         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
25163         (__libc_lock_init_recursive): Return void, not 0.
25164         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
25165         (__libc_rwlock_init): Likewise.
25166         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
25168 2014-10-20  Torvald Riegel  <triegel@redhat.com>
25170         [BZ #15215]
25171         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
25172         (__pthread_once_slow): ... here.
25173         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
25174         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
25176 2014-10-20  Torvald Riegel  <triegel@redhat.com>
25178         [BZ #15215]
25179         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
25180         __PTHREAD_ONCE_FORK_GEN_INCR): New.
25181         * sysdeps/nptl/fork.c (__libc_fork): Use them.
25182         * nptl/pthread_once.c (__pthread_once): Likewise.
25183         Update comments.
25185 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
25187         [BZ #14138]
25188         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
25189         name.
25190         (writev): Use __libc_writev as strong name.
25191         * sysdeps/unix/sysv/linux/readv.c: Remove file.
25192         * sysdeps/unix/sysv/linux/writev.c: Likewise.
25194 2014-10-17  Roland McGrath  <roland@hack.frob.com>
25196         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
25198         * sysdeps/i386/nptl/tls.h
25199         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
25200         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
25201         New macros.
25202         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
25203         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
25204         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
25205         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
25206         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
25207         Call CHECK_THREAD_SYSINFO instead of doing an assert.
25209         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
25210         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
25211         on [__NR_futex].
25212         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
25213         broken out of ...
25214         (__pthread_mutex_init): ... here.  Call it.
25215         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
25216         Conditionalize PI cases on [__NR_futex].
25217         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
25218         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
25219         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
25221         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
25222         conditional on [SIGSETXID].
25223         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
25224         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
25225         is defined.  Likewise for SIGSETXID.
25226         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
25227         Conditionalize definitions on [SIGSETXID].
25228         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
25229         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
25230         unblocking on [SIGCANCEL].
25232         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
25233         [__NR_set_robust_list].
25235 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
25237         * string/strcoll_l.c (get_next_seq): Fix up formatting.
25238         (do_compare): Likewise.
25240 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
25242         [BZ #15884]
25243         * string/strcoll_l.c: Don't include stdio.h.
25244         (coll_seq): Remove members idxarr and rulearr.
25245         (get_next_seq_cached): Remove function.
25246         (get_next_seq): Likewise.
25247         (get_next_seq_nocache): Rename to get_next_seq.
25248         (do_compare): Remove function.
25249         (do_compare_nocache): Rename to do_compare.
25250         (STRCOLL): Remove weight and rules cache.
25252 2014-10-16  Roland McGrath  <roland@hack.frob.com>
25254         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
25255         * sysdeps/arm/sfp-machine.h: ... to here.
25256         * sysdeps/arm/Implies: Remove arm/soft-fp.
25258 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
25260         * conform/data/sys/utsname.h-data (*_t): Allow.
25261         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
25262         [POSIX] (WEXITED): Do not expect constant.
25263         [POSIX] (WSTOPPED): Likewise.
25264         [POSIX] (WNOHANG): Likewise.
25265         [POSIX] (WNOWAIT): Likewise.
25266         [POSIX] (siginfo_t): Do not expect type or elements.
25267         [POSIX] (pid_t): Do not expect type.
25268         [POSIX] (signal.h): Do not allow header.
25269         [POSIX] (sys/resource.h): Likewise.
25270         [POSIX] (si_*): Do not allow pattern.
25271         [POSIX] (W*): Likewise.
25272         [POSIX] (P_*): Likewise.
25273         [POSIX] (BUS_*): Likewise.
25274         [POSIX] (CLD_*): Likewise.
25275         [POSIX] (FPE_*): Likewise.
25276         [POSIX] (ILL_*): Likewise.
25277         [POSIX] (POLL_*): Likewise.
25278         [POSIX] (SEGV_*): Likewise.
25279         [POSIX] (SI_*): Likewise.
25280         [POSIX] (TRAP_*): Likewise.
25281         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
25282         variable.
25284 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
25286         [BZ #12926]
25287         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
25288         infinite loop when __recvmsg returns 0.
25290 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
25292         * CANCEL-FCT-WAIVE: Remove file.
25293         * CANCEL-FILE-WAIVE: Likewise.
25295         [BZ #14132]
25296         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
25297         instead of INTVARDEF.
25298         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
25299         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
25300         rtld_hidden_data_def instead of INTVARDEF.
25301         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
25302         * elf/dl-deps.c (expand_dst): Likewise.
25303         * elf/dl-load.c (_dl_dst_count): Likewise.
25304         (_dl_dst_substitute): Likewise.
25305         (decompose_rpath): Likewise.
25306         (_dl_init_paths): Likewise.
25307         (open_path): Likewise.
25308         (_dl_map_object): Likewise.
25309         * elf/rtld.c (dl_main): Likewise.
25310         (process_dl_audit): Likewise.
25311         (process_envvars): Likewise.
25312         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
25313         Remove declaration.
25314         (__libc_enable_secure): Use rtld_hidden_proto.
25316 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
25318         * elf/dl-load.c
25319         (add_path): New function broken out of _dl_rtld_di_serinfo.
25320         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
25322 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
25324         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
25325         parentheses around macro arguments.
25326         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
25327         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
25328         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
25329         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
25330         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
25331         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
25332         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
25333         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
25334         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
25335         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
25336         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
25337         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
25338         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
25339         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
25340         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
25341         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
25342         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
25343         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
25344         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
25345         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
25346         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
25347         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
25348         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
25349         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
25350         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
25351         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
25352         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
25353         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
25354         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
25355         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
25356         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
25357         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
25358         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
25359         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
25360         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
25361         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
25362         Likewise.
25363         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
25364         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
25365         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
25366         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
25367         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
25368         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
25369         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
25370         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
25371         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
25372         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
25373         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
25374         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
25375         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
25376         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
25377         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
25378         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
25379         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
25380         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
25381         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
25382         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
25383         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
25384         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
25385         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
25386         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
25387         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
25388         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
25389         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
25390         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
25391         (_FP_FRAC_SRS_1): Likewise.
25392         (_FP_FRAC_CLZ_1): Likewise.
25393         (_FP_MUL_MEAT_1_imm): Likewise.
25394         (_FP_MUL_MEAT_1_wide): Likewise.
25395         (_FP_MUL_MEAT_1_hard): Likewise.
25396         (_FP_SQRT_MEAT_1): Likewise.
25397         (_FP_FRAC_ASSEMBLE_1): Likewise.
25398         (_FP_FRAC_DISASSEMBLE_1): Likewise.
25399         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
25400         (__FP_CLZ_2): Likewise.
25401         (_FP_MUL_MEAT_2_wide): Likewise.
25402         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
25403         (_FP_MUL_MEAT_2_gmp): Likewise.
25404         (_FP_MUL_MEAT_2_120_240_double): Likewise.
25405         (_FP_SQRT_MEAT_2): Likewise.
25406         (_FP_FRAC_ASSEMBLE_2): Likewise.
25407         (_FP_FRAC_DISASSEMBLE_2): Likewise.
25408         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
25409         (_FP_FRAC_CLZ_4): Likewise.
25410         (_FP_MUL_MEAT_4_wide): Likewise.
25411         (_FP_MUL_MEAT_4_gmp): Likewise.
25412         (_FP_SQRT_MEAT_4): Likewise.
25413         (_FP_FRAC_ASSEMBLE_4): Likewise.
25414         (_FP_FRAC_DISASSEMBLE_4): Likewise.
25415         * soft-fp/op-common.h (_FP_CMP): Likewise.
25416         (_FP_CMP_EQ): Likewise.
25417         (_FP_CMP_UNORD): Likewise.
25418         (_FP_TO_INT): Likewise.
25419         (_FP_FROM_INT): Likewise.
25420         [!__FP_CLZ] (__FP_CLZ): Likewise.
25421         (_FP_DIV_HELP_imm): Likewise.
25422         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
25423         Likewise.
25424         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
25425         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
25426         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
25427         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
25428         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
25429         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
25430         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
25431         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
25432         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
25433         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
25434         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
25435         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
25436         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
25437         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
25438         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
25439         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
25440         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
25441         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
25442         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
25443         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
25444         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
25445         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
25446         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
25447         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
25448         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
25449         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
25450         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
25451         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
25452         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
25453         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
25454         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
25455         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
25456         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
25457         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
25458         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
25459         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
25460         (FP_UNPACK_RAW_SP): Likewise.
25461         (FP_PACK_RAW_S): Likewise.
25462         (FP_PACK_RAW_SP): Likewise.
25463         (FP_UNPACK_S): Likewise.
25464         (FP_UNPACK_SP): Likewise.
25465         (FP_UNPACK_SEMIRAW_S): Likewise.
25466         (FP_UNPACK_SEMIRAW_SP): Likewise.
25467         (FP_PACK_S): Likewise.
25468         (FP_PACK_SP): Likewise.
25469         (FP_PACK_SEMIRAW_S): Likewise.
25470         (FP_PACK_SEMIRAW_SP): Likewise.
25471         (_FP_SQRT_MEAT_S): Likewise.
25472         (FP_CMP_S): Likewise.
25473         (FP_CMP_EQ_S): Likewise.
25474         (FP_CMP_UNORD_S): Likewise.
25475         (FP_TO_INT_S): Likewise.
25476         (FP_FROM_INT_S): Likewise.
25478         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
25480         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
25481         (FP_EX_INVALID_IMZ): Likewise.
25482         (FP_EX_INVALID_IMZ_FMA): Likewise.
25483         (FP_EX_INVALID_ISI): Likewise.
25484         (FP_EX_INVALID_ZDZ): Likewise.
25485         (FP_EX_INVALID_IDI): Likewise.
25486         (FP_EX_INVALID_SQRT): Likewise.
25487         (FP_EX_INVALID_CVI): Likewise.
25488         (FP_EX_INVALID_VC): Likewise.
25489         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
25490         "invalid" exceptions.
25491         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
25492         (_FP_ADD_INTERNAL): Likewise.
25493         (_FP_MUL): Likewise.
25494         (_FP_FMA): Likewise.
25495         (_FP_DIV): Likewise.
25496         (_FP_CMP_CHECK_NAN): Likewise.
25497         (_FP_SQRT): Likewise.
25498         (_FP_TO_INT): Likewise.
25499         (FP_EXTEND): Likewise.
25501 2014-10-09  Allan McRae  <allan@archlinux.org>
25503         * po/fr.po: Update French translation from translation project.
25505 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
25507         [BZ #14132]
25508         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
25509         of INTDEF.
25510         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
25511         (__cxa_atexit): Use libc_hidden_proto.
25512         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
25514         [BZ #14132]
25515         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
25516         declaration.
25517         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
25518         [!_ISOMAC] (__iswspace_l_internal): Likewise.
25519         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
25520         [!_ISOMAC] (__iswctype_internal): Likewise.
25521         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
25522         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
25523         alias.
25524         (fcntl): Remove __fcntl_internal alias.
25525         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
25526         __connect_internal alias.
25527         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
25528         Likewise.
25530         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
25531         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
25532         FP_DENORM_ZERO.
25533         (_FP_CHECK_FLUSH_ZERO): New macro.
25534         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
25535         (_FP_CMP): Likewise.
25536         (_FP_CMP_EQ): Likewise.
25537         (_FP_TO_INT): Do not set inexact for subnormal arguments if
25538         FP_DENORM_ZERO.
25539         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
25540         (FP_TRUNC): Likewise.
25542         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
25543         treated as invalid conversion, not as normal exponent.
25545         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
25546         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
25547         (_FP_CMP_EQ): Likewise.
25548         (_FP_CMP_UNORD): Likewise.
25549         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
25550         (FP_CMP_EQ_D): Likewise.
25551         (FP_CMP_UNORD_D): Likewise.
25552         * soft-fp/extended.h (FP_CMP_E): Likewise.
25553         (FP_CMP_EQ_E): Likewise.
25554         (FP_CMP_UNORD_E): Likewise.
25555         * soft-fp/quad.h (FP_CMP_Q): Likewise.
25556         (FP_CMP_EQ_Q): Likewise.
25557         (FP_CMP_UNORD_Q): Likewise.
25558         * soft-fp/single.h (FP_CMP_S): Likewise.
25559         (FP_CMP_EQ_S): Likewise.
25560         (FP_CMP_UNORD_S): Likewise.
25561         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
25562         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
25563         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
25564         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
25565         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
25566         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
25567         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
25568         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
25569         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
25570         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
25571         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
25572         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
25573         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
25574         to FP_CMP_Q.
25575         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
25576         FP_CMP_Q.
25577         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
25578         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
25579         FP_CMP_EQ_Q.
25580         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
25581         FP_CMP_Q.
25582         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
25583         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
25584         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
25585         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
25586         FP_CMP_EQ_Q.
25587         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
25588         FP_CMP_Q.
25589         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
25590         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
25591         FP_CMP_EQ_Q.
25592         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
25593         FP_CMP_Q.
25594         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
25595         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
25596         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
25597         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
25598         FP_CMP_EQ_Q.
25600         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
25601         a subnormal result, set the underflow exception if trapping on
25602         underflow is enabled.
25603         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
25604         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
25605         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
25606         redefine to 0.
25607         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
25608         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
25609         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
25610         * soft-fp/extendxftf2.c (__extendxftf2): Use
25611         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
25613         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
25614         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
25615         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
25616         FP_HANDLE_EXCEPTIONS.
25617         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
25618         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
25619         FP_HANDLE_EXCEPTIONS.
25620         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
25621         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
25622         FP_HANDLE_EXCEPTIONS.
25623         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
25624         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
25625         FP_HANDLE_EXCEPTIONS.
25627 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
25629         [BZ #14132]
25630         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
25631         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
25632         use INTUSE.
25633         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
25634         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
25635         Remove alias.
25636         (__adjtimex): Define using libc_hidden_ver.
25637         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
25638         Remove declaration.
25639         (ntp_gettime): Call __adjtimex directly.
25640         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
25641         Remove declaration.
25642         (ntp_gettimex): Call __adjtimex directly.
25643         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
25644         __adjtimex_internal alias.
25646 2014-10-08  Roland McGrath  <roland@hack.frob.com>
25648         [BZ #17460]
25649         * nscd/nscd.c (more_help): Rewrite list of tables collection
25650         using xstrdup and asprintf.
25652         * nscd/nscd_conf.c: Remove local xstrdup declaration.
25654 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
25655             Roland McGrath  <roland@hack.frob.com>
25657         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
25658         (do_lookup_unique): ... local function 'enter' here; update callers.
25660 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
25662         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
25663         compat_symbol calls on [SHARED].
25664         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
25665         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
25666         Remove.
25667         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
25668         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
25669         (oldsetrlimit): Remove.
25670         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
25671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
25672         (lchown): New syscall entry.
25673         (oldsetrlimit): Remove.
25674         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
25675         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
25676         (oldsetrlimit): Remove.
25677         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
25679         [BZ #14138]
25680         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
25681         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
25682         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
25683         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
25684         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
25685         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
25686         (fchown): Likewise.
25687         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
25688         (fchown): Likewise.
25689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
25690         Likewise.
25692 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25694         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
25695         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
25696         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
25697         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
25698         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
25699         Likewise.
25700         (__old_sem_post): Likewise.
25702 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
25704         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
25705         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
25706         HAVE_CLOCK_GETTIME_VSYSCALL macros.
25707         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
25708         Use INLINE_VSYSCALL macro.
25709         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
25710         __vdso_clock_gettime.
25711         * sysdeps/unix/sysv/linux/tile/init-first.c
25712         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
25713         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
25714         __vdso_clock_gettime.
25716         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
25717         to set up frame more cleanly.
25719         * sysdeps/tile/memcmp.c: New file.
25721         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
25723         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
25724         * sysdeps/tile/tilegx/strcasestr.c: New file.
25725         * sysdeps/tile/tilegx/strnlen.c: New file.
25726         * sysdeps/tile/tilegx/strstr.c: New file.
25728         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
25730 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
25732         * nptl/tst-setuid3.c: Write errors to stdout.
25734 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
25736         * elf/dl-deps.c
25737         (preload): New functions broken out of _dl_map_object_deps.
25738         (_dl_map_object_deps):  Remove a nested function. Update call sites.
25740 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
25742         [BZ #14138]
25743         * sysdeps/unix/sysv/linux/execve.c: Remove file.
25744         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
25746 2014-10-01  Steve Ellcey  <sellcey@mips.com>
25748         * sysdeps/mips/strcmp.S: New.
25750 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
25752         [BZ #14138]
25753         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
25754         (linkat): Likewise.
25755         (mkdirat): Likewise.
25756         (readlinkat): Likewise.
25757         (renameat): Likewise.
25758         (symlinkat): Likewise.
25759         (unlinkat): Likewise.
25760         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
25761         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
25762         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
25763         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
25764         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
25765         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
25766         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
25768 2014-09-30  Will Newton  <will.newton@linaro.org>
25770         * math/math.h: Define long double math functions if
25771         _LIBC_TEST is defined.
25772         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
25774         * localedata/Makefile: Move assignment to tests-special
25775         into an ifdef testing run-built-tests.
25776         * timezone/Makefile: Likewise.
25778 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
25780         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
25781         with $(BASH) not $(SHELL).
25783 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
25784             Matthew LeGendre  <legendre1@llnl.gov>
25786         [BZ #17411]
25787         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
25788         l_reloc_result.
25790 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
25792         * stdio-common/printf_fp.c
25793         (hack_digit): New function, broken out of ...
25794         (__printf_fp): ... local function here.  Update call sites.
25795         hack_digit now takes an additional parameter that is a pointer
25796         to a struct of the referenced locals.  Those locals moved inside
25797         the struct and references updated.
25799 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
25801         * aclocal.m4: Require autoconf 2.69.
25802         * configure: Regenerated.
25803         * sysdeps/aarch64/configure: Likewise.
25804         * sysdeps/alpha/configure: Likewise.
25805         * sysdeps/arm/armv7/configure: Likewise.
25806         * sysdeps/arm/configure: Likewise.
25807         * sysdeps/ia64/configure: Likewise.
25808         * sysdeps/mach/configure: Likewise.
25809         * sysdeps/mips/configure: Likewise.
25810         * sysdeps/s390/configure: Likewise.
25811         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
25812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
25814         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
25815         file.
25816         * sysdeps/ia64/configure.ac: Likewise.
25818 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
25820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
25821         specify symbol version for ld.so.  Do not include entry for
25822         libpthread.
25823         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
25824         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
25825         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
25827         [BZ #14171]
25828         * Makeconfig [$(build-shared) = yes]
25829         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
25830         makefiles.
25831         [$(build-shared) = yes && $(soversions.mk-done) = t]
25832         ($(common-objpfx)gnu/lib-names.h): Remove rule.
25833         [$(build-shared) = yes && $(soversions.mk-done) = t]
25834         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
25835         to Makerules.
25836         [$(build-shared) = yes && $(soversions.mk-done) = t]
25837         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
25838         here.
25839         [$(build-shared) = yes && $(soversions.mk-done) = t]
25840         (common-generated): Don't append gnu/lib-names.h and
25841         gnu/lib-names.stmp here.
25842         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
25843         (lib-names-h-abi): New variable.
25844         [$(build-shared) = yes && $(soversions.mk-done) = t]
25845         (lib-names-stmp-abi): Likewise.
25846         [$(build-shared) = yes && $(soversions.mk-done) = t &&
25847         abi-variants] (before-compile): Append
25848         $(common-objpfx)$(lib-names-h-abi).
25849         [$(build-shared) = yes && $(soversions.mk-done) = t &&
25850         abi-variants] (common-generated): Append gnu/lib-names.h.
25851         [$(build-shared) = yes && $(soversions.mk-done) = t &&
25852         abi-variants] (install-others-nosubdir): Depend on
25853         $(inst_includedir)/$(lib-names-h-abi).
25854         [$(build-shared) = yes && $(soversions.mk-done) = t &&
25855         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
25856         [$(build-shared) = yes && $(soversions.mk-done) = t]
25857         ($(common-objpfx)$(lib-names-h-abi)): New rule.
25858         [$(build-shared) = yes && $(soversions.mk-done) = t]
25859         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
25860         [$(build-shared) = yes && $(soversions.mk-done) = t]
25861         (common-generated): Append $(lib-names-h-abi) and
25862         $(lib-names-stmp-abi).
25863         * scripts/lib-names.awk: Do not handle multi being set.
25864         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
25865         Remove variable.
25866         (abi-lp64_be-ld-soname): Likewise.
25867         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
25868         Likewise.
25869         (abi-hard-ld-soname): Likewise.
25870         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
25871         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
25872         Remove variable.
25873         (abi-o32_hard-ld-soname): Likewise.
25874         (abi-o32_soft_2008-ld-soname): Likewise.
25875         (abi-o32_hard_2008-ld-soname): Likewise.
25876         (abi-n32_soft-ld-soname): Likewise.
25877         (abi-n32_hard-ld-soname): Likewise.
25878         (abi-n32_soft_2008-ld-soname): Likewise.
25879         (abi-n32_hard_2008-ld-soname): Likewise.
25880         (abi-n64_soft-ld-soname): Likewise.
25881         (abi-n64_hard-ld-soname): Likewise.
25882         (abi-n64_soft_2008-ld-soname): Likewise.
25883         (abi-n64_hard_2008-ld-soname): Likewise.
25884         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
25885         Likewise.
25886         (abi-64-v2-ld-soname): Likewise.
25887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
25888         ld.so entries.
25889         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
25890         variable.
25891         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
25892         entry.
25893         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
25894         variable.
25895         (abi-64-ld-soname): Likewise.
25896         (abi-x32-ld-soname): Likewise.
25897         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
25898         entry.
25899         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
25901 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
25903         [BZ #14138]
25904         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
25905         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
25906         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
25907         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
25908         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
25909         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
25910         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
25911         syscall entry for GLIBC_2.2 symbol version.
25912         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
25913         Likewise.
25914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
25915         (setrlimit): Likewise.
25916         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
25917         Likewise.
25919 2014-09-23  Will Newton  <will.newton@linaro.org>
25921         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
25922         _LINUX_ARM_SYSDEP_H include guard too.
25923         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
25924         define.
25926 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
25928         * sysdeps/unix/sysv/linux/eventfd.c:
25929         Make first argument unsigned.
25930         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
25931         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
25933 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
25935         [BZ #16852]
25936         * socket/recvmmsg.c (recvmmsg): Drop const argument.
25937         * socket/sys/socket.h: Likewise.
25938         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
25940 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25942         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
25944 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
25946         * time/tst-ftime.c: New test.
25947         * time/Makefile (tests): Add tst-ftime.
25949 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
25951         * soft-fp/extended.h: Fix comment formatting.
25952         * soft-fp/op-1.h: Likewise.
25953         * soft-fp/op-2.h: Likewise.
25954         * soft-fp/op-4.h: Likewise.
25955         * soft-fp/op-8.h: Likewise.
25956         * soft-fp/op-common.h: Likewise.
25957         * soft-fp/soft-fp.h: Likewise.
25959         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
25961 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
25963         [BZ #6652]
25964         * Makeconfig (soversions-default-setname): Remove variable.
25965         ($(common-objpfx)soversions.i): Don't pass default_setname to
25966         soversions.awk.
25967         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
25968         oldest_abi to abi-versions.awk.
25969         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
25970         * config.make.in (oldest-abi): Remove variable.
25971         * configure.ac (--enable-oldest-abi): Remove configure option.
25972         * configure: Regenerated.
25973         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
25974         text.
25975         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
25976         * scripts/soversions.awk: Do not handle default_setname variable.
25977         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
25978         variable.
25979         * sysdeps/mach/hurd/configure: Regenerated.
25980         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
25981         variable.
25982         * sysdeps/unix/sysv/linux/configure: Regenerated.
25984 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25986         * elf/Makefile (CFLAGS-interp.c): Remove.
25987         ($(elf-objpfx)runtime-linker.h): Generate header with linker
25988         path string.
25989         * elf/interp.c: Include generated runtime-linker.h
25991         * Makerules (lib%.so): Don't include $(+interp) in
25992         prerequisites.
25993         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
25994         * dlfcn/eval.c: Remove file.
25996         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
25997         macros.
25999         [BZ #17266]
26000         * misc/sys/cdefs.h: Define __extern_always_inline for clang
26001         4.2 and newer.
26003         [BZ #17370]
26004         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
26006 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26007             Jakub Jelinek  <jakub@redhat.com>
26009         [BZ #17266]
26010         * libio/stdio.h: Check definition of __fortify_function
26011         instead of __extern_always_inline to include bits/stdio2.h.
26012         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
26013         check if __extern_always_inline is defined.
26014         [__USE_MISC || __USE_XOPEN]: Likewise.
26015         [__USE_ISOC99] Likewise.
26016         * misc/sys/cdefs.h (__fortify_function): Define only if
26017         __extern_always_inline is defined.
26018         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
26019         __extern_always_inline and __extern_inline only for g++-4.3
26020         and newer or a compatible gcc.
26022 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
26024         [BZ #17371]
26025         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
26026         last change to handle zero prefix length.
26028 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26030         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
26031         _SC_REGEX_VERSION.
26033         * posix/getconf.c (vars): Add _POSIX_IPV6 and
26034         _POSIX_RAW_SOCKETS.
26036 2014-09-13  Allan McRae  <allan@archlinux.org>
26038         * po/ru.po: Update Russian translation from translation project.
26040 2014-09-12  Roland McGrath  <roland@hack.frob.com>
26042         * locale/programs/locale.c (show_locale_vars): Inline local function
26043         into its sole call site.  Clean up some style nits.
26044         (print_item): New function, broken out of ...
26045         (show_info): ... local function here.  Clean up style nits.
26047         * locale/programs/ld-ctype.c (set_one_default): New function, broken
26048         out of ...
26049         (set_class_defaults): ... local function set_default here.
26050         Define set_default as a macro locally to pass constant parameters.
26051         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
26052         rather than a shared local.
26054         * stdlib/rpmatch.c (try): New function, broken out of ...
26055         (rpmatch): ... local function here.  Also, prototypify definition.
26057 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
26059         * scripts/soversions.awk: Do not handle configuration names.
26060         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
26061         vendor and os variables to soversions.awk.
26062         * configure.ac: Do not modify gnu-* host_os.
26063         * configure: Regenerated
26064         * shlib-versions: Remove first column with configuration names.
26065         * nptl/shlib-versions: Likewise.
26066         * nptl_db/shlib-versions: Likewise.
26067         * sysdeps/hppa/shlib-versions: Likewise.
26068         * sysdeps/m68k/shlib-versions: Likewise.
26069         * sysdeps/mach/hurd/shlib-versions: Likewise.
26070         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
26071         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
26072         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
26073         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
26074         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
26075         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
26076         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
26077         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
26078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
26079         Likewise.
26080         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
26081         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
26082         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
26083         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
26084         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
26085         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
26086         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
26087         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
26089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
26090         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
26091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
26092         Regenerated.
26093         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
26094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
26095         Condition symbol version definitions on [HAVE_ELFV2_ABI].
26097         * shlib-versions: Remove OS-specific entries.  Moved to files in
26098         sysdeps.
26099         * sysdeps/mach/hurd/shlib-versions: New file.
26100         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
26102         * nptl/shlib-versions: Remove architecture-specific entries.
26103         Moved to files in sysdeps.
26104         * shlib-versions: Likewise.
26105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
26106         file.
26107         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
26108         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
26109         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
26110         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
26112         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
26113         (UDP_NO_CHECK6_RX): Likewise.
26115 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
26117         * sysdeps/posix/sysconf.c (__sysconf): Spell
26118         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
26120 2014-08-12  Florian Weimer  <fweimer@redhat.com>
26122         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
26123         loading.
26124         * iconv/Versions (__gconv_transliterate): Export for use from
26125         gconv modules.
26126         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
26127         (struct __gconv_trans_data, __gconv_trans_fct,
26128         __gconv_trans_context_fct, __gconv_trans_query_fct,
26129         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
26130         definitions.
26131         (struct __gconv_step_data): Remove __trans member.
26132         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
26133         longer hidden.  Remove unused trans_data argument.
26134         * iconv/gconv_int.h (struct trans_struct): Remove definition.
26135         (__gconv_translit_find): Remove declaration.
26136         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
26137         prototype.
26138         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
26139         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
26140         trans_data argument.  Add hidden definition.
26141         (__gconv_translit_find): Remove.
26142         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
26143         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
26144         * iconv/skeleton.c: Remove transliteration initialization.
26145         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
26146         __gconv_step_data initialization.
26147         * libio/iofwide.c (__libio_translit_): Remove.
26148         (_IO_fwide): Adjust struct __gconv_step_data initialization.
26149         * wcsmbs/btowc.c (__btowc): Likewise.
26150         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
26151         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
26152         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
26153         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
26154         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
26155         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
26156         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
26157         * wcsmbs/wctob.c (wctob): Likewise.
26159 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
26161         [BZ #16194]
26162         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
26163         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
26164         register usage.
26165         * sysdeps/x86/Makefile: Adjust.
26167 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
26168             Roland McGrath  <roland@hack.frob.com>
26170         * locale/weight.h: Add include guard.
26171         (findidx): Make static rather than auto; take new parameters
26172         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
26173         * locale/weightwc.h: Likewise.
26174         * posix/fnmatch_loop.c
26175         (FCT): Change type of EXTRA from int32_t to wint_t.
26176         Don't include either header inside the function.
26177         Call FINDIDX rather than findidx, and pass new arguments.
26178         #undef FINDIDX at the end of the file.
26179         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
26180         FINDIDX before including fnmatch_loop.c for the non-wide version.
26181         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
26182         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
26183         for the wide version.
26184         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
26185         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
26186         Pass new arguments to findidx.
26187         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
26188         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
26189         Don't #include it inside the function.  Pass new arguments to findidx.
26190         * posix/regex_internal.h
26191         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
26192         (re_string_elem_size_at): Don't #include it inside the function.
26193         Pass new arguments to findidx.
26194         * string/strcoll_l.c: #include WEIGHT_H at top level.
26195         (get_next_seq): Don't #include it inside the function.
26196         Pass new arguments to findidx.
26197         (get_next_seq_nocache): Likewise.
26198         * string/strxfrm_l.c: #include WEIGHT_H at top level.
26199         (STRXFRM): Don't #include it inside the function.
26200         Pass new arguments to findidx.
26202 2014-09-11  Florian Weimer  <fweimer@redhat.com>
26204         [BZ #17344]
26205         * malloc/malloc.c (unlink): Turn asserts into a call to
26206         malloc_printerr.
26208 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
26210         [BZ #17370]
26211         * libio/wfileops (do_ftell_wide): Free OUT.
26213 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
26215         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
26217 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26219         [BZ #17363]
26220         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
26221         group if the current group is empty.
26223 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26225         * benchtests/bench-memset.c (test_main): Add more test from size
26226         from 32 to 512 bytes.
26227         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26228         Add POWER8 memset object.
26229         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26230         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
26231         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
26232         implementation.
26233         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
26234         Likewise.
26235         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
26236         multiarch POWER8 memset optimization.
26237         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
26238         POWER8 memset optimization.
26240         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26241         Remove bzero multiarch objects.
26242         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
26243         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
26244         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
26245         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
26246         Remove define.
26247         [__bzero]: Redefine to specific name.
26248         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
26249         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
26250         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
26251         define.
26252         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
26253         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
26255 2014-09-10  Florian Weimer  <fweimer@redhat.com>
26257         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
26258         warnings into errors.
26260         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
26261         __cxa_thread_atexit_impl prototype.
26263 2014-09-09  Steve Ellcey  <sellcey@mips.com>
26265         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
26266         Fix capitalization of error message.
26268 2014-09-09  Steve Ellcey  <sellcey@mips.com>
26270         * sysdeps/mips/preconfigure: Modify ABI tests.
26272 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
26274         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
26276 2014-09-07  Roland McGrath  <roland@hack.frob.com>
26277             Carlos O'Donell  <carlos@systemhalted.org>
26279         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
26280         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
26281         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
26282         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
26283         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
26284         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
26285         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
26286         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
26287         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
26288         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
26289         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
26290         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
26291         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
26292         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
26293         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
26294         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
26295         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
26296         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
26297         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
26298         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
26299         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
26300         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
26301         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
26302         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
26303         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
26304         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
26305         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
26306         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
26307         Deconditionalize the code that was previously under [RESET_PID].
26308         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
26309         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
26310         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
26311         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
26312         include sysdep.h.
26314 2014-09-08  Allan McRae  <allan@archlinux.org>
26316         * version.h (RELEASE): Set to "development".
26317         (VERSION): Set to "2.20.90"
26319 2014-09-07  Allan McRae  <allan@archlinux.org
26321         * version.h (RELEASE): Set to "stable".
26322         (VERSION): Set to "2.20"
26323         * include/features.h (__GLIBC_MINOR__): Set to 20.
26325         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
26326         Liebler.
26328         * po/ko.po: Update Korean translation from translation project.
26330 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
26332         [BZ #17354]
26333         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
26334         macro for handling signed relocations.
26336 2014-09-03  Florian Weimer  <fweimer@redhat.com>
26338         [BZ #17325]
26339         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
26340         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
26341         assert.
26342         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
26343         * iconvdata/ibm935.c (BODY): Likewise.
26344         * iconvdata/ibm937.c (BODY): Likewise.
26345         * iconvdata/ibm939.c (BODY): Likewise.
26346         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
26347         assert.
26348         * iconvdata/Makefile (iconv-test.out): Pass module list to test
26349         script.
26350         * iconvdata/run-iconv-test.sh: New test loop for checking for
26351         decoder crashers.
26353 2014-09-02  Khem Raj  <raj.khem@gmail.com>
26355         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
26356         libm_hidden_ver.
26358 2014-09-01  Allan McRae  <allan@archlinux.org>
26360         * po/eo.po: Update Esperanto translation from translation project.
26362         * po/ca.po: Update Catalan translation from translation project.
26364 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26366         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
26367         __proc_dostop call.
26369 2014-08-27  Mark Wielaard  <mjw@redhat.com>
26371         [BZ #17319]
26372         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
26373         to call set_thread_area instead of hand written asm.
26374         (__NR_set_thread_area): Removed define.
26375         (TLS_FLAG_WRITABLE): Likewise.
26376         (__ASSUME_SET_THREAD_AREA): Remove check.
26377         (TLS_EBX_ARG): Remove define.
26378         (TLS_LOAD_EBX): Likewise.
26380 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26382         Simplify atomicity of socket creation in bind.
26384         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
26385         looking up the name after linking the file.
26387 2014-08-27  Allan McRae  <allan@archlinux.org>
26389         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
26391 2014-08-26  Florian Weimer  <fweimer@redhat.com>
26393         [BZ #17187]
26394         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
26395         trans_compare, open_translit, __gconv_translit_find):
26396         Remove module loading code.
26398 2014-08-26  Allan McRae  <allan@archlinux.org>
26400         * po/vi.po: Update Vietnamese translation from translation project.
26402         * po/uk.po: Update Ukrainian translation from translation project.
26404         * po/fr.po: Update French translation from translation project.
26406         * po/ru.po: Update Russian translation from translation project.
26408         * po/pl.po: Update Polish translation from translation project.
26410         * po/cs.po: Update Czech translation from translation project.
26412         * po/de.po: Update German translation from translation project.
26414         * po/bg.po: Update Bulgarian translation from translation project.
26416         * po/sv.po: Update Sweedish translation from translation project.
26418         * po/nl.po: Update Dutch translation from translation project.
26420         * po/es.po: Update Spanish translation from translation project.
26422 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26424         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
26426         * catgets/Makefile (CPPFLAGS-gencat): Remove.
26427         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
26428         (CPPFLAGS-iconvconfig): Likewise.
26429         * timezone/Makefile (CPPFLAGS-zic): Likewise.
26431         * include/libc-symbols.h: Remove unnecessary check for
26432         NOT_IN_libc.
26433         * nptl/pthreadP.h: Likewise.
26434         * sysdeps/aarch64/setjmp.S: Likewise.
26435         * sysdeps/alpha/setjmp.S: Likewise.
26436         * sysdeps/arm/sysdep.h: Likewise.
26437         * sysdeps/i386/setjmp.S: Likewise.
26438         * sysdeps/m68k/setjmp.c: Likewise.
26439         * sysdeps/posix/getcwd.c: Likewise.
26440         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
26441         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
26442         * sysdeps/s390/s390-32/setjmp.S: Likewise.
26443         * sysdeps/s390/s390-64/setjmp.S: Likewise.
26444         * sysdeps/sh/sh3/setjmp.S: Likewise.
26445         * sysdeps/sh/sh4/setjmp.S: Likewise.
26446         * sysdeps/unix/alpha/sysdep.h: Likewise.
26447         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
26448         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
26449         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
26450         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
26451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
26452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26453         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26454         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26455         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
26456         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26457         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26458         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
26459         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
26460         * sysdeps/x86_64/setjmp.S: Likewise.
26462 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
26464         [BZ #17263]
26465         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
26466         <stdint.h>.
26467         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
26468         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
26470 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
26472         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
26474         [BZ #17262]
26475         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
26476         and __x86_64__ when disabling x87 inline functions.
26478 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
26480         [BZ #17259]
26481         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
26482         asm statement with __cpuid_count.
26484 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
26486         * configure.ac: Change __ehdr_start code to dereference the struct.
26487         Run readelf on the output to look for relocations.
26488         * configure: Regenerated.
26490 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
26492         [BZ #17261]
26493         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
26494         value to 0.
26495         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
26497 2014-08-12  Roland McGrath  <roland@hack.frob.com>
26499         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
26501 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
26503         [BZ #16892]
26504         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
26505         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
26507 2014-08-12  Sean Anderson  <seanga2@gmail.com>
26509         * malloc/malloc.c: Fix typo in comment.
26511 2014-08-09  Allan McRae  <allan@archlinux.org>
26513         * Regenerate libc.po.
26515 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
26517         * intl/tst-gettext2.sh: Check every lang file for creation.
26519 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
26521         * sysdeps/aarch64/fpu/math_private.h
26522         (libc_feholdsetround_noex_aarch64_ctx): New function.
26524 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
26526         * sysdeps/arm/armv6/strcpy.S (strcpy):
26527         Fix performance issue in misaligned cases.
26529 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26531         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
26532         Move definition from termios.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.
26539         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
26540         Move definition to ioctl-types.h
26541         (struct termio): Likewise.
26542         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
26543         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
26544         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
26545         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
26546         Likewise.
26548 2014-08-05  Richard Henderson  <rth@redhat.com>
26550         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
26551         exceptions.
26552         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
26553         Add fraiseexcpt.
26554         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
26555         Use __feraiseexcept.
26556         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
26557         Protect libm symbols with IS_IN_libm.
26559         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
26561 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
26563         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
26565 2014-08-04  Will Newton  <will.newton@linaro.org>
26567         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
26568         file.
26570 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
26572         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
26573         variants for each function.
26575 2014-08-04  Roland McGrath  <roland@hack.frob.com>
26577         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
26578         appended ...
26579         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
26580         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
26581         appended ...
26582         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
26583         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
26584         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
26585         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
26586         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
26587         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
26588         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
26589         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
26590         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
26591         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
26592         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
26593         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
26594         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
26595         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
26596         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
26597         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
26598         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
26599         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
26600         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
26601         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
26602         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
26603         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
26604         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
26605         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
26606         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
26607         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
26608         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
26609         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
26610         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
26611         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
26612         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
26613         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
26614         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
26615         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
26616         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
26617         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
26618         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
26619         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
26620         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
26621         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
26622         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
26623         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
26624         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
26625         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
26626         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
26627         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
26628         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
26629         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
26630         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
26631         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
26632         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
26633         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
26634         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
26635         Update #include.
26636         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
26637         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
26639 2014-08-04  Roland McGrath  <roland@hack.frob.com>
26641         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
26642         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
26643         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
26644         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
26645         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
26646         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
26648 2014-08-04  Roland McGrath  <roland@hack.frob.com>
26650         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
26651         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
26652         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26653         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
26655 2014-08-04  Roland McGrath  <roland@hack.frob.com>
26657         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
26658         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
26659         (__libc_vfork): Define function under this name.
26660         (__vfork): Define as an alias.
26661         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
26662         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
26664 2014-08-04  Roland McGrath  <roland@hack.frob.com>
26666         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
26667         that was previously under [RESET_PID].
26668         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
26670 2014-08-04  Andreas Schwab  <schwab@suse.de>
26672         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
26674 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
26676         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
26677         (main): Likewise.
26679 2014-08-01  Roland McGrath  <roland@hack.frob.com>
26681         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
26683 2014-08-01  Richard Henderon  <rth@redhat.com>
26685         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
26686         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
26687         typo in exact zero test.
26688         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26689         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26690         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26692 2014-08-01  Roland McGrath  <roland@hack.frob.com>
26694         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
26695         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
26696         * sysdeps/arm/sysdep.h: ... here.
26697         [!__ASSEMBLER__]: Include <stdint.h>.
26699 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
26701         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
26702         (HAVE_WCTYPE_H): Likewise.
26703         (HAVE_ISWCTYPE): Likewise.
26704         (ENABLE_NLS): Likewise.
26705         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
26706         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
26708         * posix/regex_internal.c: Check if DEBUG is defined and is
26709         set.
26711         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
26712         (HAVE_MBSRTOWCS): Likewise.
26713         * posix/fnmatch.c: Include string.h unconditionally.
26715 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
26717         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
26718         reversal.
26720 2014-07-31  Roland McGrath  <roland@hack.frob.com>
26722         * sysdeps/generic/safe-fatal.h: New file.
26723         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
26724         * nptl/forward.c: Include it.
26725         (__pthread_unwind): Use __safe_fatal as default action, rather
26726         than a bogus use of INTERNAL_SYSCALL that could never work.
26728         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
26729         * configure.ac (libc_cv_builtin_trap): New test.
26730         * configure: Regenerated.
26731         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
26732         (ABORT_INSTRUCTION): Define using __builtin_trap.
26734         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
26735         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
26736         * sysdeps/nptl/nptl-signals.h: New file.
26737         * nptl/pthreadP.h: Include <nptl-signals.h>.
26739 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
26741         * sysdeps/s390/s390-64/utf16-utf32-z9.c
26742         (ONE_DIRECTION): Define.
26743         * sysdeps/s390/s390-64/utf8-utf16-z9.c
26744         (ONE_DIRECTION): Define.
26745         * sysdeps/s390/s390-64/utf8-utf32-z9.c
26746         (ONE_DIRECTION): Define.
26748 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
26750         * sysdeps/s390/Makefile: Delete file.
26751         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
26752         * sysdeps/s390/__longjmp.c: Delete file.
26753         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
26754         Remove fields __flags and __reserved.
26755         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
26756         and add versioning.
26757         * sysdeps/s390/rtld-__longjmp.c: Delete file.
26758         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
26759         * sysdeps/s390/rtld-setjmp.S: Likewise.
26760         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
26761         * sysdeps/s390/s390-32/__longjmp.c: ... here.
26762         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
26763         * sysdeps/s390/s390-32/setjmp.S: ... here.
26764         Add versioning.
26765         (__sigsetjmp): Remove setting __flags field.
26766         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
26767         * sysdeps/s390/s390-64/__longjmp.c: ... here.
26768         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
26769         * sysdeps/s390/s390-64/setjmp.S: ... here.
26770         Add versioning.
26771         (__sigsetjmp): Remove setting __flags field.
26772         * sysdeps/s390/setjmp.S: Delete file.
26773         * sysdeps/s390/sigjmp.c: Likewise.
26774         * sysdeps/s390/v1-longjmp.c: Likewise.
26775         * sysdeps/s390/v1-setjmp.h: Likewise.
26776         * sysdeps/s390/v1-sigjmp.c: Likewise.
26777         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
26778         Remove v1-longjmp_chk.
26779         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
26780         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
26781         Include debug/longjmp_chk.c and add versioning.
26782         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
26783         Include nptl/pt-longjmp.c and add versioning.
26784         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
26785         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
26786         Include __longjmp.c.
26787         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
26788         Move to ...
26789         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
26790         (__getcontext): Remove setting __flags field.
26791         Add versioning.
26792         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
26793         Don't restore upper high grps.
26794         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
26795         Likewise.
26796         (__swapcontext): Remove setting uc_flags field.
26797         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
26798         Delete file.
26799         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
26800         Include __longjmp.c.
26801         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
26802         Move to ...
26803         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
26804         (__getcontext): Remove setting __flags field.
26805         Add versioning.
26806         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
26807         (__swapcontext): Remove setting uc_flags field.
26808         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
26809         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
26810         Remove fields uc_high_gprs and __reserved.
26811         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
26812         New file with reverted content.
26813         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
26814         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
26815         Regenerated.
26816         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
26817         Regenerated.
26819 2014-07-31  Andreas Schwab  <schwab@suse.de>
26821         * config.h.in (HAVE_IFUNC): Define to 0.
26822         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
26823         definedness.
26825 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
26827         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26828         memmove-avx-unaligned, memcpy-avx-unaligned and
26829         mempcpy-avx-unaligned.
26830         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26831         Add tests for AVX memcpy functions.
26832         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
26833         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
26834         memcpy_chk.
26835         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
26836         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
26837         memmove_chk.
26838         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
26839         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
26840         mempcpy_chk.
26841         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
26842         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
26843         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
26845 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26847         [BZ #17213]
26848         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
26849         powerpc64le.
26851 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
26853         [BZ #16839]
26854         * manual/llio.texi: Add section about open file description locks.
26855         * manual/examples/ofdlocks.c: Example of open file description
26856         lock usage.
26857         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
26858         F_OFD_SETLK, and F_OFD_SETLKW.
26860 2014-07-23  Allan McRae  <allan@archlinux.org>
26862         * po/es.po: Update Spanish translation from translation project.
26864 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
26866         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
26868 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
26870         [BZ #17078]
26871         * sysdeps/arm/dl-machine.h (elf_machine_rela)
26872         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
26873         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
26875 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
26877         [BZ #17088]
26878         * math/fesetenv.c (__fesetenv)
26879         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
26880         * math/feupdateenv.c (__feupdateenv)
26881         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
26883         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
26884         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
26885         (__ASSUME_SOCKETCALL): Do not define.
26887         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
26888         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
26889         (__ASSUME_SOCKETCALL): Do not define.
26890         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
26891         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
26892         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
26893         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
26894         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
26895         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
26896         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
26897         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26899         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
26900         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
26901         (__ASSUME_SOCKETCALL): Do not define.
26902         (__ASSUME_IPC64): Define unconditionally.
26903         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
26904         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
26905         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
26906         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
26907         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
26908         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
26909         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
26910         Likewise.
26912         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
26913         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
26914         (__ASSUME_SOCKETCALL): Do not define.
26915         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
26916         (__ASSUME_FUTEX_LOCK_PI): Likewise.
26917         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
26918         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
26919         (__ASSUME_REQUEUE_PI): Define unconditionally.
26920         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
26921         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
26922         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26923         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
26924         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
26925         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26927         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
26928         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
26929         (__ASSUME_SOCKETCALL): Do not define.
26930         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
26931         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
26932         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26933         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
26934         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
26935         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26937         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
26938         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
26939         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
26940         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
26941         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
26942         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
26943         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
26944         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
26945         (__ASSUME_GETCPU_SYSCALL): Likewise.
26947         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
26948         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
26949         cases for individual architectures.
26950         * sysdeps/gnu/configure: Regenerated.
26951         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
26952         LIBC_SLIBDIR_RTLDDIR.
26953         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
26954         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
26955         LIBC_SLIBDIR_RTLDDIR.
26956         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
26957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
26958         LIBC_SLIBDIR_RTLDDIR.
26959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
26960         Regenerated.
26961         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
26962         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
26963         file.
26964         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
26965         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
26966         file.
26967         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
26968         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
26969         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
26970         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
26972         * sysdeps/aarch64/shlib-versions: Move to ...
26973         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
26974         * sysdeps/alpha/shlib-versions: Move to ...
26975         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
26976         * sysdeps/arm/shlib-versions: Move to ...
26977         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
26978         * sysdeps/hppa/shlib-versions: Move all contents except for
26979         libgcc_s entry to ...
26980         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
26981         entry from ...
26982         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
26983         * sysdeps/ia64/shlib-versions: Move to ...
26984         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
26985         entry from ...
26986         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
26987         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
26988         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
26989         * sysdeps/microblaze/shlib-versions: Move to ...
26990         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
26991         * sysdeps/mips/shlib-versions: Move to ...
26992         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
26993         entry from ...
26994         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
26995         * sysdeps/tile/shlib-versions: Move to ...
26996         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
26997         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
26998         from ...
26999         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
27000         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
27001         entry from ...
27002         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
27004 2014-07-17  Will Newton  <will.newton@linaro.org>
27006         * sysdeps/arm/bits/atomic.h
27007         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
27008         (__arch_compare_and_exchange_bool_16_int): Likewise.
27009         (__arch_compare_and_exchange_bool_64_int): Likewise.
27011         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
27012         into an #else block.
27014 2014-07-16  Roland McGrath  <roland@hack.frob.com>
27016         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
27017         just Linux configurations.  Test empirically that the compiler sets
27018         __ARM_EABI__, rather than using the tuple to decide.
27019         * sysdeps/arm/preconfigure: Regenerated.
27020         * sysdeps/unix/sysv/linux/arm/configure: File removed.
27021         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
27022         contents appended ...
27023         * sysdeps/arm/configure.ac: ... here.
27024         * sysdeps/arm/configure: Regenerated.
27026 2014-07-15  Roland McGrath  <roland@hack.frob.com>
27028         * nptl/pthread_kill.c: New file.
27029         * nptl/pthread_sigmask.c: New file.
27030         * nptl/pthread_sigqueue.c: New file.
27032         * sysdeps/nptl/lowlevellock.h: New file.
27033         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
27034         * sysdeps/nptl/lowlevellock-futex.h: New file.
27036         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
27037         Remove dead declarations.
27039 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
27041         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
27042         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
27043         config-cflags-avx2.
27044         * sysdeps/x86_64/configure.ac: Likewise.
27045         * sysdeps/i386/configure: Regenerated.
27046         * sysdeps/x86_64/configure: Likewise.
27047         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27048         memset-avx2 only if config-cflags-avx2 is yes.
27049         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27050         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
27051         defined.
27052         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
27053         only if HAVE_AVX2_SUPPORT is defined.
27054         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27056 2014-07-14  Alan Modra  <amodra@gmail.com>
27058         [BZ #17153]
27059         * elf/elf.h (DT_PPC64_NUM): Correct value.
27060         * NEWS: Add to fixed bug list.
27062 2014-07-13  Jim Meyering  <meyering@fb.com>
27064         [BZ 17150]
27065         regex: don't deref NULL upon heap allocation failure
27066         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
27067         failure in one more place.
27068         To trigger the segfault, configure grep -with-included-regex,
27069         build it, and run these commands:
27070         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
27072 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
27074         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
27076 2014-07-11  Richard Henderson  <rth@redhat.com>
27078         * sysdeps/aarch64/libm-test-ulps: Update.
27080 2014-07-10  Florian Weimer  <fweimer@redhat.com>
27082         [BZ #17135]
27083         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
27084         * nptl/allocatestack.c (__nptl_setxid_error): New function.
27085         (__nptl_setxid): Initialize error member.  Call
27086         __nptl_setxid_error.
27087         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
27088         * nptl/descr.h (struct xid_command): Add error member.
27089         * nptl/tst-setuid3.c: New file.
27090         * nptl/Makefile (tests): Add it.
27092 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27094         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
27095         New define.
27096         (__lll_trylock): Use __lll_base_trylock.
27097         (__lll_cond_trylock): Likewise.
27099 2014-07-10  Roland McGrath  <roland@hack.frob.com>
27101         * nptl/pthread_create.c (start_thread): Use atomic_or and
27102         lll_futex_wake directly rather than lll_robust_dead.
27103         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
27104         (lll_robust_dead): Macro removed.
27105         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
27106         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
27107         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
27108         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
27109         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
27110         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
27111         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
27112         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
27113         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
27114         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
27115         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
27116         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
27117         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
27118         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
27119         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
27121         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
27122         Use atomic_compare_and_exchange_val_acq directly rather than
27123         lll_robust_trylock.
27124         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
27125         (__lll_robust_trylock, lll_robust_trylock): Removed.
27126         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
27127         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
27128         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
27129         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
27130         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
27131         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
27132         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
27133         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
27134         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
27135         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
27136         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
27137         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
27138         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
27139         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
27141 2014-07-02  Florian Weimer  <fweimer@redhat.com>
27143         * manual/locale.texi (Locale Names): New section documenting
27144         locale name syntax.  Adjust menu and node chaining accordingly.
27145         (Choosing Locale): Reference Locale Names, Locale Categories.
27146         Mention setting LC_ALL=C.  Reflect that name syntax is now
27147         documented.
27148         (Locale Categories): New section title.  Reference Locale Names.
27149         LC_ALL is an environment variable, but not a category.
27150         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
27151         description, now in Locale Name.  Reference that section.  Locale
27152         name syntax is now documented.
27154 2014-07-02  Florian Weimer  <fweimer@redhat.com>
27156         [BZ #17137]
27157         * locale/findlocale.c (name_present, valid_locale_name): New
27158         functions.
27159         (_nl_find_locale): Use the loc_name variable to store name
27160         candidates.  Call name_present and valid_locale_name to check and
27161         validate locale names.  Return an error if the locale is invalid.
27163 2014-07-02  Florian Weimer  <fweimer@redhat.com>
27165         * locale/setlocale.c (setlocale): Use strdup for allocating
27166         composite name copy.
27168 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
27170         Sync up with gnulib.
27171         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
27172         [!_LIBC && ENABLE_NLS]: Include gettext.h.
27173         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
27174         and _GL_ARG_NONNULL.
27175         [USE_UNLOCKED_IO]: Include unlocked-io.h.
27176         [!_LIBC]: Include code for Windows and Cygwin.
27177         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
27178         Include prototype for int strerror_r.
27179         [!_LIBC] (is_open): New function.
27180         (flush_stdout): New function.
27181         (print_errno_message): Use it.
27182         (error): Likewise.
27183         (error_at_line): Likewise.
27184         (error_tail) Add function attribute macros.  Use
27185         __builtin_expect.
27187         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
27189         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
27191         * io/ftw.c: Include sys/param.h unconditionally.
27193         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
27195         [BZ #17125]
27196         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
27197         libc_freeres_ptr.
27198         (freecache): New function to free CACHE on exit.
27200         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
27201         initialization.
27203 2014-07-09  David S. Miller  <davem@davemloft.net>
27205         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27207         * sysdeps/sparc/nptl/internaltypes.h: Delete.
27208         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
27209         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
27210         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
27211         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
27212         * sysdeps/sparc/nptl/sem_init.c: Likewise.
27213         * sysdeps/sparc/nptl/sem_post.c: Likewise.
27214         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
27215         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
27216         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
27217         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
27218         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
27219         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
27221 2014-07-09  Andreas Schwab  <schwab@suse.de>
27223         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
27224         output.
27225         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
27226         (do_test): Likewise.
27228         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
27230 2014-07-09  Will Newton  <will.newton@linaro.org>
27232         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
27233         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
27234         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
27235         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
27236         * sysdeps/hppa/start.S (_start): Likewise.
27238 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
27240         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
27242         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
27243         defined.
27245 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
27247         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
27248         after checking that it is non-NULL.
27250         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
27252 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27254         * sysdeps/powerpc/memmove.c: Remove file.
27255         * sysdeps/powerpc/powerpc32/power4/memcopy.h
27256         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
27257         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
27258         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
27259         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
27260         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
27261         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
27262         string memmove instead of removed powerpc one.
27264         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
27265         [weak_alias]: Fix compiler warning due trailing data.
27266         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
27267         [weak_alias]: Likewise.
27268         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
27269         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
27271         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27272         (__libc_ifunc_impl_list): Add memmove functions.
27274 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
27276         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
27277         Remove code.
27278         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
27279         Likewise.
27280         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
27281         Likewise.
27282         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
27283         Likewise.
27284         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
27285         Likewise.
27286         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
27287         Likewise.
27288         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
27289         Likewise.
27290         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
27291         Likewise.
27292         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
27293         Likewise.
27294         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
27295         Likewise.
27296         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
27297         Likewise.
27298         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
27299         Likewise.
27300         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
27301         Likewise.
27302         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
27303         Likewise.
27304         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
27305         Likewise.
27306         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
27307         Likewise.
27308         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
27309         Likewise.
27311 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27313         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
27314         to avoid alignment traps in non-cacheable memory.
27315         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
27317         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
27318         multiarch objects.
27319         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
27320         file: multiarch power7 memmove.
27321         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
27322         multiarch default memmove.
27323         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
27324         multiarch memove for powerpc32/power4.
27326         * string/bcopy.c: Use full path to include memmove.c.
27327         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
27328         multiarch objects.
27329         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
27330         bcopy for powerpc64.
27331         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
27332         bcopy for powerpc64.
27333         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
27334         and memmove implementations.
27335         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
27336         optimized multiarch memmove for POWER7/powerpc64.
27337         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
27338         default multiarch memmove for powerpc64.
27339         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
27340         multiarch for powerpc64.
27341         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
27342         for POWER7/powerpc64.
27343         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
27344         memmove for POWER7/powerpc64.
27346         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
27347         glibc default one.
27349         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
27350         __ELF_NATIVE_CLASS equal to 64.
27352 2014-07-07  Roland McGrath  <roland@hack.frob.com>
27354         * sysdeps/nptl/lowlevellock.h: File removed.
27356         * NEWS: NPTL is no longer an add-on!
27357         * nptl/internaltypes.h: Moved ...
27358         * sysdeps/nptl/internaltypes.h: ... here.
27359         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
27360         * sysdeps/nptl/fork.c: Likewise.
27361         * sysdeps/nptl/gai_misc.h: Likewise.
27362         * sysdeps/nptl/librt-cancellation.c: Likewise.
27363         * sysdeps/nptl/jmp-unwind.c: Likewise.
27364         * sysdeps/nptl/setxid.h: Likewise.
27365         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
27366         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
27367         * sysdeps/unix/sysv/linux/arm/Implies: New file.
27368         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
27369         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
27370         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
27371         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
27372         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
27373         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
27374         * sysdeps/unix/sysv/linux/mips/Implies: New file.
27375         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
27376         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
27377         * sysdeps/unix/sysv/linux/sh/Implies: New file.
27378         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
27379         * sysdeps/unix/sysv/linux/tile/Implies: New file.
27380         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
27381         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
27382         * nptl/Makeconfig: Moved ...
27383         * sysdeps/nptl/Makeconfig: ... here.
27384         * nptl/configure: File removed.
27385         * nptl/ANNOUNCE: File removed.
27386         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
27387         * sysdeps/unix/sysv/linux/configure: Regenerated.
27389         * nptl/Makefile (routines): Add libc_pthread_init,
27390         libc_multiple_threads, register-atfork and unregister-atfork.
27391         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
27392         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
27393         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
27394         pthread-pi-defines.sym, structsem.sym.
27395         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
27396         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
27397         [$(subdir) = nptl] (tests): Add tst-setgetname.
27398         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
27399         * sysdeps/unix/sysv/linux/sigaction.c: Just include
27400         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
27401         [!LIBC_SIGACTION]: Remove aliases.
27402         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
27403         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
27404         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
27405         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
27406         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
27407         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
27408         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
27409         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
27410         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
27411         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
27412         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
27413         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
27414         __libc_allocate_rtsig_private.
27415         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
27416         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
27417         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
27418         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
27419         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
27420         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
27421         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
27422         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
27423         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
27424         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
27425         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
27426         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
27427         * nptl/internaltypes.h: ... here.
27428         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
27429         * sysdeps/nptl/jmp-unwind.c: ... here.
27430         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
27431         * nptl/libc-lowlevellock.c: ... here.
27432         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
27433         * nptl/libc_multiple_threads.c: ... here.
27434         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
27435         * nptl/libc_pthread_init.c: ... here.
27436         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
27437         * nptl/lowlevelbarrier.sym: ... here.
27438         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
27439         * nptl/lowlevelcond.sym: ... here.
27440         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
27441         * nptl/lowlevellock.c: ... here.
27442         * nptl/lowlevellock.h: Moved ...
27443         * sysdeps/nptl/lowlevellock.h: ... here.
27444         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
27445         * nptl/lowlevelrobustlock.c: ... here.
27446         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
27447         * nptl/lowlevelrobustlock.sym: ... here.
27448         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
27449         * nptl/lowlevelrwlock.sym: ... here.
27450         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
27451         * nptl/pt-fork.c: ... here.
27452         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
27453         * nptl/pthread-pi-defines.sym: ... here.
27454         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
27455         * nptl/pthread_attr_getaffinity.c: ... here.
27456         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
27457         * nptl/pthread_attr_setaffinity.c: ... here.
27458         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
27459         * nptl/pthread_mutex_cond_lock.c: ... here.
27460         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
27461         Update #include.
27462         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
27463         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
27464         * nptl/pthread_once.c: ... here, replacing old file.
27465         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
27466         * nptl/pthread_yield.c: ... here.
27467         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
27468         * nptl/register-atfork.c: ... here.
27469         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
27470         * nptl/sem_post.c: ... here.
27471         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
27472         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
27473         * nptl/sem_timedwait.c: ... here.
27474         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
27475         * nptl/sem_trywait.c: ... here.
27476         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
27477         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
27478         * nptl/sem_wait.c: ... here.
27479         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
27480         * nptl/structsem.sym: ... here.
27481         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
27482         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
27483         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
27484         * nptl/unregister-atfork.c: ... here.
27485         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
27486         * nptl/unwindbuf.sym: ... here.
27487         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
27488         * sysdeps/nptl/fork.c: ... here.
27489         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
27490         * sysdeps/nptl/fork.h: ... here.
27491         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
27492         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
27493         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
27494         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
27495         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
27496         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
27497         * sysdeps/unix/sysv/linux/getpid.c: ... here.
27498         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
27499         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
27500         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
27501         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
27502         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
27503         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
27504         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
27505         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
27506         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
27507         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
27508         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
27509         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
27510         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
27511         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
27512         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
27513         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
27514         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
27515         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
27516         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
27517         * sysdeps/unix/sysv/linux/raise.c: ... here.
27518         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
27519         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
27520         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
27521         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
27522         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
27523         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
27524         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
27525         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
27526         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
27527         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
27528         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
27529         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
27530         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
27531         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
27532         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
27534 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
27536         * sysdeps/generic/memcopy.h: Add comment for
27537         MEMCPY_OK_FOR_FWD_MEMMOVE.
27539 2014-07-04  Will Newton  <will.newton@linaro.org>
27541         * string/memchr.c: Merge from gnulib.
27542         [_LIBC]: Remove conditionals.
27543         (__ptr_t): Remove define.
27544         (LONG_MAX_32_BITS): Likewise.
27545         (LONG_MAX): Likewise.
27546         (MEMCHR): Use ANSI prototype and optimize algorithm.
27548         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
27550 2014-07-03  Roland McGrath  <roland@hack.frob.com>
27552         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
27553         (lll_futex_timed_wait_bitset): Fix syscall argument count.
27555         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
27556         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
27557         in a bare environment with no <stdlib.h> installed.
27558         * sysdeps/nptl/configure: Regenerated.
27560         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
27562         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
27563         AC_EGREP_CPP for kernel header checks, so they only succeed if
27564         including <linux/version.h> actually works right.
27565         * sysdeps/unix/sysv/linux/configure: Regenerated.
27567         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
27568         value so it's not diagnosed as unused.
27570         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
27571         thing) with "ifeq ($(subdir),rt)".
27573 2014-07-03  Richard Henderson  <rth@redhat.com>
27575         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
27576         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
27577         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
27579         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
27580         (math_force_eval): New.
27582         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
27583         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
27585         * sysdeps/alpha/fpu/s_round.c: Remove file.
27586         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
27588         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
27589         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
27590         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
27591         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
27592         (_dl_start, print_statistics): Likewise.
27593         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
27594         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
27596         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
27597         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
27598         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
27599         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
27600         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
27601         (HP_SMALL_TIMING_AVAIL): Define.
27602         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
27603         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
27604         (HP_SMALL_TIMING_AVAIL): Define.
27605         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
27606         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
27608         * sysdeps/aarch64/hp-timing.h: New file.
27610         * sysdeps/generic/hp-timing.h: Remove dead comment.
27611         * sysdeps/generic/hp-timing-common.h: New file.
27612         * sysdeps/alpha/hp-timing.h: Include it.
27613         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
27614         * sysdeps/i386/i686/hp-timing.h: Likewise.
27615         * sysdeps/ia64/hp-timing.h: Likewise.
27616         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
27617         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
27618         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
27619         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
27620         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
27621         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
27622         (hp_timing_t): New.
27624         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
27625         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
27626         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
27627         * elf/rtld.c (_dl_start_final): Likewise.
27628         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
27629         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
27630         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
27631         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
27632         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
27633         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
27634         (HP_TIMING_DIFF_INIT): Remove.
27635         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
27636         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
27637         (HP_TIMING_DIFF_INIT): Remove.
27638         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
27639         * sysdeps/i386/i686/hp-timing.c: Remove file.
27640         * sysdeps/x86_64/hp-timing.c: Remove file.
27641         * sysdeps/ia64/hp-timing.c: Remove file.
27642         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
27643         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
27644         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
27645         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
27647         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
27648         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
27649         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
27650         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
27651         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
27652         (HP_TIMING_ACCUM): Remove.
27653         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
27654         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
27655         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
27657         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
27658         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
27659         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
27660         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
27661         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
27662         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
27663         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
27664         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
27666         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
27668 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
27670         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
27672 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27674         Sync up with gettext.
27675         * intl/loadmsgcat.c: Define O_BINARY if not defined.
27676         [_MSC_VER]: Include malloc.h
27677         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
27678         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
27679         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
27680         TEMP_FAILURE_RETRY.  Cast return of alloca.
27681         [!_LIBC] Call gl_rwlock_init.
27682         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
27684 2014-07-02  Roland McGrath  <roland@hack.frob.com>
27686         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
27687         before checking its value.
27689 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27691         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
27693         * debug/memcpy_chk.c: Don't include pagecopy.h.
27694         * debug/mempcpy_chk.c: Likewise.
27695         * string/memcpy.c: Likewise.
27696         * string/memmove.c: Likewise.
27697         * sysdeps/powerpc/memmove.c: Likewise.
27698         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
27699         definition of PAGE_COPY_FWD_MAYBE here...
27700         * sysdeps/generic/pagecopy.h: ... from here.
27701         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
27703 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
27704             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27706         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
27707         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
27708         optimizations.
27709         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
27710         (__libc_ifunc_impl_list): Likewise.
27711         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
27712         multiarch strcat for PPC64.
27713         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
27714         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
27716 2014-07-02  Roland McGrath  <roland@hack.frob.com>
27718         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
27720 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27722         * intl/loadmsgcat.c: Remove declaration of
27723         get_sysdep_segment_value.
27724         (get_sysdep_segment_value): Use ISO C style.
27725         (_nl_load_domain): Use ISO C style.  Get rid of redundant
27726         semicolon.  Fix typo and formatting in comment.
27727         (_nl_unload_domain): Use ISO C style.
27729         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
27731 2014-07-02  Will Newton  <will.newton@linaro.org>
27733         * malloc/obstack.c: Merge from gnulib master.
27734         [HAVE_CONFIG_H]: Remove conditional code.
27735         [!_LIBC]: Include config.h.
27736         [!ELIDE_CODE]: Don't include inttypes.h, include
27737         stdint.h unconditionally.
27738         (print_and_abort): Mark as _Noreturn.
27739         (_obstack_allocated_p): Mark as __attribute_pure__.
27740         (obstack_free): Rename to __obstack_free.
27741         [!__attribute__]: Remove conditional code.
27742         * malloc/obstack.h: Merge from gnulib master.
27743         [__cplusplus]: Move conditional down.
27744         [!__attribute_pure__]: Define __attribute_pure__ here
27745         if it is not already defined.
27746         (_obstack_memory_used): Mark as __attribute_pure__.
27747         [!__obstack_free]: Define as obstack_free.
27748         [__GNUC__]: Remove check for ancient NeXT gcc.
27750 2014-07-02  Will Newton  <will.newton@linaro.org>
27751             Paul Eggert  <eggert@cs.ucla.edu>
27753         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
27755 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27757         * resolv/gethnamaddr.c: Add comment warning that the file is
27758         not maintained.
27760 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
27762         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
27763         entries.
27765         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
27766         entry for aio_cancel and aio_cancel64.
27767         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
27768         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
27769         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
27770         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
27771         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
27772         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
27773         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
27774         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
27775         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
27776         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
27777         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
27778         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
27779         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
27781 2014-07-01  Roland McGrath  <roland@hack.frob.com>
27783         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
27784         * nptl/pthread_mutex_lock.c: Likewise.
27785         * nptl/pthread_mutex_timedlock.c: Likewise.
27786         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
27788 2014-07-01  Richard henderson  <rth@redhat.com>
27790         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
27791         (__isnan, __isnanl): Remove.
27792         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
27794         * sysdeps/alpha/fpu/libm-test-ulps: Update.
27796 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
27798         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
27800 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
27802         * resolv/nss_dns/dns-host.c (getanswer_r)
27803         [MULTI_PTRS_ARE_ALIASES]: Remove code.
27805 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
27807         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27808         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
27809         undefine.
27810         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
27811         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
27813 2014-07-01  Roland McGrath <roland@hack.frob.com>
27815         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
27816         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
27818         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
27819         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
27821         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
27822         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
27823         ... here.
27824         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
27825         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
27827         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
27828         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
27829         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
27830         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
27832         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
27833         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
27834         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
27835         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
27836         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
27837         Moved ...
27838         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
27839         ... here.
27840         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
27841         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
27842         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
27843         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
27844         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
27845         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
27846         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
27847         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
27848         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
27849         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
27850         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
27851         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
27852         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
27853         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
27854         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
27855         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
27856         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
27857         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
27858         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
27859         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
27860         ... here.
27861         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
27862         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
27863         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
27864         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
27865         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
27866         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
27867         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
27868         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
27870 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
27872         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
27873         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
27874         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
27875         Add sysdep.
27877 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27879         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27881 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
27883         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
27884         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
27886         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
27888         * sysdeps/arm/libm-test-ulps: Regenerated.
27890 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
27891             Roland McGrath <roland@hack.frob.com>
27893         * test-skeleton.c (signal_handler): Kill the whole process group
27894         before killing the child individually.
27895         (main): Report any failure on `setpgid'.
27897 2014-06-30  Roland McGrath  <roland@hack.frob.com>
27899         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
27900         from _TLS_H to _ARM_NPTL_TLS_H.
27901         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
27902         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
27904 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
27906         [BZ #16539]
27907         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
27908         (__expm1l): Return argument unchanged when small but not
27909         subnormal.
27911         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
27912         include macro name.
27913         (_FP_UNPACK_RAW_1_P): Likewise.
27914         (_FP_PACK_RAW_1): Likewise.
27915         (_FP_PACK_RAW_1_P): Likewise.
27916         (_FP_MUL_MEAT_1_wide): Likewise.
27917         (_FP_MUL_MEAT_DW_1_hard): Likewise.
27918         (_FP_MUL_MEAT_1_hard): Likewise.
27919         (_FP_DIV_MEAT_1_imm): Likewise.
27920         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
27921         (_FP_DIV_MEAT_1_udiv): Likewise.
27922         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
27923         (_FP_UNPACK_RAW_2): Likewise.
27924         (_FP_UNPACK_RAW_2_P): Likewise.
27925         (_FP_PACK_RAW_2): Likewise.
27926         (_FP_PACK_RAW_2_P): Likewise.
27927         (_FP_MUL_MEAT_DW_2_wide): Likewise.
27928         (_FP_MUL_MEAT_2_wide): Likewise.
27929         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
27930         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
27931         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
27932         (_FP_MUL_MEAT_2_gmp): Likewise.
27933         (_FP_DIV_MEAT_2_udiv): Likewise.
27934         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
27935         (_FP_FRAC_SRL_4): Likewise.
27936         (_FP_FRAC_SRST_4): Likewise.
27937         (_FP_FRAC_SRS_4): Likewise.
27938         (_FP_UNPACK_RAW_4): Likewise.
27939         (_FP_UNPACK_RAW_4_P): Likewise.
27940         (_FP_PACK_RAW_4): Likewise.
27941         (_FP_PACK_RAW_4_P): Likewise.
27942         (_FP_MUL_MEAT_DW_4_wide): Likewise.
27943         (_FP_MUL_MEAT_4_wide): Likewise.
27944         (_FP_MUL_MEAT_4_gmp): Likewise.
27945         (umul_ppppmnnn): Likewise.
27946         (_FP_DIV_MEAT_4_udiv): Likewise.
27947         (__FP_FRAC_ADD_4): Likewise.
27948         (__FP_FRAC_SUB_3): Likewise.
27949         (__FP_FRAC_SUB_4): Likewise.
27950         (__FP_FRAC_DEC_3): Likewise.
27951         (__FP_FRAC_DEC_4): Likewise.
27952         (__FP_FRAC_ADDI_4): Likewise.
27953         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
27954         (_FP_FRAC_SRL_8): Likewise.
27955         (_FP_FRAC_SRS_8): Likewise.
27957         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
27958         include macro name.
27959         (FP_UNPACK_RAW_EP): Likewise.
27960         (FP_PACK_RAW_E): Likewise.
27961         (FP_PACK_RAW_EP): Likewise.
27962         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
27963         (_FP_ISSIGNAN): Likewise.
27964         (_FP_ADD_INTERNAL): Likewise.
27965         (_FP_FMA): Likewise.
27966         (_FP_CMP): Likewise.
27967         (_FP_SQRT): Likewise.
27968         (_FP_TO_INT): Likewise.
27969         (_FP_FROM_INT): Likewise.
27970         (FP_EXTEND): Likewise.
27971         (_FP_DIV_MEAT_N_loop): Likewise.
27973 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
27975         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
27976         throughout.
27978 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
27980         [BZ #17097]
27981         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
27982         result with correct sign in case of exponents that produce
27983         overflow except for X very close to 1.
27985 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
27987         mktime: merge #if/#ifdef usage from glibc
27988         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
27989         as that works with both Glibc's and Gnulib's style.
27990         See thread starting at Siddhesh Poyarekar's bug report at:
27991         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
27993 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27995         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
27996         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
27997         * sysdeps/tile/tilegx/memmove.c: Remove file.
27999 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
28001         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
28002         abi-name definition.
28003         * scripts/soversions.awk: Do not handle or generate ABI lines.
28004         * shlib-versions: Remove ABI entries.
28005         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
28006         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
28008 2014-06-27  Roland McGrath  <roland@hack.frob.com>
28010         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
28011         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
28012         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
28013         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
28014         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
28015         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
28016         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
28017         Moved ...
28018         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
28019         ... here.
28020         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
28021         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
28022         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
28023         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
28024         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
28025         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
28026         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
28027         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
28028         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
28029         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
28030         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
28031         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
28032         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
28033         Moved ...
28034         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
28035         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
28036         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
28037         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
28038         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
28039         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
28040         Moved ...
28041         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
28042         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
28043         Moved ...
28044         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
28045         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
28046         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
28047         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
28048         Moved ...
28049         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
28050         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
28051         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
28052         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
28053         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
28054         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
28055         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
28056         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
28057         Moved ...
28058         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
28059         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
28060         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
28061         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
28062         Moved ...
28063         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
28064         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
28065         Moved ...
28066         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
28067         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
28068         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
28069         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
28070         Moved ...
28071         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
28072         ... here.
28073         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
28074         Identical file removed.
28075         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
28076         Moved ...
28077         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
28078         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
28079         Identical file removed.
28080         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
28081         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
28082         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
28083         Moved ...
28084         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
28085         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
28086         Identical file removed.
28087         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
28088         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
28089         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
28090         Identical file removed.
28091         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
28092         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
28093         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
28094         Identical file removed.
28095         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
28096         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
28097         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
28098         Identical file removed.
28099         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
28100         Moved ...
28101         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
28102         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
28103         Identical file removed.
28104         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
28105         Moved ...
28106         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
28107         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
28108         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
28109         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
28110         Identical file removed.
28111         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
28112         Moved ...
28113         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
28114         ... here.
28115         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
28116         Identical file removed.
28117         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
28118         Moved ...
28119         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
28120         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
28121         Identical file removed.
28122         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
28123         Moved ...
28124         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
28125         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
28126         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
28127         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
28128         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
28129         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
28130         Moved ...
28131         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
28132         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
28133         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
28135         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
28136         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
28137         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
28138         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
28139         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
28141 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
28143         [BZ #17092]
28144         * nscd/nscd.c (monitor_child): Return exit status of child
28145         instead of return value from wait syscall.
28147 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
28149         * configure.ac (libc_commonpagesize): Remove variable.
28150         (libc_relro_required): Likewise.
28151         (libc_cv_z_relro): Remove configure test.
28152         * configure: Regenerated.
28153         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
28154         variable.
28155         (libc_relro_required): Likewise.
28156         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
28157         (libc_relro_required): Likewise.
28158         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
28159         (libc_relro_required): Likewise.
28160         * sysdeps/arm/preconfigure: Regenerated.
28161         * sysdeps/ia64/preconfigure: Remove file.
28162         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
28163         variable.
28164         (libc_relro_required): Likewise.
28166         [BZ #16561]
28167         [BZ #16562]
28168         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
28169         (__ieee754_yn): Set FE_TONEAREST mode internally and then
28170         recompute overflowing results in original rounding mode.
28171         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
28172         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
28173         recompute overflowing results in original rounding mode.
28174         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
28175         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
28176         recompute overflowing results in original rounding mode.
28177         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
28178         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
28179         recompute overflowing results in original rounding mode.
28180         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
28181         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
28182         recompute overflowing results in original rounding mode.
28183         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
28184         (libc_feholdsetround_ctx): New macro.
28185         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
28186         * sysdeps/i386/fpu/libm-test-ulps: Update.
28187         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
28189 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
28191         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
28192         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
28193         corresponding .cpsetup call.
28195 2014-06-26  Roland McGrath  <roland@hack.frob.com>
28197         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
28198         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
28199         * sysdeps/arm/Makefile [$(subdir) = csu]
28200         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
28201         (static-only-routines): Add aeabi_read_tp here.
28202         (shared-only-routines): Add libc-aeabi_read_tp here.
28203         (CFLAGS-libc-start.c): Add -fexceptions here.
28204         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
28205         (sysdep_routines, static-only-routines, shared-only-routines):
28206         Don't add to these here.
28207         (CFLAGS-libc-start.c): Likewise.
28209         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
28210         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
28211         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
28212         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
28213         * sysdeps/arm/Makefile [$(subdir) = rt]
28214         (librt-sysdep_routines, librt-shared-only-routines):
28215         Append rt-aeabi_unwind_cpp_pr1 here.
28216         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
28217         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
28218         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
28219         (libpthread-sysdep_routines, libpthread-shared-only-routines):
28220         Append nptl-aeabi_unwind_cpp_pr1 here.
28221         (tests): Filter out tst-cleanupx4 here.
28222         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
28223         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
28224         Don't do those here.
28226 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
28228         * scripts/list-sources.sh: Do not handle ports specially.
28230 2014-06-26  Roland McGrath  <roland@hack.frob.com>
28232         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
28233         * sysdeps/arm/feupdateenv.c: Likewise.
28235         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
28237 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
28239         * manual/texinfo.tex: Update to version 2014-05-05.10 with
28240         trailing whitespace removed.
28241         * scripts/config.guess: Update to version 2014-03-23.
28242         * scripts/config.sub: Update to version 2014-05-01
28243         * scripts/install-sh: Update to version 2013-12-25.23.
28244         * scripts/move-if-change: Update from gnulib.
28246 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28248         * debug/memmove_chk.c: Remove pagecopy.h include.
28250 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
28252         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
28253         identical to gnulib mktime.
28255 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
28257         * configure.ac: Do not test for machine being rs6000.  Do not test
28258         for powerpc*-*soft.
28259         * configure: Regenerated.
28261         [BZ #11505]
28262         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
28263         test.
28264         * configure: Regenerated.
28265         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
28266         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
28267         Remove configure test.
28268         * sysdeps/arm/configure: Regenerated.
28269         * sysdeps/nptl/configure.ac: Do not check
28270         libc_cv_asm_cfi_directives.
28271         * sysdeps/nptl/configure: Regenerated.
28272         * sysdeps/x86_64/nptl/configure.ac: Remove file.
28273         * sysdeps/x86_64/nptl/configure: Remove generated file.
28274         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
28275         unconditional.
28276         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
28278 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28280         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
28281         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
28282         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
28283         it is defined.
28285         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
28286         instead of whether it is defined.
28287         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
28288         * sysdeps/hppa/dl-machine.h: Likewise.
28289         * sysdeps/ia64/dl-machine.h: Likewise.
28290         * sysdeps/m68k/dl-machine.h: Likewise.
28291         * sysdeps/microblaze/dl-machine.h: Likewise.
28292         * sysdeps/mips/dl-machine.: Likewise.
28293         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
28294         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
28295         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
28296         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
28297         * sysdeps/sh/dl-machine.h: Likewise.
28298         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
28299         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
28300         * sysdeps/tile/dl-machine.h: Likewise.
28301         * sysdeps/x86_64/dl-machine.h: Likewise.
28303         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
28304         code.
28305         (verify_persistent_db): Likewise.
28307 2014-06-26  Roland McGrath  <roland@hack.frob.com>
28309         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
28310         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
28311         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
28312         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
28313         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
28314         Moved ...
28315         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
28316         ... here.
28317         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
28318         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
28319         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
28320         Identical file removed.
28321         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
28322         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
28323         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
28324         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
28325         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
28326         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
28327         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
28328         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
28329         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
28330         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
28331         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28332         Moved ...
28333         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
28334         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
28335         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
28336         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
28337         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
28338         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
28339         Moved ...
28340         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
28341         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
28342         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
28343         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
28344         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
28345         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
28346         Identical file removed.
28347         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
28348         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
28349         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
28350         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
28351         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
28352         Moved ...
28353         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
28354         ... here.
28355         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
28356         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
28357         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
28358         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
28359         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
28360         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
28361         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
28362         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
28363         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
28364         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
28365         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28366         Moved ...
28367         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
28368         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
28369         Moved ...
28370         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
28371         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
28372         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
28373         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
28374         Moved ...
28375         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
28376         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
28377         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
28379         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
28380         folded into ...
28381         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
28382         * sysdeps/unix/sysv/linux/s390/Versions
28383         (libpthread: GLIBC_2.19): New version set.
28384         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
28385         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
28386         (librt: GLIBC_2.3.3): New version set.
28387         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
28388         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
28389         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
28390         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
28391         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
28392         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
28393         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
28394         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
28395         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
28396         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
28397         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
28398         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
28399         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
28400         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
28401         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
28402         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
28403         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
28404         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
28405         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
28406         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
28407         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
28408         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
28409         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
28410         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
28411         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
28412         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
28413         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
28414         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
28415         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
28416         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
28417         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
28418         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
28419         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
28420         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
28421         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
28422         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
28423         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
28424         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
28425         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
28426         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
28427         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
28428         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
28429         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
28430         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
28431         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
28433         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
28434         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
28435         (__libc_vfork): Define the function under this name.
28436         [!NOT_IN_libc] (__vfork): Make this an alias.
28437         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
28438         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
28439         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
28440         (__libc_vfork): Define the function under this name.
28441         [!NOT_IN_libc] (__vfork): Make this an alias.
28442         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
28443         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
28444         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
28445         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
28446         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
28447         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
28449         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
28450         code that was previously under [RESET_PID].
28451         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
28452         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
28453         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
28455         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
28456         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
28457         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
28458         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
28459         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
28460         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
28461         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
28462         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
28463         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
28464         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
28465         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
28466         Moved ...
28467         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
28468         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
28469         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
28470         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
28471         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
28472         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
28473         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
28474         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
28475         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
28476         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
28477         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
28478         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
28479         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
28480         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
28481         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
28482         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
28483         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
28484         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
28485         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
28486         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
28487         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
28488         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
28489         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
28490         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
28491         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
28492         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
28493         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
28494         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
28495         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
28497 2014-06-25  Roland McGrath  <roland@hack.frob.com>
28499         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
28500         that was previously under [RESET_PID].
28501         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
28503 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
28505         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
28506         not undefine and redefine.
28507         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
28508         [O_CLOEXEC]: Make code unconditional.
28509         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
28510         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
28511         <kernel-features.h>.
28512         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
28513         conditional variable definition.
28514         (shm_open) [O_CLOEXEC]: Make code unconditional.
28515         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
28516         code.
28518         * configure.ac (USE_REGPARMS): Don't define here.
28519         * configure: Regenerated.
28520         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
28521         * sysdeps/i386/configure: Regenerated.
28523         * nptl/createthread.c: Don't include kernel-features.h.
28524         * nptl/pthread_cancel.c: Likewise.
28525         * nptl/pthread_condattr_setclock.c: Likewise.
28526         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
28527         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
28528         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
28529         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
28530         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
28531         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
28532         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
28533         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
28534         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
28535         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
28536         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
28537         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
28538         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
28539         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
28540         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
28541         * nscd/gai.c: Likewise.
28542         * nss/nss_db/db-open.c: Likewise.
28543         * sysdeps/generic/ldsodefs.h: Likewise.
28544         * sysdeps/sh/nptl/tls.h: Likewise.
28545         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
28546         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
28547         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
28548         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
28549         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
28550         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
28551         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
28552         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
28553         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
28554         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
28555         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
28556         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
28557         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
28558         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
28559         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
28560         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
28561         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
28562         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
28563         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
28564         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
28565         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
28566         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
28567         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
28568         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
28569         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
28570         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
28571         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
28572         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
28573         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
28574         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
28575         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
28576         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
28577         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
28578         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
28579         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
28580         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
28581         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
28582         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
28583         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
28584         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
28585         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
28586         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
28587         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
28588         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
28589         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
28590         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
28591         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
28592         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
28593         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
28594         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
28595         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
28596         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
28597         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
28598         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
28599         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
28600         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
28601         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
28602         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
28603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
28604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
28605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
28606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
28607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
28608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
28609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
28610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
28611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
28612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
28613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
28614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
28615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
28616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
28617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
28618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
28619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
28620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
28621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
28622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
28623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
28624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
28625         * sysdeps/unix/sysv/linux/pread.c: Likewise.
28626         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
28627         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
28628         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
28629         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
28630         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
28631         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
28632         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
28633         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
28634         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
28635         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
28636         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
28637         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
28638         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
28639         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
28640         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
28641         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
28642         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
28643         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
28644         * sysdeps/unix/sysv/linux/system.c: Likewise.
28645         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
28646         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
28647         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
28648         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
28649         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
28650         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
28651         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
28653         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
28654         * configure: Regenerated.
28655         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
28657         * configure.ac (base_machine): Do not set specially for particular
28658         machines here.
28659         * configure: Regenerated.
28660         * sysdeps/powerpc/preconfigure: Move machine and base_machine
28661         settings from configure.ac.
28662         * sysdeps/i386/preconfigure: New file.
28663         * sysdeps/s390/preconfigure: Likewise.
28664         * sysdeps/sh/preconfigure: Likewise.
28665         * sysdeps/sparc/preconfigure: Likewise.
28667 2014-06-25  Roland McGrath  <roland@hack.frob.com>
28669         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
28670         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
28671         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
28672         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
28673         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
28674         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
28675         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
28676         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
28677         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
28678         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
28679         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
28680         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
28681         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
28682         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
28683         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
28684         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
28685         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
28686         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
28687         * sysdeps/sparc/sparc64/Makefile: ... appended here.
28689         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
28690         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
28691         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
28692         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
28693         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
28694         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
28695         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
28696         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
28697         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
28698         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
28699         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
28700         * sysdeps/sparc/sparc32/sem_post.c: ... here.
28701         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
28702         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
28703         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
28704         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
28705         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
28706         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
28707         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
28708         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
28709         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
28710         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
28711         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
28712         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
28713         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
28714         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
28715         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
28716         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
28717         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
28718         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
28719         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
28720         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
28721         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
28722         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
28723         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
28724         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
28725         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
28726         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
28728         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
28729         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
28730         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
28731         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
28732         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
28733         Moved ...
28734         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
28735         ... here.
28736         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
28737         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
28738         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
28739         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
28740         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
28741         Moved ...
28742         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
28743         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
28744         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
28745         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
28746         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
28747         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
28748         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
28749         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
28750         Moved ...
28751         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
28752         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
28753         Moved ...
28754         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
28755         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
28756         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
28757         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
28758         Moved ...
28759         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
28760         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
28761         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
28762         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
28763         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
28764         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
28765         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
28766         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
28767         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
28768         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
28769         Moved ...
28770         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
28771         ... here.
28772         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
28773         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
28774         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
28775         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
28776         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
28777         Moved ...
28778         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
28779         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
28780         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
28781         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
28782         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
28783         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
28784         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
28785         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
28786         Moved ...
28787         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
28788         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
28789         Moved ...
28790         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
28791         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
28792         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
28793         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
28794         Moved ...
28795         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
28796         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
28797         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
28798         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
28799         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
28801 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
28803         * timezone/checktab.awk: Update from tzcode 2014e.
28804         * timezone/private.h: Likewise.
28805         * timezone/tzfile.h: Likewise.
28806         * timezone/zdump.c: Likewise.
28807         * timezone/zic.c: Likewise.
28809         * sysdeps/unix/sysv/linux/kernel-features.h
28810         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
28811         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
28812         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
28813         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
28814         Remove conditional code.
28816 2014-06-25  Will Newton  <will.newton@linaro.org>
28818         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
28819         (_dl_arm_cap_flags): Add HWCAP2 values.
28820         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
28821         (_DL_HWCAP_COUNT): Increase to 37.
28822         (_DL_HWCAP_LAST): New define.
28823         (_DL_HWCAP2_LAST): New define.
28824         (_dl_procinfo): Add support for printing
28825         AT_HWCAP2 entries.
28826         (_dl_string_hwcap): Use _dl_hwcap_string.
28828 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28830         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28832 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
28834         * README: Do not mention ports directory.
28836         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
28837         Remove macro.
28838         * sysdeps/unix/sysv/linux/futimes.c: Do not include
28839         <kernel-features.h>.
28840         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
28841         conditional variable definition.
28842         (__futimes): Update comment.
28843         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
28844         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
28846         [BZ #16560]
28847         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
28848         arguments close to 0.
28849         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
28850         Likewise.
28851         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
28852         Likewise.
28853         * math/auto-libm-test-in: Add more tests of exp10.
28854         * math/auto-libm-test-out: Regenerated.
28855         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28857         * sysdeps/unix/sysv/linux/kernel-features.h
28858         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
28859         * sysdeps/unix/sysv/linux/readv.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_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
28864         unconditional.
28865         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
28866         conditional code.
28867         * sysdeps/unix/sysv/linux/writev.c: Do not include
28868         <kernel-features.h>.
28869         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
28870         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
28871         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
28872         unconditional.
28873         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
28874         conditional code.
28876 2014-06-25  Will Newton  <will.newton@linaro.org>
28878         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
28879         comment changes throughout the file.  Remove checks
28880         for HAVE_*_H definitions that are not required.
28881         (__gen_tempname): Call abort if an unknown kind value is
28882         passed.
28884 2014-06-25  Andreas Schwab  <schwab@suse.de>
28886         [BZ #17086]
28887         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
28888         scalbln, scalblnf, scalblnl in libc.
28890 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
28892         [BZ #17086]
28893         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
28894         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
28895         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
28897 2014-06-24  Roland McGrath  <roland@hack.frob.com>
28899         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
28900         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
28901         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
28902         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
28903         Update #include.
28904         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
28905         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
28906         Update #include.
28907         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
28908         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
28909         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
28910         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
28911         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
28912         * sysdeps/x86/bits/pthreadtypes.h: ... here.
28913         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
28914         * sysdeps/x86/bits/semaphore.h: ... here.
28915         * sysdeps/x86/nptl/elide.h: Moved ...
28916         * sysdeps/x86/elide.h: ... here.
28917         * sysdeps/x86_64/nptl/Implies: File removed.
28918         * sysdeps/i386/nptl/Implies: File removed.
28920 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
28922         [BZ #16539]
28923         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
28924         return the argument for normal arguments with exponent below -64.
28925         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
28926         Likewise.
28927         * math/auto-libm-test-in: Add another test of expm1.
28928         * math/auto-libm-test-out: Regenerated.
28930         [BZ #16287]
28931         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
28932         calling __erfcl for arguments at least 16.
28933         * math/auto-libm-test-in: Add more tests of erf.
28934         * math/auto-libm-test-out: Regenerated.
28936         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
28937         individual architectures.
28938         * sysdeps/unix/sysv/linux/configure: Regenerated.
28939         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
28940         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
28941         * sysdeps/unix/sysv/linux/powerpc/configure.ac
28942         (ldd_rewrite_script): Define variable.
28943         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
28944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
28945         file.
28946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
28947         generated file.
28948         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
28949         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
28950         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
28951         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
28952         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
28953         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
28954         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
28955         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
28957 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
28959         [BZ #17084]
28960         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
28961         Rename member __data.d to __data.__elision_data.
28963 2014-06-24  Wilco  <wdijkstr@arm.com>
28965         * NEWS: Add 16918 to fixed bug list.
28967 2014-06-24  Wilco  <wdijkstr@arm.com>
28969         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
28971 2014-06-24  Wilco  <wdijkstr@arm.com>
28973         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
28974         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
28975         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
28976         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
28977         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
28978         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
28979         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
28980         Use _FPU_MASK_RM.
28982 2014-06-24  Wilco  <wdijkstr@arm.com>
28984         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
28986 2014-06-24  Wilco  <wdijkstr@arm.com>
28988         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
28989         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
28990         * sysdeps/arm/fesetround.c (fesetround): Remove space.
28991         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
28993 2014-06-24  Wilco  <wdijkstr@arm.com>
28995         [BZ #16918]
28996         * sysdeps/arm/feupdateenv.c (feupdateenv):
28997         Rewrite to reduce FPSCR accesses and fix return value.
28999 2014-06-24  Wilco  <wdijkstr@arm.com>
29001         * sysdeps/arm/fclrexcpt.c (feclearexcept):
29002         Optimize to avoid unnecessary FPSCR writes.
29003         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
29004         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
29005         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
29006         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
29008 2014-06-24  Wilco  <wdijkstr@arm.com>
29010         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
29011         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
29012         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
29013         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
29014         Call libc_fetestexcept_vfp.
29015         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
29016         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
29017         __SOFTFP__ ifdef so that they can be built for softfp.
29019 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
29021         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
29022         argument type signed char.
29024         * Makerules (check-abi): Dump diff of symlist if the test
29025         fails.
29027 2014-06-23  Roland McGrath  <roland@hack.frob.com>
29029         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
29030         using abort.
29032         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
29033         Remove unused variable ST.
29035 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
29037         [BZ #16354]
29038         [BZ #17061]
29039         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
29040         small arguments before calling __expm1.
29041         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
29042         small arguments before calling __expm1f.
29043         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
29044         small arguments before calling __expm1l.
29045         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
29046         Likewise.
29047         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
29048         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
29049         spurious underflow for some cosh tests.
29050         * math/auto-libm-test-out: Regenerated.
29051         * sysdeps/i386/fpu/libm-test-ulps: Update.
29053         [BZ #17050]
29054         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
29055         (__ieee754_y1): Set errno if return value overflows.
29056         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
29057         (__ieee754_y1f): Set errno if return value overflows.
29058         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
29059         (__ieee754_y1l): Set errno if return value overflows.
29060         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
29061         (__ieee754_y1l): Set errno if return value overflows.
29062         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
29063         * math/auto-libm-test-out: Regenerated.
29065         * math/gen-auto-libm-tests.c: Document use of
29066         ignore-zero-inf-sign.
29067         (input_flag_type): Add value flag_ignore_zero_inf_sign.
29068         (input_flags): Add ignore-zero-inf-sign.
29069         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
29070         * math/gen-libm-test.pl (generate_testfile): Handle
29071         ignore-zero-inf-sign.
29072         * math/auto-libm-test-in: Mark some cpow tests with
29073         ignore-zero-inf-sign and some with xfail-rounding.
29074         * math/auto-libm-test-out: Regenerated.
29075         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
29076         * sysdeps/i386/fpu/libm-test-ulps: Update.
29077         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29079         [BZ #16315]
29080         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
29081         overflowing or underflowing operations take place with sign of
29082         result.
29083         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
29084         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
29085         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
29086         (__ieee754_pow): Recompute overflowing and underflowing results in
29087         original rounding mode.
29088         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
29089         (__powl_helper): Allow negative argument X and scale negated value
29090         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
29091         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
29092         overflowing or underflowing operations take place with sign of
29093         result.
29094         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
29095         Include <math.h>.
29096         * math/auto-libm-test-in: Add more tests of pow.
29097         * math/auto-libm-test-out: Regenerated.
29098         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
29099         (pow_tonearest_test_data): Remove.
29100         (pow_test_tonearest): Likewise.
29101         (pow_towardzero_test_data): Likewise.
29102         (pow_test_towardzero): Likewise.
29103         (pow_downward_test_data): Likewise.
29104         (pow_test_downward): Likewise.
29105         (pow_upward_test_data): Likewise.
29106         (pow_test_upward): Likewise.
29107         (main): Don't call removed functions.
29108         * sysdeps/i386/fpu/libm-test-ulps: Update.
29109         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29111 2014-06-23  Roland McGrath  <roland@hack.frob.com>
29113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
29114         Moved ...
29115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
29116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29117         Moved ...
29118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
29119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
29120         Moved ...
29121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
29122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
29123         Moved ...
29124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
29125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
29126         File removed.
29127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
29128         File removed.
29129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
29130         File removed.
29131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
29132         File removed.
29133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
29134         File removed.
29135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
29136         File removed.
29137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
29138         File removed.
29139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
29140         File removed.
29141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
29142         File removed.
29143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
29144         File removed.
29145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
29146         File removed.
29147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
29148         File removed.
29149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
29150         Moved ...
29151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
29152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
29153         Moved ...
29154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
29155         ... here.
29156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
29157         Moved ...
29158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
29159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
29160         Moved ...
29161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
29162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
29163         Moved ...
29164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
29165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
29166         Moved ...
29167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
29168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
29169         Moved ...
29170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
29171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
29172         Moved ...
29173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
29174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
29175         Moved ...
29176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
29177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
29178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
29179         ... here.
29180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
29181         Moved ...
29182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
29183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
29184         Moved ...
29185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
29186         ... here.
29187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
29188         Moved ...
29189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
29190         ... here.
29191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
29192         Moved ...
29193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
29194         ... here.
29195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
29196         Moved ...
29197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
29198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
29199         Moved ...
29200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
29201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
29202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
29203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
29204         Moved ...
29205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
29206         ... here.
29207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
29208         Moved ...
29209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
29210         ... here.
29211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
29212         Moved ...
29213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
29214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
29215         Moved ...
29216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
29217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
29218         Moved ...
29219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
29220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29221         Moved ...
29222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
29223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
29224         Moved ...
29225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
29226         ... here.
29227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
29228         Moved ...
29229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
29230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
29231         Moved ...
29232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
29233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
29234         Moved ...
29235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
29236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
29237         Moved ...
29238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
29239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
29240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
29241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
29242         Moved ...
29243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
29244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
29245         Moved ...
29246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
29247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
29248         Moved ...
29249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
29250         ... here.
29251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
29252         Moved ...
29253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
29254         ... here.
29255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
29256         Moved ...
29257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
29258         ... here.
29259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
29260         Moved ...
29261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
29262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
29263         Moved ...
29264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
29265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
29266         Moved ...
29267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
29268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
29269         Moved ...
29270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
29271         ... here.
29272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
29273         Moved ...
29274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
29275         ... here.
29276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
29277         Moved ...
29278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
29279         ... here.
29280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
29281         Moved ...
29282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
29283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
29284         Moved ...
29285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
29287 2014-06-23  Will Newton  <will.newton@linaro.org>
29288             Wilco  <wdijkstr@arm.com>
29290         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
29291         implementation.  Include get-rounding-mode.h.
29292         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
29293         [!libc_feholdsetround_noex_ctx]: Define
29294         libc_feholdsetround_noex_ctx.
29295         [!libc_feholdsetround_noexf_ctx]: Define
29296         libc_feholdsetround_noexf_ctx.
29297         [!libc_feholdsetround_noexl_ctx]: Define
29298         libc_feholdsetround_noexl_ctx.
29299         (libc_feholdsetround_ctx): New function.
29300         (libc_feresetround_ctx): New function.
29301         (libc_feholdsetround_noex_ctx): New function.
29302         (libc_feresetround_noex_ctx): New function.
29304 2014-06-23  Roland McGrath  <roland@hack.frob.com>
29306         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
29307         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
29308         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
29309         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
29310         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
29311         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
29313         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
29314         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
29315         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
29316         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
29317         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
29318         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
29319         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
29320         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
29321         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
29322         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
29323         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
29324         Moved ...
29325         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
29326         ... here.
29327         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
29328         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
29329         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
29330         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
29331         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
29332         Moved ...
29333         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
29334         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
29335         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
29336         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
29337         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
29338         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
29339         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
29340         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
29341         Moved ...
29342         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
29343         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
29344         Moved ...
29345         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
29346         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
29347         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
29348         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
29349         Moved ...
29350         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
29351         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
29352         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
29353         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
29354         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
29355         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
29356         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
29357         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
29358         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
29359         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
29360         Moved ...
29361         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
29362         ... here.
29363         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
29364         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
29365         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
29366         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
29367         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
29368         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
29369         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
29370         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
29371         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
29372         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
29373         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
29374         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
29375         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
29376         Moved ...
29377         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
29378         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
29379         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
29380         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
29381         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
29382         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
29383         Moved ...
29384         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
29385         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
29386         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
29387         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
29388         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
29390         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
29391         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
29392         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
29393         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
29394         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
29395         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
29396         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
29397         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
29398         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
29399         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
29400         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
29401         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
29402         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
29403         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
29404         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
29405         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
29406         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
29407         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
29408         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
29409         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
29410         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
29411         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
29412         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
29413         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
29414         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
29415         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
29416         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
29417         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
29419 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
29421         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
29422         (FALLOC_FL_COLLAPSE_RANGE): New macro.
29423         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
29424         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
29425         (IPV6_PMTUDISC_INTERFACE): Likewise.
29426         (IPV6_PMTUDISC_OMIT): Likewise.
29428 2014-06-23  Andreas Schwab  <schwab@suse.de>
29430         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
29431         Remove unused errout label.
29433 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29435         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
29436         macro: hardware supports Vector Crypto instructions.
29438 2014-06-23  Will Newton  <will.newton@linaro.org>
29440         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
29441         rather than __builtin_expect.
29443         * elf/dl-lookup.c (undefined_msg): Remove variable.
29444         (_dl_lookup_symbol_x): Replace undefined_msg with string
29445         literal.
29447         * elf/dl-lookup.c (do_lookup_unique): New function.
29448         (do_lookup_x): Move STB_GNU_UNIQUE handling code
29449         to a separate function.
29451 2014-06-23  Andreas Schwab  <schwab@suse.de>
29453         [BZ #17079]
29454         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
29455         before reading the next line.
29457 2014-06-23  Will Newton  <will.newton@linaro.org>
29459         * test-skeleton.c (signal_handler): Use printf and %m
29460         rather than perror.  Use printf rather than fprintf to
29461         stderr.  Use puts rather than fputs to stderr.
29462         (main): Likewise.
29464 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
29466         * nscd/nscd.c (thread_info_t): Remove typedef.
29467         (thread_info): Remove variable.
29469 2014-06-21  Allan McRae  <allan@archlinux.org>
29471         * NEWS: Mention CVE-2014-4043.
29473 2014-06-20  Roland McGrath  <roland@hack.frob.com>
29475         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
29476         * nptl/smp.h: ... here.
29478         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
29480         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
29481         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
29482         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
29483         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
29485         * nptl/allocatestack.c: Include <stack-aliasing.h>.
29486         * nptl/stack-aliasing.h: New file.
29487         * sysdeps/i386/i686/stack-aliasing.h: New file.
29488         * sysdeps/i386/i686/nptl/Makefile: File removed.
29489         * sysdeps/x86_64/stack-aliasing.h: New file.
29490         * sysdeps/x86_64/nptl/Makefile
29491         (CFLAGS-pthread_create.c): Variable removed.
29493         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
29494         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
29495         old file.
29496         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
29497         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
29498         old file.
29500 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
29502         * sysdeps/unix/sysv/linux/arm/kernel-features.h
29503         (__ASSUME_SIGFRAME_V2): Remove macro.
29504         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
29505         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
29506         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
29507         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
29508         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
29509         Declare as function.  Remove conditional macro definitions.
29510         (__default_rt_sa_restorer): Likewise.
29511         (__default_sa_restorer_v1): Remove declaration.
29512         (__default_sa_restorer_v2): Likewise.
29513         (__default_rt_sa_restorer_v1): Likewise.
29514         (__default_rt_sa_restorer_v2): Likewise.
29515         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
29516         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
29517         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
29519 2014-06-20  Roland McGrath  <roland@hack.frob.com>
29521         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
29522         (libpthread-routines): Add sysdep.
29523         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
29524         * sysdeps/unix/sysv/linux/sparc/Versions
29525         (libpthread: GLIBC_2.3.3): New version set.
29526         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
29527         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
29528         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
29529         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
29530         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
29531         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
29532         Moved ...
29533         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
29534         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
29535         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
29536         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
29537         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
29538         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
29539         * sysdeps/sparc/nptl/sem_init.c: ... here.
29540         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
29541         * sysdeps/sparc/nptl/sem_post.c: ... here.
29542         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
29543         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
29544         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
29545         * sysdeps/sparc/nptl/sem_wait.c: ... here.
29546         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
29547         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
29548         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
29549         (libpthread-routines): Add cpu_relax.
29550         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
29551         File removed.
29552         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
29553         (librt: GLIBC_2.3.3): New version set.
29554         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
29555         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
29556         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
29557         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
29558         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
29559         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
29560         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
29561         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
29562         Moved ...
29563         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
29564         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
29565         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
29566         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
29567         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
29568         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
29569         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
29570         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
29571         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
29572         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
29573         Moved ...
29574         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
29575         Update #include.
29576         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
29577         Moved ...
29578         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
29579         Update #include.
29580         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
29581         Moved ...
29582         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
29583         Update #include.
29584         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
29585         Moved ...
29586         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
29587         Update #include.
29588         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
29589         Moved ...
29590         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
29591         Update #include.
29592         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
29593         Moved ...
29594         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
29595         Update #include.
29596         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
29597         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
29598         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
29599         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
29600         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
29601         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
29602         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
29603         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
29604         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
29605         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
29606         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
29607         Moved ...
29608         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
29609         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
29610         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
29611         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
29612         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
29614 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
29616         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
29617         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
29618         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
29619         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
29620         * nscd/nscd.c: Likewise.
29621         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
29622         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
29623         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
29624         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
29626         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
29627         <kernel-features.h>.
29628         (init_mq_netlink): Remove conditional have_sock_cloexec
29629         definitions.  Remove code conditional on have_sock_cloexec < 0.
29630         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
29631         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
29632         * sysdeps/unix/sysv/linux/opensock.c: Do not include
29633         <kernel-features.h>.
29634         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
29635         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
29637 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
29639         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29640         Add tests for memset_chk and memset.
29642         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
29643         with AVX2_Usable.
29645 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
29647         [BZ #16046]
29648         * elf/tst-dl-iter-static.c: New file.
29649         * elf/Makefile (tests-static): Add tst-dl-iter-static.
29651         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
29652         error.
29654 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
29656         * sysdeps/unix/sysv/linux/kernel-features.h
29657         (__ASSUME_F_GETOWN_EX): Remove macro.
29658         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
29659         <kernel-features.h>.
29660         (miss_F_GETOWN_EX): Remove variable or macro.
29661         (do_fcntl): Do not check miss_F_GETOWN_EX.
29662         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
29664         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
29665         Remove macro.
29666         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
29667         [!__ASSUME_AT_RANDOM]: Remove conditional code.
29668         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
29670         * sysdeps/unix/sysv/linux/kernel-features.h
29671         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
29672         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
29673         [ADJ_OFFSET_SS_READ]: Make code unconditional.
29674         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
29676 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
29678         [BZ #17075]
29679         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
29680         Fix calculation of the symbol's value.
29681         * sysdeps/arm/tst-armtlsdescloc.c: New file.
29682         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
29683         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
29684         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
29685         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
29686         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
29687         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
29688         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
29689         (modules-names): Add `tst-armtlsdescmod',
29690         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
29691         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
29692         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
29693         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
29694         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
29695         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
29696         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
29697         ($(objpfx)tst-armtlsdescloc): New dependency.
29698         ($(objpfx)tst-armtlsdescextnow): Likewise.
29699         ($(objpfx)tst-armtlsdescextlazy): Likewise.
29700         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
29701         TLS scheme support.
29702         * sysdeps/arm/configure: Regenerate.
29704 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
29706         * include/fcntl.h (__atfct_seterrno): Remove prototype.
29707         (__atfct_seterrno_2): Likewise.
29708         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
29709         <kernel-features.h>.
29710         (__ASSUME_ATFCTS): Do not undefine and redefine.
29711         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
29712         (__have_atfcts): Remove conditional definition.
29713         (__fxstatat([__NR_fstatat64]: Make code unconditional.
29714         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
29715         unreachable if [__ASSUME_ATFCTS].
29716         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
29717         not undefine and redefine.
29718         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
29719         <kernel-features.h>.
29720         (faccessat) [__NR_faccessat]: Make code unconditional.
29721         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
29722         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
29723         <kernel-features.h>.
29724         (fchmodat) [__NR_fchmodat]: Make code unconditional.
29725         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
29726         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
29727         <kernel-features.h>.
29728         (fchownat) [__NR_fchownat]: Make code unconditional.
29729         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
29730         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
29731         <kernel-features.h>.
29732         (futimesat) [__NR_futimesat]: Make code unconditional.
29733         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
29734         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
29735         <kernel-features.h>.
29736         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
29737         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
29738         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
29739         <kernel-features.h>.
29740         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
29741         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
29742         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
29743         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
29744         <kernel-features.h>.
29745         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
29746         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
29747         * sysdeps/unix/sysv/linux/linkat.c: Do not include
29748         <kernel-features.h>.
29749         (linkat) [__NR_linkat]: Make code unconditional.
29750         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
29751         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
29752         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
29753         <kernel-features.h>.
29754         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
29755         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
29756         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
29757         <kernel-features.h>.
29758         (mkdirat) [__NR_mkdirat]: Make code unconditional.
29759         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
29760         * sysdeps/unix/sysv/linux/openat.c: Do not include
29761         <kernel-features.h>.
29762         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
29763         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
29764         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
29765         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
29766         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
29767         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
29768         <kernel-features.h>.
29769         (readlinkat) [__NR_readlinkat]: Make code unconditional.
29770         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
29771         result of INLINE_SYSCALL directly, not via int variable.
29772         * sysdeps/unix/sysv/linux/renameat.c: Do not include
29773         <kernel-features.h>.
29774         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
29775         (renameat) [__NR_renameat]: Make code unconditional.
29776         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
29777         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
29778         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
29779         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
29780         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
29781         (__ASSUME_ATFCTS): Do not undefine and redefine.
29782         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
29783         <kernel-features.h>.
29784         (symlinkat) [__NR_symlinkat]: Make code unconditional.
29785         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
29786         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
29787         <kernel-features.h>.
29788         (unlinkat) [__NR_unlinkat]: Make code unconditional.
29789         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
29790         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
29791         (__ASSUME_ATFCTS): Do not undefine and redefine.
29792         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
29793         <kernel-features.h>.
29794         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
29795         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
29796         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
29797         <kernel-features.h>.
29798         (__xmknodat) [__NR_mknodat]: Make code unconditional.
29799         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
29801 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
29803         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
29805 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
29807         [BZ #17069]
29808         * posix/regcomp.c (parse_reg_exp): Deallocate partially
29809         constructed tree before returning error.
29810         * posix/bug-regexp36.c: Expand test case.
29812 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
29814         [BZ #6803]
29815         * math/libm-test.inc (scalbln_test_date):
29816         Add errno expectations.
29817         * math/w_scalblnf.c: New File.
29818         Add wrapper which checks for setting errno to ERANGE.
29819         Add weak_alias for corresponding scalbln function.
29820         * math/w_scalbln.c: Likewise.
29821         * math/w_scalblnl.c: Likewise.
29822         * math/Makefile (libm-calls): Add w_scalbln.
29823         * sysdeps/ieee754/flt-32/s_scalblnf.c:
29824         Remove weak_alias for corresponding scalbln function.
29825         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
29826         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
29827         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
29828         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29829         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
29830         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
29831         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
29832         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
29833         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
29834         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
29835         Remove long_double_symbol for scalblnl function in libm, libc.
29836         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
29837         Add wrapper which checks for setting errno to ERANGE.
29838         Add long_double_symbol for scalblnl function in libm, libc.
29839         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
29840         Remove long_double_symbol for scalblnl in libm.
29841         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
29842         Add wrapper which checks for setting errno to ERANGE.
29843         Add long_double_symbol for scalblnl function in libm.
29844         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
29845         Do not use wrapper because of own implementation.
29847 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
29849         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
29850         3 bytes for __pad1 for x32.
29851         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
29853 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
29854             H.J. Lu  <hongjiu.lu@intel.com>
29856         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
29857         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
29858         * sysdeps/x86_64/multiarch/memset.S: Likewise.
29859         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29860         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
29862 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
29864         [BZ #17069]
29865         * posix/regcomp.c (parse_expression): Deallocate partially
29866         constructed tree before returning error.
29867         * posix/Makefile.c (tests): Add bug-regex36.
29868         (generated): Add bug-regex36.mtrace.
29869         (tests-special): Add $(objpfx)bug-regex36-mem.out
29870         (bug-regex36-ENV): New variable.
29871         ($(objpfx)bug-regex36-mem.out): New rule.
29872         * posix/bug-regex36.c: New file.
29874 2014-06-19  Will Newton  <will.newton@linaro.org>
29876         * malloc/malloc.c (systrim): If extra is zero then return
29877         early.
29879 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
29881         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
29883 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
29885         * sysdeps/aarch64/strchr.S: New file.
29887 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
29889         [BZ #17022]
29890         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
29891         from arguments -2 or below.
29892         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
29893         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
29895 2014-06-18  Andreas Schwab  <schwab@suse.de>
29897         [BZ #17062]
29898         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
29899         of a bracket expr not to run off the end of the string.
29900         * posix/Makefile (tests): Add tst-fnmatch3.
29901         * posix/tst-fnmatch3.c: New file.
29903 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
29905         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
29906         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
29907         [$(cross-compiling) = no]: Likewise.
29908         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
29909         [$(cross-compiling) = no]: Likewise.
29911 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29913         [BZ #17031]
29914         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
29915         double, adjusted for any remainder from the high double.
29916         * math/libm-test.inc (nearbyint): Add tests.
29917         (rint): Likewise.
29919 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29921         * nptl/sysdeps/powerpc/Makefile: Moved ...
29922         * sysdeps/powerpc/nptl/Makefile: ... here.
29923         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
29924         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
29925         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
29926         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
29927         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
29928         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
29929         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
29930         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
29931         * nptl/sysdeps/powerpc/tls.h: Moved ...
29932         * sysdeps/powerpc/nptl/tls.h: ... here.
29934 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
29936         [BZ #16681]
29937         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
29938         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
29939         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
29940         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
29941         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
29942         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
29943         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
29944         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
29945         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
29947 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
29949         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
29951 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
29953         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
29954         defined operator.
29956         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
29957         $TIMEOUTFACTOR.
29959 2014-06-16  Florian Weimer  <fweimer@redhat.com>
29961         [BZ #17058]
29962         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
29963         non-executed part of the test.
29965 2014-06-16  Andreas Schwab  <schwab@suse.de>
29967         * string/bits/string2.h (strdup, strndup): Update feature guard.
29969 2014-06-14  David S. Miller  <davem@davemloft.net>
29971         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29973 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
29975         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
29976         that was previously under [RESET_PID].
29977         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
29979         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
29980         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
29981         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
29982         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
29983         (__libc_vfork): New strong alias.
29984         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
29986 2014-06-14 Andi Kleen  <ak@linux.intel.com>
29988         * sysdeps/generic/elide.h: New file.
29990 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
29992         * Makefile (installed-headers): Adjust path of pthread.h header.
29994 2014-06-13  Roland McGrath  <roland@hack.frob.com>
29996         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
29997         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
29998         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
29999         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
30001         * nptl/sysdeps/s390/Makefile: Moved ...
30002         * sysdeps/s390/nptl/Makefile: ... here.
30003         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
30004         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
30005         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
30006         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
30007         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
30008         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
30009         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
30010         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
30011         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
30012         * sysdeps/s390/nptl/pthreaddef.h: ... here.
30013         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
30014         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
30015         * nptl/sysdeps/s390/tls.h: Moved ...
30016         * sysdeps/s390/nptl/tls.h: ... here.
30018         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
30019         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
30021 2014-06-13  David S. Miller  <davem@davemloft.net>
30023         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
30024         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
30025         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
30026         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
30027         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
30028         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
30029         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
30030         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
30031         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
30032         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
30033         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
30034         Remove RESET_PID cpp guards.
30035         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
30036         Remove RESET_PID cpp guards.
30037         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
30039 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
30041         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
30042         __sp to uintptr_t.
30044 2014-06-13  Andi Kleen  <ak@linux.intel.com>
30046         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
30047         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
30048         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
30049         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
30050         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
30051         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
30052         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
30053         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
30054         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
30055         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
30056         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
30057         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
30058         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
30059         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
30060         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
30061         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
30062         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
30063         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
30064         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
30065         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
30067         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
30068         (pthread_rwlock_rdlock): Add elision.
30069         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
30070         (pthread_rwlock_wrlock): Add elision.
30071         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
30072         (pthread_rwlock_trywrlock): Add elision.
30073         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
30074         (pthread_rwlock_tryrdlock): Add elision.
30075         * nptl/pthread_rwlock_unlock.c: Include elide.h.
30076         (pthread_rwlock_tryrdlock): Add elision unlock.
30077         * nptl/sysdeps/pthread/pthread.h:
30078         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
30079         (PTHREAD_RWLOCK_INITIALIZER,
30080         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
30081         Handle new elision field.
30082         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
30083         * sysdeps/arm/nptl/bits/pthreadtypes.h
30084         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30085         * sysdeps/sh/nptl/bits/pthreadtypes.h
30086         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30087         * sysdeps/tile/nptl/bits/pthreadtypes.h
30088         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30089         * sysdeps/a/nptl/bits/pthreadtypes.h
30090         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30091         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
30092         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30093         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
30094         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30095         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
30096         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30097         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
30098         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30099         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
30100         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30101         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
30102         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30103         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
30104         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30105         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
30106         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30107         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
30108         (elision_init): Set try_xbegin to zero when no RTM.
30109         * sysdeps/x86/nptl/bits/pthreadtypes.h
30110         (pthread_rwlock_t): Change __pad1 to __rwelision.
30111         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30113 2014-06-13  Andi Kleen  <ak@linux.intel.com>
30115         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
30116         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
30117         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
30118         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
30120 2014-06-13  Meador Inge  <meadori@codesourcery.com>
30122         [BZ #16996]
30123         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
30124         that the cached result has been set before returning it.
30126 2014-06-12  Roland McGrath  <roland@hack.frob.com>
30128         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
30129         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
30130         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
30131         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
30132         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
30133         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
30135         * nptl/sysdeps/sparc/Makefile: Moved ...
30136         * sysdeps/sparc/nptl/Makefile: ... here.
30137         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
30138         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
30139         * nptl/sysdeps/sparc/tls.h: Moved ...
30140         * sysdeps/sparc/nptl/tls.h: ... here.
30141         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
30142         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
30143         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
30144         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
30145         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
30146         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
30147         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
30148         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
30149         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
30150         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
30151         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
30152         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
30153         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
30154         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
30155         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
30156         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
30157         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
30158         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
30159         Update #include.
30160         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
30161         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
30162         Update #include.
30163         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
30164         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
30165         Update #include.
30166         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
30167         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
30168         Update #include.
30170         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
30172         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
30173         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
30175         * sysdeps/pthread/posix-timer.h: Include <list.h>.
30176         (struct list_links): Type removed.
30177         (struct thread_node, struct timer_node): Replace struct list_links
30178         with struct list_head.
30179         (list_unlink_ip): Likewise.
30180         * sysdeps/pthread/timer_routines.c
30181         (timer_free_list, thread_free_list, thread_active_list): Likewise.
30182         (list_append, list_insbefore): Likewise.
30183         (list_init): Function removed.
30184         (thread_init, init_module): Use INIT_LIST_HEAD instead.
30185         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
30186         * sysdeps/pthread/Makefile: ... here, new file.
30188         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
30189         * sysdeps/nptl/Implies: ... here.
30190         * sysdeps/unix/sysv/linux/Implies: Add nptl.
30191         * nptl/sysdeps/pthread/list.h: Moved ...
30192         * include/list.h: ... here.
30193         * nptl/sysdeps/pthread/createthread.c: Moved ...
30194         * nptl/createthread.c: ... here.
30195         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
30196         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
30197         * nptl/pt-longjmp.c: ... here.
30198         * nptl/sysdeps/pthread/Makefile: Moved ...
30199         * sysdeps/nptl/Makefile: ... here.
30200         * nptl/sysdeps/pthread/Subdirs: Moved ...
30201         * sysdeps/nptl/Subdirs: ... here.
30202         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
30203         * sysdeps/nptl/aio_misc.h: ... here.
30204         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
30205         * sysdeps/nptl/bits/libc-lock.h: ... here.
30206         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
30207         * sysdeps/nptl/bits/libc-lockP.h: ... here.
30208         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
30209         * sysdeps/nptl/bits/stdio-lock.h: ... here.
30210         * nptl/sysdeps/pthread/configure: Moved ...
30211         * sysdeps/nptl/configure: ... here.
30212         * nptl/sysdeps/pthread/configure.ac: Moved ...
30213         * sysdeps/nptl/configure.ac: ... here.
30214         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
30215         * sysdeps/nptl/gai_misc.h: ... here.
30216         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
30217         * sysdeps/nptl/librt-cancellation.c: ... here.
30218         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
30219         * sysdeps/nptl/malloc-machine.h: ... here.
30220         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
30221         * sysdeps/nptl/pthread-functions.h: ... here.
30222         * nptl/sysdeps/pthread/pthread.h: Moved ...
30223         * sysdeps/nptl/pthread.h: ... here.
30224         * nptl/sysdeps/pthread/setxid.h: Moved ...
30225         * sysdeps/nptl/setxid.h: ... here.
30226         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
30227         * sysdeps/nptl/sigfillset.c: ... here.
30228         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
30229         * sysdeps/nptl/tcb-offsets.h: ... here.
30230         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
30231         * sysdeps/nptl/tst-mqueue8x.c: ... here.
30232         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
30233         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
30234         * nptl/sysdeps/pthread/allocalim.h: Moved ...
30235         * sysdeps/pthread/allocalim.h: ... here.
30236         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
30237         * sysdeps/pthread/bits/sigthread.h: ... here.
30238         * nptl/sysdeps/pthread/flockfile.c: Moved ...
30239         * sysdeps/pthread/flockfile.c: ... here.
30240         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
30241         * sysdeps/pthread/ftrylockfile.c: ... here.
30242         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
30243         * sysdeps/pthread/funlockfile.c: ... here.
30244         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
30245         * sysdeps/pthread/posix-timer.h: ... here.
30246         * nptl/sysdeps/pthread/timer_create.c: Moved ...
30247         * sysdeps/pthread/timer_create.c: ... here.
30248         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
30249         * sysdeps/pthread/timer_delete.c: ... here.
30250         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
30251         * sysdeps/pthread/timer_getoverr.c: ... here.
30252         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
30253         * sysdeps/pthread/timer_gettime.c: ... here.
30254         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
30255         * sysdeps/pthread/timer_routines.c: ... here.
30256         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
30257         * sysdeps/pthread/timer_settime.c: ... here.
30258         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
30259         * sysdeps/pthread/tst-timer.c: ... here.
30260         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
30261         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
30263         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
30264         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
30266         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
30267         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
30268         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
30269         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
30270         Update #include target.
30271         * nptl/sysdeps/i386/i686/Makefile: Moved ...
30272         * sysdeps/i386/i686/nptl/Makefile: ... here.
30273         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
30274         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
30275         Update #include target.
30276         * nptl/sysdeps/i386/i686/tls.h: Moved ...
30277         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
30278         * nptl/sysdeps/i386/Makefile: Moved ...
30279         * sysdeps/i386/nptl/Makefile: ... here.
30280         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
30281         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
30282         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
30283         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
30284         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
30285         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
30286         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
30287         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
30288         * sysdeps/i386/nptl/pthreaddef.h: ... here.
30289         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
30290         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
30291         * nptl/sysdeps/i386/tls.h: Moved ...
30292         * sysdeps/i386/nptl/tls.h: ... here.
30294         * sysdeps/sh/Makefile [$(subdir) = csu]
30295         (gen-as-const-headers): Add tcb-offsets.sym.
30296         * nptl/sysdeps/sh/Makefile: File removed.
30297         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
30298         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
30299         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
30300         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
30301         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
30302         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
30303         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
30304         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
30305         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
30306         * sysdeps/sh/nptl/pthreaddef.h: ... here.
30307         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
30308         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
30309         * nptl/sysdeps/sh/tls.h: Moved ...
30310         * sysdeps/sh/nptl/tls.h: ... here.
30311         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
30312         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
30313         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
30314         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
30315         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
30316         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
30317         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
30318         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
30319         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
30320         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
30321         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
30322         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
30323         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
30324         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
30325         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
30326         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
30327         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
30328         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
30329         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
30330         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
30331         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
30332         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
30333         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
30334         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
30335         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
30336         Moved ...
30337         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
30338         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
30339         Moved ...
30340         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
30341         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
30342         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
30343         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
30344         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
30345         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
30346         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
30347         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
30348         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
30349         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
30350         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
30351         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
30352         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
30353         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
30354         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
30355         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
30356         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
30357         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
30358         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
30360 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
30362         * posix/spawn_faction_addopen.c: Include string.h.
30364 2014-06-11  Roland McGrath  <roland@hack.frob.com>
30366         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
30367         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
30368         * nptl/sysdeps/x86_64/Makefile: Moved ...
30369         * sysdeps/x86_64/nptl/Makefile: ... here.
30370         * nptl/sysdeps/x86_64/configure: Moved ...
30371         * sysdeps/x86_64/nptl/configure: ... here.
30372         * nptl/sysdeps/x86_64/configure.ac: Moved ...
30373         * sysdeps/x86_64/nptl/configure.ac: ... here.
30374         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
30375         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
30376         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
30377         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
30378         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
30379         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
30380         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
30381         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
30382         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
30383         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
30384         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
30385         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
30386         * nptl/sysdeps/x86_64/tls.h: Moved ...
30387         * sysdeps/x86_64/nptl/tls.h: ... here.
30388         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
30389         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
30390         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
30391         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
30393         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
30395 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30397         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30399 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
30401         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
30402         type.
30403         [POSIX] (off_t): Likewise.
30404         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
30405         [POSIX] (S_ISBLK): Require macro.
30406         [POSIX] (S_ISCHR): Likewise.
30407         [POSIX] (S_ISDIR): Likewise.
30408         [POSIX] (S_ISFIFO): Likewise.
30409         [POSIX] (S_ISREG): Likewise.
30410         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
30411         optional-macro.
30412         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
30413         type.
30414         [POSIX] (time_t): Likewise.
30415         [POSIX] (timer_t): Likewise.
30417 2014-06-11  Florian Weimer  <fweimer@redhat.com>
30419         [BZ #17048]
30420         * posix/spawn_int.h (struct __spawn_action): Make the path string
30421         non-const to support deallocation.
30422         * posix/spawn_faction_addopen.c
30423         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
30424         * posix/spawn_faction_destroy.c
30425         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
30426         path in all spawn_do_open actions.
30427         * posix/tst-spawn.c (do_test): Exercise the copy operation in
30428         posix_spawn_file_actions_addopen.
30430 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
30432         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
30433         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
30434         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
30435         conditional code always true.
30436         (__libc_vfork): New alias.
30438 2014-06-11  Roland McGrath  <roland@hack.frob.com>
30440         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30441         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
30443         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
30445         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30446         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
30448         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
30449         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
30451         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30452         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
30454 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
30456         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
30457         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
30458         multiarch strcmp for PPC64.
30459         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
30460         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
30461         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
30462         multiarch optimizations.
30463         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
30464         (__libc_ifunc_impl_list): Likewise.
30466 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
30468         * benchtests/scripts/validate_benchout.py: New script.
30469         * benchtests/Makefile (bench-func): Call it.
30470         * benchtests/scripts/benchout.schema.json: New file.
30472 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
30474         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
30475         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
30476         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
30477         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
30478         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
30479         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
30480         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
30481         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
30482         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
30483         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
30484         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
30485         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
30486         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
30487         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
30488         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
30489         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
30490         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
30491         Moved ...
30492         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
30493         ... here.
30494         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
30495         Moved ...
30496         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
30497         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
30498         Moved ...
30499         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
30500         ... here.
30501         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
30502         Moved ...
30503         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
30504         ... here.
30505         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
30506         Moved ...
30507         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
30508         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
30509         Moved ...
30510         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
30511         ... here.
30512         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
30513         Moved ...
30514         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
30515         ... here.
30516         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
30517         Moved ...
30518         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
30519         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
30520         Moved ...
30521         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
30522         ... here.
30523         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
30524         Moved ...
30525         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
30526         ... here.
30527         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
30528         Moved ...
30529         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
30530         ... here.
30531         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
30532         Moved ...
30533         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
30534         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
30535         Moved ...
30536         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
30537         ... here.
30538         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
30539         Moved ...
30540         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
30541         ... here.
30542         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
30543         Moved ...
30544         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
30545         ... here.
30546         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
30547         Moved ...
30548         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
30549         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
30550         Moved ...
30551         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
30552         ... here.
30553         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
30554         Moved ...
30555         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
30556         ... here.
30557         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
30558         Moved ...
30559         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
30560         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
30561         Moved ...
30562         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
30563         ... here.
30564         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
30565         Moved ...
30566         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
30567         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
30568         Moved ...
30569         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
30570         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
30571         Moved ...
30572         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
30573         ... here.
30574         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
30575         Moved ...
30576         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
30577         ... here.
30578         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
30579         Moved ...
30580         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
30581         ... here.
30582         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
30583         Moved ...
30584         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
30585         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
30586         Moved ...
30587         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
30588         ... here.
30589         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
30590         Moved ...
30591         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
30592         ... here.
30593         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
30594         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
30595         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
30596         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
30597         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
30598         Moved ...
30599         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
30600         ... here.
30601         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
30602         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
30603         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
30604         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
30605         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
30606         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
30607         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
30608         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
30609         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
30610         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
30611         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
30612         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
30613         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
30614         Moved ...
30615         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
30616         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
30617         Moved ...
30618         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
30619         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
30620         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
30621         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
30622         Moved ...
30623         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
30624         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
30625         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
30626         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
30627         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
30628         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
30629         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
30631 2014-06-10  Wilco  <wdijkstr@arm.com>
30633         * math/test-fenv-return.c: New file.
30634         * math/Makefile: Add new test test-fenv-return.
30636 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
30638         [BZ #17042]
30639         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
30640         when x - 1 is zero.
30641         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
30642         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
30643         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
30644         0.0L for an argument of 1.0L.
30645         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
30646         Likewise.
30647         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
30648         value when x - 1 is zero.
30649         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
30650         * sysdeps/i386/fpu/libm-test-ulps: Update.
30651         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30653 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
30655         [BZ #15119]
30656         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
30658 2014-06-09  Roland McGrath  <roland@hack.frob.com>
30660         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
30661         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
30663 2014-06-09  Roland McGrath  <roland@hack.frob.com>
30665         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30666         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
30668         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30669         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
30671         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30672         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
30674         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30675         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
30677         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
30678         if not already defined.
30679         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
30680         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
30681         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
30682         (TLS_INIT_TP): Use it.
30683         (TLS_DEFINE_INIT_TP): New macro.
30684         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
30686 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
30688         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
30689         constant.
30690         [POSIX] (IXANY): Likewise.
30691         [POSIX] (OLCUC): Likewise.
30692         [POSIX || POSIX2008] (CBAUD): Do not allow.
30693         [POSIX || POSIX2008] (DEFECHO): Likewise.
30694         [POSIX || POSIX2008] (ECHOCTL): Likewise.
30695         [POSIX || POSIX2008] (ECHOKE): Likewise.
30696         [POSIX || POSIX2008] (ECHOPRT): Likewise.
30697         [POSIX || POSIX2008] (EXTA): Likewise.
30698         [POSIX || POSIX2008] (EXTB): Likewise.
30699         [POSIX || POSIX2008] (FLUSHO): Likewise.
30700         [POSIX || POSIX2008] (LOBLK): Likewise.
30701         [POSIX || POSIX2008] (PENDIN): Likewise.
30702         [POSIX || POSIX2008] (SWTCH): Likewise.
30703         [POSIX || POSIX2008] (VDISCARD): Likewise.
30704         [POSIX || POSIX2008] (VDSUSP): Likewise.
30705         [POSIX || POSIX2008] (VLNEXT): Likewise.
30706         [POSIX || POSIX2008] (VREPRINT): Likewise.
30707         [POSIX || POSIX2008] (VSTATUS): Likewise.
30708         [POSIX || POSIX2008] (VWERASE): Likewise.
30709         (B*): Change to B[0123456789]*.
30710         * conform/data/time.h-data [POSIX || UNIX98]
30711         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
30712         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
30713         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
30714         [POSIX] (tm_*): Do not allow.
30716 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
30718         * Makefile (install): Don't set LANGUAGE.
30719         * Makefile.in (install): Likewise.
30720         * assert/Makefile (test-assert-ENV): Remove variable.
30721         (test-assert-perr-ENV): Likewise.
30722         * elf/Makefile (neededtest4-ENV): Likewise.
30723         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
30724         [$(cross-compiling) = no]: Don't set LANGUAGE.
30725         * io/ftwtest-sh (LANG): Remove variable.
30726         * libio/Makefile (tst-widetext-ENV): Likewise.
30727         * manual/install.texi (Running make install): Don't refer to
30728         environment settings for make install.
30729         * INSTALL: Regenerated.
30730         * nptl/tst-tls6.sh: Don't set LANG.
30731         * posix/globtest.sh (LANG): Remove variable.
30732         * string/Makefile (tester-ENV): Likewise.
30733         (inl-tester-ENV): Likewise.
30734         (noinl-tester-ENV): Likewise.
30735         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
30736         [$(cross-compiling) = no]: Don't set LANGUAGE.
30737         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
30738         without explicit environment settings.
30740 2014-06-06  Roland McGrath  <roland@hack.frob.com>
30742         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
30743         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
30744         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
30745         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
30747 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
30749         * crypt/crypt-private.h [DOS]: Add some includes taken from the
30750         other files in the crypt directory.
30751         * crypt/crypt.c: Remove duplicate includes.
30752         * crypt/crypt-entry.c: Likewise.
30753         * crypt/crypt_util.c: Likewise.
30755 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
30757         * Makeconfig (run-program-env): New variable.
30758         (run-program-prefix-before-env): Likewise.
30759         (run-program-prefix-after-env): Likewise.
30760         (run-program-prefix): Define in terms of new variables.
30761         (built-program-cmd-before-env): New variable.
30762         (built-program-cmd-after-env): Likewise.
30763         (built-program-cmd): Define in terms of new variables.
30764         (test-program-prefix-before-env): New variable.
30765         (test-program-prefix-after-env): Likewise.
30766         (test-program-prefix): Define in terms of new variables.
30767         (test-program-cmd-before-env): New variable.
30768         (test-program-cmd-after-env): Likewise.
30769         (test-program-cmd): Define in terms of new variables.
30770         * Rules (make-test-out): Use $(run-program-env).
30771         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
30772         (help): Do not mention environment variables.  Mention
30773         --timeoutfactor option.
30774         (timeoutfactor): New variable.
30775         (blacklist_exports): Remove function.
30776         (exports): Remove variable.
30777         (command): Do not include ${exports}.
30778         * manual/install.texi (Configuring and compiling): Do not mention
30779         test wrappers preserving environment variables.  Mention that last
30780         assignment to a variable must take precedence.
30781         * INSTALL: Regenerated.
30782         * benchtests/Makefile (run-bench): Use $(run-program-env).
30783         * catgets/Makefile ($(objpfx)test1.cat): Use
30784         $(built-program-cmd-before-env), $(run-program-env) and
30785         $(built-program-cmd-after-env).
30786         ($(objpfx)test2.cat): Do not specify environment variables
30787         explicitly.
30788         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
30789         $(run-program-env) and $(built-program-cmd-after-env).
30790         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
30791         $(run-program-env) and $(test-program-cmd-after-env).
30792         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
30793         explicitly.
30794         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
30795         run_program_env and test_program_cmd_after_env arguments.
30796         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
30797         * elf/tst-pathopt.sh: Use run_program_env argument.
30798         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
30799         $(test-wrapper-env) and $(run-program-env).
30800         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
30801         run_program_env arguments.
30802         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
30803         * intl/Makefile ($(objpfx)tst-gettext.out): Use
30804         $(test-program-prefix-before-env), $(run-program-env) and
30805         $(test-program-prefix-after-env).
30806         ($(objpfx)tst-gettext2.out): Likewise.
30807         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
30808         run_program_env and test_program_prefix_after_env arguments.
30809         * intl/tst-gettext2.sh: Likewise.
30810         * intl/tst-gettext4.sh: Do not set environment variables
30811         explicitly.
30812         * intl/tst-gettext6.sh: Likewise.
30813         * intl/tst-translit.sh: Likewise.
30814         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
30815         $(test-program-prefix-before-env), $(run-program-env) and
30816         $(test-program-prefix-after-env).
30817         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
30818         run_program_env and test_program_prefix_after_env arguments.
30819         * math/Makefile (run-regen-ulps): Use $(run-program-env).
30820         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
30821         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
30822         explicitly with each use of ${test_wrapper_env}.
30823         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
30824         $(test-program-prefix-before-env), $(run-program-env) and
30825         $(test-program-prefix-after-env).
30826         * posix/tst-getconf.sh: Do not set environment variables
30827         explicitly.
30828         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
30829         run_program_env and test_program_prefix_after_env arguments.
30830         * stdio-common/tst-printf.sh: Do not set environment variables
30831         explicitly.
30832         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
30833         $(test-program-prefix-before-env), $(run-program-env) and
30834         $(test-program-prefix-after-env).
30835         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
30836         run_program_env and test_program_prefix_after_env arguments.
30837         Split $test calls into $test_pre and $test.
30838         * timezone/Makefile (build-testdata): Use
30839         $(built-program-cmd-before-env), $(run-program-env) and
30840         $(built-program-cmd-after-env).
30842 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30844         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
30845         strlen for non SHARED builds.
30847 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
30849         * nptl/allocatestack.c (check_list): Inlined function...
30850         (__reclaim_stacks): ... here.
30852 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
30854         [BZ #15698]
30855         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
30856         memory overrun.
30858 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
30860         * Rules (make-test-out): Include
30861         LOCPATH=$(common-objpfx)localedata in default environment.
30862         * debug/Makefile (tst-chk1-ENV): Remove variable.
30863         (tst-chk2-ENV): Likewise.
30864         (tst-chk3-ENV): Likewise.
30865         (tst-chk4-ENV): Likewise.
30866         (tst-chk5-ENV): Likewise.
30867         (tst-chk6-ENV): Likewise.
30868         (tst-lfschk1-ENV): Likewise.
30869         (tst-lfschk2-ENV): Likewise.
30870         (tst-lfschk3-ENV): Likewise.
30871         (tst-lfschk4-ENV): Likewise.
30872         (tst-lfschk5-ENV): Likewise.
30873         (tst-lfschk6-ENV): Likewise.
30874         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
30875         (tst-iconv7-ENV): Likewise.
30876         * intl/Makefile (LOCPATH-ENV): Likewise.
30877         (tst-codeset-ENV): Likewise.
30878         (tst-gettext3-ENV): Likewise.
30879         (tst-gettext5-ENV): Likewise.
30880         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
30881         (tst-fopenloc-ENV): Likewise.
30882         (tst-fgetws-ENV): Remove variable.
30883         (tst-ungetwc1-ENV): Likewise.
30884         (tst-ungetwc2-ENV): Likewise.
30885         (bug-ungetwc2-ENV): Likewise.
30886         (tst-swscanf-ENV): Likewise.
30887         (bug-ftell-ENV): Likewise.
30888         (tst-fgetwc-ENV): Likewise.
30889         (tst-fseek-ENV): Likewise.
30890         (tst-ftell-partial-wide-ENV): Likewise.
30891         (tst-ftell-active-handler-ENV): Likewise.
30892         (tst-ftell-append-ENV): Likewise.
30893         * posix/Makefile (tst-fnmatch-ENV): Likewise.
30894         (tst-regexloc-ENV): Likewise.
30895         (bug-regex1-ENV): Likewise.
30896         (tst-regex-ENV): Likewise.
30897         (tst-regex2-ENV): Likewise.
30898         (bug-regex5-ENV): Likewise.
30899         (bug-regex6-ENV): Likewise.
30900         (bug-regex17-ENV): Likewise.
30901         (bug-regex18-ENV): Likewise.
30902         (bug-regex19-ENV): Likewise.
30903         (bug-regex20-ENV): Likewise.
30904         (bug-regex22-ENV): Likewise.
30905         (bug-regex23-ENV): Likewise.
30906         (bug-regex25-ENV): Likewise.
30907         (bug-regex26-ENV): Likewise.
30908         (bug-regex30-ENV): Likewise.
30909         (bug-regex32-ENV): Likewise.
30910         (bug-regex33-ENV): Likewise.
30911         (bug-regex34-ENV): Likewise.
30912         (bug-regex35-ENV): Likewise.
30913         (tst-rxspencer-ENV): Likewise.
30914         (tst-rxspencer-no-utf8-ENV): Likewise.
30915         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
30916         (tst-sscanf-ENV): Likewise.
30917         (tst-swprintf-ENV): Likewise.
30918         (tst-swscanf-ENV): Likewise.
30919         (test-vfprintf-ENV): Likewise.
30920         (scanf13-ENV): Likewise.
30921         (bug14-ENV): Likewise.
30922         (tst-grouping-ENV): Likewise.
30923         * stdlib/Makefile (tst-strtod-ENV): Likewise.
30924         (tst-strtod3-ENV): Likewise.
30925         (tst-strtod4-ENV): Likewise.
30926         (tst-strtod5-ENV): Likewise.
30927         (testmb2-ENV): Likewise./
30928         * string/Makefile (tst-strxfrm-ENV): Likewise.
30929         (tst-strxfrm2-ENV): Likewise.
30930         (bug-strcoll1-ENV): Likewise.
30931         (test-strcasecmp-ENV): Likewise.
30932         (test-strncasecmp-ENV): Likewise.
30933         * time/Makefile (tst-strptime-ENV): Likewise.
30934         (tst-ftime_l-ENV): Likewise.
30935         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
30936         (tst-mbrtowc-ENV): Likewise.
30937         (tst-wcrtomb-ENV): Likewise.
30938         (tst-mbrtowc2-ENV): Likewise.
30939         (tst-c16c32-1-ENV): Likewise.
30940         (tst-mbsnrtowcs-ENV): Likewise.
30942 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
30944         * manual/resource.texi (How to get information about the memory
30945         subsystem?): Fix typo.
30946         Reported by Peon de la Parra Ivan <peon@keba.com>
30948 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
30950         [BZ #16882]
30951         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
30952         (pthread_spin_lock): Branch out of spin loop to proper location.
30953         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
30954         (pthread_spin_lock): Likewise.
30956         * nptl/tst-spin4.c: New test.
30957         * nptl/Makefile (tests): Add tst-spin4.
30959 2014-06-03  Andreas Schwab  <schwab@suse.de>
30961         [BZ #15946]
30962         * resolv/res_send.c (send_dg): Reload file descriptor after
30963         calling reopen.
30965 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
30967         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
30969 2014-06-03  Richard Henderson  <rth@redhat.com>
30971         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
30972         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
30973         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
30974         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
30975         in the SAVE_PID block.
30976         (__libc_vfork): New alias.
30977         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
30979         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
30980         child in registers, not on the stack.  Remove RESET_PID conditionals.
30981         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
30983 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
30985         * sysdeps/aarch64/libm-test-ulps: Regenerate.
30987 2014-06-03  Wilco  <wdijkstr@arm.com>
30989         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
30990         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
30991         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
30992         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
30993         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
30994         Likewise.
30996 2014-06-03  Wilco  <wdijkstr@arm.com>
30998         * sysdeps/aarch64/fpu/math_private.h
30999         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
31000         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
31001         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
31002         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
31003         Fix declarations.
31005 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
31007         * crypt/crypt-private.h: Include ufc-crypt.h.
31008         (__b64_from_24bit): Declare extern.
31009         * crypt/crypt_util.c(__b64_from_24bit): New function.
31010         (b64t): New static const variable.
31011         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
31012         (b64t): Remove variable.
31013         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
31014         * crypt/sha256-crypt.c: Include crypt-private.h.
31015         (b64t): Remove variable.
31016         (__sha256_crypt_r): Remove b64_from_24bit and replace
31017         with __b64_from_24bit.
31018         * crypt/sha512-crypt.c: Likewise.
31020 2014-06-02  Roland McGrath  <roland@hack.frob.com>
31022         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
31023         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
31024         Label the code __libc_vfork rather than __vfork.
31025         [!NOT_IN_libc] (vfork): Define as weak alias.
31026         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
31027         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
31028         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
31030 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31032         * malloc/malloc.c (malloc_info): Fix format specifier for
31033         n_mmaps.
31035 2014-06-02  Wilco  <wdijkstr@arm.com>
31037         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
31038         FPCR write.
31040 2014-06-02  Wilco  <wdijkstr@arm.com>
31042         [BZ #17009]
31043         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
31044         Rewrite to reduce FPCR/FPSR accesses.
31046 2014-06-01  David S. Miller  <davem@davemloft.net>
31048         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31050 2014-05-31  David S. Miller  <davem@davemloft.net>
31052         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
31053         to occur in round to nearest mode when |x| >= 2.0
31055 2014-05-30  Richard Henderson  <rth@twiddle.net>
31057         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
31058         (PSEUDO_RET_NOERRNO): Remove.
31059         (ret): Don't redefine.
31060         (ret_NOERRNO): Define in terms of ret.
31061         (ret_ERRVAL): Likewise.
31063         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
31064         use of PSEUDO_RET; perform the error check directly.
31066 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
31068         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
31069         with __int128_t.
31071 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
31073         * malloc/malloc (malloc_info): Fix formatting.
31075 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
31076             Roland McGrath  <roland@hack.frob.com>
31078         * malloc/malloc (malloc_info): Also print mmapped statistics.
31080 2014-05-30  Roland McGrath  <roland@hack.frob.com>
31082         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
31083         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
31085 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
31087         * malloc/malloc.c (malloc_info): Inline mi_arena.
31089 2014-05-29  Richard Henderson  <rth@twiddle.net>
31091         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
31092         Remove comma before expanding ASM_ARGS_##nr.
31093         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
31094         Make _x0 a strict output; make _x8 a strict input; adjust expansion
31095         of ASM_ARGS_##nr.
31096         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
31097         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
31098         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
31099         (ASM_ARGS_1): Add leading comma.
31101         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
31102         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
31103         to __errno_location.
31104         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
31105         Remove the expected plt for __errno_location.
31107         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
31108         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
31109         call to __read_tp.
31111         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
31112         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
31113         it and break it down.
31114         (DOCARGS_0, DOCARGS_1): Do nothing.
31115         (DOCARGS_2): Update to store into the new stack frame.
31116         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
31117         (UNDOCARGS_1): Update to restore from the new stack frame.
31118         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
31119         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
31121         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
31122         (SINGLE_THREAD_P): New parameter for result regno.
31123         (PSEUDO): Update to match; use cbz instead of beq.
31125         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
31126         Use ENTRY to define the _nocancel entry point.  Share the syscall
31127         and syscall error check paths with the cancel path.
31128         (PSEUDO_END): New.
31130         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
31131         whitespace; tabs before and after asm mnemonics.
31133 2014-05-29  Eric Wong  <normalperson@yhbt.net>
31135         [BZ #15132]
31136         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31137         Call fstat64 or stat64 internally, depending on arguments passed.
31138         Replace stat buffer argument with file descriptor argument.
31139         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
31140         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
31141         Pass fd to __internal_statvfs instead of calling fstat64.
31142         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
31143         Pass fd to __internal_statvfs64 instead of calling fstat64.
31144         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
31145         Pass -1 to __internal_statvfs instead of calling stat64.
31146         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
31147         Pass -1 to __internal_statvfs64 instead of calling stat64.
31149 2014-05-28  Roland McGrath  <roland@hack.frob.com>
31151         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
31152         that was previously under [RESET_PID].
31153         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
31155         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
31156         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
31158 2014-05-27  Roland McGrath  <roland@hack.frob.com>
31160         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
31162         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
31163         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
31165 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
31167         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
31169 2014-05-27  Andreas Schwab  <schwab@suse.de>
31171         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
31172         TLS_INIT_TP macro.
31173         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
31174         * elf/rtld.c (init_tls, dl_main): Likewise.
31175         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
31176         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
31177         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
31178         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
31179         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
31180         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
31181         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
31182         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
31183         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
31184         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
31185         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
31186         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
31187         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
31188         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
31189         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
31190         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
31191         * sysdeps/generic/tls.h: Update description.
31193 2014-05-27  Will Newton  <will.newton@linaro.org>
31195         [BZ #16990]
31196         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
31197         and restore r2 rather than just restoring.
31199 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
31201         [BZ #16724]
31202         * libio/tst-ftell-append.c: New test case.
31203         * libio/Makefile (tests): Add test case.
31204         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
31205         append mode.
31206         * libio/wfileops.c (do_ftell_wide): Likewise.
31208 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31210         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31212         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
31213         ...
31214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
31215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
31216         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
31217         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
31218         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
31219         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
31220         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
31221         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
31222         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
31223         Moved ...
31224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
31225         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
31226         Moved ...
31227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
31228         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
31229         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
31230         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
31231         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
31232         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
31233         ...
31234         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
31235         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
31236         Moved ...
31237         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
31238         here.
31239         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
31240         ...
31241         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
31242         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
31243         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
31245         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
31246         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
31247         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
31248         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
31250         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
31251         merge into ...
31252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
31253         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
31254         ...
31255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
31256         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
31257         ...
31258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
31259         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
31260         Moved ...
31261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
31262         here.
31263         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
31264         Moved ...
31265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
31266         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
31267         Moved ...
31268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
31270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
31271         conditional [RESET_PID].
31272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
31273         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
31274         removed.
31275         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
31276         removed.
31278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
31279         <tcb-offsets.h>.
31280         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
31281         (__libc_vfork): New strong alias.
31282         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
31283         removed.
31284         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
31285         Removed.
31287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
31288         <tcb-offsets.h>.
31289         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
31290         (__libc_vfork): New strong alias.
31291         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
31292         removed.
31293         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
31294         removed.
31296 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
31298         * malloc/malloc.c (mi_arena): New function.
31299         (malloc_info): Remove nested function mi_arena. Call non-nosted
31300         function mi_arena.
31302 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31304         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
31305         by insrwi.
31306         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
31307         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
31308         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
31309         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
31310         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
31311         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
31312         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
31314 2014-05-26  Andreas Schwab  <schwab@suse.de>
31316         [BZ #16984]
31317         * locale/programs/repertoire.c (repertoire_read): Add slash
31318         between I18NPATH element and file name.
31319         * locale/programs/locfile.c (locfile_read): Likewise.
31321 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
31323         * nptl/pthread_mutexattr_settype.c
31324         (__pthread_mutexattr_settype):
31325         Disable lock elision for PTHREAD_MUTEX_NORMAL.
31327 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
31329         * nptl/tst-mutex5 (do_test):
31330         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
31332 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31334         * benchtests/README: Document 'init' directive.
31335         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
31336         BENCH_INIT.
31337         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
31338         (parse_file): Recognize 'init' directive.
31340 2014-05-26  Kyle McMartin  <kyle@redhat.com>
31342         [BZ #16796]
31343         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
31344         alignment of struct pthread.
31346 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31348         [BZ #16878]
31349         * nscd/netgroupcache.c (addgetnetgrentX): Look for
31350         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
31351         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
31352         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
31354 2014-05-25  Richard Henderson  <rth@twiddle.net>
31356         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
31357         (SINGLE_THREAD_P_PIC): Remove.
31358         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
31359         (SINGLE_THREAD_P_PIC): Remove.
31361         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
31362         branch to syscall error ...
31363         (PSEUDO): ... here.
31364         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
31365         from __local_syscall_error to .Lsyscall_error.
31366         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
31367         (SYSCALL_ERROR): Update label name.
31369         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
31370         Do not use DOARGS/UNDOARGS.
31371         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
31372         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
31373         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
31374         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
31375         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
31377         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
31378         block comment.
31380         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
31381         define if !NOT_IN_libc.
31382         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
31383         define with non-default symbol versions.
31385 2014-05-23  Richard Henderson  <rth@twiddle.net>
31387         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
31388         (vfork, __vfork): Define via compat_symbol.
31390         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
31391         [!HAVE_IFUNC] (vfork_compat): Remove.
31392         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
31394 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
31396         [BZ #16978]
31397         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
31398         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
31399         variable.
31401 2014-05-23  Richard Henderson  <rth@twiddle.net>
31403         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
31404         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
31405         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
31406         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
31408         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
31409         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
31410         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
31411         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
31412         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
31413         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
31414         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
31415         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
31416         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
31417         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
31418         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
31419         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
31420         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
31421         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
31422         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
31423         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
31424         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
31425         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
31426         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
31427         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
31428         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
31429         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
31430         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
31431         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
31432         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
31433         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
31434         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
31435         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
31436         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
31437         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
31438         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
31439         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
31440         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
31441         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
31442         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
31443         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
31444         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
31445         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
31446         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
31447         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
31448         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
31449         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
31450         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
31451         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
31452         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
31453         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
31454         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
31455         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
31456         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
31457         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
31458         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
31459         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
31460         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
31461         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
31462         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
31463         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
31465         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
31466         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
31467         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
31468         before exiting on error.
31469         (__libc_vfork): New strong alias.
31470         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
31471         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
31473         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
31474         that was previously under [RESET_PID].
31475         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
31477         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
31479 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
31481         [BZ #16977]
31482         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
31483         value when x - 1 is zero.
31484         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
31485         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
31486         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
31487         0.0L for an argument of 1.0L.
31488         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
31489         Likewise.
31490         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
31491         value when x - 1 is zero.
31492         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
31493         * sysdeps/i386/fpu/libm-test-ulps: Update.
31494         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31496 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
31498         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
31499         alphasort and versionsort.
31501 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31503         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
31504         macro.
31505         [copysignf]: Likewise.
31507 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
31509         * crypt/md5-crypt.c: Fix formatting.
31511 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
31513         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
31514         (b64_from_24bit): New function.
31516 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31518         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
31519         libc_hidden_builtin_def to ifunc.
31520         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
31521         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
31523 2014-05-21  Roland McGrath  <roland@hack.frob.com>
31525         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
31526         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
31528 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
31530         * nscd/Depend (linuxthreads): Remove.
31531         (nptl): Add.
31532         * resolv/Depend (linuxthreads): Remove.
31533         * rt/Depend (linuxthreads): Remove.
31535         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
31536         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
31537         $(common-objpfx)elf/.
31538         (link-libc-before-gnulib): Likewise.
31539         (elfobjdir): Remove variable.
31540         * Makefile (install): Use $(elf-objpfx) instead of
31541         $(common-objpfx)elf/.
31542         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
31543         $(elfobjdir)/.
31544         (link-libc-deps): Likewise.
31545         ($(common-objpfx)libc.so): Likewise.
31546         ($(common-objpfx)linkobj/libc.so): Likewise.
31547         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
31548         instead of $(common-objpfx)elf/.
31549         (symbolic-link-list): Likewise.
31550         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
31551         [$(cross-compiling) = no]: Likewise.
31552         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
31553         $(elfobjdir)/.
31554         (static-gnulib-arch): Likewise.
31555         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
31556         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
31557         $(common-objpfx)elf/.
31559 2014-05-21  Richard Henderson  <rth@redhat.com>
31561         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
31562         (SINGLE_THREAD_P): Use the correct width load.  Fold
31563         into the ldr offset.
31565         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
31566         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
31568 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
31570         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
31571         (libgcc_s_resume): Use __attribute_used__.
31572         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
31573         Likewise.
31575 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31577         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
31578         optimization when used with float constants.
31580         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31582 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
31584         [BZ #16915]
31585         * locale/nl_langinfo_l.c: Make direct reference to every
31586         _nl_current_CATEGORY symbol.
31587         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
31588         (tests-static): Add tst-langinfo-static.
31589         (tests-special): Add tst-langinfo-static.out.
31590         ($(objpfx)tst-langinfo.out): Redirect output.
31591         ($(objpfx)tst-langinfo-static.out): New.
31592         * localedata/tst-langinfo.sh: Send output to stdout.
31593         * localedata/tst-langinfo-static.c: New file.
31595         [BZ #16965]
31596         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
31597         when the shift amount is modulo the limb size.
31599 2014-05-20  Richard Henderson  <rth@redhat.com>
31601         [BZ #16967]
31602         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
31603         Change type of sa_flags from unsigned int to int.
31605         [BZ #16966]
31606         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
31608         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
31610 2014-05-20  Will Newton  <will.newton@linaro.org>
31612         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
31613         Test the return value of the system call in the nocancel case.
31615 2014-05-20  Will Newton  <will.newton@linaro.org>
31616             Yvan Roux  <yvan.roux@linaro.org>
31618         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
31619         #include of asm/ptrace.h.
31620         (PTRACE_GET_THREAD_AREA): Remove #undef.
31621         (PTRACE_GETHBPREGS): Likewise.
31622         (PTRACE_SETHBPREGS): Likewise.
31623         (struct user_regs_struct): New structure.
31624         (struct user_fpsimd_struct): New structure.
31625         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
31626         #include of asm/ptrace.h and second #include of sys/user.h.
31627         (PTRACE_GET_THREAD_AREA): Remove #undef.
31628         (PTRACE_GETHBPREGS): Likewise.
31629         (PTRACE_SETHBPREGS): Likewise.
31630         (ELF_NGREG): Use new struct user_regs_struct.
31631         (elf_fpregset_t): Use new struct user_fpsimd_struct.
31633 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31635         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
31636         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
31638 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
31640         [BZ #16958]
31641         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
31642         membar to avoid block loads/stores to overlap previous stores.
31644 2014-05-17  Richard Henderson  <rth@redhat.com>
31646         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
31647         Create the __##syscall_name##_nocancel entry point.
31648         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
31649         Remove; let the sysdep-cancel.h code create it.
31651 2014-05-17  David S. Miller  <davem@davemloft.net>
31653         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
31654         Protect with __USE_GNU.
31655         (TIOCSET_TEMPT): Likewise.
31656         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
31657         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
31658         these are already provided in bits/ioctl-types.h
31660 2014-05-16  Roland McGrath  <roland@hack.frob.com>
31662         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
31663         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
31665         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
31666         Use wait4 regardless of [__NR_waitpid].
31668 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
31670         PR libgcc/60166
31671         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
31672         (_FP_NANSIGN_Q): Set the quiet bit.
31674 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
31676         * benchtests/Makefile
31677         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
31678         not $(common-objpfx)math/libm.so.
31679         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
31680         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
31681         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
31682         $(common-objpfx)dlfcn/libdl.so.
31683         ($(objpfx)tst-audit8): Depend on $(libm), not
31684         $(common-objpfx)math/libm.so.
31685         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
31686         not $(common-objpfx)dlfcn/libdl.so.
31687         * math/Makefile
31688         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
31689         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
31690         [$(build-shared) = yes].
31691         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
31692         $(common-objpfx)nptl/libpthread.so.
31693         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
31694         $(common-objpfx)math/libm.so$(libm.so-version) or
31695         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
31696         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
31697         $(common-objpfx)dlfcn/libdl.so.
31698         * setjmp/Makefile (link-libm): Remove variable.
31699         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
31700         * stdio-common/Makefile (link-libm): Remove variable.
31701         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
31702         * stdlib/Makefile (link-libm): Remove variable.
31703         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
31704         ($(objpfx)tst-strtod-round): Likewise.
31705         ($(objpfx)tst-tininess): Likewise.
31706         ($(objpfx)tst-strtod-underflow): Likewise.
31707         ($(objpfx)tst-strtod6): Likewise.
31708         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
31709         $(libdl), not $(common-objpfx)nptl/libpthread.so and
31710         $(common-objpfx)dlfcn/libdl.so.
31712 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31714         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
31715         BSD terminal modes definitions.
31717 2014-05-16  Roland McGrath  <roland@hack.frob.com>
31719         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
31720         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
31722         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
31723         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
31724         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
31725         Don't do #include_next.
31726         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
31727         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
31728         Don't do #include_next.
31729         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
31730         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
31731         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
31732         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
31734 2014-05-16  Allan McRae  <allan@archlinux.org>
31736         * po/sv.po: Update Swedish translation from translation project.
31738         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
31739         in sed expression.
31741 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
31743         [BZ #16917]
31744         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
31745         errno if the TIOCGPTN ioctl fails with an error different than
31746         EINVAL.
31747         * login/tst-ptsname.c: New file.
31748         * login/Makefile (tests): Add tst-ptsname.
31750         [BZ #16943]
31751         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
31752         and prlimit64.
31754 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
31756         [BZ #16849]
31757         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
31758         herrno to return EAI_AGAIN.
31760 2014-05-14  Roland McGrath  <roland@hack.frob.com>
31762         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
31763         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
31764         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
31765         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
31766         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
31767         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
31768         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
31769         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
31770         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
31771         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
31772         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
31773         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
31774         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
31775         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
31776         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
31777         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
31778         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
31779         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
31780         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
31781         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
31782         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
31783         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
31784         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
31785         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
31786         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
31787         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
31788         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
31789         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
31790         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
31791         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
31792         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
31793         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
31794         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
31795         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
31796         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
31797         Moved ...
31798         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
31799         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
31800         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
31801         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
31802         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
31803         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
31804         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
31805         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
31806         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
31807         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
31808         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
31809         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
31810         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
31811         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
31812         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
31813         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
31814         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
31815         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
31816         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
31817         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
31818         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
31819         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
31820         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
31821         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
31822         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
31823         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
31824         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
31825         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
31826         Moved ...
31827         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
31828         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
31829         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
31830         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
31831         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
31832         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
31833         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
31834         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
31835         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
31836         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
31837         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
31838         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
31839         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
31840         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
31841         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
31842         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
31843         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
31844         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
31845         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
31846         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
31847         Moved ...
31848         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
31849         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
31850         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
31852         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
31853         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
31854         (libpthread-sysdep_routines): Add elision-related stuff here instead.
31855         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
31856         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
31857         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
31858         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
31859         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
31860         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
31861         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
31862         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
31863         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
31864         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
31865         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
31866         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
31867         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
31868         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
31869         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
31870         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
31871         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
31872         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
31873         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
31874         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
31875         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
31876         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
31877         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
31878         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
31879         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
31880         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
31881         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
31882         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
31884         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
31885         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
31887         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
31888         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
31889         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
31890         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
31891         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
31892         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
31893         Moved ...
31894         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
31895         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
31896         Moved ...
31897         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
31898         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
31899         Moved ...
31900         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
31901         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
31902         Moved ...
31903         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
31904         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
31905         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
31906         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
31907         Moved ...
31908         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
31909         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
31910         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
31911         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
31912         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
31913         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
31914         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
31915         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
31916         Moved ...
31917         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
31918         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
31919         Moved ...
31920         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
31921         ... here.
31922         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
31923         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
31924         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
31925         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
31926         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
31927         Moved ...
31928         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
31929         ... here.
31930         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
31931         Moved ...
31932         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
31933         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
31934         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
31935         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
31936         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
31937         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
31938         Moved ...
31939         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
31940         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
31941         Moved ...
31942         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
31943         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
31944         Moved ...
31945         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
31946         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
31947         Moved ...
31948         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
31949         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
31950         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
31951         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
31952         Moved ...
31953         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
31954         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
31955         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
31956         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
31957         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
31958         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
31959         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
31960         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
31961         Moved ...
31962         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
31963         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
31964         Moved ...
31965         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
31966         ... here.
31967         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
31968         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
31969         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
31970         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
31971         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
31972         Moved ...
31973         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
31974         ... here.
31975         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
31976         Moved ...
31977         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
31978         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
31979         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
31980         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
31981         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
31982         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
31983         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
31984         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
31985         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
31986         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
31987         Moved ...
31988         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
31989         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
31990         Moved ...
31991         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
31992         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
31993         Moved ...
31994         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
31995         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
31996         Moved ...
31997         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
31998         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
31999         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
32000         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
32001         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
32002         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
32003         Moved ...
32004         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
32005         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
32006         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
32007         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
32008         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
32009         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
32010         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
32011         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
32012         Moved ...
32013         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
32014         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
32015         Moved ...
32016         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
32017         ... here.
32018         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
32019         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
32020         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
32021         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
32022         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
32023         Moved ...
32024         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
32025         ... here.
32026         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
32027         Moved ...
32028         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
32029         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
32030         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
32031         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
32032         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
32033         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
32034         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
32035         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
32036         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
32037         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
32038         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
32040         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
32041         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
32043         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
32044         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
32046         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
32047         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
32048         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
32049         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
32050         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
32051         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
32052         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
32053         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
32054         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
32055         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
32056         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
32057         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
32058         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
32059         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
32060         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
32061         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
32062         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
32063         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
32064         Moved ...
32065         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
32066         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
32067         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
32068         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
32069         Moved ...
32070         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
32071         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
32072         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
32073         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
32074         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
32075         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
32076         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
32077         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
32078         Moved ...
32079         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
32080         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
32081         Moved ...
32082         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
32083         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
32084         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
32085         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
32086         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
32087         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
32088         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
32089         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
32090         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
32091         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
32092         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
32093         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
32094         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
32095         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
32096         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
32097         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
32098         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
32100         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
32101         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
32102         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
32103         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
32104         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
32106         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
32107         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
32108         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
32109         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
32110         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
32111         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
32112         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
32113         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
32114         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
32115         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
32117         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
32118         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
32120         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
32121         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
32122         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
32123         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
32124         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
32125         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
32126         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
32127         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
32128         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
32129         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
32130         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
32131         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
32132         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
32133         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
32134         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
32135         Update #include.
32136         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
32137         Likewise.
32138         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
32139         Likewise.
32140         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
32141         Likewise.
32142         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
32143         Likewise.
32144         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
32145         Likewise.
32146         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
32147         Likewise.
32148         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
32149         Likewise.
32150         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
32151         Likewise.
32152         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
32153         Likewise.
32154         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
32155         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
32156         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
32157         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
32158         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
32159         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
32160         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
32161         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
32162         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
32163         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
32164         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
32165         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
32166         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
32167         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
32168         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
32170         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
32171         that was previously under [RESET_PID].
32172         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
32173         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
32174         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
32176         * sysdeps/i386/nptl/Implies: New file.
32177         * sysdeps/x86_64/nptl/Implies: New file.
32178         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
32179         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
32180         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
32181         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
32183         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
32184         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
32185         (__libc_vfork): New strong alias.
32186         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
32187         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
32189         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
32190         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
32191         (__libc_vfork): New strong alias.
32192         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
32193         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
32195         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
32196         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
32197         (__libc_vfork): New strong alias.
32198         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
32199         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
32200         * nptl/pt-vfork.c: New file.
32201         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
32202         (libpthread: GLIBC_2.20): New version set (empty).
32204 2014-05-14  Will Newton  <will.newton@linaro.org>
32206         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
32207         rather than #if.
32209 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
32211         [BZ #16564]
32212         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
32213         arguments with exponent 65 or above.
32214         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
32215         arguments 0x1p113L or above.
32216         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
32217         to arguments 0x1p107L or above.
32218         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
32219         positive arguments with exponent 65 or above.
32220         * math/auto-libm-test-in: Add more tests of log1p.
32221         * math/auto-libm-test-out: Regenerated.
32223         [BZ #16928]
32224         * math/s_cacos.c (__cacos): Ensure zero real part of result from
32225         non-finite arguments is +0.
32226         * math/s_cacosf.c (__cacosf): Likewise.
32227         * math/s_cacosl.c (__cacosl): Likewise.
32228         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
32229         * sysdeps/i386/fpu/libm-test-ulps: Update.
32230         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32232         [BZ #16927]
32233         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
32234         value.
32235         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
32236         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
32237         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
32238         for explicit high bit of mantissa when testing for argument equal
32239         to 1.
32240         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
32241         * sysdeps/i386/fpu/libm-test-ulps: Update.
32242         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32244         [BZ #16516]
32245         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
32246         (__erf): Scale by 16 instead of 8 in potentially underflowing
32247         case.  Ensure exception if result actually underflows.
32248         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
32249         (__erff): Scale by 16 instead of 8 in potentially underflowing
32250         case.  Ensure exception if result actually underflows.
32251         * sysdeps/ieee754/ldbl-128/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         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
32256         (efx8): Remove variable.
32257         (__erfl): Scale by 16 instead of 8 in potentially underflowing
32258         case.  Ensure exception if result actually underflows.
32259         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
32260         (efx8): Remove variable.
32261         (__erfl): Scale by 16 instead of 8 in potentially underflowing
32262         case.  Ensure exception if result actually underflows.
32263         * math/auto-libm-test-in: Add more tests of erf.
32264         * math/auto-libm-test-out: Regenerated.
32266 2014-05-14  Andreas Schwab  <schwab@suse.de>
32268         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
32269         Remove code conditionalized on USE___THREAD.
32271         * config.h.in (HAVE_PT_CHOWN): Define as 0.
32272         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
32273         not definedness.
32275 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
32277         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
32278         Define unconditionally.
32279         (__ASSUME_O_CLOEXEC): Likewise.
32280         (__ASSUME_SOCK_CLOEXEC): Likewise.
32281         (__ASSUME_IN_NONBLOCK): Likewise.
32282         (__ASSUME_PIPE2): Likewise.
32283         (__ASSUME_EVENTFD2): Likewise.
32284         (__ASSUME_SIGNALFD4): Likewise.
32285         (__ASSUME_DUP3): Likewise.
32286         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
32287         (__ASSUME_DUP3): Do not define.
32288         (__ASSUME_EVENTFD2): Likewise.
32289         (__ASSUME_IN_NONBLOCK): Likewise.
32290         (__ASSUME_O_CLOEXEC): Likewise.
32291         (__ASSUME_PIPE2): Likewise.
32292         (__ASSUME_SIGNALFD4): Likewise.
32293         (__ASSUME_SOCK_CLOEXEC): Likewise.
32294         (__ASSUME_UTIMES): Undefine.
32295         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
32296         (__ASSUME_UTIMES): Do not define.
32297         (__ASSUME_O_CLOEXEC): Likewise.
32298         (__ASSUME_SOCK_CLOEXEC): Likewise.
32299         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
32300         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
32301         0x020621].
32302         (__ASSUME_PIPE2): Likewise.
32303         (__ASSUME_EVENTFD2): Likewise.
32304         (__ASSUME_SIGNALFD4): Likewise.
32305         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
32306         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
32307         Do not define.
32308         (__ASSUME_EVENTFD2): Likewise.
32309         (__ASSUME_SIGNALFD4): Likewise.
32310         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
32311         (__ASSUME_32BITUIDS): Likewise.
32312         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
32313         (__ASSUME_IPC64): Likewise.
32314         (__ASSUME_ST_INO_64_BIT): Likewise.
32315         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
32316         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
32317         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
32318         (__ASSUME_UTIMES): Do not define.
32319         (__ASSUME_PSELECT): Likewise.
32320         (__ASSUME_PPOLL): Likewise.
32321         (__ASSUME_O_CLOEXEC): Likewise.
32322         (__ASSUME_SOCK_CLOEXEC): Likewise.
32323         (__ASSUME_IN_NONBLOCK): Likewise.
32324         (__ASSUME_PIPE2): Likewise.
32325         (__ASSUME_EVENTFD2): Likewise.
32326         (__ASSUME_SIGNALFD4): Likewise.
32327         (__ASSUME_DUP3): Likewise.
32328         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
32329         (__ASSUME_UTIMES): Likewise.
32330         (__ASSUME_O_CLOEXEC): Likewise.
32331         (__ASSUME_SOCK_CLOEXEC): Likewise.
32332         (__ASSUME_IN_NONBLOCK): Likewise.
32333         (__ASSUME_PIPE2): Likewise.
32334         (__ASSUME_EVENTFD2): Likewise.
32335         (__ASSUME_SIGNALFD4): Likewise.
32336         (__ASSUME_DUP3): Likewise.
32337         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32338         (__ASSUME_UTIMES): Likewise.
32339         (__ASSUME_O_CLOEXEC): Likewise.
32340         (__ASSUME_SOCK_CLOEXEC): Likewise.
32341         (__ASSUME_IN_NONBLOCK): Likewise.
32342         (__ASSUME_PIPE2): Likewise.
32343         (__ASSUME_EVENTFD2): Likewise.
32344         (__ASSUME_SIGNALFD4): Likewise.
32345         (__ASSUME_DUP3): Likewise.
32346         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
32347         Likewise.
32348         (__ASSUME_UTIMES): Likewise.
32349         (__ASSUME_EVENTFD2): Likewise.
32350         (__ASSUME_SIGNALFD4): Likewise.
32351         * sysdeps/unix/sysv/linux/tile/kernel-features.h
32352         (__ASSUME_O_CLOEXEC): Likewise.
32353         (__ASSUME_SOCK_CLOEXEC): Likewise.
32354         (__ASSUME_IN_NONBLOCK): Likewise.
32355         (__ASSUME_PIPE2): Likewise.
32356         (__ASSUME_EVENTFD2): Likewise.
32357         (__ASSUME_SIGNALFD4): Likewise.
32358         (__ASSUME_DUP3): Likewise.
32359         (__ASSUME_UTIMES): Undefine.
32361         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
32362         feclearexcept.  Remove symbol versioning code.
32363         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
32364         symbol versioning code.
32365         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
32366         symbol versioning code.
32367         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
32368         feupdateenv.  Remove symbol versioning code.
32369         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
32370         fegetexceptflag.  Remove symbol versioning code.
32371         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
32372         fesetexceptflag.  Remove symbol versioning code.
32373         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
32374         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
32375         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
32376         (__posix_fadvise64_l32): Remove prototype.
32377         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
32378         code.
32380 2014-05-13  Roland McGrath  <roland@hack.frob.com>
32382         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
32383         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
32384         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
32385         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
32387 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
32389         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
32390         current working directory
32392 2014-05-13  Roland McGrath  <roland@hack.frob.com>
32394         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
32395         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
32396         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
32397         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
32398         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
32399         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
32400         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
32401         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
32402         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
32403         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
32404         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
32405         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
32406         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
32407         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
32408         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
32409         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
32410         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
32411         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
32412         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
32413         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
32414         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
32415         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
32416         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
32417         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
32418         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
32419         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
32420         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
32421         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
32422         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
32423         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
32424         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
32425         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
32426         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
32427         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
32428         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
32429         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
32430         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
32431         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
32432         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
32433         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
32434         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
32435         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
32437         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
32438         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
32440         * sysdeps/unix/sysv/linux/arm/Makefile
32441         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
32442         Add rt-aeabi_unwind_cpp_pr1.
32443         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
32444         Add nptl-aeabi_unwind_cpp_pr1.
32445         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
32446         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
32447         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
32448         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
32449         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
32450         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
32452         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
32453         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
32454         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
32455         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
32457         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
32458         Deconditionalize the code that was previously under [RESET_PID].
32459         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
32461         * sysdeps/generic/exit-thread.h: New file.
32462         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
32463         * include/unistd.h (__exit_thread): Remove declaration.
32464         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
32465         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
32466         * csu/libc-start.c: Include <exit-thread.h>.
32467         (LIBC_START_MAIN): Pass no argument to __exit_thread.
32468         * nptl/pthread_create.c: Include <exit-thread.h>.
32469         (start_thread): Call __exit_thread in place of __exit_thread_inline.
32470         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
32471         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
32472         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
32473         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
32474         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
32475         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
32476         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
32477         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
32478         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
32479         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
32480         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
32481         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
32482         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
32483         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
32484         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
32485         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
32487 2014-05-13  Andreas Schwab  <schwab@suse.de>
32489         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
32491 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
32493         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
32494         (__ASSUME_UTIMES): Do not condition on kernel version.
32495         (__ASSUME_PSELECT): Define unconditionally.
32496         (__ASSUME_PPOLL): Likewise.
32497         (__ASSUME_ATFCTS): Likewise.
32498         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
32499         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
32500         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
32501         (__ASSUME_UTIMENSAT): Define unconditionally.
32502         (__ASSUME_PRIVATE_FUTEX): Likewise.
32503         (__ASSUME_FALLOCATE): Likewise.
32504         (__ASSUME_O_CLOEXEC): Likewise.
32505         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
32506         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
32507         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
32508         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
32509         (__ASSUME_IN_NONBLOCK): Likewise.
32510         (__ASSUME_PIPE2): Likewise.
32511         (__ASSUME_EVENTFD2): Likewise.
32512         (__ASSUME_SIGNALFD4): Likewise.
32513         (__ASSUME_DUP3): Likewise.
32514         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
32515         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
32516         (__ASSUME_AT_RANDOM): Likewise.
32517         (__ASSUME_PREADV): Likewise.
32518         (__ASSUME_PWRITEV): Likewise.
32519         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
32520         (__ASSUME_F_GETOWN_EX): Define unconditionally.
32521         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
32522         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
32523         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
32524         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
32525         (__ASSUME_O_CLOEXEC): Define unconditionally.
32526         (__ASSUME_PSELECT): Do not undefine conditionally.
32527         (__ASSUME_PPOLL): Likewise.
32528         (__ASSUME_ATFCTS): Likewise.
32529         (__ASSUME_SET_ROBUST_LIST): Likewise.
32530         (__ASSUME_UTIMENSAT): Likewise.
32531         (__ASSUME_FDATASYNC): Define unconditionally.
32532         * sysdeps/unix/sysv/linux/arm/kernel-features.h
32533         (__ASSUME_SIGFRAME_V2): Likewise.
32534         )__ASSUME_EVENTFD2): Likewise.
32535         (__ASSUME_SIGNALFD4): Likewise.
32536         (__ASSUME_PSELECT): Do not undefine conditionally.
32537         (__ASSUME_PPOLL): Likewise.
32538         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
32539         (__ASSUME_PSELECT): Define unconditionally.
32540         (__ASSUME_PPOLL): Likewise.
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/m68k/kernel-features.h
32549         (__ASSUME_O_CLOEXEC): Likewise.
32550         (__ASSUME_SOCK_CLOEXEC): Likewise.
32551         (__ASSUME_IN_NONBLOCK): Likewise.
32552         (__ASSUME_PIPE2): Likewise.
32553         (__ASSUME_EVENTFD2): Likewise.
32554         (__ASSUME_SIGNALFD4): Likewise.
32555         (__ASSUME_DUP3): Likewise.
32556         * sysdeps/unix/sysv/linux/mips/kernel-features.h
32557         (__ASSUME_EVENTFD2): Likewise.
32558         (__ASSUME_SIGNALFD4): Likewise.
32559         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
32561 2014-05-12  Andreas Schwab  <schwab@suse.de>
32563         [BZ #16932]
32564         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
32565         (_nss_nis_gethostbyname4_r): Return error if item length is larger
32566         than maximum RPC packet size.
32567         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
32568         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
32569         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
32570         (_nss_nis_getservbyport_r): Likewise.
32572 2014-05-12  Will Newton  <will.newton@linaro.org>
32574         * malloc/Makefile (tests): Add tst-mallopt.
32575         * malloc/tst-mallopt.c: New file.
32577 2014-05-09  Roland McGrath  <roland@hack.frob.com>
32579         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
32580         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
32582 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32584         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
32585         (tst-tlsmod6.so): Likewise.
32587 2014-05-09  Roland McGrath  <roland@hack.frob.com>
32589         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
32591 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
32593         [BZ #16064]
32594         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
32595         and <dl-procinfo.h>.
32596         (__fegetenv): Save SSE state in envp->__eip if supported.
32597         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
32598         envp->__eip if supported.
32599         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
32600         and <dl-procinfo.h>.
32601         (__fesetenv): Always set __eip, __cs_selector, __opcode,
32602         __data_offset and __data_selector in environment to 0.  Set SSE
32603         state if supported.
32604         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
32605         test-fenv-sse.
32606         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
32607         -mfpmath=sse.
32608         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
32610 2014-05-09  Will Newton  <will.newton@linaro.org>
32612         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
32613         and libc_relro_required for ARM.
32614         * sysdeps/arm/preconfigure: Regenerate.
32616 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
32617             Stefan Liebler  <stli@linux.vnet.ibm.com>
32619         * config.make.in (enable-lock-elision): New Makefile variable.
32620         * configure.ac: Likewise.
32621         * configure: Regenerate.
32622         * sysdeps/s390/configure.ac:
32623         Add check for gcc transactions support.
32624         * sysdeps/s390/configure: Regenerate.
32625         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
32626         Build elision files if enabled.
32627         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
32628         Add lock elision support for s390.
32629         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
32630         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
32631         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
32632         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
32633         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
32634         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
32635         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
32636         Likewise.
32637         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
32638         Likewise.
32639         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
32640         Likewise.
32641         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
32642         Likewise.
32643         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
32644         (__lll_timedlock_elision, __lll_lock_elision)
32645         (__lll_unlock_elision, __lll_trylock_elision)
32646         (lll_timedlock_elision, lll_lock_elision)
32647         (lll_unlock_elision, lll_trylock_elision): Add.
32648         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
32649         (pthread_mutex_t): Add lock elision support for s390.
32651 2014-05-14  Wilco  <wdijkstr@arm.com>
32653         * sysdeps/arm/fclrexcpt.c: Cleanup.
32654         * sysdeps/arm/fedisblxcpt.c: Cleanup.
32655         * sysdeps/arm/feenablxcpt.c: Cleanup.
32656         * sysdeps/arm/fegetenv.c: Cleanup.
32657         * sysdeps/arm/fegetexcept.c: Cleanup.
32658         * sysdeps/arm/fegetround.c: Cleanup.
32659         * sysdeps/arm/feholdexcpt.c: Cleanup.
32660         * sysdeps/arm/fesetenv.c: Cleanup.
32661         * sysdeps/arm/fesetround.c: Cleanup.
32662         * sysdeps/arm/feupdateenv.c: Cleanup.
32663         * sysdeps/arm/fgetexcptflg.c: Cleanup.
32664         * sysdeps/arm/fraiseexcpt.c: Cleanup.
32665         * sysdeps/arm/fsetexcptflg.c: Cleanup.
32666         * sysdeps/arm/ftestexcept.c: Cleanup.
32667         * sysdeps/arm/get-rounding-mode.h: Cleanup.
32668         * sysdeps/arm/setfpucw.c: Cleanup.
32670 2014-05-09  Will Newton  <will.newton@linaro.org>
32672         * sysdeps/arm/armv7/strcmp.S: New file.
32673         * NEWS: Mention addition of ARMv7 optimized strcmp.
32675 2014-05-08  Roland McGrath  <roland@hack.frob.com>
32677         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
32678         look for %.ac rather than %.in.
32680         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
32681         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
32682         * sysdeps/mach/hurd/configure: Regenerated.
32683         * sysdeps/unix/sysv/linux/configure: Regenerated.
32685         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
32687 2014-05-07  Steve Ellcey  <sellcey@mips.com>
32689         [BZ# 16922]
32690         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
32691         (LONG_SUB): Ditto.
32692         (PTR_SUB): Ditto.
32694 2014-05-07  Andreas Schwab  <schwab@suse.de>
32696         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
32697         when skipping over non-matching result from nscd.
32699 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
32701         [BZ #16876]
32702         * nptl/sockperf.c (client): Check socket return value.
32704         [BZ #16877]
32705         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
32706         nscd security class.
32708 2014-05-06  Roland McGrath  <roland@hack.frob.com>
32710         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
32711         * sysdeps/arm/unwind.h: ... here.
32713 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
32715         [BZ# 16916]
32716         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
32717         Define.
32719 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
32721         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
32722         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
32723         multiarch strncpy for PPC64.
32724         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
32725         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
32726         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
32727         multiarch optimizations.
32728         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
32729         (__libc_ifunc_impl_list): Likewise.
32730         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
32731         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
32732         multiarch stpncpy for PPC64.
32733         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
32734         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
32736 2014-05-06  Andreas Schwab  <schwab@suse.de>
32738         [BZ #16912]
32739         * gmon/mcount.c (_MCOUNT_DECL): Use
32740         atomic_compare_and_exchange_bool_acq instead of
32741         catomic_compare_and_exchange_bool_acq.
32743 2014-05-05  Roland McGrath  <roland@hack.frob.com>
32745         * elf/Makefile (others, install-bin): Remove pldd.
32746         (pldd-modules): Variable removed.
32747         ($(objpfx)pldd): Target removed.
32748         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
32749         (others, install-bin): Append pldd here.
32750         ($(objpfx)pldd): New target.
32752         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
32753         to 0, so the first #if test emitted later doesn't see it undefined.
32754         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
32755         * sysdeps/gnu/errlist.c: Regenerated.
32757 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32759         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
32760         [libc_hidden_builtin_def]: Define to empty value.
32761         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
32762         [libc_hidden_builtin_def]: Likewise.
32763         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
32764         [libc_hidden_builtin_def]: Likewise.
32765         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
32766         [libc_hidden_builtin_def]: Likewise.
32767         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
32768         __redirect_memcpy and define ifunc as default hidden symbol.
32769         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
32770         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
32772 2014-05-04  Adam Conrad  <adconrad@0c3.net>
32774         * locale/iso-4217.def: Reintroduce XDR currency.
32776 2014-05-04  Allan McRae  <allan@archlinux.org>
32778         * po/eo.po: Update Esperanto translation from translation project.
32780 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
32782         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
32783         and FEATURE_INDEX_MAX to 1.
32784         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
32786 2014-05-01  Steve Ellcey  <sellcey@mips.com>
32788         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
32789         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
32790         * iconvdata/big5.c (ONE_DIRECTION): Define.
32791         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
32792         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
32793         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
32794         * iconvdata/cp932.c (ONE_DIRECTION): Define.
32795         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
32796         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
32797         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
32798         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
32799         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
32800         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
32801         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
32802         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
32803         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
32804         * iconvdata/gbk.c (ONE_DIRECTION): Define.
32805         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
32806         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
32807         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
32808         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
32809         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
32810         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
32811         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
32812         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
32813         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
32814         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
32815         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
32816         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
32817         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
32818         * iconvdata/iso646.c (ONE_DIRECTION): Define.
32819         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
32820         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
32821         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
32822         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
32823         * iconvdata/johab.c (ONE_DIRECTION): Define.
32824         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
32825         * iconvdata/sjis.c (ONE_DIRECTION): Define.
32826         * iconvdata/t.61.c (ONE_DIRECTION): Define.
32827         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
32828         * iconvdata/tscii.c (ONE_DIRECTION): Define.
32829         * iconvdata/uhc.c (ONE_DIRECTION): Define.
32830         * iconvdata/unicode.c (ONE_DIRECTION): Define.
32831         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
32832         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
32833         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
32835 2014-05-01  Roland McGrath  <roland@hack.frob.com>
32837         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
32838         (_IO_JUMPS_OFFSET): Define to 0.
32840         * nptl/sysdeps/pthread/bits/libc-lock.h
32841         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
32842         (__libc_lock_define_initialized_recursive): Always define using
32843         initializer.  Modern compilers treat uninitialized (implicit zero) and
32844         explicit zero initializers the same (i.e. put the datum in bss).
32846 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
32848         * nscd/nscd-client.h: Include <string.h>.
32850 2014-05-01  David S. Miller  <davem@davemloft.net>
32852         [BZ #16885]
32853         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
32854         multiple zero bytes exist at the end of a string.
32855         Reported by Aurelien Jarno <aurelien@aurel32.net>
32857         * string/test-strcmp.c (check): Add explicit test for situations where
32858         there are multiple zero bytes after the first.
32860 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
32862         [BZ #16890]
32863         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
32864         when compiling wprintf.
32865         * stdio-common/tstdiomisc.c (t3): New function.
32866         (main): Call it.
32868 2014-05-01  Steve Ellcey  <sellcey@mips.com>
32870         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
32871         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
32872         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
32873         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
32875 2014-05-01  Steve Ellcey  <sellcey@mips.com>
32877         * stdlib/longlong.h: Updated from GCC.
32879 2014-05-01  Will Newton  <will.newton@linaro.org>
32880             Bernard Ogden  <bernie.ogden@linaro.org>
32882         * NEWS: Update fixed bug list.
32884         [BZ #15119]
32885         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
32887 2014-04-30  David S. Miller  <davem@davemloft.net>
32889         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
32890         (libc_feholdexcept_setround_sparc_ctx): New function.
32891         (libc_fesetenv_sparc_ctx): Likewise.
32892         (libc_feupdateenv_sparc_ctx): Likewise.
32893         (libc_feholdsetround_sparc_ctx): Likewise.
32894         (libc_feholdexcept_setround_ctx): Define.
32895         (libc_feholdexcept_setroundf_ctx): Likewise.
32896         (libc_feholdexcept_setroundl_ctx): Likewise.
32897         (libc_fesetenv_ctx): Likewise.
32898         (libc_fesetenvf_ctx): Likewise.
32899         (libc_fesetenvl_ctx): Likewise.
32900         (libc_feupdateenv_ctx): Likewise.
32901         (libc_feupdateenvf_ctx): Likewise.
32902         (libc_feupdateenvl_ctx): Likewise.
32903         (libc_feresetround_ctx): Likewise.
32904         (libc_feresetroundf_ctx): Likewise.
32905         (libc_feresetroundl_ctx): Likewise.
32906         (libc_feholdsetround_ctx): Likewise.
32907         (libc_feholdsetroundf_ctx): Likewise.
32908         (libc_feholdsetroundl_ctx): Likewise.
32910         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
32911         with __USE_GNU instead of XOPEN cpp guards.
32913         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
32914         0.
32916         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
32917         with XOPEN cpp guards.
32919 2014-04-30  Julian Brown  <julian@codesourcery.com>
32921         [BZ #16888]
32922         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
32923         handling.
32925 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
32927         [BZ #9894]
32928         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
32929         Change to 2.6.32.
32930         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
32931         * sysdeps/unix/sysv/linux/configure: Regenerated.
32932         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
32933         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
32934         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
32935         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
32936         * README: Update reference to required Linux kernel version.
32937         * manual/install.texi (Linux): Update reference to required Linux
32938         kernel headers version.
32939         * INSTALL: Regenerated.
32941         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
32942         header inclusion.
32943         [POSIX] (limits.h): Likewise.
32944         [POSIX] (math.h): Likewise.
32945         [POSIX] (sys/wait.h): Likewise.
32946         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
32947         function.
32948         [POSIX] (stddef.h): Do not allow header inclusion.
32950 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32952         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
32954 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
32956         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
32957         Return immediately after lll_futex_wake.
32959 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
32961         [BZ #16791]
32962         * nscd/nscd-client.h (datahead_init_common): Initialize entire
32963         structure.
32964         (datahead_init_pos): Call datahead_init_common early.
32965         (datahead_init_neg): Likewise.
32967         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
32968         datahead_init_neg): New functions.
32969         * nscd/aicache.c (addhstaiX): Use them.
32970         * nscd/grpcache.c (cache_addgr): Likewise.
32971         * nscd/hstcache.c (cache_addhst): Likewise.
32972         * nscd/initgrcache.c (addinitgroupsX): Likewise.
32973         * nscd/netgroupcache.c (do_notfound): Likewise.
32974         (addgetnetgrentX): Likewise.
32975         (addinnetgrX): Likewise.
32976         * nscd/pwdcache.c (cache_addpw): Likewise.
32977         * nscd/servicescache.c (cache_addserv): Likewise.
32979 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
32980             Atsushi Onoe  <atsushi@onoe.org>
32982         [BZ #14308]
32983         [BZ #12994]
32984         [BZ #13651]
32985         * resolv/res_query.c (__libc_res_nsearch): Return if at least
32986         one response is valid.
32987         * resolv/res_send.c (send_dg): Check for validity of other
32988         response if the current response is a referral.
32990 2014-04-29  Steve Ellcey  <sellcey@mips.com>
32992         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
32994 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
32996         [BZ #16823]
32997         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
32998         Always divide by positive zero when computing -Inf result.
32999         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
33000         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
33002 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33004         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
33005         FPSCR if value do not change.
33006         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
33007         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
33008         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
33009         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
33010         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
33011         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
33012         function.
33014 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
33016         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
33017         * sysdeps/unix/sysv/linux/hppa: Move directory from
33018         ports/systeps/unix/sysv/linux/hppa.
33019         * README: Update listing for hppa-*-linux-gnu.
33021 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
33023         [BZ #16754]
33024         * manual/stdio.texi (Hook functions): Fix types of stream hook
33025         functions.
33026         [BZ #16854]
33027         * socket/sys/socket.h: Fix typo in comment.
33029 2014-04-28  Wilco  <wdijkstr@arm.com>
33031         * sysdeps/arm/fenv_private.h: New file.
33032         * sysdeps/arm/math_private.h: New file.
33033         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
33035 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
33037         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
33038         with __int128_t.
33039         (La_x86_64_retval): Likewise.
33041 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
33043         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
33044         fpsr if value didn't change.
33045         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
33046         to fpcr if value didn't change.
33047         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
33048         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
33049         fpsr or fpcr if value didn't change.
33050         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
33051         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
33052         fpcr if value didn't change.
33053         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
33054         to fpsr if value didn't change.
33056 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
33058         * nptl/tst-sem3.c: Use test-skeleton.c
33059         (main): Rename to do_test.  Use return instead of
33060         exit.
33061         * nptl/tst-sem4.c: Use test-skeleton.c
33062         (main): Rename to do_test.
33064 2014-04-22  David S. Miller  <davem@davemloft.net>
33066         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
33067         (struct sigaction): New struct member __glibc_reserved0, change
33068         type of sa_flags to int.
33070 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
33072         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
33073         (COUNT_LEADING_ZEROS_0): Define for AArch64.
33075 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
33077         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
33078         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
33080 2014-04-22  Will Newton  <will.newton@linaro.org>
33081             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
33083         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
33084         (__longjmp): Add longjmp and longjmp_target SystemTap
33085         probes.
33086         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
33087         (__sigsetjmp): Add setjmp SystemTap probe.
33089 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
33091         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
33092         match manual order.
33094 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33096         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
33098         * sysdeps/powerpc/fpu/fenv_private.h
33099         (libc_feholdexcept_setroundl_ctx): Define to
33100         libc_feholdexcept_setround_ppc_ctx.
33101         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
33102         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
33103         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
33104         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
33106 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
33108         * sysdeps/aarch64/math-tests.h: New file.
33110 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
33112         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
33113         New.
33114         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33115         Check and set bit_AVX2_Usable.
33116         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
33117         macro.
33118         (bit_AVX2): Likewise.
33119         (index_AVX2_Usable): Likewise.
33120         (CPUID_AVX2): Likewise.
33121         (HAS_AVX2): Likewise.
33123 2014-04-17  Will Newton  <will.newton@linaro.org>
33125         * manual/setjmp.texi (System V contexts): Add note that
33126         calling setcontext on a context created by a call to a
33127         signal handler is undefined.  Update text to note that
33128         setcontext from a signal handler is possible but not
33129         recommended.
33131         [BZ #16629]
33132         * stdlib/tst-setcontext.c: Include signal.h.
33133         (main): Check that the signal stack before and
33134         after swapcontext is the same.
33136         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
33137         Re-implement to restore registers in user code and avoid
33138         rt_sigreturn system call.
33140 2014-04-17  Wilco  <wdijkstr@arm.com>
33142         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
33143         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
33144         * math/test-fenv.c: Skip exception trap tests on targets which only
33145         support non-stop mode.
33147 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
33148             Wilco Dijkstra  <wilco.dijkstra@arm.com>
33150         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
33151         (libc_feholdsetround_aarch64_ctx)
33152         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
33153         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
33154         (libc_feresetround_ctx, libc_feresetroundf_ctx)
33155         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
33156         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
33157         (libc_feresetround_noexl_ctx): Define.
33159 2014-04-16  Richard Henderson  <rth@redhat.com>
33161         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
33163         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
33164         unwind tables.
33166         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
33167         const from the non-libc, non-ldso copy.
33169         * sysdeps/alpha/libm-test-ulps: Regenerate.
33171 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
33172             Wilco Dijkstra  <wilco.dijkstra@arm.com>
33174         * sysdeps/aarch64/fpu/math_private.h: New file.
33176 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
33178         * sysdeps/aarch64/libm-test-ulps: Regenerate.
33180 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
33182         [BZ #16275]
33183         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
33184         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
33185         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
33186         Intel MPX bound registers before _dl_profile_fixup.
33187         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
33188         registers after _dl_profile_fixup.  Save and restore bound
33189         registers bnd0/bnd1 when calling _dl_call_pltexit.
33190         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
33191         (LR_BND_OFFSET): Likewise.
33192         (LRV_BND0_OFFSET): Likewise.
33193         (LRV_BND1_OFFSET): Likewise.
33195 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33197         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
33198         to...
33199         * sysdeps/mach/hurd/i386/tls.h: ... here.
33200         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
33201         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
33202         fields.
33204 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33206         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
33208 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
33210         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
33212 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
33214         [BZ #14770]
33215         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
33216         * sysdeps/s390/configure: Regenerate.
33218         [BZ #16824]
33219         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
33220         Set round-to-nearest internally to reduce error accumulation.
33222 2014-04-16  Alan Modra  <amodra@gmail.com>
33224         [BZ #16740]
33225         [BZ #16619]
33226         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
33227         * math/libm-test.inc (frexp_test_data): Add tests.
33228         * NEWS: Update fixed bug list.
33230 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
33232         * benchtests/Makefile: Depend on libraries in build directory.
33233         (bench-math): Separate out math tests.
33234         (bench-pthread): Separate out pthread tests.
33235         (bench): Include math and pthread tests.
33237 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
33239         [BZ #16831]
33240         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
33241         _dl_debug_initialize.
33243         * configure.ac: Remove SELinux header check.
33244         * configure: Regenerate.
33245         * nscd/selinux.c (perms): Array of const char* to permission names.
33246         (nscd_request_avc_has_perm): Call security_deny_unknown to find
33247         default policy. Call string_to_security_class and string_to_av_perm to
33248         translate strings. Enforce default policy and call avs_has_perm with
33249         results of translated strings.
33251 2014-04-13  David S. Miller  <davem@davemloft.net>
33253         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33255 2014-04-12  Allan McRae  <allan@archlinux.org>
33257         [BZ #16838]
33258         * manual/string.texi (Collation Functions): Fix qsort argument
33259         order in example.
33260         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
33262 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
33264         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
33265         Make the test a no-op if there are no exceptions defined.
33267 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
33269         * elf/Makefile (tests): make tst-dlopen-aout conditional on
33270         enable-hardcoded-path-in-tests
33272 2014-04-11  Will Newton  <will.newton@linaro.org>
33274         * benchtests/Makefile (extra-objs): Add json-lib.o.
33275         (bench-func): Tidy up JSON output.
33276         * benchtests/bench-skeleton.c: Include json-lib.h.
33277         (main): Use JSON library functions to do output of
33278         benchmark results.
33279         * benchtests/bench-timing-type.c (main): Output the
33280         timing type simply, leaving formatting to the user.
33281         * benchtests/json-lib.c: New file.
33282         * benchtests/json-lib.h: Likewise.
33284 2014-04-11  Torvald Riegel  <triegel@redhat.com>
33286         [BZ #15215]
33287         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
33288         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
33289         memory barriers.  Add comments.
33290         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
33291         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
33292         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
33293         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
33294         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
33295         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
33297 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
33299         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
33300         * sysdeps/s390/s390-64/configure.ac: ... this ...
33301         * sysdeps/s390/configure.ac: ... to here.
33302         * sysdeps/s390/s390-32/configure: Delete file.
33303         * sysdeps/s390/s390-64/configure: Delete file.
33304         * sysdeps/s390/configure: Regenerate.
33306 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
33308         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
33310 2014-04-11  Will Newton  <will.newton@linaro.org>
33312         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
33313         to zero if it is not defined elsewhere.  (mtrim): Test
33314         the value of MALLOC_DEBUG with #if rather than #ifdef.
33316 2014-04-10 Torvald Riegel  <triegel@redhat.com>
33318         * benchtests/pthread_once-inputs: New file.
33319         * benchtests/pthread_once-source.c: New file.
33320         * benchtests/README: Update documentation.
33322 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
33323             H.J. Lu  <hongjiu.lu@intel.com>
33325         [BZ #16275]
33326         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
33327         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
33328         * sysdeps/x86_64/configure: Regenerated.
33329         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
33330         macro.
33331         (REGISTER_SAVE_RAX): Likewise.
33332         (REGISTER_SAVE_RCX): Likewise.
33333         (REGISTER_SAVE_RDX): Likewise.
33334         (REGISTER_SAVE_RSI): Likewise.
33335         (REGISTER_SAVE_RDI): Likewise.
33336         (REGISTER_SAVE_R8): Likewise.
33337         (REGISTER_SAVE_R9): Likewise.
33338         (REGISTER_SAVE_BND0): Likewise.
33339         (REGISTER_SAVE_BND1): Likewise.
33340         (REGISTER_SAVE_BND2): Likewise.
33341         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
33342         bound registers when calling _dl_fixup.
33344 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33346         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
33347         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
33348         of its definition.
33349         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
33350         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
33351         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
33352         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
33353         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
33354         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
33355         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
33357 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
33359         [BZ #15514]
33360         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
33361         pathconf(_PC_NAME_MAX).
33363 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33365         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
33366         Remove macro usage.
33367         (__PTHREAD_SPINS): Move definition to ...
33368         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
33369         (__PTHREAD_SPINS): ... here.
33370         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
33371         (__PTHREAD_SPIN): Likewise.
33372         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
33373         (__PTHREAD_SPIN): Likewise.
33374         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
33375         (__PTHREAD_SPIN): Likewise.
33376         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
33377         (__PTHREAD_SPIN): Likewise.
33378         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
33379         (__PTHREAD_SPIN): Likewise.
33380         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
33381         (__PTHREAD_SPIN): Likewise.
33382         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
33383         (__PTHREAD_SPIN): Likewise.
33384         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
33385         (__PTHREAD_SPIN): Likewise.
33386         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
33387         (__PTHREAD_SPIN): Likewise.
33388         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
33389         (__PTHREAD_SPIN): Likewise.
33390         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
33391         (__PTHREAD_SPIN): Likewise.
33392         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
33393         (__PTHREAD_SPIN): Likewise.
33395         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
33396         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
33397         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
33398         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
33399         imply folder.
33400         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
33401         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
33402         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
33403         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
33404         correct imply path.
33405         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
33406         strlen symbol for non multi-arch builds.
33407         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
33408         missing hidden_def and weak_alias.
33410 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
33412         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
33414 2014-04-07  Will Newton  <will.newton@linaro.org>
33416         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
33417         and contents.  [!_LIBC] Remove #ifndef and contents.
33418         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
33419         * string/memccpy.c (__memccpy): Use ANSI prototype.
33420         * string/memfrob.c (memfrob): Likewise.
33421         * string/strcoll.c (STRCOLL): Likewise.
33422         * string/strlen.c (strlen): Likewise.
33423         * string/strtok.c (STRTOK): Likewise.
33424         * string/strcat.c: Remove unused #include of memcopy.h.
33425         (strcat): Use ANSI prototype.
33426         * string/strchr.c: Remove unused #include of memcopy.h.
33427         (strchr): Use ANSI prototype.
33428         * string/strcmp.c: Remove unused #include of memcopy.h.
33429         (strcmp): Use ANSI prototype.
33430         * string/strcpy.c: Remove unused #include of memcopy.h.
33431         (strcpy): Use ANSI prototype.
33433 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33435         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
33436         * config.make.in (config-extra-cppflags): Set it from
33437         libc_extra_cppflags.
33438         * configure.ac (libc_extra_cflags): Make it accumulate over
33439         configure fragments.
33440         (libc_extra_cppflags): New flag.
33441         * configure. Regenerate.
33442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
33443         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
33444         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
33445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
33447         [BZ #16815]
33448         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
33449         result for FE_DOWNWARD rounding mode.
33450         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
33451         Likewise.
33452         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33454 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
33456         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
33457         in function argument name.
33459 2014-04-03  David Svoboda  <svoboda@cert.org>
33461         [BZ #5666]
33462         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
33463         explicitly.
33465 2014-04-03  Roland McGrath  <roland@hack.frob.com>
33467         * elf/dl-unmap-segments.h: New file.
33468         * sysdeps/generic/ldsodefs.h
33469         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
33470         * elf/dl-close.c: Include <dl-unmap-segments.h>.
33471         * elf/dl-fptr.c: Likewise.
33472         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
33473         * sysdeps/aarch64/tlsdesc.c: Likewise.
33474         * sysdeps/arm/tlsdesc.c: Likewise.
33475         * sysdeps/i386/tlsdesc.c: Likewise.
33476         * sysdeps/tile/dl-runtime.c: Likewise.
33477         * sysdeps/x86_64/tlsdesc.c: Likewise.
33478         * elf/dl-load.h: New file.
33479         * elf/dl-load.c: Include it.
33480         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
33481         Macros moved to dl-load.h.
33482         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
33483         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
33484         Use _dl_unmap_segments in place of __munmap.
33485         Break out segment-mapping loop into ...
33486         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
33488 2014-04-03  Will Newton  <will.newton@linaro.org>
33490         * elf/dl-lookup.c (do_lookup_x): Remove comment
33491         referring to nested function and move variable
33492         declarations down to before first use.
33494 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
33496         [BZ #16799]
33497         [BZ #16800]
33498         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
33499         with 0 numerator.
33500         * math/s_catanf.c (__catanf): Likewise.
33501         * math/s_catanh.c (__catanh): Likewise.
33502         * math/s_catanhf.c (__catanhf): Likewise.
33503         * math/s_catanhl.c (__catanhl): Likewise.
33504         * math/s_catanl.c (__catanl): Likewise.
33505         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
33506         by positive zero when computing -Inf result.
33507         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
33508         (catanh_test): Likewise.
33509         * sysdeps/i386/fpu/libm-test-ulps: Update.
33510         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33512         [BZ #16789]
33513         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
33514         instead of using underflowing value in computing result.
33515         * math/s_clog10.c (__clog10): Likewise.
33516         * math/s_clog10f.c (__clog10f): Likewise.
33517         * math/s_clog10l.c (__clog10l): Likewise.
33518         * math/s_clogf.c (__clogf): Likewise.
33519         * math/s_clogl.c (__clogl): Likewise.
33520         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
33521         (clog10_test): Likewise.
33522         * sysdeps/i386/fpu/libm-test-ulps: Update.
33523         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33525 2014-04-02  Alan Modra  <amodra@gmail.com>
33527         [BZ #16739]
33528         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
33529         output when value is near a power of two.  Use int64_t for lx and
33530         remove casts.  Use decimal rather than hex exponent constants.
33531         Don't use long double multiplication when double will suffice.
33532         * math/libm-test.inc (nextafter_test_data): Add tests.
33533         * NEWS: Add 16739 and 16786 to bug list.
33535         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
33537         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
33539 2014-04-01  Will Newton  <will.newton@linaro.org>
33541         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
33542         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
33544 2014-04-01  Florian Weimer  <fweimer@redhat.com>
33546         [BZ #13347]
33547         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
33548         * nptl/tst-setuid2.c: New file.
33549         * nptl/Makefile (xtests): Add tst-setuid2.
33551 2014-04-01  Alan Modra  <amodra@gmail.com>
33553         [BZ #16786]
33554         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
33556 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
33558         [BZ #6803]
33559         [BZ #6804]
33560         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
33561         set errno as appropriate.
33562         * math/w_scalbf.c (__scalbf): Likewise.
33563         * math/w_scalbl.c (__scalbl): Likewise.
33564         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
33565         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
33566         * math/libm-test.inc (scalb_test_data): Add errno expectations.
33567         Add more NaN tests.
33569         [BZ #16349]
33570         * math/w_atan2.c: Include <errno.h>.
33571         (__atan2): Set errno for result underflowing to zero.
33572         * math/w_atan2f.c: Include <errno.h>.
33573         (__atan2f): Set errno for result underflowing to zero.
33574         * math/w_atan2l.c: Include <errno.h>.
33575         (__atan2l): Set errno for result underflowing to zero.
33576         * math/auto-libm-test-in: Don't allow missing errno for some atan2
33577         tests.
33578         * math/auto-libm-test-out: Regenerated.
33580 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33582         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
33583         Encode instruction correctly in little endian.
33584         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
33585         Likewise.
33586         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
33587         Likewise.
33588         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
33589         Likewise.
33590         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
33591         Likewise.
33593 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
33595         [BZ #9894]
33596         * sysdeps/unix/sysv/linux/kernel-features.h
33597         [__sparc__ && !__arch64__ && !__sparc_v9__]
33598         (__ASSUME_SET_ROBUST_LIST): Do not define.
33599         [__sparc__ && !__arch64__ && !__sparc_v9__]
33600         (__ASSUME_FUTEX_LOCK_PI): Likewise.
33601         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
33602         Likewise.
33603         * sysdeps/unix/sysv/linux/arm/kernel-features.h
33604         (__ASSUME_FUTEX_LOCK_PI): Undefine.
33605         (__ASSUME_REQUEUE_PI): Likewise.
33606         (__ASSUME_SET_ROBUST_LIST): Likewise.
33607         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
33608         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
33609         Undefine.
33610         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33611         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
33612         Likewise.
33613         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
33614         Likewise.
33615         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
33616         Likewise.
33617         * sysdeps/unix/sysv/linux/mips/kernel-features.h
33618         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
33619         Undefine.
33620         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
33621         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
33622         Likewise.
33624         [BZ #16648]
33625         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33626         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
33627         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
33629 2014-03-31  Will Newton  <will.newton@linaro.org>
33631         * benchtests/Makefile (bench): Add ffs and ffsll to list
33632         of tests.
33633         * benchtests/ffs-inputs: New file.
33634         * benchtests/ffsll-inputs: Likewise.
33636 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
33638         [BZ #16770]
33639         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
33640         too large before casting to int.
33641         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
33642         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
33643         * math/libm-test.inc (scalb_test_data): Add more tests.
33645 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
33647         * benchtests/Makefile (DETAILED_OPT): New make option.
33648         (bench-func): Run benchmark program with -d if DETAILED_OPT is
33649         set.
33650         * benchtests/bench-skeleton.c: Include stdbool.h.
33651         (main): Store and print timings per input.
33652         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
33653         member to each argument value.
33654         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
33655         (_print_arg_data): Initialize per-input timing to 0.
33657         * benchtests/Makefile (timing-type): New binary.
33658         (bench-clean): Also remove bench-timing-type.
33659         (bench): New target for timing-type.
33660         (bench-func): Print output in JSON format.
33661         * benchtests/bench-skeleton.c (main): Print output in JSON
33662         format.
33663         * benchtests/bench-timing-type.c: New file.
33664         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
33665         (TIMING_PRINT_STATS): Remove.
33666         * benchtests/scripts/bench.py (_print_arg_data): Store variant
33667         name separately.
33669         * benchtests/bench-modf.c: Remove.
33670         * benchtests/modf-inputs: New inputs file.
33672 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
33674         [BZ #16362]
33675         * math/s_clog10.c (M_PI_LOG10E): New macro.
33676         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
33677         imaginary parts are 0.
33678         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
33679         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
33680         imaginary parts are 0.
33681         * math/s_clog10l.c (M_PI_LOG10El): New macro.
33682         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
33683         imaginary parts are 0.
33684         * math/libm-test.inc (clog10_test_data): Update expected results
33685         for when real and imaginary parts are 0.
33687 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
33689         * elf/dl-load.c: Finish conversion of __builtin_expect into
33690         __glibc_{un}likely.
33692 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
33694         [BZ #16348]
33695         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
33696         1+x for argument with exponent below -67.
33697         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
33698         Likewise.
33699         * math/auto-libm-test-in: Add more tests of exp.
33700         * math/auto-libm-test-out: Regenerated.
33702 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
33704         [BZ #16759]
33705         * inet/getnetgrent_r.c (get_nonempty_val): New function.
33706         (nscd_getnetgrent): Use it.
33708         [BZ #16760]
33709         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
33710         of stpcpy.
33712 2014-03-27  Andi Kleen  <ak@linux.intel.com>
33714         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
33715         (lll_robust_lock, lll_cond_lock, lll_timedlock)
33716         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
33717         (lll_robust_unlock): Remove out of line section. Use cfi
33718         intrinsics.
33719         (LLL_STUB_UNWIND_INFO*): Remove.
33720         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
33721         (lll_robust_lock, lll_cond_lock, lll_timedlock)
33722         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
33723         (lll_robust_unlock): Remove out of line section. Use cfi
33724         intrinsics.
33725         (LLL_STUB_UNWIND_INFO*): Remove.
33727 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
33729         [BZ #16758]
33730         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
33731         blank values.
33733 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
33735         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
33737 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
33739         [BZ #16198]
33740         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
33741         fnstenv.
33742         * math/test-fenv-preserve.c: New file.
33743         * math/Makefile (tests): Add test-fenv-preserve.
33745 2014-03-26  Will Newton <will.newton@linaro.org>
33747         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
33749 2014-03-25  Roland McGrath  <roland@hack.frob.com>
33751         * scripts/versionlist.awk: Partition the version sets and emit all
33752         GLIBC_* (sorted) before all others (sorted).
33754 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
33756         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
33757         GLIBC_2.2.5 version.
33759 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33761         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
33762         calls.
33764         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
33765         previous change.
33767         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33769 2014-03-25  Andreas Schwab  <schwab@suse.de>
33771         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
33772         label to be used after in6ailist is initialized.
33774 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33776         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
33777         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
33779 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
33781         [BZ #16357]
33782         [BZ #16599]
33783         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
33784         min_plus_half.
33785         (fp_formats): Update initializers.
33786         (init_fp_formats): Initialize new field.
33787         (output_for_one_input_case): Allow underflow for results up to
33788         min_plus_half.
33789         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
33790         * math/auto-libm-test-in: Don't mark some underflows from asin and
33791         atanh as spurious.
33792         * math/auto-libm-test-out: Regenerated.
33793         * sysdeps/i386/fpu/libm-test-ulps: Update.
33794         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33796 2014-03-25  Andreas Schwab  <schwab@suse.de>
33798         * libio/Makefile (tst-ftell-partial-wide-ENV)
33799         (tst-ftell-active-handler-ENV): Define.
33801 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
33803         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
33805 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
33807         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
33809 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
33811         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
33812         * sysdeps/x86_64/fpu/multiarch/e_exp.c
33813         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
33815 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
33817         [BZ #16634]
33818         * elf/dl-load.c (open_verify): Add mode parameter.
33819         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
33820         (open_path): Change from boolean 'secure' to complete flag 'mode'
33821         (_dl_map_object): Adjust.
33822         * elf/Makefile (tests): Add tst-dlopen-aout.
33823         * elf/tst-dlopen-aout.c: New test.
33825 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
33827         [BZ #16714]
33828         * sysdeps/unix/sysv/linux/s390/bits/stat.h
33829         (struct stat): Rename member pad0 to __glibc_reserved0.
33831         [BZ #16712]
33832         * sysdeps/s390/s390-32/bits/wordsize.h
33833         (__WORDSIZE32_SIZE_ULONG): New define.
33834         * sysdeps/s390/s390-64/bits/wordsize.h
33835         (__WORDSIZE32_SIZE_ULONG): Likewise.
33836         * sysdeps/generic/stdint.h (SIZE_MAX):
33837         Define as UL if __WORDSIZE32_SIZE_ULONG.
33839         [BZ #16713]
33840         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
33841         (__glibc_reserved0): New variable.
33842         (sa_flags): Change type to int.
33844         * posix/Makefile (before-compile): Use += before-compile instead
33845         of a :=.
33847         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
33848         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
33850 2014-03-20  Andreas Schwab  <schwab@suse.de>
33852         [BZ #16743]
33853         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
33854         non-matching result from nscd.
33856 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
33858         * scripts/bench.py: Moved to ...
33859         * benchtests/scripts/bench.py: ... here.
33860         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
33862 2014-03-24  Andreas Schwab  <schwab@suse.de>
33864         [BZ #16002]
33865         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
33866         alloca_account and account alloca use for struct in6ailist.
33868 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
33870         [BZ #16284]
33871         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
33872         rounding mode to recompute results that overflow to infinity or
33873         underflow to zero.
33874         * math/auto-libm-test-in: Don't mark tests as expected to fail for
33875         bug 16284.
33876         * math/auto-libm-test-out: Regenerated.
33877         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
33878         (ccosh_test): Likewise.
33879         (csin_test_data): Use plus_oflow.
33880         (csin_test): Use ALL_RM_TEST.
33881         (csinh_test_data): Use plus_oflow.
33882         (csinh_test): Use ALL_RM_TEST.
33883         * sysdeps/i386/fpu/libm-test-ulps: Update.
33884         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33886 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
33888         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
33889         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
33890         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
33892         [BZ #16731]
33893         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
33894         when x - 1 is zero.
33895         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
33896         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
33897         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
33898         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
33899         argument is 1.
33900         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
33901         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
33902         zero.
33903         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
33904         * sysdeps/i386/fpu/libm-test-ulps: Update.
33905         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33907 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33909         * scripts/bench.pl: Remove file.
33910         * scripts/bench.py: New benchmark script.
33911         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
33912         * benchtests/README: Mention python dependency.
33913         * scripts/pylintrc: New file.
33914         * scripts/pylint: New file.
33916         * bits/mathdef.h: Use #ifdef instead of #if.
33917         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
33918         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
33919         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
33920         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
33921         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
33922         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
33924 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33925             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
33927         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
33928         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
33929         and strpbrk-ppc64 objects.
33930         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33931         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
33932         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
33933         multiarch strpbrk for POWER7.
33934         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
33935         multiarch strpbrk for PPC64.
33936         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
33937         ifunc selector.
33938         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
33939         strpbrk for POWER7.
33941 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
33943         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
33944         (atan_test): Likewise.
33945         (atanh_test_data): Use NO_TEST_INLINE for two tests.
33946         (atanh_test): Use ALL_RM_TEST.
33947         (atan2_test_data): Likewise.
33948         (cabs_test): Likewise.
33949         (cacosh_test): Likewise.
33950         (carg_test): Likewise.
33951         (casin_test): Likewise.
33952         (casinh_test): Likewise.
33953         (cbrt_test): Likewise.
33954         (csqrt_test): Likewise.
33955         (erf_test): Likewise.
33956         (erfc_test): Likewise.
33957         (pow10_test): Likewise.
33958         (exp2_test): Likewise.
33959         (hypot_test): Likewise.
33960         (j0_test): Likewise.
33961         (j1_test): Likewise.
33962         (lgamma_test): Likewise.
33963         (gamma_test): Likewise.
33964         (sincos_test): Likewise.
33965         (tanh_test): Likewise.
33966         (y0_test): Likewise.
33967         (y1_test): Likewise.
33968         * sysdeps/i386/fpu/libm-test-ulps: Update.
33969         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33971 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33973         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
33974         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
33975         and strcspn-ppc64 objects.
33976         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33977         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
33978         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
33979         multiarch strcspn for POWER7.
33980         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
33981         multiarch strcspn for PPC64.
33982         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
33983         ifunc selector.
33984         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
33985         strcspn for POWER7.
33987 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
33989         * math/gen-libm-test.pl (generate_testfile): Expect only function
33990         name as argument to AUTO_TESTS_* and pass results for all rounding
33991         modes to parse_args.
33992         (parse_auto_input): Separate inputs of automatic tests from
33993         outputs before storing in %auto_tests.
33994         * math/libm-test.inc (acos_test_data): Update call to
33995         AUTO_TESTS_f_f.
33996         (acos_test): Use ALL_RM_TEST.
33997         (acos_tonearest_test_data): Remove.
33998         (acos_test_tonearest): Likewise.
33999         (acos_towardzero_test_data): Likewise.
34000         (acos_test_towardzero): Likewise.
34001         (acos_downward_test_data): Likewise.
34002         (acos_test_downward): Likewise.
34003         (acos_upward_test_data): Likewise.
34004         (acos_test_upward): Likewise.
34005         (acosh_test_data): Update call to AUTO_TESTS_f_f.
34006         (asin_test_data): Likewise.
34007         (asin_test): Use ALL_RM_TEST.
34008         (asin_tonearest_test_data): Remove.
34009         (asin_test_tonearest): Likewise.
34010         (asin_towardzero_test_data): Likewise.
34011         (asin_test_towardzero): Likewise.
34012         (asin_downward_test_data): Likewise.
34013         (asin_test_downward): Likewise.
34014         (asin_upward_test_data): Likewise.
34015         (asin_test_upward): Likewise.
34016         (asinh_test_data): Update call to AUTO_TESTS_f_f.
34017         (atan_test_data): Likewise.
34018         (atanh_test_data): Likewise.
34019         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
34020         (cabs_test_data): Update call to AUTO_TESTS_c_f.
34021         (carg_test_data): Likewise.
34022         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
34023         (ccos_test_data): Update call to AUTO_TESTS_c_c.
34024         (ccosh_test_data): Likewise.
34025         (cexp_test_data): Likewise.
34026         (clog_test_data): Likewise.
34027         (clog10_test_data): Likewise.
34028         (cos_test_data): Update call to AUTO_TESTS_f_f.
34029         (cos_test): Use ALL_RM_TEST.
34030         (cos_tonearest_test_data): Remove.
34031         (cos_test_tonearest): Likewise.
34032         (cos_towardzero_test_data): Likewise.
34033         (cos_test_towardzero): Likewise.
34034         (cos_downward_test_data): Likewise.
34035         (cos_test_downward): Likewise.
34036         (cos_upward_test_data): Likewise.
34037         (cos_test_upward): Likewise.
34038         (cosh_test_data): Update call to AUTO_TESTS_f_f.
34039         (cosh_test): Use ALL_RM_TEST.
34040         (cosh_tonearest_test_data): Remove.
34041         (cosh_test_tonearest): Likewise.
34042         (cosh_towardzero_test_data): Likewise.
34043         (cosh_test_towardzero): Likewise.
34044         (cosh_downward_test_data): Likewise.
34045         (cosh_test_downward): Likewise.
34046         (cosh_upward_test_data): Likewise.
34047         (cosh_test_upward): Likewise.
34048         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
34049         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
34050         (ctan_test_data): Likewise.
34051         (ctan_test): Use ALL_RM_TEST.
34052         (ctan_tonearest_test_data): Remove.
34053         (ctan_test_tonearest): Likewise.
34054         (ctan_towardzero_test_data): Likewise.
34055         (ctan_test_towardzero): Likewise.
34056         (ctan_downward_test_data): Likewise.
34057         (ctan_test_downward): Likewise.
34058         (ctan_upward_test_data): Likewise.
34059         (ctan_test_upward): Likewise.
34060         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
34061         (ctanh_test): Use ALL_RM_TEST.
34062         (ctanh_tonearest_test_data): Remove.
34063         (ctanh_test_tonearest): Likewise.
34064         (ctanh_towardzero_test_data): Likewise.
34065         (ctanh_test_towardzero): Likewise.
34066         (ctanh_downward_test_data): Likewise.
34067         (ctanh_test_downward): Likewise.
34068         (ctanh_upward_test_data): Likewise.
34069         (ctanh_test_upward): Likewise.
34070         (erf_test_data): Update call to AUTO_TESTS_f_f.
34071         (erfc_test_data): Likewise.
34072         (exp_test_data): Likewise.
34073         (exp_test): Use ALL_RM_TEST.
34074         (exp_tonearest_test_data): Remove.
34075         (exp_test_tonearest): Likewise.
34076         (exp_towardzero_test_data): Likewise.
34077         (exp_test_towardzero): Likewise.
34078         (exp_downward_test_data): Likewise.
34079         (exp_test_downward): Likewise.
34080         (exp_upward_test_data): Likewise.
34081         (exp_test_upward): Likewise.
34082         (exp10_test_data): Update call to AUTO_TESTS_f_f.
34083         (exp10_test): Use ALL_RM_TEST.
34084         (exp10_tonearest_test_data): Remove.
34085         (exp10_test_tonearest): Likewise.
34086         (exp10_towardzero_test_data): Likewise.
34087         (exp10_test_towardzero): Likewise.
34088         (exp10_downward_test_data): Likewise.
34089         (exp10_test_downward): Likewise.
34090         (exp10_upward_test_data): Likewise.
34091         (exp10_test_upward): Likewise.
34092         (exp2_test_data): Update call to AUTO_TESTS_f_f.
34093         (expm1_test_data): Likewise.
34094         (expm1_test): Use ALL_RM_TEST.
34095         (expm1_tonearest_test_data): Remove.
34096         (expm1_test_tonearest): Likewise.
34097         (expm1_towardzero_test_data): Likewise.
34098         (expm1_test_towardzero): Likewise.
34099         (expm1_downward_test_data): Likewise.
34100         (expm1_test_downward): Likewise.
34101         (expm1_upward_test_data): Likewise.
34102         (expm1_test_upward): Likewise.
34103         (fma_test_data): Update call to AUTO_TESTS_fff_f.
34104         (fma_test): Use ALL_RM_TEST.
34105         (fma_towardzero_test_data): Remove.
34106         (fma_test_towardzero): Likewise.
34107         (fma_downward_test_data): Likewise.
34108         (fma_test_downward): Likewise.
34109         (fma_upward_test_data): Likewise.
34110         (fma_test_upward): Likewise.
34111         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
34112         (j0_test_data): Update call to AUTO_TESTS_f_f.
34113         (j1_test_data): Likewise.
34114         (jn_test_data): Update call to AUTO_TESTS_if_f.
34115         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
34116         (log_test_data): Update call to AUTO_TESTS_f_f.
34117         (log10_test_data): Likewise.
34118         (log1p_test_data): Likewise.
34119         (log2_test_data): Likewise.
34120         (pow_test_data): Update call to AUTO_TESTS_ff_f.
34121         (pow_tonearest_test_data): Likewise.
34122         (sin_test_data): Update call to AUTO_TESTS_f_f.
34123         (sin_test): Use ALL_RM_TEST.
34124         (sin_tonearest_test_data): Remove.
34125         (sin_test_tonearest): Likewise.
34126         (sin_towardzero_test_data): Likewise.
34127         (sin_test_towardzero): Likewise.
34128         (sin_downward_test_data): Likewise.
34129         (sin_test_downward): Likewise.
34130         (sin_upward_test_data): Likewise.
34131         (sin_test_upward): Likewise.
34132         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
34133         (sinh_test_data): Update call to AUTO_TESTS_f_f.
34134         (sinh_test): Use ALL_RM_TEST.
34135         (sinh_tonearest_test_data): Remove.
34136         (sinh_test_tonearest): Likewise.
34137         (sinh_towardzero_test_data): Likewise.
34138         (sinh_test_towardzero): Likewise.
34139         (sinh_downward_test_data): Likewise.
34140         (sinh_test_downward): Likewise.
34141         (sinh_upward_test_data): Likewise.
34142         (sinh_test_upward): Likewise.
34143         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
34144         (sqrt_test): Use ALL_RM_TEST.
34145         (sqrt_tonearest_test_data): Remove.
34146         (sqrt_test_tonearest): Likewise.
34147         (sqrt_towardzero_test_data): Likewise.
34148         (sqrt_test_towardzero): Likewise.
34149         (sqrt_downward_test_data): Likewise.
34150         (sqrt_test_downward): Likewise.
34151         (sqrt_upward_test_data): Likewise.
34152         (sqrt_test_upward): Likewise.
34153         (tan_test_data): Update call to AUTO_TESTS_f_f.
34154         (tan_test): Use ALL_RM_TEST.
34155         (tan_tonearest_test_data): Remove.
34156         (tan_test_tonearest): Likewise.
34157         (tan_towardzero_test_data): Likewise.
34158         (tan_test_towardzero): Likewise.
34159         (tan_downward_test_data): Likewise.
34160         (tan_test_downward): Likewise.
34161         (tan_upward_test_data): Likewise.
34162         (tan_test_upward): Likewise.
34163         (tanh_test_data): Update call to AUTO_TESTS_f_f.
34164         (tgamma_test_data): Likewise.
34165         (y0_test_data): Likewise.
34166         (y1_test_data): Likewise.
34167         (yn_test_data): Update call to AUTO_TESTS_if_f.
34168         (main): Do not call removed functions.
34170 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
34172         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
34173         (ldexp_test_data): Remove.
34174         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
34175         scalbn_test_data.
34176         (scalb_test): Use ALL_RM_TEST.
34178 2014-03-19  Andreas Schwab  <schwab@suse.de>
34180         * nscd/nscd.service: Also invalidate netgroup cache on reload.
34182 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
34184         [BZ #16649]
34185         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
34186         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
34187         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
34188         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34189         (__ASSUME_PREADV): Undefine.
34190         (__ASSUME_PWRITEV): Likewise.
34192 2014-03-18  Roland McGrath  <roland@hack.frob.com>
34194         * bits/mman-linux.h: Add comment about non-Linux use.
34195         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
34196         bits/mman-linux.h resting place.
34198         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
34199         * bits/mman-linux.h: ... here.
34201 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34203         * conform/conformtest.pl: Add standard definition when calling C
34204         preprocessor on data files.
34205         (checknamespace): Remove unused variable.
34207 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
34209         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
34210         minus_oflow, plus_uflow and minus_uflow in expected results.
34211         * math/libm-test.inc (scalbn_test_data): Add more tests of
34212         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
34213         minus_uflow.
34214         (scalbn_test): Use ALL_RM_TEST.
34215         (scalbln_test_data): Add more tests of negative arguments.  Use
34216         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
34217         (scalbln_test): Use ALL_RM_TEST.
34219 2014-03-18  Roland McGrath  <roland@hack.frob.com>
34221         * scripts/abilist.awk: Ignore symbols marked with .hidden.
34223 2014-03-18  Will Newton  <will.newton@linaro.org>
34225         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
34226         inaccurate comment.
34228 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
34230         * Makerules [!subdir] (check-abi): Exit with error status if a
34231         test failed.
34233 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
34235         * math/libm-test.inc (nearbyint_test_data): Include all tests used
34236         for rint.  Include results for all rounding modes.
34237         (nearbyint_test): Use ALL_RM_TEST.
34238         (rint_test_data): Include all tests used for nearbyint.
34240 2014-03-17  Will Newton  <will.newton@linaro.org>
34242         * nptl/sysdeps/pthread/pthread.h: Revert previous
34243         change.
34245         * sysdeps/generic/ldsodefs.h: Revert previous
34246         change.
34248         * libio/genops.c: Revert previous change.
34249         * libio/libioP.h: Likewise.
34250         * stdio-common/vfprintf.c: Likewise.
34252         * sysdeps/generic/math_private.h: Revert previous
34253         change.
34255         * sysdeps/generic/math_private.h: Check whether
34256         HAVE_RM_CTX is defined with #ifdef rather
34257         than #if.
34259         * argp/argp-fmtstream.h: Check whether
34260         __STRICT_ANSI__ is defined with #ifdef rather
34261         than #if.
34262         * argp/argp.h: Likewise.
34264         * libio/genops.c: Check whether
34265         _IO_JUMPS_OFFSET is defined with #ifdef rather
34266         than #if.
34267         * libio/libioP.h: Likewise.
34268         * stdio-common/vfprintf.c: Likewise.
34270         * sysdeps/generic/ldsodefs.h: Check whether
34271         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
34272         than #if.
34274         * nptl/sysdeps/pthread/pthread.h: Check
34275         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
34276         its value.
34278 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
34280         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
34281         setting O_APPEND.
34282         * libio/tst-ftell-active-handler.c (do_append_test): Add a
34283         test case.
34285         [BZ #16680]
34286         * libio/fileops.c (_IO_file_open): Seek to end of file but
34287         don't cache the offset.
34288         (get_file_offset): Remove function.
34289         (do_ftell): Use cached offset when available.
34290         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
34291         don't cache the offset.
34292         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
34293         case.
34294         (do_one_test): Call it.
34295         (do_ftell_test): Fix up expected old offset for a+ mode.
34296         * libio/wfileops.c (do_ftell_wide): Used cached offset when
34297         available.
34299         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
34300         up test status with function return status.
34301         (do_write_test): Likewise.
34302         (do_append_test): Likewise.
34304         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
34305         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
34306         Remove.
34308 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
34310         * math/gen-libm-test.pl (parse_args): Handle results specified for
34311         each rounding mode separately.
34312         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
34313         tests and results from lrint_tonearest_test_data,
34314         lrint_towardzero_test_data, lrint_downward_test_data and
34315         lrint_upward_test_data.
34316         (lrint_test): Use ALL_RM_TEST.
34317         (lrint_tonearest_test_data): Remove.
34318         (lrint_test_tonearest): Likewise.
34319         (lrint_towardzero_test_data): Likewise.
34320         (lrint_test_towardzero): Likewise.
34321         (lrint_downward_test_data): Likewise.
34322         (lrint_test_downward): Likewise.
34323         (lrint_upward_test_data): Likewise.
34324         (lrint_test_upward): Likewise.
34325         (llrint_test_data): Merge in per-rounding-mode tests and results
34326         from llrint_tonearest_test_data, llrint_towardzero_test_data,
34327         llrint_downward_test_data and llrint_upward_test_data.
34328         (llrint_test): Use ALL_RM_TEST.
34329         (llrint_tonearest_test_data): Remove.
34330         (llrint_test_tonearest): Likewise.
34331         (llrint_towardzero_test_data): Likewise.
34332         (llrint_test_towardzero): Likewise.
34333         (llrint_downward_test_data): Likewise.
34334         (llrint_test_downward): Likewise.
34335         (llrint_upward_test_data): Likewise.
34336         (llrint_test_upward): Likewise.
34337         (rint_test_data): Merge in per-rounding-mode tests and results
34338         from rint_tonearest_test_data, rint_towardzero_test_data,
34339         rint_downward_test_data and rint_upward_test_data.  Add
34340         per-rounding-mode results for tests not in those arrays.
34341         (rint_test): Use ALL_RM_TEST.
34342         (rint_tonearest_test_data): Remove.
34343         (rint_test_tonearest): Likewise.
34344         (rint_towardzero_test_data): Likewise.
34345         (rint_test_towardzero): Likewise.
34346         (rint_downward_test_data): Likewise.
34347         (rint_test_downward): Likewise.
34348         (rint_upward_test_data): Likewise.
34349         (rint_test_upward): Likewise.
34350         (main): Don't call removed functions.
34352 2014-03-14  Roland McGrath  <roland@hack.frob.com>
34354         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
34355         "Compiled on ..." crapola.  It is anti-useful.
34357 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
34359         * scripts/evaluate-test.sh: Handle fourth argument to determine
34360         whether test run should stop on failure.
34361         * Makeconfig (stop-on-test-failure): New variable.
34362         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
34363         $(stop-on-test-failure).
34364         * Makefile (tests): Give a summary of results from testing and
34365         exit with failure status if they include an ERROR or FAIL.
34366         (xtests): Likewise.
34367         * manual/install.texi (Configuring and compiling): Mention
34368         stop-on-test-failure=y.
34369         * INSTALL: Regenerated.
34371 2014-03-14  Roland McGrath  <roland@hack.frob.com>
34373         * scripts/versionlist.awk: New file.
34374         * Makerules [$(build-shared) = yes]
34375         (postclean-generated): Add Versions.def, not Versions.def.v and
34376         Versions.def.v.i.
34377         ($(common-objpfx)Versions.def.v.i): Target removed.
34378         ($(common-objpfx)Versions.def): New target.
34379         ($(common-objpfx)Versions.all): Depend on that rather that
34380         $(common-objpfx)Versions.def.v.
34381         * Versions.def: File removed.
34383         * Makeconfig (+gccwarn): Add -Wundef.
34384         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
34385         a dl-sysdep.h breaking its contract.
34386         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
34387         * include/stackinfo.h: New file.
34388         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
34389         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
34390         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
34391         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
34392         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
34393         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
34394         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
34395         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
34396         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
34397         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
34398         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
34399         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
34400         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
34401         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
34402         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
34404 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34406         [BZ #16707]
34407         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
34408         implementation.
34409         * math/libm-test.inc (round_test_data): Add more tests.
34411         [BZ #16706]
34412         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
34413         implementation.
34414         * math/libm-test.inc (nearbyint_test_data): Add more tests.
34416         [BZ #16701]
34417         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
34418         implementation.
34419         * math/libm-test.inc (ceil_test_data): Add more tests.
34421         * math/libm-test.inc (trunc_test_data): Add more tests related to
34422         BZ#16414.
34424 2014-03-14  Roland McGrath  <roland@hack.frob.com>
34426         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
34427         with #if rather than #ifdef.
34428         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
34430 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
34432         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
34433         first.  Disable AVX-512 GCC support if assembler doesn't support
34434         it.
34435         * sysdeps/x86_64/configure: Regenerated.
34437 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
34439         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
34440         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
34441         (__old_pthread_attr_setstack): Likewise.
34442         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
34443         [!_STACK_GROWS_DOWN]: Likewise.
34445 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
34447         * config.make.in (have-bash2): Delete.
34448         * configure.ac (libc_cv_have_bash2): Delete.
34449         * configure: Regenerate.
34450         * elf/Makefile (common-ldd-rewrite): Rename to ...
34451         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
34452         (sh-ldd-rewrite): Delete.
34453         (bash-ldd-rewrite): Delete.
34454         (have-bash2): Delete checks.
34455         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
34456         ldd-rewrite.
34458         * config.make.in (have-ksh): Delete.
34459         (KSH): Delete.
34460         * configure.ac (libc_cv_have_ksh): Delete.
34461         * configure: Regenerate.
34463         * elf/Makefile: Delete $(have-ksh) check.
34464         ($(objpfx)sotruss): Change KSH to BASH.
34465         * elf/sotruss.ksh: Rename to ...
34466         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
34467         function style to match POSIX.  Drop ksh vim mode setting.
34469         * manual/time.texi (Specifying the Time Zone with TZ): Change
34470         Tuesday to Thursday.
34472         * debug/tst-longjmp_chk2.c: Update header comment.
34473         (stackoverflow_handler): Add comment.  Call assert on pass value.
34475 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
34477         [BZ #16194]
34478         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
34479         (HAVE_AVX512_ASM_SUPPORT): Likewise.
34480         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
34481         (La_x86_64_vector): Add zmm.
34482         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
34483         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
34484         ($(objpfx)tst-audit10): New target.
34485         ($(objpfx)tst-audit10.out): Likewise.
34486         (tst-audit10-ENV): New.
34487         (AVX512-CFLAGS): Likewise.
34488         (CFLAGS-tst-audit10.c): Likewise.
34489         (CFLAGS-tst-auditmod10a.c): Likewise.
34490         (CFLAGS-tst-auditmod10b.c): Likewise.
34491         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
34492         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
34493         * sysdeps/x86_64/configure: Regenerated.
34494         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
34495         AVX-512 zmm register support.
34496         (_dl_x86_64_save_sse): Likewise.
34497         (_dl_x86_64_restore_sse): Likewise.
34498         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
34499         size vector registers.
34500         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
34501         (ZMM_SIZE): Likewise.
34502         * sysdeps/x86_64/tst-audit10.c: New file.
34503         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
34504         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
34506 2014-03-13  Roland McGrath  <roland@hack.frob.com>
34508         * configure.ac (HAVE_EHDR_START): New check.
34509         * configure: Regenerated.
34510         * config.h.in (HAVE_EHDR_START): New #undef.
34511         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
34512         assuming the lowest-addressed segment maps the start of the file.
34514 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
34516         * INSTALL: Regenerated.
34518 2014-03-13  Will Newton  <will.newton@linaro.org>
34520         * manual/setjmp.texi (System V contexts): Improve
34521         clarity and grammar of documentation.
34523 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
34525         [BZ #16381]
34526         * elf/Makefile (tests): Add tst-pie2.
34527         (tests-pie): Add tst-pie2.
34528         * elf/tst-pie2.c: New file.
34529         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
34530         for ET_EXEC.
34531         * elf/rtld.c (map_doit): Load executable as lt_executable.
34532         (dl_main): Likewise.
34534 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
34536         [BZ #16642]
34537         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34538         (__ASSUME_PSELECT): Undefine.
34540 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34542         [BZ #16689]
34543         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
34544         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
34545         static build.
34546         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
34547         selector for static builds.
34549 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
34551         [BZ #16695]
34552         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
34553         key in the buffer.
34555 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34557         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
34558         IFUNC selector for static builds.
34560 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
34562         * sysdeps/mips/math_private.h [__mips_hard_float]
34563         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
34564         libc_feresetround_mips_ctx.
34565         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
34566         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
34567         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
34569         [BZ #16677]
34570         * math/s_nextafter.c (__nextafter): Do not return value from
34571         overflowing computation.
34572         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
34573         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
34574         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
34575         Likewise.
34576         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
34577         Likewise.
34578         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
34579         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
34581 2014-03-11  Roland McGrath  <roland@hack.frob.com>
34583         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
34584         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
34585         Move sfi_sp use from the load-multiple (that no longer sets sp) to
34586         the new mov targetting sp.
34588 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34590         [BZ #16683]
34591         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
34592         Define it for static builds as well.
34593         (NO_BZERO_IMPL): Likewise.
34595 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
34597         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
34598         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
34599         multiarch strspn for PPC64.
34600         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
34601         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
34602         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
34603         (__libc_ifunc_impl_list): Likewise.
34604         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
34605         multiarch optimizations
34606         * string/strspn.c (strspn): Using macro to redefine symbol name.
34608 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
34609             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34611         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
34612         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
34613         multiarch strncat for PPC64.
34614         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
34615         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
34616         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
34617         (__libc_ifunc_impl_list): Likewise.
34618         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
34619         multiarch optimizations
34621 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34623         [BZ #16639]
34624         * nscd/nscd.service: Make service type forking.
34626 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34628         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
34629         sign in non default rounding modes.
34630         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
34632 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
34634         * math/libm-test.inc (ALL_RM_TEST): New macro.
34635         (ceil_test): Use ALL_RM_TEST.
34636         (cimag_test): Likewise.
34637         (conj_test): Likewise.
34638         (copysign_test): Likewise.
34639         (cproj_test): Likewise.
34640         (creal_test): Likewise.
34641         (fabs_test): Likewise.
34642         (floor_test): Likewise.
34643         (fmax_test): Likewise.
34644         (fmin_test): Likewise.
34645         (fmod_test): Likewise.
34646         (fpclassify_test): Likewise.
34647         (frexp_test): Likewise.
34648         (ilogb_test): Likewise.
34649         (isfinite_test): Likewise.
34650         (finite_test): Likewise.
34651         (isgreater_test): Likewise.
34652         (isgreaterequal_test): Likewise.
34653         (isinf_test): Likewise.
34654         (isless_test): Likewise.
34655         (islessequal_test): Likewise.
34656         (islessgreater_test): Likewise.
34657         (isnan_test): Likewise.
34658         (isnormal_test): Likewise.
34659         (issignaling_test): Likewise.
34660         (isunordered_test): Likewise.
34661         (logb_test): Likewise.
34662         (logb_downward_test_data): Remove.
34663         (logb_test_downward): Likewise.
34664         (lround_test): Use ALL_RM_TEST.
34665         (llround_test): Likewise.
34666         (modf_test): Likewise.
34667         (nexttoward_test): Likewise.
34668         (remainder_test): Likewise.
34669         (drem_test): Likewise.
34670         (remainder_tonearest_test_data): Likewise.
34671         (remainder_test_tonearest): Likewise.
34672         (drem_test_tonearest): Likewise.
34673         (remainder_towardzero_test_data): Likewise.
34674         (remainder_test_towardzero): Likewise.
34675         (drem_test_towardzero): Likewise.
34676         (remainder_downward_test_data): Likewise.
34677         (remainder_test_downward): Likewise.
34678         (drem_test_downward): Likewise.
34679         (remainder_upward_test_data): Likewise.
34680         (remainder_test_upward): Likewise.
34681         (drem_test_upward): Likewise.
34682         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
34683         (round_test): Use ALL_RM_TEST.
34684         (signbit_test): Likewise.
34685         (trunc_test): Likewise.
34686         (significand_test): Likewise.
34687         (main): Don't call removed functions.
34689 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
34691         [BZ #16674]
34692         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
34693         || __USE_XOPEN2K8].
34694         (ILL_ILLOPN): Likewise.
34695         (ILL_ILLADR): Likewise.
34696         (ILL_ILLTRP): Likewise.
34697         (ILL_PRVOPC): Likewise.
34698         (ILL_PRVREG): Likewise.
34699         (ILL_COPROC): Likewise.
34700         (ILL_BADSTK): Likewise.
34701         (FPE_INTDIV): Likewise.
34702         (FPE_INTOVF): Likewise.
34703         (FPE_FLTDIV): Likewise.
34704         (FPE_FLTOVF): Likewise.
34705         (FPE_FLTUND): Likewise.
34706         (FPE_FLTRES): Likewise.
34707         (FPE_FLTINV): Likewise.
34708         (FPE_FLTSUB): Likewise.
34709         (SEGV_MAPERR): Likewise.
34710         (SEGV_ACCERR): Likewise.
34711         (BUS_ADRALN): Likewise.
34712         (BUS_ADRERR): Likewise.
34713         (BUS_OBJERR): Likewise.
34714         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34715         (TRAP_TRACE): Likewise.
34716         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34717         __USE_XOPEN2K8].
34718         (CLD_KILLED): Likewise.
34719         (CLD_DUMPED): Likewise.
34720         (CLD_TRAPPED): Likewise.
34721         (CLD_STOPPED): Likewise.
34722         (CLD_CONTINUED): Likewise.
34723         (POLL_IN): Likewise.
34724         (POLL_OUT): Likewise.
34725         (POLL_MSG): Likewise.
34726         (POLL_ERR): Likewise.
34727         (POLL_PRI): Likewise.
34728         (POLL_HUP): Likewise.
34729         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
34730         Likewise.
34731         (ILL_ILLOPN): Likewise.
34732         (ILL_ILLADR): Likewise.
34733         (ILL_ILLTRP): Likewise.
34734         (ILL_PRVOPC): Likewise.
34735         (ILL_PRVREG): Likewise.
34736         (ILL_COPROC): Likewise.
34737         (ILL_BADSTK): Likewise.
34738         (FPE_INTDIV): Likewise.
34739         (FPE_INTOVF): Likewise.
34740         (FPE_FLTDIV): Likewise.
34741         (FPE_FLTOVF): Likewise.
34742         (FPE_FLTUND): Likewise.
34743         (FPE_FLTRES): Likewise.
34744         (FPE_FLTINV): Likewise.
34745         (FPE_FLTSUB): Likewise.
34746         (SEGV_MAPERR): Likewise.
34747         (SEGV_ACCERR): Likewise.
34748         (BUS_ADRALN): Likewise.
34749         (BUS_ADRERR): Likewise.
34750         (BUS_OBJERR): Likewise.
34751         (BUS_MCEERR_AR): Likewise.
34752         (BUS_MCEERR_AO): Likewise.
34753         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34754         (TRAP_TRACE): Likewise.
34755         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34756         __USE_XOPEN2K8].
34757         (CLD_KILLED): Likewise.
34758         (CLD_DUMPED): Likewise.
34759         (CLD_TRAPPED): Likewise.
34760         (CLD_STOPPED): Likewise.
34761         (CLD_CONTINUED): Likewise.
34762         (POLL_IN): Likewise.
34763         (POLL_OUT): Likewise.
34764         (POLL_MSG): Likewise.
34765         (POLL_ERR): Likewise.
34766         (POLL_PRI): Likewise.
34767         (POLL_HUP): Likewise.
34768         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
34769         (ILL_ILLOPN): Likewise.
34770         (ILL_ILLADR): Likewise.
34771         (ILL_ILLTRP): Likewise.
34772         (ILL_PRVOPC): Likewise.
34773         (ILL_PRVREG): Likewise.
34774         (ILL_COPROC): Likewise.
34775         (ILL_BADSTK): Likewise.
34776         (FPE_INTDIV): Likewise.
34777         (FPE_INTOVF): Likewise.
34778         (FPE_FLTDIV): Likewise.
34779         (FPE_FLTOVF): Likewise.
34780         (FPE_FLTUND): Likewise.
34781         (FPE_FLTRES): Likewise.
34782         (FPE_FLTINV): Likewise.
34783         (FPE_FLTSUB): Likewise.
34784         (SEGV_MAPERR): Likewise.
34785         (SEGV_ACCERR): Likewise.
34786         (BUS_ADRALN): Likewise.
34787         (BUS_ADRERR): Likewise.
34788         (BUS_OBJERR): Likewise.
34789         (BUS_MCEERR_AR): Likewise.
34790         (BUS_MCEERR_AO): Likewise.
34791         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34792         (TRAP_TRACE): Likewise.
34793         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34794         __USE_XOPEN2K8].
34795         (CLD_KILLED): Likewise.
34796         (CLD_DUMPED): Likewise.
34797         (CLD_TRAPPED): Likewise.
34798         (CLD_STOPPED): Likewise.
34799         (CLD_CONTINUED): Likewise.
34800         (POLL_IN): Likewise.
34801         (POLL_OUT): Likewise.
34802         (POLL_MSG): Likewise.
34803         (POLL_ERR): Likewise.
34804         (POLL_PRI): Likewise.
34805         (POLL_HUP): Likewise.
34806         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
34807         Likewise.
34808         (ILL_ILLOPN): Likewise.
34809         (ILL_ILLADR): Likewise.
34810         (ILL_ILLTRP): Likewise.
34811         (ILL_PRVOPC): Likewise.
34812         (ILL_PRVREG): Likewise.
34813         (ILL_COPROC): Likewise.
34814         (ILL_BADSTK): Likewise.
34815         (ILL_BADIADDR): Likewise.
34816         (ILL_BREAK): Likewise.
34817         (FPE_INTDIV): Likewise.
34818         (FPE_INTOVF): Likewise.
34819         (FPE_FLTDIV): Likewise.
34820         (FPE_FLTOVF): Likewise.
34821         (FPE_FLTUND): Likewise.
34822         (FPE_FLTRES): Likewise.
34823         (FPE_FLTINV): Likewise.
34824         (FPE_FLTSUB): Likewise.
34825         (FPE_DECOVF): Likewise.
34826         (FPE_DECDIV): Likewise.
34827         (FPE_DECERR): Likewise.
34828         (FPE_INVASC): Likewise.
34829         (FPE_INVDEC): Likewise.
34830         (SEGV_MAPERR): Likewise.
34831         (SEGV_ACCERR): Likewise.
34832         (SEGV_PSTKOVF): Likewise.
34833         (BUS_ADRALN): Likewise.
34834         (BUS_ADRERR): Likewise.
34835         (BUS_OBJERR): Likewise.
34836         (BUS_MCEERR_AR): Likewise.
34837         (BUS_MCEERR_AO): Likewise.
34838         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34839         (TRAP_TRACE): Likewise.
34840         (TRAP_BRANCH): Likewise.
34841         (TRAP_HWBKPT): Likewise.
34842         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34843         __USE_XOPEN2K8].
34844         (CLD_KILLED): Likewise.
34845         (CLD_DUMPED): Likewise.
34846         (CLD_TRAPPED): Likewise.
34847         (CLD_STOPPED): Likewise.
34848         (CLD_CONTINUED): Likewise.
34849         (POLL_IN): Likewise.
34850         (POLL_OUT): Likewise.
34851         (POLL_MSG): Likewise.
34852         (POLL_ERR): Likewise.
34853         (POLL_PRI): Likewise.
34854         (POLL_HUP): Likewise.
34855         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
34856         (ILL_ILLOPN): Likewise.
34857         (ILL_ILLADR): Likewise.
34858         (ILL_ILLTRP): Likewise.
34859         (ILL_PRVOPC): Likewise.
34860         (ILL_PRVREG): Likewise.
34861         (ILL_COPROC): Likewise.
34862         (ILL_BADSTK): Likewise.
34863         (FPE_INTDIV): Likewise.
34864         (FPE_INTOVF): Likewise.
34865         (FPE_FLTDIV): Likewise.
34866         (FPE_FLTOVF): Likewise.
34867         (FPE_FLTUND): Likewise.
34868         (FPE_FLTRES): Likewise.
34869         (FPE_FLTINV): Likewise.
34870         (FPE_FLTSUB): Likewise.
34871         (SEGV_MAPERR): Likewise.
34872         (SEGV_ACCERR): Likewise.
34873         (BUS_ADRALN): Likewise.
34874         (BUS_ADRERR): Likewise.
34875         (BUS_OBJERR): Likewise.
34876         (BUS_MCEERR_AR): Likewise.
34877         (BUS_MCEERR_AO): Likewise.
34878         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34879         (TRAP_TRACE): Likewise.
34880         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34881         __USE_XOPEN2K8].
34882         (CLD_KILLED): Likewise.
34883         (CLD_DUMPED): Likewise.
34884         (CLD_TRAPPED): Likewise.
34885         (CLD_STOPPED): Likewise.
34886         (CLD_CONTINUED): Likewise.
34887         (POLL_IN): Likewise.
34888         (POLL_OUT): Likewise.
34889         (POLL_MSG): Likewise.
34890         (POLL_ERR): Likewise.
34891         (POLL_PRI): Likewise.
34892         (POLL_HUP): Likewise.
34893         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
34894         (ILL_ILLOPN): Likewise.
34895         (ILL_ILLADR): Likewise.
34896         (ILL_ILLTRP): Likewise.
34897         (ILL_PRVOPC): Likewise.
34898         (ILL_PRVREG): Likewise.
34899         (ILL_COPROC): Likewise.
34900         (ILL_BADSTK): Likewise.
34901         (FPE_INTDIV): Likewise.
34902         (FPE_INTOVF): Likewise.
34903         (FPE_FLTDIV): Likewise.
34904         (FPE_FLTOVF): Likewise.
34905         (FPE_FLTUND): Likewise.
34906         (FPE_FLTRES): Likewise.
34907         (FPE_FLTINV): Likewise.
34908         (FPE_FLTSUB): Likewise.
34909         (SEGV_MAPERR): Likewise.
34910         (SEGV_ACCERR): Likewise.
34911         (BUS_ADRALN): Likewise.
34912         (BUS_ADRERR): Likewise.
34913         (BUS_OBJERR): Likewise.
34914         (BUS_MCEERR_AR): Likewise.
34915         (BUS_MCEERR_AO): Likewise.
34916         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34917         (TRAP_TRACE): Likewise.
34918         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34919         __USE_XOPEN2K8].
34920         (CLD_KILLED): Likewise.
34921         (CLD_DUMPED): Likewise.
34922         (CLD_TRAPPED): Likewise.
34923         (CLD_STOPPED): Likewise.
34924         (CLD_CONTINUED): Likewise.
34925         (POLL_IN): Likewise.
34926         (POLL_OUT): Likewise.
34927         (POLL_MSG): Likewise.
34928         (POLL_ERR): Likewise.
34929         (POLL_PRI): Likewise.
34930         (POLL_HUP): Likewise.
34931         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
34932         (ILL_ILLOPN): Likewise.
34933         (ILL_ILLADR): Likewise.
34934         (ILL_ILLTRP): Likewise.
34935         (ILL_PRVOPC): Likewise.
34936         (ILL_PRVREG): Likewise.
34937         (ILL_COPROC): Likewise.
34938         (ILL_BADSTK): Likewise.
34939         (FPE_INTDIV): Likewise.
34940         (FPE_INTOVF): Likewise.
34941         (FPE_FLTDIV): Likewise.
34942         (FPE_FLTOVF): Likewise.
34943         (FPE_FLTUND): Likewise.
34944         (FPE_FLTRES): Likewise.
34945         (FPE_FLTINV): Likewise.
34946         (FPE_FLTSUB): Likewise.
34947         (SEGV_MAPERR): Likewise.
34948         (SEGV_ACCERR): Likewise.
34949         (BUS_ADRALN): Likewise.
34950         (BUS_ADRERR): Likewise.
34951         (BUS_OBJERR): Likewise.
34952         (BUS_MCEERR_AR): Likewise.
34953         (BUS_MCEERR_AO): Likewise.
34954         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34955         (TRAP_TRACE): Likewise.
34956         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34957         __USE_XOPEN2K8].
34958         (CLD_KILLED): Likewise.
34959         (CLD_DUMPED): Likewise.
34960         (CLD_TRAPPED): Likewise.
34961         (CLD_STOPPED): Likewise.
34962         (CLD_CONTINUED): Likewise.
34963         (POLL_IN): Likewise.
34964         (POLL_OUT): Likewise.
34965         (POLL_MSG): Likewise.
34966         (POLL_ERR): Likewise.
34967         (POLL_PRI): Likewise.
34968         (POLL_HUP): Likewise.
34969         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
34970         (ILL_ILLOPN): Likewise.
34971         (ILL_ILLADR): Likewise.
34972         (ILL_ILLTRP): Likewise.
34973         (ILL_PRVOPC): Likewise.
34974         (ILL_PRVREG): Likewise.
34975         (ILL_COPROC): Likewise.
34976         (ILL_BADSTK): Likewise.
34977         (ILL_DBLFLT): Likewise.
34978         (ILL_HARDWALL): Likewise.
34979         (FPE_INTDIV): Likewise.
34980         (FPE_INTOVF): Likewise.
34981         (FPE_FLTDIV): Likewise.
34982         (FPE_FLTOVF): Likewise.
34983         (FPE_FLTUND): Likewise.
34984         (FPE_FLTRES): Likewise.
34985         (FPE_FLTINV): Likewise.
34986         (FPE_FLTSUB): Likewise.
34987         (SEGV_MAPERR): Likewise.
34988         (SEGV_ACCERR): Likewise.
34989         (BUS_ADRALN): Likewise.
34990         (BUS_ADRERR): Likewise.
34991         (BUS_OBJERR): Likewise.
34992         (BUS_MCEERR_AR): Likewise.
34993         (BUS_MCEERR_AO): Likewise.
34994         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34995         (TRAP_TRACE): Likewise.
34996         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34997         __USE_XOPEN2K8].
34998         (CLD_KILLED): Likewise.
34999         (CLD_DUMPED): Likewise.
35000         (CLD_TRAPPED): Likewise.
35001         (CLD_STOPPED): Likewise.
35002         (CLD_CONTINUED): Likewise.
35003         (POLL_IN): Likewise.
35004         (POLL_OUT): Likewise.
35005         (POLL_MSG): Likewise.
35006         (POLL_ERR): Likewise.
35007         (POLL_PRI): Likewise.
35008         (POLL_HUP): Likewise.
35009         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
35010         (ILL_ILLOPN): Likewise.
35011         (ILL_ILLADR): Likewise.
35012         (ILL_ILLTRP): Likewise.
35013         (ILL_PRVOPC): Likewise.
35014         (ILL_PRVREG): Likewise.
35015         (ILL_COPROC): Likewise.
35016         (ILL_BADSTK): Likewise.
35017         (FPE_INTDIV): Likewise.
35018         (FPE_INTOVF): Likewise.
35019         (FPE_FLTDIV): Likewise.
35020         (FPE_FLTOVF): Likewise.
35021         (FPE_FLTUND): Likewise.
35022         (FPE_FLTRES): Likewise.
35023         (FPE_FLTINV): Likewise.
35024         (FPE_FLTSUB): Likewise.
35025         (SEGV_MAPERR): Likewise.
35026         (SEGV_ACCERR): Likewise.
35027         (BUS_ADRALN): Likewise.
35028         (BUS_ADRERR): Likewise.
35029         (BUS_OBJERR): Likewise.
35030         (BUS_MCEERR_AR): Likewise.
35031         (BUS_MCEERR_AO): Likewise.
35032         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35033         (TRAP_TRACE): Likewise.
35034         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35035         __USE_XOPEN2K8].
35036         (CLD_KILLED): Likewise.
35037         (CLD_DUMPED): Likewise.
35038         (CLD_TRAPPED): Likewise.
35039         (CLD_STOPPED): Likewise.
35040         (CLD_CONTINUED): Likewise.
35041         (POLL_IN): Likewise.
35042         (POLL_OUT): Likewise.
35043         (POLL_MSG): Likewise.
35044         (POLL_ERR): Likewise.
35045         (POLL_PRI): Likewise.
35046         (POLL_HUP): Likewise.
35047         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
35048         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
35050         [BZ #16670]
35051         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
35052         before #include of <time.h>.
35053         [!__USE_XOPEN2K] (__need_timespec): Likewise.
35054         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
35055         (test-xfail-UNIX98/sched.h/conform): Likewise.
35057 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
35059         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
35060         error absence of trapping exception support.
35061         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
35063 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
35065         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
35066         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
35067         * timezone/Makefile (testdata): Move definition above include of
35068         Rules.
35069         (test-zones): New variable.
35070         (tests-special): Add zone files.
35071         (build-testdata): Use $(evaluate-test).
35073         * elf/Makefile (tests-special): Rename tests to end with .out.
35074         ($(objpfx)noload-mem): Likewise.
35075         ($(objpfx)tst-leaks1-mem): Likewise.
35076         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
35077         * iconv/Makefile (xtests-special): Change test-iconvconfig to
35078         $(objpfx)test-iconvconfig.out.
35079         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
35080         set -e inside subshell and redirect output to file.
35081         * iconvdata/Makefile (generated): Rename tests to end with .out.
35082         Correct type.
35083         (tests-special): Rename tests to end with .out.
35084         ($(objpfx)mtrace-tst-loading): Likewise.
35085         * intl/Makefile (generated): Likewise.
35086         (tests-special): Likewise.
35087         ($(objpfx)mtrace-tst-gettext): Likewise.
35088         * misc/Makefile (generated): Likewise.
35089         (tests-special): Likewise.
35090         ($(objpfx)tst-error1-mem): Likewise.
35091         * nptl/Makefile (tests-special): Likewise.
35092         ($(objpfx)tst-stack3-mem): Likewise.
35093         (generated): Likewise.
35094         * posix/Makefile (generated): Likewise.
35095         (tests-special): Likewise.
35096         (xtests-special): Likewise.
35097         ($(objpfx)tst-fnmatch-mem): Likewise.
35098         ($(objpfx)bug-regex2-mem): Likewise.
35099         ($(objpfx)bug-regex14-mem): Likewise.
35100         ($(objpfx)bug-regex21-mem): Likewise.
35101         ($(objpfx)bug-regex31-mem): Likewise.
35102         ($(objpfx)tst-vfork3-mem): Likewise.
35103         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
35104         ($(objpfx)tst-pcre-mem): Likewise.
35105         ($(objpfx)tst-boost-mem): Likewise.
35106         ($(objpfx)bug-ga2-mem): Likewise.
35107         ($(objpfx)bug-glob2-mem): Likewise.
35108         * resolv/Makefile (generate): Likewise.
35109         (tests-special): Likewise.
35110         (xtests-special): Likewise.
35111         (generated): Likewise.
35112         ($(objpfx)mtrace-tst-leaks): Likewise.
35113         ($(objpfx)mtrace-tst-leaks2): Likewise.
35115         * scripts/merge-test-results.sh: New file.
35116         * Makefile (tests-special-notdir): New variable.
35117         (tests): Run merge-test-results.sh.
35118         (xtests): Likewise.
35119         * Rules (tests-special-notdir): New variable.
35120         (xtests-special-notdir): Likewise.
35121         (tests): Run merge-test-results.sh
35122         (xtests): Likewise.
35124         * Makeconfig (test-xfail-name): New variable.
35125         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
35126         compute variable name for expected failures.
35127         * conform/Makefile (conformtest-headers-data): New variable.
35128         (conformtest-standards): Likewise.
35129         (conformtest-headers-ISO): Likewise.
35130         (conformtest-headers-ISO99): Likewise.
35131         (conformtest-headers-ISO11): Likewise.
35132         (conformtest-headers-POSIX): Likewise.
35133         (conformtest-headers-XPG3): Likewise.
35134         (conformtest-headers-XPG4): Likewise.
35135         (conformtest-headers-UNIX98): Likewise.
35136         (conformtest-headers-XOPEN2K): Likewise.
35137         (conformtest-headers-POSIX2008): Likewise.
35138         (conformtest-headers-XOPEN2K8): Likewise.
35139         (conformtest-header-list-base): Likewise.
35140         (conformtest-header-list-tests): Likewise.
35141         (conformtest-header-base): Likewise.
35142         (conformtest-header-tests): Likewise.
35143         (tests-special): Add $(conformtest-header-list-tests).  If
35144         [$(fast-check) && !$(cross-compiling)], add
35145         $(conformtest-header-tests) instead of
35146         $(objpfx)run-conformtest.out.
35147         (generated): Add $(conformtest-header-list-base).  If
35148         [$(fast-check) && !$(cross-compiling)], add
35149         $(conformtest-header-base).  Remove previous setting.
35150         ($(conformtest-header-list-tests)): New target.
35151         (test-xfail-run-conformtest): Remove variable.
35152         ($(objpfx)run-conformtest.out): Remove target.
35153         (test-xfail-ISO11/complex.h/conform): New variable.
35154         (test-xfail-ISO11/stdalign.h/conform): Likewise.
35155         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
35156         (test-xfail-XPG3/varargs.h/conform): Likewise.
35157         (test-xfail-XPG4/varargs.h/conform): Likewise.
35158         (test-xfail-UNIX98/varargs.h/conform): Likewise.
35159         (test-xfail-XPG4/ndbm.h/conform): Likewise.
35160         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
35161         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
35162         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
35163         (test-xfail-XPG3/fcntl.h/conform): Likewise.
35164         (test-xfail-XPG3/ftw.h/conform): Likewise.
35165         (test-xfail-XPG3/grp.h/conform): Likewise.
35166         (test-xfail-XPG3/langinfo.h/conform): Likewise.
35167         (test-xfail-XPG3/limits.h/conform): Likewise.
35168         (test-xfail-XPG3/pwd.h/conform): Likewise.
35169         (test-xfail-XPG3/search.h/conform): Likewise.
35170         (test-xfail-XPG3/signal.h/conform): Likewise.
35171         (test-xfail-XPG3/stdio.h/conform): Likewise.
35172         (test-xfail-XPG3/stdlib.h/conform): Likewise.
35173         (test-xfail-XPG3/string.h/conform): Likewise.
35174         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
35175         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
35176         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
35177         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
35178         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
35179         (test-xfail-XPG3/sys/types.h/conform): Likewise.
35180         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
35181         (test-xfail-XPG3/termios.h/conform): Likewise.
35182         (test-xfail-XPG3/time.h/conform): Likewise.
35183         (test-xfail-XPG3/unistd.h/conform): Likewise.
35184         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
35185         (test-xfail-XPG4/fcntl.h/conform): Likewise.
35186         (test-xfail-XPG4/langinfo.h/conform): Likewise.
35187         (test-xfail-XPG4/netdb.h/conform): Likewise.
35188         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
35189         (test-xfail-XPG4/signal.h/conform): Likewise.
35190         (test-xfail-XPG4/stdio.h/conform): Likewise.
35191         (test-xfail-XPG4/stdlib.h/conform): Likewise.
35192         (test-xfail-XPG4/stropts.h/conform): Likewise.
35193         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
35194         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
35195         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
35196         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
35197         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
35198         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
35199         (test-xfail-XPG4/sys/time.h/conform): Likewise.
35200         (test-xfail-XPG4/sys/types.h/conform): Likewise.
35201         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
35202         (test-xfail-XPG4/termios.h/conform): Likewise.
35203         (test-xfail-XPG4/ucontext.h/conform): Likewise.
35204         (test-xfail-XPG4/unistd.h/conform): Likewise.
35205         (test-xfail-XPG4/utmpx.h/conform): Likewise.
35206         (test-xfail-POSIX/sched.h/conform): Likewise.
35207         (test-xfail-POSIX/signal.h/conform): Likewise.
35208         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
35209         (test-xfail-POSIX/tar.h/conform): Likewise.
35210         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
35211         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
35212         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
35213         (test-xfail-UNIX98/netdb.h/conform): Likewise.
35214         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
35215         (test-xfail-UNIX98/sched.h/conform): Likewise.
35216         (test-xfail-UNIX98/signal.h/conform): Likewise.
35217         (test-xfail-UNIX98/stdio.h/conform): Likewise.
35218         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
35219         (test-xfail-UNIX98/stropts.h/conform): Likewise.
35220         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
35221         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
35222         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
35223         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
35224         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
35225         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
35226         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
35227         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
35228         (test-xfail-UNIX98/unistd.h/conform): Likewise.
35229         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
35230         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
35231         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
35232         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
35233         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
35234         (test-xfail-XOPEN2K/math.h/conform): Likewise.
35235         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
35236         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
35237         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
35238         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
35239         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
35240         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
35241         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
35242         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
35243         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
35244         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
35245         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
35246         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
35247         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
35248         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
35249         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
35250         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
35251         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
35252         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
35253         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
35254         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
35255         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
35256         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
35257         (test-xfail-POSIX2008/signal.h/conform): Likewise.
35258         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
35259         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
35260         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
35261         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
35262         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
35263         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
35264         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
35265         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
35266         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
35267         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
35268         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
35269         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
35270         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
35271         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
35272         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
35273         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
35274         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
35275         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
35276         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
35277         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
35278         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
35279         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
35280         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
35281         (conformtest-cc-flags): Likewise.
35282         ($(conformtest-header-tests): New target.
35283         * conform/check-header-lists.sh: New file.
35284         * conform/run-conformtest.sh: Remove.
35286         * conform/conformtest.pl: Allow ' and \ in values given for
35287         constants.
35288         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
35289         inclusion.
35290         [POSIX] (sys/types.h): Likewise.
35291         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
35292         inclusion.
35293         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
35294         inclusion.
35295         * conform/data/signal.h-data (SIGIO): Remove expectation.
35296         [XPG3] (SIGBUS): Do not expect.
35297         [POSIX || XPG3] (SIGPOLL): Likewise.
35298         [POSIX || XPG3] (SIGPROF): Likewise.
35299         [POSIX || XPG3] (SIGSYS): Likewise.
35300         [XPG3] (SIGTRAP): Likewise.
35301         [POSIX || XPG3] (SIGURG): Likewise.
35302         [POSIX || XPG3] (SIGVTALRM): Likewise.
35303         [POSIX || XPG3] (SIGXCPU): Likewise.
35304         [POSIX || XPG3] (SIGXFSZ): Likewise.
35305         [POSIX] (SA_SIGINFO): Expect.
35306         [XPG3] (siginfo_t): Do not expect type or contents.
35307         [POSIX] (si_pid): Do not expect element.
35308         [POSIX] (si_uid): Likewise.
35309         [POSIX] (si_addr): Likewise.
35310         [POSIX] (si_status): Likewise.
35311         [POSIX] (si_band): Likewise.
35312         [XPG4] (si_value): Likewise.
35313         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
35314         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
35315         [POSIX || XPG3] (ILL_ILLADR): Likewise.
35316         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
35317         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
35318         [POSIX || XPG3] (ILL_PRVREG): Likewise.
35319         [POSIX || XPG3] (ILL_COPROC): Likewise.
35320         [POSIX || XPG3] (ILL_BADSTK): Likewise.
35321         [POSIX || XPG3] (FPE_INTDIV): Likewise.
35322         [POSIX || XPG3] (FPE_INTOVF): Likewise.
35323         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
35324         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
35325         [POSIX || XPG3] (FPE_FLTUND): Likewise.
35326         [POSIX || XPG3] (FPE_FLTRES): Likewise.
35327         [POSIX || XPG3] (FPE_FLTINV): Likewise.
35328         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
35329         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
35330         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
35331         [POSIX || XPG3] (BUS_ADRALN): Likewise.
35332         [POSIX || XPG3] (BUS_ADRERR): Likewise.
35333         [POSIX || XPG3] (BUS_OBJERR): Likewise.
35334         [POSIX || XPG3] (CLD_EXITED): Likewise.
35335         [POSIX || XPG3] (CLD_KILLED): Likewise.
35336         [POSIX || XPG3] (CLD_DUMPED): Likewise.
35337         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
35338         [POSIX || XPG3] (CLD_STOPPED): Likewise.
35339         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
35340         [POSIX || XPG3] (POLL_IN): Likewise.
35341         [POSIX || XPG3] (POLL_OUT): Likewise.
35342         [POSIX || XPG3] (POLL_MSG): Likewise.
35343         [POSIX || XPG3] (POLL_ERR): Likewise.
35344         [POSIX || XPG3] (POLL_PRI): Likewise.
35345         [POSIX || XPG3] (POLL_HUP): Likewise.
35346         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
35347         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
35348         (SIG*): Do not allow.
35349         [XPG3] (si_*): Likewise.
35350         [XPG3] (SI_*): Likewise.
35351         [XPG3 || XPG4] (sigev_*): Likewise.
35352         [XPG3 || XPG4] (SIGEV_*): Likewise.
35353         [XPG3 || XPG4] (sival_*): Likewise.
35354         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
35355         [POSIX || XPG3] (BUS_*): Likewise.
35356         [POSIX || XPG3] (CLD_*): Likewise.
35357         [POSIX || XPG3] (FPE_*): Likewise.
35358         [POSIX || XPG3] (ILL_*): Likewise.
35359         [POSIX || XPG3] (POLL_*): Likewise.
35360         [POSIX || XPG3] (SEGV_*): Likewise.
35361         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
35362         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
35363         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
35364         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
35365         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
35366         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
35367         Specify type and value.
35368         (TVERSLEN): Likewise.
35369         (REGTYPE): Likewise.
35370         (AREGTYPE): Likewise.
35371         (LNKTYPE): Likewise.
35372         (SYMTYPE): Likewise.
35373         (CHRTYPE): Likewise.
35374         (BLKTYPE): Likewise.
35375         (DIRTYPE): Likewise.
35376         (FIFOTYPE): Likewise.
35377         (CONTTYPE): Likewise.
35378         (TSUID): Likewise.
35379         (TSGID): Likewise.
35380         (TSVTX): Likewise.
35381         (TUREAD): Likewise.
35382         (TUWRITE): Likewise.
35383         (TUEXEC): Likewise.
35384         (TGREAD): Likewise.
35385         (TGWRITE): Likewise.
35386         (TGEXEC): Likewise.
35387         (TOREAD): Likewise.
35388         (TOWRITE): Likewise.
35389         (TOEXEC): Likewise.
35390         [POSIX] (TSVTX): Expect constant.
35392 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
35394         * Makefile (tests): Change dependencies to ....
35395         (tests-special): ... additions to this variable.
35396         (tests): Depend on $(tests-special).
35397         * Makerules (check-abi-list): New variable.
35398         (check-abi): Depend on $(check-abi-list).
35399         [$(subdir) = elf] (tests-special): Add
35400         $(objpfx)check-abi-libc.out.
35401         [$(build-shared) = yes && subdir] (tests-special): Add
35402         $(check-abi-list).
35403         [$(build-shared) = yes && subdir] (tests): Do not depend on
35404         check-abi.
35405         * Rules (tests): Depend on $(tests-special).
35406         (xtests): Depend on $(xtests-special).
35407         * catgets/Makefile (tests): Change dependencies to ....
35408         (tests-special): ... additions to this variable.
35409         * conform/Makefile (tests): Change dependencies to ....
35410         (tests-special): ... additions to this variable.
35411         * elf/Makefile (tests): Change dependencies to ....
35412         (tests-special): ... additions to this variable.
35413         * grp/Makefile (tests): Change dependencies to ....
35414         (tests-special): ... additions to this variable.
35415         * iconv/Makefile (xtests): Change dependencies to ....
35416         (xtests-special): ... additions to this variable.
35417         * iconvdata/Makefile (tests): Change dependencies to ....
35418         (tests-special): ... additions to this variable.
35419         * intl/Makefile (tests): Change dependencies to ....
35420         (tests-special): ... additions to this variable.  Also add
35421         $(objpfx)tst-gettext.out.
35422         * io/Makefile (tests): Change dependencies to ....
35423         (tests-special): ... additions to this variable.
35424         * libio/Makefile (tests): Change dependencies to ....
35425         (tests-special): ... additions to this variable.
35426         * malloc/Makefile (tests): Change dependencies to ....
35427         (tests-special): ... additions to this variable.
35428         * misc/Makefile (tests): Change dependencies to ....
35429         (tests-special): ... additions to this variable.
35430         * nptl/Makefile (tests): Change dependencies to ....
35431         (tests-special): ... additions to this variable.
35432         * nptl_db/Makefile (tests): Change dependencies to ....
35433         (tests-special): ... additions to this variable.
35434         * posix/Makefile (tests): Change dependencies to ....
35435         (tests-special): ... additions to this variable.
35436         (xtests): Change dependencies to ....
35437         (xtests-special): ... additions to this variable.
35438         * resolv/Makefile (tests): Change dependencies to ....
35439         (tests-special): ... additions to this variable.
35440         (xtests): Change dependencies to ....
35441         (xtests-special): ... additions to this variable.
35442         * stdio-common/Makefile (tests): Change dependencies to ....
35443         (tests-special): ... additions to this variable.
35444         (do-tst-unbputc): Remove target.
35445         (do-tst-printf): Likewise.
35446         * stdlib/Makefile (tests): Change dependencies to ....
35447         (tests-special): ... additions to this variable.
35448         * string/Makefile (tests): Change dependencies to ....
35449         (tests-special): ... additions to this variable.
35450         * sysdeps/x86/Makefile (tests): Change dependencies to ....
35451         (tests-special): ... additions to this variable.
35453         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
35454         whole file.
35455         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
35456         whole file.
35457         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
35458         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
35460         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
35461         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
35462         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
35463         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
35464         * conform/data/libgen.h-data [XPG3]: Likewise.
35465         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
35466         * conform/data/ndbm.h-data [XPG3]: Likewise.
35467         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
35468         * conform/data/netdb.h-data [XPG3]: Likewise.
35469         * conform/data/netinet/in.h-data [XPG3]: Likewise.
35470         * conform/data/poll.h-data [XPG3]: Likewise.
35471         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
35472         * conform/data/strings.h-data [XPG3]: Likewise.
35473         * conform/data/stropts.h-data [XPG3]: Likewise.
35474         * conform/data/sys/mman.h-data [XPG3]: Likewise.
35475         * conform/data/sys/resource.h-data [XPG3]: Likewise.
35476         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
35477         Likewise.
35478         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
35479         * conform/data/sys/time.h-data [XPG3]: Likewise.
35480         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
35481         * conform/data/sys/uio.h-data [XPG3]: Likewise.
35482         * conform/data/sys/un.h-data [XPG3]: Likewise.
35483         * conform/data/syslog.h-data [XPG3]: Likewise.
35484         * conform/data/ucontext.h-data [XPG3]: Likewise.
35485         * conform/data/utmpx.h-data [XPG3]: Likewise.
35486         * conform/data/varargs.h-data [UNIX98]: Enable file.
35488         * manual/Makefile (INSTALL_INFO): Remove variable setting.
35490         * math/libm-test.inc (struct test_f_f_data): Move expected results
35491         into structure for each rounding mode.
35492         (struct test_ff_f_data): Likewise.
35493         (struct test_ff_f_data_nexttoward): Likewise.
35494         (struct test_fi_f_data): Likewise.
35495         (struct test_fl_f_data): Likewise.
35496         (struct test_if_f_data): Likewise.
35497         (struct test_fff_f_data): Likewise.
35498         (struct test_c_f_data): Likewise.
35499         (struct test_f_f1_data): Likewise.
35500         (struct test_fF_f1_data): Likewise.
35501         (struct test_ffI_f1_data): Likewise.
35502         (struct test_c_c_data): Likewise.
35503         (struct test_cc_c_data): Likewise.
35504         (struct test_f_i_data): Likewise.
35505         (struct test_ff_i_data): Likewise.
35506         (struct test_f_l_data): Likewise.
35507         (struct test_f_L_data): Likewise.
35508         (struct test_fFF_11_data): Likewise.
35509         (RM_): New macro.
35510         (RM_FE_DOWNWARD): Likewise.
35511         (RM_FE_TONEAREST): Likewise.
35512         (RM_FE_TOWARDZERO): Likewise.
35513         (RM_FE_UPWARD): Likewise.
35514         (RUN_TEST_LOOP_f_f): Update references to expected results.
35515         (RUN_TEST_LOOP_2_f): Likewise.
35516         (RUN_TEST_LOOP_fff_f): Likewise.
35517         (RUN_TEST_LOOP_c_f): Likewise.
35518         (RUN_TEST_LOOP_f_f1): Likewise.
35519         (RUN_TEST_LOOP_fF_f1): Likewise.
35520         (RUN_TEST_LOOP_fI_f1): Likewise.
35521         (RUN_TEST_LOOP_ffI_f1): Likewise.
35522         (RUN_TEST_LOOP_c_c): Likewise.
35523         (RUN_TEST_LOOP_cc_c): Likewise.
35524         (RUN_TEST_LOOP_f_i): Likewise.
35525         (RUN_TEST_LOOP_f_i_tg): Likewise.
35526         (RUN_TEST_LOOP_ff_i_tg): Likewise.
35527         (RUN_TEST_LOOP_f_b): Likewise.
35528         (RUN_TEST_LOOP_f_b_tg): Likewise.
35529         (RUN_TEST_LOOP_f_l): Likewise.
35530         (RUN_TEST_LOOP_f_L): Likewise.
35531         (RUN_TEST_LOOP_fFF_11): Likewise.
35532         * math/gen-libm-test.pl (parse_args): Output four copies of
35533         expected results for each test.
35535         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
35536         (__ASSUME_UTIMES): Remove.
35537         * sysdeps/unix/sysv/linux/tile/kernel-features.h
35538         (__ASSUME_UTIMES): Likewise.
35540         * math/gen-auto-libm-tests.c: Update comment on output format.
35541         (output_for_one_input_case): Generate before-rounding and
35542         after-rounding information as conditions on output flags not
35543         floating-point format.
35544         * math/auto-libm-test-out: Regenerated.
35545         * math/gen-libm-test.pl (cond_value): New function.
35546         (or_cond_value): Use cond_value.
35547         (generate_testfile): Handle conditional exceptions.
35549 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
35551         * math/libm-test.inc (max_valid_error): New variable.
35552         (init_max_error): Take new argument specifying whether function
35553         results are exactly determined.  Set max_valid_error and bound
35554         other variables for errors based on this argument.
35555         (set_max_error): Do not record results above max_valid_error.
35556         (check_float_internal): Only accept errors of up to 0.5ulps if
35557         also at most max_valid_error.
35558         (START): Take new argument EXACT and pass it to init_max_error.
35559         (acos_test): Update call to START.
35560         (acos_test_tonearest): Likewise.
35561         (acos_test_towardzero): Likewise.
35562         (acos_test_downward): Likewise.
35563         (acos_test_upward): Likewise.
35564         (acosh_test): Likewise.
35565         (asin_test): Likewise.
35566         (asin_test_tonearest): Likewise.
35567         (asin_test_towardzero): Likewise.
35568         (asin_test_downward): Likewise.
35569         (asin_test_upward): Likewise.
35570         (asinh_test): Likewise.
35571         (atan_test): Likewise.
35572         (atanh_test): Likewise.
35573         (atan2_test): Likewise.
35574         (cabs_test): Likewise.
35575         (cacos_test): Likewise.
35576         (cacosh_test): Likewise.
35577         (carg_test): Likewise.
35578         (casin_test): Likewise.
35579         (casinh_test): Likewise.
35580         (catan_test): Likewise.
35581         (catanh_test): Likewise.
35582         (cbrt_test): Likewise.
35583         (ccos_test): Likewise.
35584         (ccosh_test): Likewise.
35585         (ceil_test): Likewise.
35586         (cexp_test): Likewise.
35587         (cimag_test): Likewise.
35588         (clog_test): Likewise.
35589         (clog10_test): Likewise.
35590         (conj_test): Likewise.
35591         (copysign_test): Likewise.
35592         (cos_test): Likewise.
35593         (cos_test_tonearest): Likewise.
35594         (cos_test_towardzero): Likewise.
35595         (cos_test_downward): Likewise.
35596         (cos_test_upward): Likewise.
35597         (cosh_test): Likewise.
35598         (cosh_test_tonearest): Likewise.
35599         (cosh_test_towardzero): Likewise.
35600         (cosh_test_downward): Likewise.
35601         (cosh_test_upward): Likewise.
35602         (cpow_test): Likewise.
35603         (cproj_test): Likewise.
35604         (creal_test): Likewise.
35605         (csin_test): Likewise.
35606         (csinh_test): Likewise.
35607         (csqrt_test): Likewise.
35608         (ctan_test): Likewise.
35609         (ctan_test_tonearest): Likewise.
35610         (ctan_test_towardzero): Likewise.
35611         (ctan_test_downward): Likewise.
35612         (ctan_test_upward): Likewise.
35613         (ctanh_test): Likewise.
35614         (ctanh_test_tonearest): Likewise.
35615         (ctanh_test_towardzero): Likewise.
35616         (ctanh_test_downward): Likewise.
35617         (ctanh_test_upward): Likewise.
35618         (erf_test): Likewise.
35619         (erfc_test): Likewise.
35620         (exp_test): Likewise.
35621         (exp_test_tonearest): Likewise.
35622         (exp_test_towardzero): Likewise.
35623         (exp_test_downward): Likewise.
35624         (exp_test_upward): Likewise.
35625         (exp10_test): Likewise.
35626         (exp10_test_tonearest): Likewise.
35627         (exp10_test_towardzero): Likewise.
35628         (exp10_test_downward): Likewise.
35629         (exp10_test_upward): Likewise.
35630         (pow10_test): Likewise.
35631         (exp2_test): Likewise.
35632         (expm1_test): Likewise.
35633         (expm1_test_tonearest): Likewise.
35634         (expm1_test_towardzero): Likewise.
35635         (expm1_test_downward): Likewise.
35636         (expm1_test_upward): Likewise.
35637         (fabs_test): Likewise.
35638         (fdim_test): Likewise.
35639         (floor_test): Likewise.
35640         (fma_test): Likewise.
35641         (fma_test_towardzero): Likewise.
35642         (fma_test_downward): Likewise.
35643         (fma_test_upward): Likewise.
35644         (fmax_test): Likewise.
35645         (fmin_test): Likewise.
35646         (fmod_test): Likewise.
35647         (fpclassify_test): Likewise.
35648         (frexp_test): Likewise.
35649         (hypot_test): Likewise.
35650         (ilogb_test): Likewise.
35651         (isfinite_test): Likewise.
35652         (finite_test): Likewise.
35653         (isgreater_test): Likewise.
35654         (isgreaterequal_test): Likewise.
35655         (isinf_test): Likewise.
35656         (isless_test): Likewise.
35657         (islessequal_test): Likewise.
35658         (islessgreater_test): Likewise.
35659         (isnan_test): Likewise.
35660         (isnormal_test): Likewise.
35661         (issignaling_test): Likewise.
35662         (isunordered_test): Likewise.
35663         (j0_test): Likewise.
35664         (j1_test): Likewise.
35665         (jn_test): Likewise.
35666         (ldexp_test): Likewise.
35667         (lgamma_test): Likewise.
35668         (gamma_test): Likewise.
35669         (lrint_test): Likewise.
35670         (lrint_test_tonearest): Likewise.
35671         (lrint_test_towardzero): Likewise.
35672         (lrint_test_downward): Likewise.
35673         (lrint_test_upward): Likewise.
35674         (llrint_test): Likewise.
35675         (llrint_test_tonearest): Likewise.
35676         (llrint_test_towardzero): Likewise.
35677         (llrint_test_downward): Likewise.
35678         (llrint_test_upward): Likewise.
35679         (log_test): Likewise.
35680         (log10_test): Likewise.
35681         (log1p_test): Likewise.
35682         (log2_test): Likewise.
35683         (logb_test): Likewise.
35684         (logb_test_downward): Likewise.
35685         (lround_test): Likewise.
35686         (llround_test): Likewise.
35687         (modf_test): Likewise.
35688         (nearbyint_test): Likewise.
35689         (nextafter_test): Likewise.
35690         (nexttoward_test): Likewise.
35691         (pow_test): Likewise.
35692         (pow_test_tonearest): Likewise.
35693         (pow_test_towardzero): Likewise.
35694         (pow_test_downward): Likewise.
35695         (pow_test_upward): Likewise.
35696         (remainder_test): Likewise.
35697         (drem_test): Likewise.
35698         (remainder_test_tonearest): Likewise.
35699         (drem_test_tonearest): Likewise.
35700         (remainder_test_towardzero): Likewise.
35701         (drem_test_towardzero): Likewise.
35702         (remainder_test_downward): Likewise.
35703         (drem_test_downward): Likewise.
35704         (remainder_test_upward): Likewise.
35705         (drem_test_upward): Likewise.
35706         (remquo_test): Likewise.
35707         (rint_test): Likewise.
35708         (rint_test_tonearest): Likewise.
35709         (rint_test_towardzero): Likewise.
35710         (rint_test_downward): Likewise.
35711         (rint_test_upward): Likewise.
35712         (round_test): Likewise.
35713         (scalb_test): Likewise.
35714         (scalbn_test): Likewise.
35715         (scalbln_test): Likewise.
35716         (signbit_test): Likewise.
35717         (sin_test): Likewise.
35718         (sin_test_tonearest): Likewise.
35719         (sin_test_towardzero): Likewise.
35720         (sin_test_downward): Likewise.
35721         (sin_test_upward): Likewise.
35722         (sincos_test): Likewise.
35723         (sinh_test): Likewise.
35724         (sinh_test_tonearest): Likewise.
35725         (sinh_test_towardzero): Likewise.
35726         (sinh_test_downward): Likewise.
35727         (sinh_test_upward): Likewise.
35728         (sqrt_test): Likewise.
35729         (sqrt_test_tonearest): Likewise.
35730         (sqrt_test_towardzero): Likewise.
35731         (sqrt_test_downward): Likewise.
35732         (sqrt_test_upward): Likewise.
35733         (tan_test): Likewise.
35734         (tan_test_tonearest): Likewise.
35735         (tan_test_towardzero): Likewise.
35736         (tan_test_downward): Likewise.
35737         (tan_test_upward): Likewise.
35738         (tanh_test): Likewise.
35739         (tgamma_test): Likewise.
35740         (trunc_test): Likewise.
35741         (y0_test): Likewise.
35742         (y1_test): Likewise.
35743         (yn_test): Likewise.
35744         (significand_test): Likewise.
35746         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
35747         individual tests in comment.
35748         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
35749         (prev_max_error): New variable.
35750         (prev_real_max_error): Likewise.
35751         (prev_imag_max_error): Likewise.
35752         (compare_ulp_data): Don't refer to test names in comment.
35753         (find_test_ulps): Remove function.
35754         (find_function_ulps): Likewise.
35755         (find_complex_function_ulps): Likewise.
35756         (init_max_error): Take function name as argument.  Look up ulps
35757         for that function.
35758         (print_ulps): Remove function.
35759         (print_max_error): Use prev_max_error instead of calling
35760         find_function_ulps.
35761         (print_complex_max_error): Use prev_real_max_error and
35762         prev_imag_max_error instead of calling find_complex_function_ulps.
35763         (check_float_internal): Take max_ulp parameter instead of calling
35764         find_test_ulps.  Don't call print_ulps.
35765         (check_float): Update call to check_float_internal.
35766         (check_complex): Update calls to check_float_internal.
35767         (START): Pass argument to init_max_error.
35768         * math/gen-libm-test.pl (%results): Don't include "kind"
35769         information.
35770         (parse_ulps): Don't handle ulps of individual tests.
35771         (print_ulps_file): Likewise.
35772         (output_ulps): Likewise.
35773         * math/README.libm-test: Update.
35774         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
35775         individual tests.
35776         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
35777         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
35778         * sysdeps/arm/libm-test-ulps: Likewise.
35779         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
35780         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
35781         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
35782         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
35783         * sysdeps/microblaze/libm-test-ulps: Likewise.
35784         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
35785         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
35786         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35787         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
35788         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
35789         * sysdeps/sh/libm-test-ulps: Likewise.
35790         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
35791         * sysdeps/tile/libm-test-ulps: Likewise.
35792         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35794 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
35796         * math/libm-test.inc (print_complex_max_error): Check separately
35797         whether real and imaginary errors are within allowed range and
35798         pass 0 to print_complex_function_ulps instead of value within
35799         allowed range.
35801 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
35803         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
35804         formatting.
35805         (get_handles_fopen): Likewise.
35806         (do_write_test): Likewise.
35808         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
35810         * libio/fileops.c (do_ftell): Use cached offset when
35811         available.
35812         * libio/iofwide.c (do_ftell_wide): Likewise.
35813         * libio/iofdopen.c (_IO_new_fdopen): Don't use
35814         _IO_file_attach.
35815         * libio/wfileops.c (_IO_fwide): Don't cache offset.
35817         [BZ #16532]
35818         * libio/libioP.h (get_file_offset): New function.
35819         * libio/fileops.c (get_file_offset): Likewise.
35820         (do_ftell): Likewise.
35821         (_IO_new_file_seekoff): Split out ftell logic.
35822         * libio/wfileops.c (do_ftell_wide): Likewise.
35823         (_IO_wfile_seekoff): Split out ftell logic.
35824         * libio/tst-ftell-active-handler.c: New test case.
35825         * libio/Makefile (tests): Add it.
35827 2014-03-03  Roland McGrath  <roland@hack.frob.com>
35829         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
35830         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
35832 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
35834         [BZ #16639]
35835         * nscd/connections.c (nscd_init): Call do_exit.
35836         (start_threads): Call do_exit and notify_parent.
35837         (begin_drop_privileges): Call do_exit.
35838         (finish_drop_privileges): Likewise.
35839         * nscd/selinux.c (preserve_capabilities): Likewise.
35840         (install_real_capabilities): Likewise.
35841         (nscd_selinux_enabled): Likewise.
35842         (avc_create_thread): Likewise.
35843         (avc_alloc_lock): Likewise.
35844         (nscd_avc_init): Likewise.
35845         * nscd/nscd.c (parent_fd): New static variable.
35846         (main): Create a pipe between parent and child processes.
35847         Skip closing parent_fd.
35848         (monitor_child): New function.
35849         (do_exit): Likewise.
35850         (notify_parent): Likewise.
35851         * nscd/nscd.h (notify_parent): Likewise.
35852         (do_exit): Likewise.
35854 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
35856         * malloc/malloc.c (__libc_calloc): Revert last change.
35858 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35860         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35862 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
35864         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
35865         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
35866         implementation.
35867         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
35868         (__libc_ifunc_impl_list): Likewise.
35869         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
35870         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
35871         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
35872         * string/strrchr.c: Define STRRCHR.
35874 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
35876         * benchtest/bench-strtok.c (simple_strtok): Delete.
35877         (strtok_string): Use as benchmark.
35878         * string/strtok (STRTOK): New macro.
35880 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
35882         * manual/threads.texi: Add header and standard comments to all
35883         functions.
35885         * elf/dl-lookup.c (check_match): New function.
35886         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
35887         (do_lookup_x): Remove nested function check_match. Use non-nested
35888         function check_match.
35890 2014-02-28  Roland McGrath  <roland@hack.frob.com>
35892         * csu/Makefile (generated, before-compile): Use += rather than =.
35893         * catgets/Makefile (generated, generated-dirs): Likewise.
35894         * debug/Makefile (generated): Likewise.
35895         * dlfcn/Makefile (generated): Likewise.
35896         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
35897         * iconvdata/Makefile (before-compile, generated): Likewise.
35898         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
35899         * libio/Makefile (generated): Likewise.
35900         * malloc/Makefile (generated): Likewise.
35901         * manual/Makefile (generated, generated-dirs): Likewise.
35902         * misc/Makefile (generated): Likewise.
35903         * posix/Makefile (generated): Likewise.
35904         * resolv/Makefile (generated): Likewise.
35905         * sunrpc/Makefile (generated, generated-dirs): Likewise.
35906         * timezone/Makefile (generated, generated-dirs): Likewise.
35908         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
35910 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35912         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
35913         power8 implementation.
35914         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
35915         file: POWER8 llround ifunc implementation.
35916         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
35917         (__lllround): Add POWER8 implementation.
35918         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
35919         POWER8 llround implementation.
35921         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
35922         power8 implementation.
35923         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
35924         file: POWER8 llrint ifunc implementation.
35925         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
35926         Add POWER8 implementation.
35927         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
35928         POWER8 llrint implementation.
35930         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
35931         power8 implementation.
35932         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
35933         file: POWER8 finite ifunc implementation.
35934         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
35935         Add POWER8 implementation.
35936         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
35937         Likewise.
35938         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
35939         POWER8 finite implementation.
35940         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
35942         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
35943         power8 implementation.
35944         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
35945         file: POWER8 isinf ifunc implementation.
35946         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
35947         POWER8 implementation.
35948         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
35949         Likewise.
35950         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
35951         isinf implementation.
35952         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
35954         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
35955         (INIT_ARCH): Add hwcap2 initialization.
35956         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
35957         power8 implementation.
35958         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
35959         file: POWER8 isnan ifunc implementation.
35960         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
35961         POWER8 implementation.
35962         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
35963         Likewise.
35964         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
35965         isnan implementation.
35966         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
35968 2014-02-27  Joey Ye  <joey.ye@arm.com>
35970         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
35971         (_FP_NANFRAC_Q): Set to zero.
35973 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
35975         [BZ #16623]
35976         * math/auto-libm-test-in: New test inputs.
35977         * math/auto-libm-test-out: Regenerate.
35978         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
35979         and DA.
35980         (__cos): Likewise.
35981         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
35983 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
35985         * scripts/evaluate-test.sh: Take new argument indicating whether
35986         failure is expected.
35987         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
35988         indicating whether failure is expected.
35989         * conform/Makefile (test-xfail-run-conformtest): New variable.
35990         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
35991         level.
35992         * posix/Makefile (test-xfail-annexc): New variable.
35993         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
35995 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
35997         * argp/Makefile: Include Makeconfig immediately after defining
35998         subdir.
35999         * assert/Makefile: Likewise.
36000         * benchtests/Makefile: Likewise.
36001         * catgets/Makefile: Likewise.
36002         * conform/Makefile: Likewise.
36003         * crypt/Makefile: Likewise.
36004         * csu/Makefile: Likewise.
36005         (all): Remove target.
36006         * ctype/Makefile: Include Makeconfig immediately after defining
36007         subdir.
36008         * debug/Makefile: Likewise.
36009         * dirent/Makefile: Likewise.
36010         * dlfcn/Makefile: Likewise.
36011         * gmon/Makefile: Likewise.
36012         * gnulib/Makefile: Likewise.
36013         * grp/Makefile: Likewise.
36014         * gshadow/Makefile: Likewise.
36015         * hesiod/Makefile: Likewise.
36016         * hurd/Makefile: Likewise.
36017         (all): Remove target.
36018         * iconvdata/Makefile: Include Makeconfig immediately after
36019         defining subdir.
36020         * inet/Makefile: Likewise.
36021         * intl/Makefile: Likewise.
36022         * io/Makefile: Likewise.
36023         * libio/Makefile: Likewise.
36024         (all): Remove target.
36025         * locale/Makefile: Include Makeconfig immediately after defining
36026         subdir.
36027         * login/Makefile: Likewise.
36028         * mach/Makefile: Likewise.
36029         (all): Remove target.
36030         * malloc/Makefile: Include Makeconfig immediately after defining
36031         subdir.
36032         (all): Remove target.
36033         * manual/Makefile: Include Makeconfig immediately after defining
36034         subdir.
36035         * math/Makefile: Likewise.
36036         * misc/Makefile: Likewise.
36037         * nis/Makefile: Likewise.
36038         * nss/Makefile: Likewise.
36039         * po/Makefile: Likewise.
36040         (all): Remove target.
36041         * posix/Makefile: Include Makeconfig immediately after defining
36042         subdir.
36043         * pwd/Makefile: Likewise.
36044         * resolv/Makefile: Likewise.
36045         * resource/Makefile: Likewise.
36046         * rt/Makefile: Likewise.
36047         * setjmp/Makefile: Likewise.
36048         * shadow/Makefile: Likewise.
36049         * signal/Makefile: Likewise.
36050         * socket/Makefile: Likewise.
36051         * soft-fp/Makefile: Likewise.
36052         * stdio-common/Makefile: Likewise.
36053         * stdlib/Makefile: Likewise.
36054         * streams/Makefile: Likewise.
36055         * string/Makefile: Likewise.
36056         * sunrpc/Makefile: Likewise.
36057         (all): Remove target.
36058         * sysvipc/Makefile: Include Makeconfig immediately after defining
36059         subdir.
36060         * termios/Makefile: Likewise.
36061         * time/Makefile: Likewise.
36062         * timezone/Makefile: Likewise.
36063         (all): Remove target.
36064         * wcsmbs/Makefile: Include Makeconfig immediately after defining
36065         subdir.
36066         * wctype/Makefile: Likewise.
36068 2014-02-26  Steve Ellcey  <sellcey@mips.com>
36070         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
36071         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
36072         (libc_feholdexcept_setround_mips): Ditto.
36073         (libc_feholdsetround): New.
36074         (libc_feholdsetroundf): New.
36075         (libc_feholdsetroundl): New.
36076         (libc_feupdateenv_test_mips): New.
36077         (libc_feupdateenv_test): New.
36078         (libc_feupdateenv_testf): New.
36079         (libc_feupdateenv_testl): New.
36080         (libc_feresetround): New.
36081         (libc_feresetroundf): New.
36082         (libc_feresetroundl): New.
36083         (libc_fetestexcept_mips): New.
36084         (libc_fetestexcept): New.
36085         (libc_fetestexceptf): New.
36086         (libc_fetestexceptl): New.
36087         (HAVE_RM_CTX): New.
36088         (libc_feholdexcept_setround_mips_ctx): New.
36089         (libc_feholdexcept_setround_ctx): New.
36090         (libc_feholdexcept_setroundf_ctx): New.
36091         (libc_feholdexcept_setroundl_ctx): New.
36092         (libc_fesetenv_mips_ctx): New.
36093         (libc_fesetenv_ctx): New.
36094         (libc_fesetenv_ctxf): New.
36095         (libc_fesetenv_ctxl): New.
36096         (libc_feupdateenv_mips_ctx): New.
36097         (libc_feupdateenv_ctx): New.
36098         (libc_feupdateenvf_ctx): New.
36099         (libc_feupdateenvl_ctx): New.
36100         (libc_feholdsetround_mips_ctx): New.
36101         (libc_feholdsetround_ctx): New.
36102         (libc_feholdsetroundf_ctx): New.
36103         (libc_feholdsetroundl_ctx): New.
36104         (libc_feresetround_mips_ctx): New.
36105         (libc_feresetround_ctx): New.
36106         (libc_feresetroundf_ctx): New.
36107         (libc_feresetroundl_ctx): New.
36109 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
36111         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
36113         * manual/ipc.texi: New file.
36114         * manual/Makefile (chapters): Add ipc.
36115         * manual/job.texi: Add "Inter-Process Communication" to next.
36116         * manual/process.texi: Add "Inter-Process Communication" to prev.
36118 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36120         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36122 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
36124         * malloc/malloc.c (__libc_calloc): Simplify implementation.
36126         * manual/arith.texi: Fix spaces after sentences.
36127         * manual/charset.texi: Likewise.
36128         * manual/errno.texi: Likewise.
36129         * manual/install.texi: Likewise.
36130         * manual/llio.texi: Likewise.
36131         * manual/locale.texi: Likewise.
36132         * manual/maint.texi: Likewise.
36133         * manual/math.texi: Likewise.
36134         * manual/memory.texi: Likewise.
36135         * manual/message.texi: Likewise.
36136         * manual/probes.texi: Likewise.
36137         * manual/resource.texi: Likewise.
36138         * manual/signal.texi: Likewise.
36139         * manual/socket.texi: Likewise.
36140         * manual/stdio.texi: Likewise.
36141         * manual/string.texi: Likewise.
36142         * manual/time.texi: Likewise.
36143         * manual/users.texi: Likewise.
36145 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
36147         [BZ #16632]
36148         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
36149         _DEFAULT_SOURCE is defined.
36151 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
36152             Carlos O'Donell  <carlos@redhat.com>
36154         [BZ #16613]
36155         * elf/dl-tls.c (_dl_count_modids): New function.
36156         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
36157         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
36158         audit library and increment generation counter.
36159         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
36160         * elf/tst-audit9.c: New file.
36161         * elf/tst-auditmod9a.c: New file.
36162         * elf/tst-auditmod9b.c: New file.
36163         * elf/Makefile: Add rules to build and run tst-audit9.
36165 2014-02-25  Florian Weimer  <fweimer@redhat.com>
36167         [BZ #15347]
36168         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
36170 2014-02-25  Will Newton  <will.newton@linaro.org>
36172         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
36173         (__longjmp): Restore sp and lr before restoring callee
36174         saved registers.  Add longjmp and longjmp_target
36175         SystemTap probe point.
36176         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
36177         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
36178         Define to zero to match jmpbuf layout.
36179         * sysdeps/arm/setjmp.S: Include stap-probe.h.
36180         (__sigsetjmp): Save sp and lr before saving callee
36181         saved registers.  Add setjmp SystemTap probe point.
36183 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
36185         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
36187 2014-02-24  Andreas Schwab  <schwab@suse.de>
36189         [BZ #15804]
36190         * elf/pldd.c (wait_for_ptrace_stop): New function.
36191         (main): Call it after attaching.
36193 2014-02-22  Roland McGrath  <roland@hack.frob.com>
36195         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
36196         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
36197         Versions files is now verboten.
36198         * hurd/Versions (libc: GLIBC_2.0):
36199         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
36200         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
36201         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
36202         * mach/Versions: Likewise.
36204         * csu/Versions: Remove unused %include.
36205         * resolv/Versions: Likewise.
36207 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
36209         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
36210         ($(objpfx)check-local-headers.out): Likewise.
36211         ($(objpfx)begin-end-check.out): Likewise.
36212         * Makerules (check-abi-%.out): Likewise.
36213         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
36214         ($(objpfx)test2.cat): Likewise.
36215         ($(objpfx)de/libc.cat): Likewise.
36216         ($(objpfx)test-gencat.out): Likewise.
36217         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
36218         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
36219         ($(objpfx)noload-mem): Likewise.
36220         ($(objpfx)tst-pathopt.out): Likewise.
36221         ($(objpfx)tst-rtld-load-self.out): Likewise.
36222         ($(objpfx)tst-array1-cmp.out): Likewise.
36223         ($(objpfx)tst-array1-static-cmp.out): Likewise.
36224         ($(objpfx)tst-array2-cmp.out): Likewise.
36225         ($(objpfx)tst-array3-cmp.out): Likewise.
36226         ($(objpfx)tst-array4-cmp.out): Likewise.
36227         ($(objpfx)tst-array5-cmp.out): Likewise.
36228         ($(objpfx)tst-array5-static-cmp.out): Likewise.
36229         ($(objpfx)check-textrel.out): Likewise.
36230         ($(objpfx)check-execstack.out): Likewise.
36231         ($(objpfx)check-localplt.out): Likewise.
36232         ($(objpfx)order2-cmp.out): Likewise.
36233         ($(objpfx)tst-leaks1-mem): Likewise.
36234         ($(objpfx)tst-leaks1-static-mem): Likewise.
36235         ($(objpfx)tst-initorder-cmp.out): Likewise.
36236         ($(objpfx)tst-initorder2-cmp.out): Likewise.
36237         ($(objpfx)tst-unused-dep.out): Likewise.
36238         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
36239         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
36240         * iconv/Makefile (test-iconvconfig): Likewise.
36241         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
36242         ($(objpfx)iconv-test.out): Likewise.
36243         ($(objpfx)tst-tables.out): Likewise.
36244         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
36245         ($(objpfx)tst-gettext.out): Likewise.
36246         ($(objpfx)tst-translit.out): Likewise.
36247         ($(objpfx)tst-gettext2.out): Likewise.
36248         ($(objpfx)tst-gettext4.out): Likewise.
36249         ($(objpfx)tst-gettext6.out): Likewise.
36250         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
36251         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
36252         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
36253         ($(objpfx)tst-fopenloc-mem.out): Likewise.
36254         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
36255         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
36256         * posix/Makefile ($(objpfx)globtest.out): Likewise.
36257         ($(objpfx)wordexp-tst.out): Likewise.
36258         ($(objpfx)annexc.out): Likewise.
36259         ($(objpfx)tst-fnmatch-mem): Likewise.
36260         ($(objpfx)bug-regex2-mem): Likewise.
36261         ($(objpfx)bug-regex14-mem): Likewise.
36262         ($(objpfx)bug-regex21-mem): Likewise.
36263         ($(objpfx)bug-regex31-mem): Likewise.
36264         ($(objpfx)tst-vfork3-mem): Likewise.
36265         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
36266         ($(objpfx)tst-pcre-mem): Likewise.
36267         ($(objpfx)tst-boost-mem): Likewise.
36268         ($(objpfx)tst-getconf.out): Likewise.
36269         ($(objpfx)bug-ga2-mem): Likewise.
36270         ($(objpfx)bug-glob2-mem): Likewise.
36271         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
36272         ($(objpfx)mtrace-tst-leaks2): Likewise.
36273         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
36274         ($(objpfx)tst-printf.out): Likewise.
36275         ($(objpfx)tst-setvbuf1.out): Likewise.
36276         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
36277         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
36278         ($(objpfx)tst-fmtmsg.out): Likewise.
36279         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
36280         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
36282         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
36283         * bits/sigaction.h [__USE_MISC]: Likewise.
36284         * bits/waitstatus.h: Update #endif comments.
36285         * ctype/ctype.h: Likewise.
36286         * dirent/dirent.h: Likewise.
36287         [__USE_MISC]: Remove redundant conditionals.
36288         * grp/grp.h: Update #endif comments.
36289         [__USE_GNU]: Remove redundant conditionals.
36290         [__USE_MISC]: Likewise.
36291         * inet/netinet/in.h [__USE_GNU]: Likewise.
36292         * io/sys/stat.h [__USE_MISC]: Likewise.
36293         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
36294         * libio/bits/stdio.h: Update #endif comments.
36295         [__USE_MISC]: Remove redundant conditionals.
36296         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
36297         * libio/stdio.h: Update #endif comments.
36298         [__USE_MISC]: Remove redundant conditionals.
36299         * math/bits/math-finite.h [__USE_MISC]: Likewise.
36300         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
36301         * math/math.h: Update #else and #endif comments.
36302         [__USE_MISC]: Remove redundant conditionals.
36303         * misc/sys/uio.h: Update #endif comments.
36304         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
36305         * posix/glob.h [__USE_MISC]: Likewise.
36306         * posix/sys/types.h: Update #endif comments.
36307         [__USE_MISC]: Remove redundant conditionals.
36308         * posix/sys/wait.h: Update #endif comments.
36309         [__USE_MISC]: Remove redundant conditionals.
36310         * posix/unistd.h: Update #endif comments.
36311         [__USE_MISC]: Remove redundant conditionals.
36312         * pwd/pwd.h [__USE_GNU]: Likewise.
36313         [__USE_MISC]: Likewise.
36314         * resolv/netdb.h [__USE_GNU]: Likewise.
36315         * signal/signal.h: Update #endif comments.
36316         [__USE_MISC]: Remove redundant conditionals.
36317         * stdlib/stdlib.h: Update #else and #endif comments.
36318         [__USE_MISC]: Remove redundant conditionals.
36319         [__USE_GNU]: Likewise.
36320         * string/bits/string2.h [__USE_MISC]: Likewise.
36321         * string/string.h: Update #endif comments.
36322         [__USE_MISC]: Remove redundant conditionals.
36323         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
36324         Likewise.
36325         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
36326         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
36327         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
36328         Likewise.
36329         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
36330         Likewise.
36331         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
36332         comments.
36333         [__USE_MISC]: Remove redundant conditionals.
36334         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
36335         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
36336         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
36337         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
36338         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
36339         Likewise.
36340         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
36341         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
36342         Likewise.
36343         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
36344         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
36345         Likewise.
36346         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
36347         Likewise.
36348         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
36349         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
36350         Likewise.
36351         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
36352         Likewise.
36353         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
36354         * sysdeps/x86/bits/string.h: Update #endif comments.
36355         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
36356         conditionals.
36357         * time/sys/time.h: Update #endif comments.
36358         * time/time.h: Likewise.
36359         [__USE_MISC]: Remove redundant conditionals.
36361 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
36363         [BZ #16600]
36364         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
36366 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
36368         * Versions.def (librt): Add GLIBC_2.17.
36370 2014-02-21  Adam Conrad  <adconrad@0c3.net>
36372         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
36373         synonym for _SYS_AUXV_H to allow direct inclusion.
36374         * sysdeps/sparc/bits/hwcap.h: Likewise.
36375         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
36376         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
36377         * sysdeps/sparc/sysdep.h: Likewise.
36379 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36381         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
36383 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
36385         * benchtests/bench-strrchr.c: Print length instead of position.
36387 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
36389         [BZ #16611]
36390         * sysdeps/unix/sysv/linux/kernel-features.h
36391         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
36392         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
36393         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
36394         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
36395         Likewise.
36396         [__i386__ || __powerpc__ || __sh__ || __sparc__]
36397         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36398         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
36399         (__ASSUME_SENDMMSG): Define instead of using previous
36400         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
36401         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
36402         (__ASSUME_SENDMMSG_SYSCALL): Define.
36403         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
36404         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
36405         Likewise.
36406         * sysdeps/unix/sysv/linux/arm/kernel-features.h
36407         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
36408         Likewise.
36409         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
36410         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
36411         Likewise.
36412         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
36413         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
36414         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
36415         [__ASSUME_SENDMMSG]: Change conditionals to
36416         [__ASSUME_SENDMMSG_SOCKETCALL].
36417         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36418         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
36419         Define.
36420         * sysdeps/unix/sysv/linux/mips/kernel-features.h
36421         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
36422         Likewise.
36423         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
36424         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
36425         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
36426         [!__ASSUME_SENDMMSG]: Change conditional to
36427         [!__ASSUME_SENDMMSG_SOCKETCALL].
36428         * sysdeps/unix/sysv/linux/tile/kernel-features.h
36429         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
36430         Define.
36432         [BZ #16610]
36433         * sysdeps/unix/sysv/linux/kernel-features.h
36434         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
36435         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
36436         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
36437         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
36438         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
36439         [__i386__ || __sparc__]
36440         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36441         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
36442         (__ASSUME_RECVMMSG): Define instead of using previous
36443         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
36444         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
36445         (__ASSUME_RECVMMSG_SYSCALL): Define.
36446         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
36447         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
36448         Likewise.
36449         * sysdeps/unix/sysv/linux/arm/kernel-features.h
36450         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
36451         Likewise.
36452         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
36453         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
36454         Likewise.
36455         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
36456         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
36457         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
36458         [__ASSUME_RECVMMSG]: Change condition to
36459         [__ASSUME_RECVMMSG_SOCKETCALL].
36460         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36461         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
36462         Define.
36463         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36464         * sysdeps/unix/sysv/linux/mips/kernel-features.h
36465         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
36466         Likewise.
36467         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
36468         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
36469         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
36470         [!__ASSUME_RECVMMSG]: Change condition to
36471         [!__ASSUME_RECVMMSG_SOCKETCALL].
36472         * sysdeps/unix/sysv/linux/tile/kernel-features.h
36473         (__ASSUME_RECVMMSG_SYSCALL): Define.
36475         [BZ #16609]
36476         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
36477         __powerpc__ || __s390__ || __sh__ || __sparc__]
36478         (__ASSUME_SOCKETCALL): Define.
36479         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
36480         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
36481         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
36482         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
36483         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
36484         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
36485         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
36486         (__ASSUME_ACCEPT4): Define instead of using previous
36487         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
36488         __powerpc__ || __sparc__ || __s390__)] condition.
36489         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
36490         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
36491         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
36492         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
36493         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
36494         [!__ASSUME_ACCEPT4]: Change condition to
36495         [!__ASSUME_ACCEPT4_SOCKETCALL].
36496         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
36497         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
36498         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
36499         * sysdeps/unix/sysv/linux/arm/kernel-features.h
36500         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
36501         __ASSUME_ACCEPT4_SYSCALL.
36502         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
36503         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
36504         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
36505         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
36506         __ASSUME_ACCEPT4_SYSCALL.
36507         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
36508         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
36509         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
36510         [__ASSUME_ACCEPT4]: Change condition to
36511         [__ASSUME_ACCEPT4_SOCKETCALL].
36512         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
36513         (__ASSUME_SOCKETCALL): Define.
36514         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
36515         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36516         (__ASSUME_SOCKETCALL): Define.
36517         (__ASSUME_ACCEPT4): Remove.
36518         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
36519         Define.
36520         * sysdeps/unix/sysv/linux/mips/kernel-features.h
36521         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
36522         Likewise.
36523         * sysdeps/unix/sysv/linux/tile/kernel-features.h
36524         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
36526         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
36527         macro.
36528         (HWCAP_ARM_LPAE): Likewise.
36529         (HWCAP_ARM_EVTSTRM): Likewise.
36530         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
36531         Add vpfd32, lpae and evtstrm.
36532         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
36533         Increase to 22.
36535 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
36537         * math/auto-libm-test-in: Add tests of clog10.
36538         * math/auto-libm-test-out: Regenerated.
36539         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
36540         * sysdeps/i386/fpu/libm-test-ulps: Update.
36541         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36543 2014-02-18  Andreas Schwab  <schwab@suse.de>
36545         [BZ #16574]
36546         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
36547         Store non-zero if the second buffer was newly allocated.
36548         (send_dg): Likewise.
36549         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
36550         to send_vc and send_dg.
36551         (res_nsend): Pass NULL for ansp2_malloced.
36552         * resolv/res_query.c (__libc_res_nquery): Add parameter
36553         answerp2_malloced and pass it down to __libc_res_nsend.
36554         (res_nquery): Pass additional NULL to __libc_res_nquery.
36555         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
36556         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
36557         second answer buffer if answerp2_malloced was set.
36558         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
36559         (__libc_res_nquerydomain): Add parameter
36560         answerp2_malloced and pass it down to __libc_res_nquery.
36561         (res_nquerydomain): Pass additional NULL to
36562         __libc_res_nquerydomain.
36563         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
36564         additional NULL to __libc_res_nsend and __libc_res_nquery.
36565         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
36566         additional NULL to __libc_res_nsearch.
36567         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
36568         parameter of __libc_res_nsearch to check for separately allocated
36569         second buffer.
36570         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
36571         __libc_res_nquery.
36572         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
36573         additional NULL to __libc_res_nquery.
36574         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
36575         __libc_res_nsearch.
36576         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
36577         * include/resolv.h: Update prototypes of __libc_res_nquery,
36578         __libc_res_nsearch, __libc_res_nsend.
36580 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
36582         * math/auto-libm-test-in: Add tests of fma.
36583         * math/auto-libm-test-out: Regenerated.
36584         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
36585         (fma_towardzero_test_data): Likewise.
36586         (fma_downward_test_data): Likewise.
36587         (fma_upward_test_data): Likewise.
36588         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
36589         mpc_mode.
36590         (rounding_modes): Add values for new field.
36591         (func_calc_method): Add value mpfr_fff_f.
36592         (func_calc_desc): Add mpfr_fff_f union field.
36593         (test_function): Add field exact_args.
36594         (FUNC): Add macro argument EXACT_ARGS.
36595         (FUNC_mpfr_f_f): Update call to FUNC.
36596         (FUNC_mpfr_f_f): Likewise.
36597         (FUNC_mpfr_ff_f): Likewise.
36598         (FUNC_mpfr_if_f): Likewise.
36599         (FUNC_mpc_c_f): Likewise.
36600         (FUNC_mpc_c_c): Likewise.
36601         (test_functions): Add fma.  Update calls to FUNC.
36602         (handle_input_arg): Add argument exact_args.
36603         (add_test): Update call to handle_input_arg.
36604         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
36605         (output_for_one_input_case): Update call to calc_generic_results.
36606         Recalculate exact zero results in each rounding mode.
36608         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
36609         non-negative before setting low bit.
36610         * math/auto-libm-test-in: Mark one asin test possibly having
36611         spurious underflow.
36612         * math/auto-libm-test-out: Regenerated.
36613         * sysdeps/i386/fpu/libm-test-ulps: Update.
36614         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36616 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
36618         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
36619         * sysdeps/unix/sysv/linux/microblaze: Move directory from
36620         ports/sysdeps/unix/sysv/linux/microblaze.
36621         * README: Add missing listing for microblaze*-*-linux-gnu.
36623 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
36625         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
36626         duplicate code
36628 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
36630         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
36631         * sysdeps/unix/sysv/linux/ia64: Move directory from
36632         ports/sysdeps/unix/sysv/linux/ia64.
36633         * README: Update listing for ia64-*-linux-gnu.
36635 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
36636             Joseph Myers  <joseph@codesourcery.com>
36638         * Makeconfig (test-name): New variable.
36639         (evaluate-test): Likewise.
36640         * Makerules (do-test-clean): Remove .test-result files.
36641         (common-mostlyclean): Likewise.
36642         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
36643         * scripts/evaluate-test.sh: New file.
36645 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
36647         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
36648         separate $(objpfx)tst-fopenloc-cmp.out and
36649         $(objpfx)tst-fopenloc-mem.out targets.
36650         (tests): Update dependencies.
36651         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
36652         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
36653         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
36654         (tst-rxspencer-no-utf8-ARGS): New variable.
36655         (tst-rxspencer-no-utf8-ENV): Likewise.
36656         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
36657         instead of $(objpfx)tst-rxspencer-mem.
36658         ($(objpfx)tst-rxspencer-mem): Change target to
36659         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
36660         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
36661         * posix/tst-rxspencer-no-utf8.c: New file.
36663         * elf/Makefile ($(objpfx)order.out): Remove rule.
36664         [$(run-built-tests) = yes] (tests): Depend on
36665         $(objpfx)order-cmp.out.
36666         ($(objpfx)order-cmp.out): New rule.
36667         [$(run-built-tests) = yes] (tests): Depend on
36668         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
36669         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
36670         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
36671         $(objpfx)tst-array5-static-cmp.out.
36672         ($(objpfx)tst-array1.out): Remove rule.
36673         ($(objpfx)tst-array1-cmp.out): New rule.
36674         ($(objpfx)tst-array1-static.out): Remove rule.
36675         ($(objpfx)tst-array1-static-cmp.out): New rule.
36676         ($(objpfx)tst-array2.out): Remove rule.
36677         ($(objpfx)tst-array2-cmp.out): New rule.
36678         ($(objpfx)tst-array3.out): Remove rule.
36679         ($(objpfx)tst-array3-cmp.out): New rule.
36680         ($(objpfx)tst-array4.out): Remove rule.
36681         ($(objpfx)tst-array4-cmp.out): New rule.
36682         ($(objpfx)tst-array5.out): Remove rule.
36683         ($(objpfx)tst-array5-cmp.out): New rule.
36684         ($(objpfx)tst-array5-static.out): Remove rule.
36685         ($(objpfx)tst-array5-static-cmp.out): New rule.
36686         [$(run-built-tests) = yes] (tests): Depend on
36687         $(objpfx)order2-cmp.out.
36688         ($(objpfx)order2.out): Remove rule.
36689         ($(objpfx)order2-cmp.out): New rule.
36690         ($(objpfx)tst-initorder.out): Remove rule.
36691         [$(run-built-tests) = yes] (tests): Depend on
36692         $(objpfx)tst-initorder-cmp.out.
36693         ($(objpfx)tst-initorder-cmp.out): New rule.
36694         ($(objpfx)tst-initorder2.out): Remove rule.
36695         [$(run-built-tests) = yes] (tests): Depend on
36696         $(objpfx)tst-initorder2-cmp.out.
36697         ($(objpfx)tst-initorder2-cmp.out): New rule.
36698         [$(run-built-tests) = yes] (tests): Depend on
36699         $(objpfx)tst-unused-dep-cmp.out.
36700         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
36701         ($(objpfx)tst-unused-dep-cmp.out): New rule.
36702         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
36703         on $(objpfx)tst-setvbuf1-cmp.out.
36704         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
36705         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
36706         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
36707         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
36708         ($(objpfx)tst-svc.out): Remove rule.
36709         ($(objpfx)tst-svc-cmp.out): New rule.
36711 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
36713         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
36714         * ctype/ctype.h [__USE_MISC]: Likewise.
36715         * dirent/dirent.h [__USE_MISC]: Likewise.
36716         * grp/grp.h [__USE_MISC]: Likewise.
36717         * io/fcntl.h [__USE_MISC]: Likewise.
36718         * io/sys/stat.h [__USE_MISC]: Likewise.
36719         * libio/stdio.h [__USE_MISC]: Likewise.
36720         * posix/unistd.h [__USE_MISC]: Likewise.
36721         * pwd/pwd.h [__USE_MISC]: Likewise.
36722         * stdlib.h [__USE_MISC]: Likewise.
36723         * string/bits/string2.h [__USE_MISC]: Likewise.
36724         * string/string.h [__USE_MISC]: Likewise.
36725         * time/time.h [__USE_MISC]: Likewise.
36727 2014-02-13  Andreas Schwab  <schwab@suse.de>
36729         [BZ #16574]
36730         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
36731         second answer buffer if it was separately allocated.
36733 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
36735         * sysdeps/mips/math-tests.h: Include <features.h>.
36736         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
36737         (ROUNDING_TESTS_long_double): Do not define.
36738         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
36739         (EXCEPTION_TESTS_long_double): Likewise.
36740         * sysdeps/mips/mips64/libm-test-ulps: Update.
36742         * include/features.h (__USE_BSD): Remove macro definitions.
36743         (__USE_SVID): Likewise.
36744         (_BSD_SOURCE): Likewise.
36745         (_SVID_SOURCE): Likewise.
36746         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
36747         from definition of _DEFAULT_SOURCE.
36748         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
36749         [_DEFAULT_SOURCE].
36750         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
36751         * bits/mman.h [__USE_BSD]: Likewise.
36752         * bits/termios.h [__USE_BSD]: Likewise.
36753         * bits/waitstatus.h [__USE_BSD]: Likewise.
36754         * ctype/ctype.h [__USE_SVID]: Likewise.
36755         * dirent/dirent.h [__USE_BSD]: Likewise.
36756         * grp/grp.h [__USE_SVID]: Likewise.
36757         [__USE_BSD]: Likewise.
36758         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
36759         * io/fcntl.h [__USE_BSD]: Likewise.
36760         * io/ftw.h [__USE_BSD]: Likewise.
36761         * io/sys/stat.h [__USE_BSD]: Likewise.
36762         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
36763         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
36764         * libio/stdio.h [__USE_SVID]: Likewise.
36765         [__USE_BSD]: Likewise.
36766         * math/math.h [__USE_SVID]: Likewise.
36767         [__USE_BSD]: Likewise.
36768         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
36769         * misc/bits/syslog.h [__USE_BSD]: Likewise.
36770         * misc/search.h [__USE_SVID]: Likewise.
36771         * misc/sys/mman.h [__USE_BSD]: Likewise.
36772         * misc/sys/syslog.h [__USE_BSD]: Likewise.
36773         * misc/sys/uio.h [__USE_BSD]: Likewise.
36774         * posix/bits/unistd.h [__USE_BSD]: Likewise.
36775         * posix/glob.h [__USE_BSD]: Likewise.
36776         * posix/regex.h [__USE_BSD]: Likewise.
36777         * posix/sys/types.h [__USE_BSD]: Likewise.
36778         [__USE_SVID]: Likewise.
36779         * posix/sys/utsname.h [__USE_SVID]: Likewise.
36780         * posix/sys/wait.h [__USE_BSD]: Likewise.
36781         [__USE_SVID]: Likewise.
36782         * posix/unistd.h [__USE_BSD]: Likewise.
36783         [__USE_SVID]: Likewise.
36784         * pwd/pwd.h [__USE_SVID]: Likewise.
36785         * resolv/netdb.h [__USE_BSD]: Likewise.
36786         * setjmp/setjmp.h [__USE_BSD]: Likewise.
36787         * signal/signal.h [__USE_BSD]: Likewise.
36788         [__USE_SVID]: Likewise.
36789         * socket/sys/socket.h [__USE_BSD]: Likewise.
36790         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
36791         * stdlib/stdlib.h [__USE_BSD]: Likewise.
36792         [__USE_SVID]: Likewise.
36793         * string/bits/string2.h [__USE_BSD]: Likewise.
36794         [__USE_SVID]: Likewise.
36795         * string/bits/string3.h [__USE_BSD]: Likewise.
36796         * string/endian.h [__USE_BSD]: Likewise.
36797         * string/string.h [__USE_SVID]: Likewise.
36798         [__USE_BSD]: Likewise.
36799         * string/strings.h [__USE_BSD]: Likewise.
36800         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
36801         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
36802         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
36803         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
36804         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
36805         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
36806         Likewise.
36807         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
36808         Likewise.
36809         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
36810         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
36811         Likewise.
36812         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
36813         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
36814         Likewise.
36815         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
36816         Likewise.
36817         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
36818         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
36819         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
36820         Likewise.
36821         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
36822         Likewise.
36823         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
36824         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
36825         * termios/termios.h [__USE_BSD]: Likewise.
36826         * time/sys/time.h [__USE_BSD]: Likewise.
36827         * time/time.h [__USE_BSD]: Likewise.
36828         [__USE_SVID]: Likewise.
36830         * Makefile (subdir_targets): Remove subdir_lint.out.
36832         * stdio-common/Makefile (do-tst-unbputc): Remove target.
36833         (do-tst-printf): Likewise.
36834         (tests): Depend directly on $(objpfx)tst-unbputc.out and
36835         $(objpfx)tst-printf.out.
36837         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
36839         * Makerules (check-abi-%): Change target to
36840         $(objpfx)check-abi-%.out.
36841         (check-abi target): Update dependencies.
36842         (check-abi-pattern variable): Redirect output of diff to $@.
36843         (check-abi variable): Likewise.
36844         * elf/Makefile (check-abi): Update dependencies.
36846         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
36847         unused.
36848         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
36849         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
36850         subnormal range.
36851         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
36852         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
36853         value has largest subnormal exponent.
36854         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
36855         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
36856         * sysdeps/aarch64/soft-fp/sfp-machine.h
36857         (_FP_TININESS_AFTER_ROUNDING): New macro.
36858         * sysdeps/alpha/soft-fp/sfp-machine.h
36859         (_FP_TININESS_AFTER_ROUNDING): Likewise.
36860         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
36861         Likewise.
36862         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
36863         (_FP_TININESS_AFTER_ROUNDING): Likewise.
36864         * sysdeps/mips/soft-fp/sfp-machine.h
36865         (_FP_TININESS_AFTER_ROUNDING): Likewise.
36866         * sysdeps/powerpc/soft-fp/sfp-machine.h
36867         (_FP_TININESS_AFTER_ROUNDING): Likewise.
36868         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
36869         Likewise.
36870         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
36871         (_FP_TININESS_AFTER_ROUNDING): Likewise.
36872         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
36873         (_FP_TININESS_AFTER_ROUNDING): Likewise.
36874         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
36875         Likewise.
36877 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
36879         [BZ #16545]
36880         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
36881         model 1.
36883 2014-02-12  Richard Henderson  <rth@redhat.com>
36885         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
36886         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
36887         * sysdeps/unix/sysv/linux/alpha: Move directory from
36888         ports/sysdeps/unix/sysv/linux/alpha.
36889         * README: Update listing for alpha-*-linux-gnu.
36891 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
36893         * include/features.h: Update comment documenting feature test
36894         macros.
36895         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
36896         _DEFAULT_SOURCE.
36897         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
36898         (_SVID_SOURCE): Likewise.
36899         (_DEFAULT_SOURCE): Update description of default features.
36900         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
36901         with _GNU_SOURCE.
36902         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
36903         (S_ISVTX): Likewise.
36904         * manual/math.texi (Mathematical Constants): Likewise.
36905         * manual/signal.texi (Interrupted Primitives): Likewise.
36906         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
36907         * math/test-matherr.c (_SVID_SOURCE): Do not define.
36908         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
36909         Don't refer to _SVID_SOURCE in warning text.
36911         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36913         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
36914         already defined.
36915         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
36916         * sysdeps/mips/dl-lookup.c: Remove.
36917         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
36919 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
36921         [BZ #16447]
36922         * math/auto-libm-test-in: Add testcase for expl.
36923         * math/auto-libm-test-out: Regenerate.
36924         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
36925         calculation of unsafe.
36926         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
36928 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
36930         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
36931         * sysdeps/unix/sysv/linux/aarch64: Move directory from
36932         ports/sysdeps/unix/sysv/linux/aarch64.
36933         * README: Update listing for aarch64*-*-linux-gnu.
36935 2014-02-11  Will Newton  <will.newton@linaro.org>
36937         * manual/probes.texi (Mathematical Function Probes): Use
36938         "triggered" instead of "hit".
36940         * manual/probes.texi (Internal Probes): Add documentation
36941         of setjmp, longjmp and longjmp_target probes.
36943         * include/stap-probe.h: Add comment about probe argument
36944         format.
36946         * malloc/mtrace.c (attribute_hidden): Remove unused macro
36947         definition.  (tr_where, tr_freehook, tr_mallochook,
36948         tr_reallochook, tr_memalignhook): Use ANSI protoype.
36950 2014-02-11  David S. Miller  <davem@davemloft.net>
36952         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
36953         processing int_tests.
36955 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
36957         * sysdeps/mips: Move directory from ports/sysdeps/mips.
36958         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
36959         * sysdeps/unix/sysv/linux/mips: Move directory from
36960         ports/sysdeps/unix/sysv/linux/mips.
36961         * README: Update listing for mips-*-linux-gnu and
36962         mips64-*-linux-gnu.
36964 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
36966         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
36967         * sysdeps/unix/sysv/linux/m68k: Move directory from
36968         ports/sysdeps/unix/sysv/linux/m68k.
36969         * README: Update listing for m68k-*-linux-gnu.
36971 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
36973         * sysdeps/tile: Move directory from ports/sysdeps/tile.
36974         * sysdeps/unix/sysv/linux/generic: Move directory from
36975         ports/sysdeps/unix/sysv/linux/generic.
36976         * sysdeps/unix/sysv/linux/tile: Move directory from
36977         ports/sysdeps/unix/sysv/linux/tile.
36978         * README: Update listing for tile*-*-linux-gnu.
36980 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
36982         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
36983         __builtin_expect.
36984         * benchtests/bench-memmem.c (simple_memmem): Likewise.
36985         * catgets/open_catalog.c (__open_catalog): Likewise.
36986         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
36987         * debug/confstr_chk.c: Likewise.
36988         * debug/fread_chk.c (__fread_chk): Likewise.
36989         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
36990         * debug/getgroups_chk.c: Likewise.
36991         * debug/mbsnrtowcs_chk.c: Likewise.
36992         * debug/mbsrtowcs_chk.c: Likewise.
36993         * debug/mbstowcs_chk.c: Likewise.
36994         * debug/memcpy_chk.c: Likewise.
36995         * debug/memmove_chk.c: Likewise.
36996         * debug/mempcpy_chk.c: Likewise.
36997         * debug/memset_chk.c: Likewise.
36998         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
36999         * debug/strcat_chk.c (__strcat_chk): Likewise.
37000         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
37001         * debug/strncat_chk.c (__strncat_chk): Likewise.
37002         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
37003         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
37004         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
37005         * debug/wcpncpy_chk.c: Likewise.
37006         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
37007         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
37008         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
37009         * debug/wcsncpy_chk.c: Likewise.
37010         * debug/wcsnrtombs_chk.c: Likewise.
37011         * debug/wcsrtombs_chk.c: Likewise.
37012         * debug/wcstombs_chk.c: Likewise.
37013         * debug/wmemcpy_chk.c: Likewise.
37014         * debug/wmemmove_chk.c: Likewise.
37015         * debug/wmempcpy_chk.c: Likewise.
37016         * debug/wmemset_chk.c: Likewise.
37017         * dirent/scandirat.c (SCANDIRAT): Likewise.
37018         * dlfcn/dladdr1.c (dladdr1): Likewise.
37019         * dlfcn/dladdr.c (dladdr): Likewise.
37020         * dlfcn/dlclose.c (dlclose_doit): Likewise.
37021         * dlfcn/dlerror.c (__dlerror): Likewise.
37022         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
37023         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
37024         * dlfcn/dlopen.c (dlopen_doit): Likewise.
37025         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
37026         * dlfcn/dlsym.c (dlsym_doit): Likewise.
37027         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
37028         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
37029         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
37030         Likewise.
37031         * elf/dl-conflict.c: Likewise.
37032         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
37033         * elf/dl-dst.h: Likewise.
37034         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
37035         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
37036         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
37037         * elf/dl-init.c (call_init, _dl_init): Likewise.
37038         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
37039         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
37040         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
37041         Likewise.
37042         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
37043         Likewise.
37044         * elf/dl-minimal.c (__libc_memalign): Likewise.
37045         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
37046         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
37047         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
37048         * elf/dl-sym.c (do_sym): Likewise.
37049         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
37050         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
37051         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
37052         * elf/dl-writev.h (_dl_writev): Likewise.
37053         * elf/ldconfig.c (search_dir): Likewise.
37054         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
37055         (dl_main): Likewise.
37056         * elf/setup-vdso.h (setup_vdso): Likewise.
37057         * grp/compat-initgroups.c (compat_call): Likewise.
37058         * grp/fgetgrent.c (fgetgrent): Likewise.
37059         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
37060         * grp/putgrent.c (putgrent): Likewise.
37061         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
37062         Likewise.
37063         * hurd/hurdinit.c: Likewise.
37064         * iconvdata/8bit-gap.c (struct): Likewise.
37065         * iconvdata/ansi_x3.110.c : Likewise.
37066         * iconvdata/big5.c : Likewise.
37067         * iconvdata/big5hkscs.c : Likewise.
37068         * iconvdata/cp1255.c: Likewise.
37069         * iconvdata/cp1258.c : Likewise.
37070         * iconvdata/cp932.c : Likewise.
37071         * iconvdata/euc-cn.c: Likewise.
37072         * iconvdata/euc-jisx0213.c : Likewise.
37073         * iconvdata/euc-jp.c: Likewise.
37074         * iconvdata/euc-jp-ms.c : Likewise.
37075         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
37076         * iconvdata/gb18030.c : Likewise.
37077         * iconvdata/gbbig5.c (const): Likewise.
37078         * iconvdata/gbgbk.c: Likewise.
37079         * iconvdata/gbk.c : Likewise.
37080         * iconvdata/ibm1364.c : Likewise.
37081         * iconvdata/ibm930.c : Likewise.
37082         * iconvdata/ibm932.c: Likewise.
37083         * iconvdata/ibm933.c : Likewise.
37084         * iconvdata/ibm935.c : Likewise.
37085         * iconvdata/ibm937.c : Likewise.
37086         * iconvdata/ibm939.c : Likewise.
37087         * iconvdata/ibm943.c: Likewise.
37088         * iconvdata/iso_11548-1.c: Likewise.
37089         * iconvdata/iso-2022-cn.c : Likewise.
37090         * iconvdata/iso-2022-cn-ext.c : Likewise.
37091         * iconvdata/iso-2022-jp-3.c: Likewise.
37092         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
37093         * iconvdata/iso-2022-kr.c : Likewise.
37094         * iconvdata/iso646.c (gconv_end): Likewise.
37095         * iconvdata/iso_6937-2.c : Likewise.
37096         * iconvdata/iso_6937.c : Likewise.
37097         * iconvdata/iso8859-1.c: Likewise.
37098         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
37099         * iconvdata/shift_jisx0213.c : Likewise.
37100         * iconvdata/sjis.c : Likewise.
37101         * iconvdata/t.61.c : Likewise.
37102         * iconvdata/tcvn5712-1.c : Likewise.
37103         * iconvdata/tscii.c: Likewise.
37104         * iconvdata/uhc.c : Likewise.
37105         * iconvdata/unicode.c (gconv_end): Likewise.
37106         * iconvdata/utf-16.c (gconv_end): Likewise.
37107         * iconvdata/utf-32.c (gconv_end): Likewise.
37108         * iconvdata/utf-7.c (base64): Likewise.
37109         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
37110         * iconv/gconv_close.c (__gconv_close): Likewise.
37111         * iconv/gconv_open.c (__gconv_open): Likewise.
37112         * iconv/gconv_simple.c (internal_ucs4_loop_single)
37113         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
37114         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
37115         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
37116         (ucs4le_internal_loop_single): Likewise.
37117         * iconv/iconv.c (iconv): Likewise.
37118         * iconv/iconv_close.c: Likewise.
37119         * iconv/loop.c (SINGLE): Likewise.
37120         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
37121         * include/atomic.h: Likewise.
37122         * inet/inet6_option.c (option_alloc): Likewise.
37123         * intl/bindtextdom.c (set_binding_values): Likewise.
37124         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
37125         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
37126         * intl/localealias.c (read_alias_file): Likewise.
37127         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
37128         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
37129         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
37130         * libio/fmemopen.c (fmemopen): Likewise.
37131         * libio/iofgets.c (_IO_fgets): Likewise.
37132         * libio/iofgets_u.c (fgets_unlocked): Likewise.
37133         * libio/iofgetws.c (fgetws): Likewise.
37134         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
37135         * libio/iogetdelim.c (_IO_getdelim): Likewise.
37136         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
37137         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
37138         * locale/findlocale.c (_nl_find_locale): Likewise.
37139         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
37140         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
37141         Likewise.
37142         * locale/setlocale.c (setlocale): Likewise.
37143         * login/programs/pt_chown.c (main): Likewise.
37144         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
37145         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
37146         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
37147         (mmap, mmap64, mremap, munmap): Likewise.
37148         * math/e_exp2l.c: Likewise.
37149         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
37150         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
37151         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
37152         * math/s_catan.c (__catan): Likewise.
37153         * math/s_catanf.c (__catanf): Likewise.
37154         * math/s_catanh.c (__catanh): Likewise.
37155         * math/s_catanhf.c (__catanhf): Likewise.
37156         * math/s_catanhl.c (__catanhl): Likewise.
37157         * math/s_catanl.c (__catanl): Likewise.
37158         * math/s_ccosh.c (__ccosh): Likewise.
37159         * math/s_ccoshf.c (__ccoshf): Likewise.
37160         * math/s_ccoshl.c (__ccoshl): Likewise.
37161         * math/s_cexp.c (__cexp): Likewise.
37162         * math/s_cexpf.c (__cexpf): Likewise.
37163         * math/s_cexpl.c (__cexpl): Likewise.
37164         * math/s_clog10.c (__clog10): Likewise.
37165         * math/s_clog10f.c (__clog10f): Likewise.
37166         * math/s_clog10l.c (__clog10l): Likewise.
37167         * math/s_clog.c (__clog): Likewise.
37168         * math/s_clogf.c (__clogf): Likewise.
37169         * math/s_clogl.c (__clogl): Likewise.
37170         * math/s_csin.c (__csin): Likewise.
37171         * math/s_csinf.c (__csinf): Likewise.
37172         * math/s_csinh.c (__csinh): Likewise.
37173         * math/s_csinhf.c (__csinhf): Likewise.
37174         * math/s_csinhl.c (__csinhl): Likewise.
37175         * math/s_csinl.c (__csinl): Likewise.
37176         * math/s_csqrt.c (__csqrt): Likewise.
37177         * math/s_csqrtf.c (__csqrtf): Likewise.
37178         * math/s_csqrtl.c (__csqrtl): Likewise.
37179         * math/s_ctan.c (__ctan): Likewise.
37180         * math/s_ctanf.c (__ctanf): Likewise.
37181         * math/s_ctanh.c (__ctanh): Likewise.
37182         * math/s_ctanhf.c (__ctanhf): Likewise.
37183         * math/s_ctanhl.c (__ctanhl): Likewise.
37184         * math/s_ctanl.c (__ctanl): Likewise.
37185         * math/w_pow.c: Likewise.
37186         * math/w_powf.c: Likewise.
37187         * math/w_powl.c: Likewise.
37188         * math/w_scalb.c (sysv_scalb): Likewise.
37189         * math/w_scalbf.c (sysv_scalbf): Likewise.
37190         * math/w_scalbl.c (sysv_scalbl): Likewise.
37191         * misc/error.c (error_tail): Likewise.
37192         * misc/pselect.c (__pselect): Likewise.
37193         * nis/nis_callback.c (__nis_create_callback): Likewise.
37194         * nis/nis_call.c (__nisfind_server): Likewise.
37195         * nis/nis_creategroup.c (nis_creategroup): Likewise.
37196         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
37197         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
37198         * nis/nis_getservlist.c (nis_getservlist): Likewise.
37199         * nis/nis_lookup.c (nis_lookup): Likewise.
37200         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
37201         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
37202         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
37203         * nis/nis_xdr.c (xdr_endpoint): Likewise.
37204         * nis/nss_compat/compat-grp.c (getgrent_next_file)
37205         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
37206         * nis/nss_compat/compat-initgroups.c (add_group)
37207         (internal_getgrent_r): Likewise.
37208         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
37209         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
37210         * nis/nss_compat/compat-spwd.c (getspent_next_file)
37211         (internal_getspnam_r): Likewise.
37212         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
37213         (_nss_nis_getaliasbyname_r): Likewise.
37214         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
37215         (_nss_nis_getntohost_r): Likewise.
37216         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
37217         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
37218         (_nss_nis_getgrgid_r): Likewise.
37219         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
37220         (internal_nis_gethostent_r, internal_gethostbyname2_r)
37221         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
37222         (_nss_nis_gethostbyname4_r): Likewise.
37223         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
37224         (initgroups_netid): Likewise.
37225         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
37226         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
37227         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
37228         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
37229         (_nss_nis_getprotobynumber_r): Likewise.
37230         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
37231         (_nss_nis_getsecretkey): Likewise.
37232         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
37233         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
37234         (_nss_nis_getpwuid_r): Likewise.
37235         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
37236         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
37237         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
37238         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
37239         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
37240         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
37241         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
37242         Likewise.
37243         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
37244         (_nss_nisplus_getntohost_r): Likewise.
37245         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
37246         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
37247         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
37248         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
37249         Likewise.
37250         * nis/nss_nisplus/nisplus-initgroups.c
37251         (_nss_nisplus_initgroups_dyn): Likewise.
37252         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
37253         (_nss_nisplus_getnetbyaddr_r): Likewise.
37254         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
37255         (_nss_nisplus_getprotobynumber_r): Likewise.
37256         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
37257         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
37258         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
37259         Likewise.
37260         * nis/nss_nisplus/nisplus-service.c
37261         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
37262         (_nss_nisplus_getservbyport_r): Likewise.
37263         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
37264         (_nss_nisplus_getspnam_r): Likewise.
37265         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
37266         Likewise.
37267         * nscd/aicache.c (addhstaiX): Likewise.
37268         * nscd/cache.c (cache_search, prune_cache): Likewise.
37269         * nscd/connections.c (register_traced_file, send_ro_fd)
37270         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
37271         (main_loop_epoll): Likewise.
37272         * nscd/grpcache.c (addgrbyX): Likewise.
37273         * nscd/hstcache.c (addhstbyX): Likewise.
37274         * nscd/initgrcache.c (addinitgroupsX): Likewise.
37275         * nscd/mem.c (gc, mempool_alloc): Likewise.
37276         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
37277         (addinnetgrX): Likewise.
37278         * nscd/nscd-client.h (__nscd_acquire_maplock)
37279         (__nscd_drop_map_ref): Likewise.
37280         * nscd/nscd_getai.c (__nscd_getai): Likewise.
37281         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
37282         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
37283         Likewise.
37284         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
37285         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
37286         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
37287         (__nscd_get_map_ref): Likewise.
37288         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
37289         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
37290         Likewise.
37291         * nscd/pwdcache.c (addpwbyX): Likewise.
37292         * nscd/selinux.c (preserve_capabilities): Likewise.
37293         * nscd/servicescache.c (addservbyX): Likewise.
37294         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
37295         * posix/fnmatch.c (fnmatch): Likewise.
37296         * posix/getopt.c (_getopt_internal_r): Likewise.
37297         * posix/glob.c (glob, glob_in_dir): Likewise.
37298         * posix/wordexp.c (exec_comm_child): Likewise.
37299         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
37300         (getanswer_r, gaih_getanswer_slice): Likewise.
37301         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
37302         * resolv/res_init.c: Likewise.
37303         * resolv/res_mkquery.c (res_nmkquery): Likewise.
37304         * resolv/res_query.c (__libc_res_nquery): Likewise.
37305         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
37306         Likewise.
37307         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
37308         * stdio-common/perror.c (perror): Likewise.
37309         * stdio-common/printf_fp.c (___printf_fp): Likewise.
37310         * stdio-common/tmpnam.c (tmpnam): Likewise.
37311         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
37312         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
37313         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
37314         Likewise.
37315         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
37316         * stdlib/putenv.c (putenv): Likewise.
37317         * stdlib/setenv.c (__add_to_environ): Likewise.
37318         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
37319         * stdlib/strtol_l.c (INTERNAL): Likewise.
37320         * string/memmem.c (memmem): Likewise.
37321         * string/strerror.c (strerror): Likewise.
37322         * string/strnlen.c (__strnlen): Likewise.
37323         * string/test-memmem.c (simple_memmem): Likewise.
37324         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
37325         * sunrpc/pm_getport.c (__get_socket): Likewise.
37326         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
37327         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
37328         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
37329         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
37330         Likewise.
37331         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
37332         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
37333         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
37334         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
37335         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
37336         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
37337         Likewise.
37338         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
37339         Likewise.
37340         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
37341         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
37342         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
37343         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
37344         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
37345         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
37346         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
37347         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
37348         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
37349         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
37350         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
37351         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
37352         Likewise.
37353         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
37354         Likewise.
37355         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
37356         Likewise.
37357         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
37358         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
37359         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
37360         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
37361         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
37362         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
37363         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
37364         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
37365         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
37366         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
37367         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
37368         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
37369         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
37370         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
37371         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37372         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
37373         Likewise.
37374         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
37375         Likewise.
37376         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
37377         Likewise.
37378         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
37379         Likewise.
37380         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
37381         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37382         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
37383         Likewise.
37384         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
37385         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
37386         * sysdeps/posix/opendir.c (__opendirat): Likewise.
37387         * sysdeps/posix/sleep.c: Likewise.
37388         * sysdeps/posix/tempname.c: Likewise.
37389         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
37390         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
37391         Likewise.
37392         * sysdeps/powerpc/powerpc32/dl-machine.h
37393         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
37394         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
37395         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
37396         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
37397         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
37398         Likewise.
37399         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
37400         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
37401         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
37402         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
37403         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
37404         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
37405         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
37406         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
37407         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
37408         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
37409         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
37410         (elf_machine_lazy_rel): Likewise.
37411         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
37412         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
37413         (elf_machine_lazy_rel): Likewise.
37414         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
37415         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
37416         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
37417         * sysdeps/unix/grantpt.c (grantpt): Likewise.
37418         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
37419         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
37420         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
37421         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37422         Likewise.
37423         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
37424         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
37425         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
37426         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
37427         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
37428         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
37429         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
37430         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
37431         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
37432         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
37433         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
37434         Likewise.
37435         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
37436         (__posix_fallocate64_l64): Likewise.
37437         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
37438         (posix_fallocate): Likewise.
37439         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
37440         Likewise.
37441         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
37442         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
37443         (getifaddrs_internal): Likewise.
37444         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
37445         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
37446         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
37447         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
37448         * sysdeps/unix/sysv/linux/posix_fallocate64.c
37449         (__posix_fallocate64_l64): Likewise.
37450         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
37451         Likewise.
37452         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
37453         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
37454         (__get_clockfreq): Likewise.
37455         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
37456         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
37457         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
37458         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
37459         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
37460         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
37461         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
37462         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
37463         Likewise.
37464         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
37465         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
37466         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
37467         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
37468         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
37469         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
37470         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
37471         Likewise.
37472         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
37473         (posix_fallocate): Likewise.
37474         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
37475         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
37476         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
37477         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
37478         (elf_machine_rela, elf_machine_rela_relative)
37479         (elf_machine_lazy_rel): Likewise.
37480         * time/asctime.c (asctime_internal): Likewise.
37481         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
37482         * time/tzset.c (__tzset_parse_tz): Likewise.
37483         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
37484         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
37485         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
37486         * wcsmbs/wcsmbsload.h: Likewise.
37488         [BZ #15894]
37489         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
37491         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
37492         (arena_get2): Remove THREAD_STATS conditionals.
37493         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
37494         (__malloc_stats, int): Likewise.
37496 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
37498         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
37499         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
37501         * manual/setjmp.texi: Fix typos/grammar errors.
37503         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
37504         Only return early when n is <= 0.  Delete unused return statement.
37506         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
37507         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
37508         * debug/tst-longjmp_chk3.c: New file.
37510         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
37511         (test_main): Replace code with set_fortify_handler call.
37512         * debug/test-strcpy_chk.c: Likewise.
37513         * debug/tst-chk1.c: Likewise.
37514         * debug/tst-longjmp_chk.c: Likewise.
37515         * test-skeleton.c: Include fcntl.h & paths.h
37516         (set_fortify_handler): Define.
37518         * debug/tst-longjmp_chk.c: Add header comment and include
37519         ../test-skeleton.c.
37520         (do_test): Mark static.
37521         (TEST_FUNCTION): Define.
37523         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
37524         (IP_PMTUDISC_INTERFACE): Likewise.
37525         (IP_MULTICAST_IF): Likewise.
37526         (IP_MULTICAST_TTL): Likewise.
37527         (IP_MULTICAST_LOOP): Likewise.
37528         (IP_ADD_MEMBERSHIP): Likewise.
37529         (IP_DROP_MEMBERSHIP): Likewise.
37530         (IP_UNBLOCK_SOURCE): Likewise.
37531         (IP_BLOCK_SOURCE): Likewise.
37532         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
37533         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
37534         (IP_MSFILTER): Likewise.
37535         (MCAST_JOIN_GROUP): Likewise.
37536         (MCAST_BLOCK_SOURCE): Likewise.
37537         (MCAST_UNBLOCK_SOURCE): Likewise.
37538         (MCAST_LEAVE_GROUP): Likewise.
37539         (MCAST_JOIN_SOURCE_GROUP): Likewise.
37540         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
37541         (MCAST_MSFILTER): Likewise.
37542         (IP_MULTICAST_ALL): Likewise.
37543         (IP_UNICAST_IF): Likewise.
37545         * timezone/Makefile: Delete $(have-ksh) check.
37546         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
37547         * timezone/tzselect.ksh: Add +x mode bits.
37549         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
37550         (ANON_INODE_FS_MAGIC): Likewise.
37551         (BDEVFS_MAGIC): Likewise.
37552         (BINFMTFS_MAGIC): Likewise.
37553         (BTRFS_TEST_MAGIC): Likewise.
37554         (CRAMFS_MAGIC_WEND): Likewise.
37555         (DEBUGFS_MAGIC): Likewise.
37556         (ECRYPTFS_SUPER_MAGIC): Likewise.
37557         (EXT3_SUPER_MAGIC): Likewise.
37558         (EXT4_SUPER_MAGIC): Likewise.
37559         (FUTEXFS_SUPER_MAGIC): Likewise.
37560         (HOSTFS_SUPER_MAGIC): Likewise.
37561         (HUGETLBFS_MAGIC): Likewise.
37562         (MINIX3_SUPER_MAGIC): Likewise.
37563         (MTD_INODE_FS_MAGIC): Likewise.
37564         (NILFS_SUPER_MAGIC): Likewise.
37565         (OPENPROM_SUPER_MAGIC): Likewise.
37566         (PIPEFS_MAGIC): Likewise.
37567         (PSTOREFS_MAGIC): Likewise.
37568         (QNX6_SUPER_MAGIC): Likewise.
37569         (RAMFS_MAGIC): Likewise.
37570         (REISERFS_SUPER_MAGIC_STRING): Likewise.
37571         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
37572         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
37573         (SECURITYFS_MAGIC): Likewise.
37574         (SELINUX_MAGIC): Likewise.
37575         (SMACK_MAGIC): Likewise.
37576         (SOCKFS_MAGIC): Likewise.
37577         (SQUASHFS_MAGIC): Likewise.
37578         (STACK_END_MAGIC): Likewise.
37579         (TMPFS_MAGIC): Likewise.
37580         (USBDEVICE_SUPER_MAGIC): Likewise.
37581         (V9FS_MAGIC): Likewise.
37582         (XENFS_SUPER_MAGIC): Likewise.
37583         (CRAMFS_MAGIC): Fix typo in comment.
37584         (EXT2_SUPER_MAGIC): Update comment.
37585         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
37587 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
37589         * sysdeps/arm: Move directory from ports/sysdeps/arm.
37590         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
37591         * sysdeps/unix/sysv/linux/arm: Move directory from
37592         ports/sysdeps/unix/sysv/linux/arm.
37593         * README: Update listing for arm-*-linux-gnueabi.
37595         * README: Remove mention of am33.
37597 2014-02-07  Roland McGrath  <roland@hack.frob.com>
37599         * bits/sigset.h (__sigemptyset): Use a statement expression rather
37600         than the comma operator, to avoid "rhs of comma has no effect"
37601         compiler warnings.
37602         (__sigfillset, __sigandset, __sigorset): Likewise.
37603         * include/signal.h (__sigemptyset): Likewise.
37604         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
37606 2014-02-07  Allan McRae  <allan@archlinux.org>
37608         * version.h (RELEASE): Set to "development".
37609         (VERSION): Set to "2.19.90"
37610         * NEWS: Add 2.20 section.
37612 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
37614         [BZ #16529]
37615         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
37617 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
37619         * manual/contrib.texi: Update entry for Carlos O'Donell,
37620         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
37622 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
37624         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
37626         * sysdeps/unix/sysv/linux/kernel-features.h
37627         [__LINUX_KERNEL_VERSION >= 0x020621]
37628         (__ASSUME_PROC_PID_TASK_COMM): Define.
37630 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
37632         [BZ #16398]
37633         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
37634         conversion when destination buffer does not have enough space.
37635         * libio/tst-ftell-partial-wide.c: New test case.
37636         * libio/Makefile (tests): Add tst-ftell-partial-wide.
37638         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
37639         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
37640         Leonard and Allan McRae.
37642 2014-02-04  David S. Miller  <davem@davemloft.net>
37644         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
37645         32-bit.
37647 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
37650         New file
37651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
37652         New file
37653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
37654         New file.
37655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
37656         New file.
37657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
37658         New file.
37659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
37660         New file.
37661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
37662         New file.
37663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
37664         New file.
37665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
37666         New file.
37667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
37668         New file.
37669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
37670         New file.
37671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
37672         New file.
37673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
37674         New file.
37676 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37678         * nptl/shlib-versions: Change powerpc*le start to 2.17.
37679         * shlib-versions: Likewise.
37681 2014-02-04  Roland McGrath  <roland@hack.frob.com>
37682             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37684         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
37685         (abilist-pattern): New variable, set to %-le.abilist.
37687         * Makerules (abilist-pattern): New variable.
37688         (vpath): Use $(abilist-pattern) in place of %.abilist.
37689         (check-abi-% pattern rule): Likewise.
37690         (check-abi, update-abi): Likewise.
37692 2014-02-04  Eric Wong  <normalperson@yhbt.net>
37694         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37696 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
37698         * manual/startup.texi: Add next, previous, and top entries for
37699         the `Program Arguments' and `Environment Variables' nodes.
37701 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
37703         * manual/macros.texi: Add comments before MTASC-safety macros.
37705         * manual/users.texi: Document MTASC-safety properties.
37707         * manual/threads.texi (pthread_key_create, pthread_key_delete)
37708         (pthread_getspecific, pthread_setspecific): Format with
37709         @deftypefun, and add @safety note.
37710         * manual/signal.texi: Move comments that analyze the above
37711         functions to their home place.
37713 2014-02-03  Allan McRae  <allan@archlinux.org>
37715         * po/sl.po: Update Slovenian translation from translation project.
37717 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
37719         * manual/time.texi (timegm): Add missing blank after @c.
37720         Reported by Joseph Myers <joseph@codesourcery.com>.
37722 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
37724         * manual/check-safety.sh: New.
37725         * manual/Makefile ($(objpfx)stamp-summary): Run it.
37727         * manual/terminal.texi: Document MTASC-safety properties.
37729         * manual/filesys.texi: Document MTASC-safety properties.
37731         * manual/errno.texi: Document MTASC-safety properties.
37733         * manual/intro.texi: Document safety identifiers and
37734         conditionals.
37736         * manual/string.texi (wcstok): Fix prototype.
37737         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
37739         * manual/time.texi: Document MTASC-safety properties.
37741         * manual/string.texi: Document MTASC-safety properties.
37743         * manual/threads.texi: Document MTASC-safety properties.
37745         * manual/stdio.texi: Document MTASC-safety properties.
37747         * manual/syslog.texi: Document MTASC-safety properties.
37749         * manual/sysinfo.texi: Document MTASC-safety properties.
37751         * manual/startup.texi: Document MTASC-safety properties.
37753         * manual/socket.texi: Document MTASC-safety properties.
37755         * manual/signal.texi: Document MTASC-safety properties.
37757 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
37759         * manual/setjmp.texi: Document MTASC-safety properties.
37761         * manual/search.texi: Document MTASC-safety properties.
37763         * manual/resource.texi: Document MTASC-safety properties.
37765         * manual/process.texi: Document MTASC-safety properties.
37767         * manual/platform.texi: Document MTASC-safety properties.
37769         * manual/pipe.texi: Document MTASC-safety properties.
37771         * manual/pattern.texi: Document MTASC-safety properties.
37773         * manual/message.texi: Document MTASC-safety properties.
37775         [BZ #12751]
37776         * manual/memory.texi: Document MTASC-safety properties.
37778         * manual/math.texi: Document MTASC-safety properties.
37780         * manual/locale.texi: Document MTASC-safety properties.
37782         * manual/llio.texi: Document MTASC-safety properties.
37784         * manual/libdl.texi: New.
37786         * manual/lang.texi: Document MTASC-safety properties.
37788         * manual/job.texi: Document MTASC-safety properties.
37790         * manual/getopt.texi: Document MTASC-safety properties.
37792         * manual/ctype.texi: Document MTASC-safety properties.
37794 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
37796         [BZ #16046]
37797         * csu/libc-tls.c (static_map): Remove variable.
37798         (__libc_setup_tls): Use main executable's link map for TLS data.
37799         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
37800         casing for LM_ID_BASE and GL(dl_nns).
37801         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
37802         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
37803         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
37804         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
37805         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
37806         member.
37807         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
37808         l_phnum members.
37810 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
37812         * manual/debug.texi: Document MTASC-safety properties.
37814 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
37816         [BZ #16510]
37817         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
37818         of __x86_64__ when disabling x87 inline functions.
37820 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
37822         * manual/charset.texi: Document MTASC-safety properties.
37824         * manual/crypt.texi: Document MTASC-safety properties.
37826         * manual/conf.texi: Document MTASC-safety properties.
37828         * manual/arith.texi: Document MTASC-safety properties.
37830         * manual/argp.texi: Document MTASC-safety properties.
37832         * manual/macros.texi: Introduce macros to document multi
37833         thread, asynchronous signal and asynchronous cancellation
37834         safety properties.
37835         * manual/intro.texi: Introduce the properties themselves.
37837 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37839         * sysdeps/sh/sh4/Makefile: New file.
37841 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
37843         * math/gen-libm-test.pl ($srcdir): New variable.
37844         ($auto_input): Use it.
37846 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37848         [BZ #16506]
37849         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
37850         access beyond array bounds when parsing netgroups file.
37852         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
37853         the old buffer before realloc.
37855 2014-01-27  Allan McRae  <allan@archlinux.org>
37857         * po/fr.po: Update French translation from translation project.
37859 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37861         * sysdeps/sh/libm-test-ulps: Regenerate.
37863 2014-01-24  David S. Miller  <davem@davemloft.net>
37865         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
37867 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37869         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
37870         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
37872 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
37874         [BZ #16474]
37875         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
37876         string pointers after reallocation.
37878 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37880         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
37881         __SH4A__ instead of __SH_FPU_ANY__.
37883 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37885         * sysdeps/sh/fpu_control.h: New file.
37886         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
37887         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
37888         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
37889         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
37890         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
37891         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
37892         * sysdeps/sh/sys/ucontext.h: Remove.
37893         * sysdeps/sh/sys: Remove directory.
37895 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37897         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
37898         s390/sys/ucontext.h.
37899         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
37900         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
37902 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
37904         [BZ #15605]
37905         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
37907 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37909         [BZ#16431]
37910         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
37911         Adjust the vDSO correctly for internal calls.
37912         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
37914 2014-01-20  Allan McRae  <allan@archlinux.org>
37916         * po/ca.po: Update Catalan translation from translation project.
37918 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
37920         * sysdeps/s390/sotruss-lib.c: New file.
37922 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37924         [BZ#16430]
37925         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
37926         (__GI___gettimeofday): Alias for a different internal symbol to avoid
37927         local calls issues by not having a PLT stub required for IFUNC calls.
37928         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
37930 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
37932         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
37933         * math/test-fpucw-static.c: Likewise.
37935 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
37937         [BZ #16453]
37938         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
37940 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37942         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
37943         implementation for powerpc.
37945 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
37947         [BZ #14782]
37948         * sysdeps/posix/system.c (__libc_system): Do not enable
37949         asynchronous cancellation.
37951 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37953         [BZ #16427]
37954         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
37955         handling only for numbers special also in the IEEE case.
37957 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37959         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
37961 2014-01-11  Allan McRae  <allan@archlinux.org>
37963         * po/bg.po: Update Bulgarian translation from translation project.
37965         * po/de.po: Update German translation from translation project.
37967 2014-01-10  Roland McGrath  <roland@hack.frob.com>
37969         * sysdeps/generic/gcc-compat.h: New file.
37971 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
37973         * benchtests/asin-inputs: Correct slow inputs.
37974         * benchtests/acos-inputs: Likewise.
37976 2014-01-10  Allan McRae  <allan@archlinux.org>
37978         * po:sv.po: Update Swedish translation from translation project.
37980         * po/vi.po: Update Vietnamese translation from translation project.
37982         * po/eo.po: Update Esperanto translation from translation project.
37984         * po/cs.po: Update Czech translation from translation project.
37986         * po/nl.po: Update Dutch translation from translation project.
37988         * po/pl.po: Update Polish translation from translation project.
37990         * po/ru.po: Update Russian translation from translation project.
37992         * po/uk.po: Update Ukrainian translation from translation project.
37994 2014-01-08  Brooks Moses  <bmoses@google.com>
37996         * elf/dl-load.c: Fix comment typo.
37998 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
38000         * po/header.pot: Rename to...
38001         * po/pot.header: ... this.
38002         * po/Makefile: Use pot.header.
38004 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
38005             Maxim Kuvyrkov  <maxim@kugelworks.com>
38007         [BZ #16394]
38008         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
38009         SRC and DEST against LEN.
38011 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38013         [BZ #16414]
38014         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
38015         implementation.
38016         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
38018 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38020         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38022 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
38024         [BZ #16408]
38025         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
38026         for large positive arguments.
38028 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
38030         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
38032         * math/auto-libm-test-in: Mark various tests with
38033         xfail-rounding:ldbl-128ibm.
38034         * math/auto-libm-test-out: Regenerated.
38036         [BZ #16407]
38037         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
38038         Increase overflow threshold.
38040 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
38042         [BZ #14286]
38043         * stdio-common/vfprintf.c: Check for integer overflow.
38045 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38047         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
38048         the first argument and return value of __tls_get_addr_internal.
38050 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38052         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
38053         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
38055 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38057         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
38058         * sysdeps/s390/rtld-global-offsets.sym: New file.
38059         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
38060         GLIBC_2.19 symbol.
38061         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
38062         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
38063         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
38064         ... this.
38065         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
38066         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
38067         ... this.
38068         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
38069         Regenerate.
38070         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
38071         Regenerate.
38072         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
38073         halfs of GPRs for high_gprs contexts.
38074         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
38075         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
38076         field.
38077         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
38078         uc_flags field.
38079         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
38080         64 bit versions:
38081         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
38082         for high GPRs (uc_high_gprs) and for future extensions
38083         (__reserved).
38084         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
38085         for future extensions (__reserved).
38086         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
38087         64 bit versions:
38088         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
38089         SC_HIGHGPRS offset definition.
38090         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
38091         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
38093         * Versions.def: Add GLIBC_2.19 for libpthread.
38094         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
38095         siglongjmp for libpthread with GLIBC_2.19 symver.
38096         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
38097         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
38098         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
38099         * sysdeps/s390/__longjmp.c: New file.
38100         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
38101         * sysdeps/s390/longjmp.c: New file.
38102         * sysdeps/s390/setjmp.S: New file.
38103         * sysdeps/s390/sigjmp.S: New file.
38104         * sysdeps/s390/v1-longjmp.c: New file.
38105         * sysdeps/s390/v1-setjmp.h: New file.
38106         * sysdeps/s390/v1-sigjmp.c: New file.
38107         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
38108         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
38109         GLIBC_2.19 version.
38110         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
38111         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
38112         versioned symbols for ____longjmp_chk.
38113         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
38114         Likewise.
38115         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
38116         Regenerate.
38117         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38118         Regenerate.
38119         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
38120         Regenerate.
38121         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38122         Regenerate.
38123         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
38124         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
38125         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
38126         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
38127         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
38128         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
38129         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
38130         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
38131         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
38132         * sysdeps/s390/rtld-__longjmp.c: New file.
38133         * sysdeps/s390/rtld-setjmp.S: New file.
38135 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
38137         [BZ #16400]
38138         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
38139         Return -__logl (x) for small positive arguments without evaluating
38140         a polynomial.
38142 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
38144         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
38145         Rename to ...
38146         (__ptrace_peeksiginfo_args): ... this.
38147         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
38148         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
38149         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
38151 2014-01-06  Allan McRae  <allan@archlinux.org>
38153         * inet/netinet/in.h: Fix typo in comment.
38155 2014-01-05  Andreas Jaeger  <aj@suse.de>
38157         * sysdeps/i386/fpu/libm-test-ulps: Update.
38159 2014-01-05  Allan McRae  <allan@archlinux.org>
38161         * po/libc.pot: Regenerated.
38163         * malloc/memusagestat.c: Fix gettext call formatting.
38165 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
38167         * nscd/nscd.c: Improve usage() output.
38169 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
38171         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
38172         * sysdeps/unix/sysv/linux/configure: Regenerated.
38173         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
38174         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
38176 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
38178         [BZ #16390]
38179         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
38180         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
38182 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38184         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
38185         extra tokens at end of #undef directive.
38186         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
38187         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
38188         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
38190 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
38192         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
38194         * math/auto-libm-test-in: Mark various tests with
38195         xfail-rounding:ldbl-128ibm.
38196         * math/auto-libm-test-out: Regenerated.
38198 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
38200         [BZ #16386]
38201         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
38202         numbers with subnormal high part when calculating exponent.
38204         [BZ #16385]
38205         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
38206         fabs.
38208         [BZ #16384]
38209         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
38210         M_LN2l.
38211         (__ieee754_acoshl): Use __log1pl not __log1p.
38213 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
38215         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
38216         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
38217         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
38218         (grow_heap, heap_trim, _int_new_arena, get_free_list)
38219         (reused_arena, arena_get2): Convert to GNU style.
38220         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
38221         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
38222         (memalign_check, __malloc_set_state): Likewise.
38223         * malloc/mallocbug.c (main): Likewise.
38224         * malloc/malloc.c (__malloc_assert, malloc_init_state)
38225         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
38226         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
38227         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
38228         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
38229         (__posix_memalign, malloc_info): Likewise.
38230         * malloc/malloc.h: Likewise.
38231         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
38232         (mallochook, memalignhook, reallochook, mabort): Likewise.
38233         * malloc/mcheck.h: Likewise.
38234         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
38235         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
38236         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
38237         * malloc/morecore.c (__default_morecore): Likewise.
38238         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
38239         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
38240         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
38241         (print_and_abort): Likewise.
38242         * malloc/obstack.h: Likewise.
38243         * malloc/set-freeres.c (__libc_freeres): Likewise.
38244         * malloc/tst-mallocstate.c (main): Likewise.
38245         * malloc/tst-mtrace.c (main): Likewise.
38246         * malloc/tst-realloc.c (do_test): Likewise.
38248 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
38250         [BZ #16366]
38251         * nscd/netgroupcache.c (do_notfound): New function.
38252         (addgetnetgrentX): Use it.
38254         [BZ # 16365]
38255         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
38256         NSS_STATUS_NOTFOUND.
38258 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
38260         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
38261         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38263 2014-01-01  Allan McRae  <allan@archlinux.org>
38265         * scripts/update-copyrights: Update configure input file suffix.
38267         * NEWS: Update copyright year.
38268         * catgets/gencat.c: Likewise.
38269         * csu/version.c: Likewise.
38270         * debug/catchsegv.sh: Likewise.
38271         * debug/pcprofiledump.c: Likewise.
38272         * debug/xtrace.sh: Likewise.
38273         * elf/ldconfig.c: Likewise.
38274         * elf/ldd.bash.in: Likewise.
38275         * elf/pldd.c: Likewise.
38276         * elf/sotruss.ksh: Likewise.
38277         * elf/sprof.c: Likewise.
38278         * iconv/iconv_prog.c: Likewise.
38279         * iconv/iconvconfig.c: Likewise.
38280         * locale/programs/locale.c: Likewise.
38281         * locale/programs/localedef.c: Likewise.
38282         * login/programs/pt_chown.c: Likewise.
38283         * malloc/memusage.sh: Likewise.
38284         * malloc/memusagestat.c: Likewise.
38285         * malloc/mtrace.pl: Likewise.
38286         * manual/libc.texinfo: Likewise.
38287         * nscd/nscd.c: Likewise.
38288         * nss/getent.c: Likewise.
38289         * nss/makedb.c: Likewise.
38290         * posix/getconf.c: Likewise.
38291         * scripts/test-installation.pl: Likewise.
38293         * All files with FSF copyright notices: Update copyright dates
38294         using scripts/update-copyrights.
38295         * intl/plural.c: Regenerated.
38296         * locale/programs/charmap-kw.h: Likewise.
38297         * locale/programs/locfile-kw.h: Likewise.
38299 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
38301         * sysdeps/unix/sysv/linux/configure: Regenerated.
38302         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
38303         the linux/fanotify.h header.
38304         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
38305         HAVE_LINUX_FANOTIFY_H is defined.
38307 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
38309         * benchtests/cos-inputs: New inputs.
38310         * benchtests/sin-inputs: Likewise.
38312         * benchtests/atan-inputs: New inputs. Fix name of multiple
38313         precision fallback inputs.
38315         * benchtests/atanh-inputs: New inputs.
38316         * benchtests/tanh-inputs: Likewise.
38318         * benchtests/acosh-inputs: New inputs.
38319         * benchtests/asinh-inputs: Likewise.
38321         * benchtests/cosh-inputs: New inputs.
38322         * benchtests/sinh-inputs: Likewise.
38324         * benchtests/acos-inputs: Add more inputs.
38325         * benchtests/asin-inputs: Likewise.
38327 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
38329         [BZ #16375]
38330         * manual/arith.texi: Fix spelling.
38331         * manual/charset.texi: Likewise.
38332         * manual/errno.texi: Likewise.
38333         * manual/filesys.texi: Likewise.
38334         * manual/lang.texi: Likewise.
38335         * manual/llio.texi: Likewise.
38336         * manual/locale.texi: Likewise.
38337         * manual/message.texi: Likewise.
38338         * manual/resource.texi: Likewise.
38339         * manual/search.texi: Likewise.
38340         * manual/setjmp.texi: Likewise.
38341         * manual/stdio.texi: Likewise.
38342         * manual/string.texi: Likewise.
38343         * manual/sysinfo.texi: Likewise.
38344         * manual/time.texi: Likewise.
38346 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
38348         * po/sl.po: New file.
38350 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
38352         * .gitignore: Add core/.gdbinit/.gdb_history.
38354 2013-12-27  Allan McRae  <allan@archlinux.org>
38356         [BZ #16369]
38357         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
38358         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
38360 2013-12-24  Brooks Moses  <bmoses@google.com>
38362         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
38363         all compilers that claim C++98 compliance, not just GCC.
38364         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
38365         Likewise.
38367 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
38369         * NEWS: Restore accidentally deleted bug-fix entries.
38371 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
38372             Ondřej Bílka  <neleai@seznam.cz>
38374         [BZ #15073]
38375         * malloc/malloc.c (_int_free): Perform sanity check only if we
38376         have_lock.
38378 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
38380         [BZ #12986]
38381         * manual/stdio.texi (String Input Conversions): Clarify that character
38382         classes are not supported.
38384 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38386         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38388 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
38390         [BZ #16337]
38391         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
38392         Calculate results for small negative arguments directly rather
38393         than using reflection formula with special underflow handling.
38395         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
38396         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
38397         sysdeps/unix/bsd/bsd4.4/syscalls.list.
38398         (fchflags): Likewise.
38399         (revoke): Likewise.
38400         (setlogin): Likewise.
38401         (sigaltstack): Likewise.
38402         (wait4): Likewise.
38403         (sigblock): Remove.
38404         (sigsetmask): Likewise.
38405         (wait3): Likewise.
38406         (waitpid): Likewise.
38407         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
38408         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
38409         file.
38410         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
38411         * sysdeps/unix/bsd/Makefile: ... here.
38412         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
38413         * sysdeps/unix/bsd/Versions: ... here.
38414         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
38415         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
38416         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
38417         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
38418         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
38419         * sysdeps/unix/bsd/sigblock.c: ... here.
38420         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
38421         * sysdeps/unix/bsd/sigsetmask.c: ... here.
38422         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
38423         * sysdeps/unix/bsd/sigvec.c: ... here.
38424         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
38425         * sysdeps/unix/bsd/tcdrain.c: ... here.
38426         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
38427         * sysdeps/unix/bsd/tcgetattr.c: ... here.
38428         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
38429         * sysdeps/unix/bsd/tcsetattr.c: ... here.
38430         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
38431         * sysdeps/unix/bsd/wait.c: ... here.
38432         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
38433         * sysdeps/unix/bsd/wait3.c: ... here.
38434         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
38435         * sysdeps/unix/bsd/waitpid.c: ... here.
38437 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
38439         [BZ #16356]
38440         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
38441         round-to-nearest for [!USE_AS_EXPM1L].
38442         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
38443         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
38444         more tests of exp and exp10.  Expect some exp10 tests to miss
38445         exceptions or fail in directed rounding modes.
38446         * math/auto-libm-test-out: Regenerated.
38447         * math/libm-test.inc (exp10_tonearest_test_data): New array.
38448         (exp10_test_tonearest): New function.
38449         (exp10_towardzero_test_data): New array.
38450         (exp10_test_towardzero): New function.
38451         (exp10_downward_test_data): New array.
38452         (exp10_test_downward): New function.
38453         (exp10_upward_test_data): New array.
38454         (exp10_test_upward): New function.
38455         (main): Call the new functions.
38456         * sysdeps/i386/fpu/libm-test-ulps: Update.
38457         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38459 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
38461         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
38462         asinh, atan, atan2, atanh, cbrt, cos and cosh.
38463         * math/auto-libm-test-out: Regenerated.
38464         * math/libm-test.inc (acosh_test_data): Add more tests.
38465         (atanh_test_data): Likewise.
38466         (ceil_test_data): Likewise.
38467         (copysign_test_data): Likewise.
38468         * sysdeps/i386/fpu/libm-test-ulps: Update.
38469         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38471         * timezone/checktab.awk: Update from tzcode 2013i.
38472         * timezone/private.h: Likewise.
38473         * timezone/scheck.c: Likewise.
38474         * timezone/tzfile.h: Likewise.
38475         * timezone/tzselect.ksh: Likewise.
38476         * timezone/zdump.c: Likewise.
38477         * timezone/zic.c: Likewise.
38479         * math/auto-libm-test-in: Add tests of cpow.
38480         * math/auto-libm-test-out: Regenerated.
38481         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
38482         * math/gen-auto-libm-tests.c (func_calc_method): Add value
38483         mpc_cc_c.
38484         (func_calc_desc): Add mpc_cc_c union field.
38485         (test_functions): Add cpow.
38486         (special_fill_2pi): New function.
38487         (special_real_inputs): Add 2pi.
38488         (calc_generic_results): Handle mpc_cc_c.
38489         * sysdeps/i386/fpu/libm-test-ulps: Update.
38490         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38492         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
38493         csqrt, ctan and ctanh.
38494         * math/auto-libm-test-out: Regenerated.
38495         * math/libm-test.inc (TEST_COND_x86_64): New macro.
38496         (TEST_COND_x86): Likewise.
38497         (ccos_test_data): Use AUTO_TESTS_c_c.
38498         (ccosh_test_data): Likewise.
38499         (cexp_test_data): Likewise.
38500         (clog_test_data): Likewise.
38501         (csqrt_test_data): Likewise.
38502         (ctan_test_data): Likewise.
38503         (ctan_tonearest_test_data): Likewise.
38504         (ctan_towardzero_test_data): Likewise.
38505         (ctan_downward_test_data): Likewise.
38506         (ctan_upward_test_data): Likewise.
38507         (ctanh_test_data): Likewise.
38508         (ctanh_tonearest_test_data): Likewise.
38509         (ctanh_towardzero_test_data): Likewise.
38510         (ctanh_downward_test_data): Likewise.
38511         (ctanh_upward_test_data): Likewise.
38512         * math/gen-auto-libm-tests.c (func_calc_method): Add value
38513         mpc_c_c.
38514         (func_calc_desc): Add mpc_c_c union field.
38515         (FUNC_mpc_c_c): New macro.
38516         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
38517         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
38518         ctanh.
38519         (special_fill_min_subnorm_p120): New function.
38520         (special_real_inputs): Add min_subnorm_p120.
38521         (calc_generic_results): Handle mpc_c_c.
38522         * sysdeps/i386/fpu/libm-test-ulps: Update.
38523         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38525 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
38527         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
38528         (do_sin_slow): New functions.
38529         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
38530         (cslow2, csloww1, csloww2): Use the new functions.
38532         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
38533         Use M to change sign of result instead of X.  Assume X is
38534         positive.
38535         (csloww1): Likewise.
38536         (__sin): Adjust.
38537         (__cos): Adjust.
38539         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
38540         arguments A and DA.
38541         (__sin): Adjust.
38542         (__cos): Likewise.
38544         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
38545         (__cos): Likewise.
38546         (sloww1): Don't adjust sign of DX.
38547         (csloww1): Likewise.
38548         (sloww2): Use X directly and don't adjust sign of DX.
38549         (csloww2): Likewise.
38551 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
38553         * math/auto-libm-test-in: Add tests of cabs and carg.
38554         * math/auto-libm-test-out: Regenerated.
38555         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
38556         (carg_test_data): Likewise.
38557         * math/gen-auto-libm-tests.c (func_calc_method): Add value
38558         mpc_c_f.
38559         (func_calc_desc): Add mpc_c_f union field.
38560         (test_functions): Add cabs and carg.
38561         (calc_generic_results): Handle mpc_c_f.
38563         * sysdeps/powerpc/powerpc32/libgcc-compat.S
38564         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
38565         as a macro and a compat symbol.
38566         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
38567         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
38568         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
38569         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
38570         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
38571         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
38572         not use .hidden.
38573         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
38574         Likewise.
38575         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
38576         Likewise.
38577         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
38578         Likewise.
38579         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
38580         Likewise.
38581         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
38582         Likewise.
38583         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
38584         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
38585         from GLIBC_2.3.2.
38587 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38589         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38591 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
38593         * manual/texinfo.tex: Update to version 2013-11-26.10 with
38594         trailing whitespace removed.
38595         * scripts/config.guess: Update to version 2013-11-29.
38596         * scripts/config.sub: Update to version 2013-10-01.
38598         * math/auto-libm-test-in: Add tests of sincos.
38599         * math/auto-libm-test-out: Regenerated.
38600         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
38601         * math/gen-auto-libm-tests.c (func_calc_method): Add value
38602         mpfr_f_11.
38603         (func_calc_desc): Add mpfr_f_11 union field.
38604         (test_functions): Add sincos.
38605         (calc_generic_results): Handle mpfr_f_11.
38606         * sysdeps/i386/fpu/libm-test-ulps: Update.
38607         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38609 2013-12-19  Andreas Schwab  <schwab@suse.de>
38611         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
38612         CALL_MCOUNT.
38613         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
38614         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
38615         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
38617 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
38619         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
38620         * sysdeps/i386/fpu/libm-test-ulps: Update.
38621         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38623         [BZ #16293]
38624         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
38625         round-to-nearest mode when using frndint.
38626         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
38627         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
38628         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
38629         Likewise.
38630         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
38631         sinh test to fail.
38632         * math/auto-libm-test-out: Regenerated.
38633         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
38634         (TEST_COND_x86): Likewise.
38635         (expm1_tonearest_test_data): New array.
38636         (expm1_test_tonearest): New function.
38637         (expm1_towardzero_test_data): New array.
38638         (expm1_test_towardzero): New function.
38639         (expm1_downward_test_data): New array.
38640         (expm1_test_downward): New function.
38641         (expm1_upward_test_data): New array.
38642         (expm1_test_upward): New function.
38643         (main): Run the new test functions.
38644         * sysdeps/i386/fpu/libm-test-ulps: Update.
38645         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38647         * include/features.h: Update comment documenting feature test
38648         macros.  Mention _DEFAULT_SOURCE in comment.
38649         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
38650         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
38651         _BSD_SOURCE and _SVID_SOURCE.
38652         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
38653         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
38654         !_SVID_SOURCE]: Likewise.
38655         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
38656         (__USE_POSIX_IMPLICITLY): Define.
38657         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
38658         (_POSIX_SOURCE): Undefine and redefine.
38659         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
38660         (_POSIX_C_SOURCE): Likewise.
38661         * manual/creature.texi (_DEFAULT_SOURCE): Document.
38662         (Feature Test Macros): Update documentation of default features.
38664 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
38666         * benchtests/Makefile: Add bench-strtok.
38667         * benchtests/bench-strtok.c: New file: strtok benchtest.
38669 2013-12-19  Allan McRae  <allan@archlinux.org>
38671         * manual/install.texi: Suppress menu for plain text output.
38672         * INSTALL: Regenerated.
38674 2013-12-18  Brooks Moses  <bmoses@google.com>
38676         [BZ #15846]
38677         * misc/getauxval.c: Include errno.h.
38678         (__getauxval): Set errno to ENOENT if the requested type is not
38679         found.
38680         * misc/sys/auxv.h (getauxval): Document that it may set errno;
38681         don't declare with __attribute_const__.
38682         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
38683         * manual/startup.texi: Document that getauxval sets errno.
38685 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
38687         * math/auto-libm-test-in: Add tests of jn and yn.
38688         * math/auto-libm-test-out: Regenerated.
38689         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
38690         (yn_test_data): Likewise.
38691         * math/gen-auto-libm-tests.c (func_calc_method): Add value
38692         mpfr_if_f.
38693         (func_calc_desc): Add mpfr_if_f union field.
38694         (FUNC_mpfr_if_f): New macro.
38695         (test_functions): Add jn and yn.
38696         (calc_generic_results): Assert type of second input for
38697         mpfr_ff_f.  Handle mpfr_if_f.
38698         (output_for_one_input_case): Disable all checking for arguments
38699         fitting floating-point types in case of an integer argument.
38700         * sysdeps/i386/fpu/libm-test-ulps: Update.
38701         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
38704         Don't expect fegetround reference in libm.so.
38706 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
38708         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
38709         $(config-cflags-nofma).
38711 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
38713         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
38714         * math/auto-libm-test-out: Regenerated.
38716         [BZ #16338]
38717         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
38718         to determine exponent and adjust argument to have exponent of -1.
38719         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
38720         log2.
38721         * math/auto-libm-test-out: Regenerated.
38722         * sysdeps/i386/fpu/libm-test-ulps: Update.
38723         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38725 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
38727         * manual/probes.texi: Remove cases when per-thread arenas are
38728         disabled.
38730 2013-12-18  Andreas Schwab  <schwab@suse.de>
38732         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
38733         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
38734         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
38735         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
38736         * sysdeps/i386/i686/multiarch/Makefile: Update.
38737         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
38739 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
38741         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
38742         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
38744 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
38746         [BZ #15968]
38747         Support TZ transition times < 00:00:00.
38748         This is needed for version-3 tz-format files; it supports time
38749         stamps past 2037 for America/Godthab (the only entry in the tz
38750         database for which this change is relevant).
38751         * manual/time.texi (TZ Variable): Document transition times
38752         from -167:59:59 through -00:00:01.
38753         * time/tzset.c (tz_rule): Time of day is now signed.
38754         (__tzset_parse_tz): Parse negative time of day.
38756         Document TZ transition times >= 25:00:00.
38757         * manual/time.texi (TZ Variable): Document transition times from
38758         25:00:00 through 167:59:59.  These are already supported, and this
38759         support will help with version-3 tz-format files.
38761         * manual/time.texi (TZ Variable): Modernize North America example
38762         to reflect current (i.e., 2007-and-later) daylight saving rules.
38764         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
38766 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
38768         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
38769         * sysdeps/unix/bsd/bits/stat.h: Likewise.
38770         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
38771         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
38772         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
38773         * sysdeps/unix/bsd/bsdstat.h: Likewise.
38774         * sysdeps/unix/bsd/clock.c: Likewise.
38775         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
38776         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
38777         * sysdeps/unix/bsd/init-posix.c: Likewise.
38778         * sysdeps/unix/bsd/poll.c: Likewise.
38779         * sysdeps/unix/bsd/ptsname.c: Likewise.
38780         * sysdeps/unix/bsd/seekdir.c: Likewise.
38781         * sysdeps/unix/bsd/setegid.c: Likewise.
38782         * sysdeps/unix/bsd/seteuid.c: Likewise.
38783         * sysdeps/unix/bsd/setgid.c: Likewise.
38784         * sysdeps/unix/bsd/setrgid.c: Likewise.
38785         * sysdeps/unix/bsd/setruid.c: Likewise.
38786         * sysdeps/unix/bsd/setsid.c: Likewise.
38787         * sysdeps/unix/bsd/setuid.c: Likewise.
38788         * sysdeps/unix/bsd/sigaction.c: Likewise.
38789         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
38790         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
38791         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
38792         * sysdeps/unix/bsd/telldir.c: Likewise.
38793         * sysdeps/unix/bsd/times.c: Likewise.
38794         * sysdeps/unix/bsd/usleep.c: Likewise.
38796         * misc/Makefile (install-lib): Remove libbsd-compat.a.
38797         ($(objpfx)libbsd-compat.a): Remove rule.
38799         * include/features.h (__FAVOR_BSD): Do not define.
38800         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
38801         features conflicting with POSIX.
38802         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
38803         (_BSD_SOURCE): Remove description of not being a subset of other
38804         feature test macros.
38805         * manual/job.texi (getpgrp): Do not document BSD version.
38806         (getpgid): Do not document by reference to BSD getpgrp.
38807         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
38808         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
38809         * signal/signal.h [__FAVOR_BSD]: Likewise.
38810         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
38811         instead of making contents conditional on [__FAVOR_BSD].
38812         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
38814 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38816         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38818 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
38820         [BZ #16314]
38821         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
38822         values below 2**-450, not 2**-500.
38823         * math/auto-libm-test-in: Don't allow spurious underflow from
38824         hypot.
38825         * math/auto-libm-test-out: Regenerated.
38827         [BZ #16316]
38828         [BZ #16330]
38829         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
38830         values of ha and hb and sort them after adjusting subnormal
38831         arguments.
38832         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
38833         Likewise.
38834         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
38835         values of ea and eb and sort them after adjusting subnormal
38836         arguments.
38837         * math/auto-libm-test-in: Do not expect some hypot tests of
38838         subnormals to fail.  Add more hypot tests.
38839         * math/auto-libm-test-out: Regenerated.
38841 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38843         [BZ #13304]
38844         * sysdeps/sh/s_fma.c: New file.
38845         * sysdeps/sh/s_fmaf.c: New file.
38846         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
38847         version.
38848         * sysdeps/sh/Implies: Add sh/soft-fp.
38850 2013-12-16  Roland McGrath  <roland@hack.frob.com>
38852         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
38853         level of indirection to members `objname', `errstring', `malloced'.
38854         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
38855         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
38856         it as the __longjmp argument (just pass 1 instead).
38857         (_dl_catch_error): Initialize C with argument pointers and address of
38858         volatile local ERRCODE rather than copying values out of C at return.
38860 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
38862         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
38863         * math/auto-libm-test-out: Regenerated.
38864         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
38865         (hypot_test_data): Likewise.
38866         (pow_test_data): Likewise.
38867         (pow_tonearest_test_data): Likewise.
38868         * math/gen-auto-libm-tests.c (func_calc_method): Add value
38869         mpfr_ff_f.
38870         (func_calc_desc): Add mpfr_ff_f union field.
38871         (FUNC_mpfr_ff_f): New macro.
38872         (test_functions): Add atan2, hypot and pow.
38873         (special_fill_min): New function.
38874         (special_fill_minus_min): Likewise.
38875         (special_fill_min_subnorm): Likewise.
38876         (special_fill_minus_min_subnorm): Likewise.
38877         (special_real_inputs): Add min, -min, min_subnorm and
38878         -min_subnorm.
38879         (calc_generic_results): Handle mpfr_ff_f.
38880         * sysdeps/i386/fpu/libm-test-ulps: Update.
38881         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38883 2013-12-16  Will Newton  <will.newton@linaro.org>
38885         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
38886         (Aligned Memory Blocks): Add documentation for aligned_alloc
38887         and suggest it as an alternative to posix_memalign.
38888         (Hooks for Malloc): Document __memalign_hook is also called
38889         for aligned_alloc.  (Summary of Malloc): Add summary for
38890         aligned alloc.  Document __memalign_hook is also called
38891         for aligned_alloc.
38893 2013-12-16  Will Newton  <will.newton@linaro.org>
38895         * manual/memory.texi (Malloc Examples): Clarify default
38896         alignment documentation.  Suggest posix_memalign rather
38897         than memalign or valloc.
38898         (Aligned Memory Blocks): Remove suggestion to use memalign
38899         or valloc.  Remove obsolete comment about BSD.
38900         Document memalign errno values and mark the function obsolete.
38901         Document posix_memalign returned error codes.  Mark valloc
38902         as obsolete.  (Hooks for Malloc): __memalign_hook is also
38903         called for posix_memalign and valloc.
38904         (Summary of Malloc): Add posix_memalign to function summary.
38905         __memalign_hook is also called for posix_memalign and valloc.
38907 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
38909         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
38910         TAYLOR_SIN.
38911         (__sin): Adjust.
38912         (__cos): Likewise.
38913         (sloww): Use mynumber union.  Expand ternary operator into
38914         if-else statements.
38915         (cslow): use mynumber union.
38917 2013-12-16  Allan McRae  <allan@archlinux.org>
38919         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
38920         * configure: Regenerated.
38922         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
38924         [BZ #14120]
38925         * configure.ac: Added --enable-maintainer-mode. Check for
38926         autoconf when enabled.
38927         * configure: Regenerated.
38929         * nscd/nscd.service: New file.
38930         * nscd/nscd.tmpfiles: New file.
38932 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
38934         [BZ #12100]
38935         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
38936         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
38937         * sysdeps/x86_64/multiarch/strstr.c: ... here.
38938         (strstr): Add __strstr_sse2_unaligned ifunc.
38939         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
38940         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
38941         (strcasestr): Remove __strcasestr_sse42 ifunc.
38942         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
38943         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
38944         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
38946 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38948         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
38949         * sysdeps/sh/bits/fenv.h: ... here.
38950         * sysdeps/sh/sh4/fpu/bits: Remove directory.
38952 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38954         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
38956         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
38957         hypotf multiarch implementations.
38958         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
38959         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
38960         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
38961         multiarch hypot for PPC64.
38962         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
38963         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
38964         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
38965         multiarch hypotf for PPC64.
38967         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
38968         modff multiarch implementations.
38969         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
38970         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
38971         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
38972         multiarch modf for PPC64.
38973         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
38974         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
38975         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
38976         multiarch modff for PPC64.
38978         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
38979         and logl multiarch implementations.
38980         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
38981         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
38982         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
38983         multiarch logb for PPC64.
38984         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
38985         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
38986         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
38987         multiarch logb for PPC64.
38988         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
38989         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
38990         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
38991         multiarch logb for PPC64.
38993         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
38994         isinff multiarch implementation.
38995         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
38996         file.
38997         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
38998         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
38999         multiarch isinf for PPC64.
39000         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
39001         file.
39002         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
39003         multiarch isinff for PPC64.
39005         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
39006         finitef multiarch implementation.
39007         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
39008         file.
39009         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
39010         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
39011         multiarch finite for PPC64.
39012         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
39013         file.
39014         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
39015         multiarch finitef for PPC64.
39017         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
39018         lrint multiarch implementation.
39019         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
39020         file.
39021         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
39022         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
39023         multiarch llrint for PPC64.
39024         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
39025         multiarch lrint for PPC64.
39027         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
39028         copysignf multiarch implementation.
39029         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
39030         file.
39031         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
39032         file.
39033         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
39034         multiarch copysign for PPC64.
39035         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
39036         multiarch copysignf for PPC64.
39038         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
39039         multiarch implementation.
39040         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
39041         file.
39042         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
39043         file.
39044         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
39045         file.
39046         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
39047         file.
39048         multiarch llround for PPC64.
39049         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
39050         multiarch trunc for PPC64.
39051         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
39052         multiarch truncf for PPC64.
39054         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
39055         multiarch implementation.
39056         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
39057         file.
39058         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
39059         file.
39060         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
39061         file.
39062         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
39063         file.
39064         multiarch llround for PPC64.
39065         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
39066         multiarch round for PPC64.
39067         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
39068         multiarch roundf for PPC64.
39070         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
39071         multiarch implementation.
39072         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
39073         file.
39074         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
39075         file.
39076         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
39077         file.
39078         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
39079         file.
39080         multiarch llround for PPC64.
39081         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
39082         multiarch floor for PPC64.
39083         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
39084         multiarch floorf for PPC64.
39086         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
39087         multiarch implementation.
39088         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
39089         file.
39090         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
39091         file.
39092         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
39093         file.
39094         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
39095         file.
39096         multiarch llround for PPC64.
39097         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
39098         multiarch ceil for PPC64.
39099         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
39100         multiarch ceilf for PPC64.
39102         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
39103         multiarch implementation.
39104         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
39105         file.
39106         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
39107         file.
39108         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
39109         file.
39110         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
39111         multiarch llround for PPC64.
39112         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
39113         multiarch lround for PPC64.
39115         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
39116         multiarch implementation.
39117         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
39118         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
39119         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
39120         file.
39121         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
39122         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
39123         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
39124         multiarch isnan for PPC64.
39125         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
39126         multiarch isnanf for PPC64.
39128         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
39129         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
39130         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
39131         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
39132         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
39133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
39135         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
39136         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39137         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39138         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39140         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
39141         multiarch implementations.
39142         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39143         (__libc_ifunc_impl_list): Likewise.
39144         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
39145         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
39146         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
39147         multiarch stpcpy for PPC64.
39149         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
39150         multiarch implementations.
39151         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39152         (__libc_ifunc_impl_list): Likewise.
39153         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
39154         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
39155         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
39156         multiarch strcpy for PPC64.
39158         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
39159         redefine function name.
39160         (_wordcopy_fwd_dest_aligned): Likewise.
39161         (_wordcopy_bwd_aligned): Likewise.
39162         (_wordcopy_bwd_dest_aligned): Likewise.
39163         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
39164         multiarch implementations.
39165         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39166         (__libc_ifunc_impl_list): Likewise.
39167         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
39168         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
39169         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
39170         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
39171         multiarch wcscpy for PPC64.
39173         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
39174         multiarch implementations.
39175         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39176         (__libc_ifunc_impl_list): Likewise.
39177         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
39178         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
39179         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
39180         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
39181         multiarch wcscpy for PPC64.
39183         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
39184         multiarch implementations.
39185         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39186         (__libc_ifunc_impl_list): Likewise.
39187         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
39188         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
39189         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
39190         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
39191         multiarch wcsrchr for PPC64.
39193         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
39194         multiarch implementations.
39195         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39196         (__libc_ifunc_impl_list): Likewise.
39197         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
39198         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
39199         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
39200         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
39201         multiarch wcschr for PPC64.
39203         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
39204         multiarch implementations.
39205         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39206         (__libc_ifunc_impl_list): Likewise.
39207         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
39208         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
39209         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
39210         multiarch strchrnul for PPC64.
39212         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
39213         implementations.
39214         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39215         (__libc_ifunc_impl_list): Likewise.
39216         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
39217         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
39218         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
39219         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
39220         strchr for PPC64.
39222         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
39223         implementations.
39224         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39225         (__libc_ifunc_impl_list): Likewise.
39226         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
39227         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
39228         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
39229         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
39230         strncmp for PPC64.
39232         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
39233         multiarch implementations.
39234         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39235         (__libc_ifunc_impl_list): Likewise.
39236         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
39237         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
39238         strncasecmp for PPC64.
39239         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
39240         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
39241         multiarch strncasecmp_l for PPC64.
39243         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
39244         multiarch implementations.
39245         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
39246         (__libc_ifunc_impl_list): Likewise.
39247         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
39248         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
39249         multiarch strcasecmp for PPC64.
39250         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
39251         file.
39252         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
39253         multiarch strcasecmp_l for PPC64.
39255         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
39256         implementations.
39257         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39258         (__libc_ifunc_impl_list): Likewise.
39259         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
39260         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
39261         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
39262         strnlen for PPC64.
39264         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
39265         implementations.
39266         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39267         (__libc_ifunc_impl_list): Likewise.
39268         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
39269         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
39270         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
39271         strlen for PPC64.
39273         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
39274         implementations.
39275         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39276         (__libc_ifunc_impl_list): Likewise.
39277         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
39278         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
39279         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
39280         rawmemrchr for PPC64.
39282         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
39283         implementation.
39284         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39285         (__libc_ifunc_impl_list): Likewise.
39286         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
39287         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
39288         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
39289         memrchr for PPC64.
39291         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
39292         implementation.
39293         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39294         (__libc_ifunc_impl_list): Likewise.
39295         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
39296         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
39297         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
39298         memchr for PPC64.
39300         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
39301         implementation.
39302         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39303         (__libc_ifunc_impl_list): Likewise.
39304         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
39305         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
39306         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
39307         mempcpy for PPC64.
39309         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
39310         avoid cretion of __bzero symbol.
39311         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
39312         Likewise.
39313         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
39314         Likewise.
39315         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
39316         Likewise.
39317         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
39318         multiarch implementations.
39319         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39320         (__libc_ifunc_impl_list): Likewise.
39321         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
39322         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
39323         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
39324         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
39325         bzero for PPC32.
39326         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
39327         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
39328         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
39329         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
39330         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
39331         memset for PPC64.
39332         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
39334         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
39335         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
39336         implementations.
39337         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39338         (__libc_ifunc_impl_list): Likewise.
39339         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
39340         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
39341         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
39342         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
39343         memcmp for PPC64.
39345         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
39346         multiarch for POWER/PPC64.
39347         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
39348         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
39349         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
39350         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
39351         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
39352         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
39353         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
39354         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
39355         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
39356         memcpy for PPC64.
39358         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
39359         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
39360         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
39361         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
39362         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
39363         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
39364         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
39365         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
39366         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
39367         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
39368         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
39369         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
39370         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
39371         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
39372         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
39373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
39374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
39375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
39376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
39377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
39378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
39379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
39381 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39383         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
39385 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
39387         * benchtests/Makefile (bench): Add exp2 and log2.
39388         (LDLIBS-bench-exp2): Add -lm.
39389         (LDLIBS-bench-log2): Likewise.
39390         * benchtests/exp2-inputs: New inputs file.
39391         * benchtests/log2-inputs: New inputs file.
39392         * benchtests/log-inputs: Add new inputs.
39393         * benchtests/tan-inputs: Likewise.
39395 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
39397         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
39398         definition...
39399         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
39400         (csloww2): ... from here.
39402         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
39403         instead of structures.
39404         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
39405         (POLYNOMIAL): Likewise.
39406         (TAYLOR_SLOW): Likewise.
39407         (__sin): Likewise.
39408         (__cos): Likewise.
39409         (slow1): Likewise.
39410         (slow2): Likewise.
39411         (sloww): Likewise.
39412         (sloww1); Likewise.
39413         (sloww2): Likewise.
39414         (bsloww1): Likewise.
39415         (bsloww2): Likewise.
39416         (cslow2): Likewise.
39417         (csloww): Likewise.
39418         (csloww1): Likewise.
39419         (csloww2): Likewise.
39421 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
39423         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
39424         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
39425         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
39426         * malloc/hooks.c (realloc_check): Likewise.
39428         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
39429         * malloc/arena.c: Remove PER_THREAD conditional.
39430         [!PER_THREAD]: Remove code.
39431         (ptmalloc_unlock_all2): Likewise.
39432         (ptmalloc_init): Likewise.
39433         (_int_new_arena): Likewise.
39434         (arena_get2): Likewise.
39435         * malloc/hooks.c (__malloc_get_state): Likewise.
39436         (__malloc_set_state): Likewise.
39437         * malloc/malloc.c: Likewise.
39438         (struct malloc_state): Likewise.
39439         (struct malloc_par): Likewise.
39440         (__libc_realloc): Likewise.
39441         (__libc_mallopt): Likewise.
39443 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39445         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
39447 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
39449         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
39450         macro to a function.  Check for zero perturb_byte.
39451         (_int_malloc, _int_free): Remove zero perturb_byte checks.
39453         * malloc/malloc.c: (force_reg): Remove.
39454         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
39455         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
39456         force_reg by atomic_forced_read.
39457         * malloc/arena.c (ptmalloc_init): Likewise.
39458         * malloc/hooks.c (top_check): Likewise.
39460 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39462         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39464 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
39466         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39468 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
39470         * math/auto-libm-test-in: Add tests of lgamma.
39471         * math/auto-libm-test-out: Regenerated.
39472         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
39473         (M_LOG_2_SQRT_PIl): Likewise.
39474         (lgamma_test_data): Use AUTO_TESTS_f_f1.
39475         * math/gen-auto-libm-tests.c (func_calc_method): Add value
39476         mpfr_f_f1.
39477         (func_calc_desc): Add mpfr_f_f1 union field.
39478         (ARGS1): New macro.
39479         (ARGS2): Likewise.
39480         (ARGS3): Likewise.
39481         (ARGS4): Likewise.
39482         (RET1): Likewise.
39483         (RET2): Likewise.
39484         (CALC): Likewise.
39485         (FUNC): Likewise.
39486         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
39487         (test_functions): Add lgamma.
39488         (calc_generic_results): Handle mpfr_f_f1.
39489         * sysdeps/i386/fpu/libm-test-ulps: Update.
39490         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39492 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39494         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
39495         __mpn_add_n for PowerPC64/POWER7.
39496         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
39497         __mpn_sub_n for PowerPC64/POWER7.
39499         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
39500         __mpn_addmul_1 for PowerPC64.
39501         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
39502         __mpn_submul_1 for PowerPC64.
39503         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
39504         for PowerPC64.
39505         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
39506         for PowerPC64.
39508 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
39510         [BZ #15089]
39511         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
39513 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39515         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
39517         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
39518         add multiarch folders.
39519         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
39520         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
39521         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
39522         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
39523         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
39524         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
39525         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
39526         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
39527         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
39528         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
39529         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
39530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
39531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
39532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
39533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
39534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
39535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
39537         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
39538         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
39539         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
39540         New file.
39541         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
39542         New file.
39543         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
39544         multiarch __ieee754_hypot for PowerPC32.
39545         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
39546         New file.
39547         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
39548         New file.
39549         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
39550         multiarch __ieee754_hypotf for PowerPC32.
39552         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
39553         long_double_symbol only if __logbl is defined.
39554         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
39555         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
39556         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
39557         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
39558         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
39559         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
39560         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
39561         path for implementation.
39562         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
39563         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
39564         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
39565         logb, and logbl multiarch implementations for PowerPC32.
39566         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
39567         file.
39568         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
39569         file.
39570         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
39571         multiarch logb for PowerPC32.
39572         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
39573         file.
39574         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
39575         file.
39576         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
39577         multiarch logbf for PowerPC32.
39578         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
39579         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
39580         file.
39581         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
39582         multiarch logbl implementation for PowerPC32.
39584         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
39585         and modff multiarch implementations.
39586         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
39587         New file.
39588         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
39589         New file.
39590         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
39591         multiarch modf for PowerPC32.
39592         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
39593         New file.
39594         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
39595         New file.
39596         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
39597         multiarch modff for PowerPC32.
39599         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
39600         and lrintf multiarch implementations.
39601         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
39602         New file.
39603         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
39604         New file.
39605         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
39606         multiarch lrint for PowerPC32.
39607         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
39608         file: multiarch lrintf for PowerPC32.
39610         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
39611         and lroundf multiarch implementations.
39612         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
39613         New file.
39614         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
39615         New file.
39616         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
39617         New file.
39618         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
39619         multiarch lround for PowerPC32.
39620         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
39621         file: multiarch lroundf for PowerPC32.
39623         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
39624         copysign and copysignf multiarch implementations.
39625         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
39626         New file.
39627         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
39628         New file.
39629         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
39630         file: multiarch copysign for PowerPC32.
39631         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
39632         file: multiarch copysignf for PowerPC32.
39634         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
39635         and truncf multiarch implementations.
39636         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
39637         New file.
39638         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
39639         file.
39640         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
39641         multiarch trunc for PowerPC32.
39642         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
39643         New file.
39644         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
39645         New file.
39646         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
39647         multiarch truncf for PowerPC32.
39649         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
39650         and roundf multiarch implementations.
39651         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
39652         New file.
39653         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
39654         file.
39655         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
39656         multiarch round for PowerPC32.
39657         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
39658         New file.
39659         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
39660         New file.
39661         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
39662         multiarch roundf for PowerPC32.
39664         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
39665         and floorf multiarch implementations.
39666         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
39667         New file.
39668         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
39669         file.
39670         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
39671         multiarch floor for PowerPC32.
39672         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
39673         New file.
39674         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
39675         New file.
39676         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
39677         multiarch floorf for PowerPC32.
39679         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
39680         and ceilf multiarch implementations.
39681         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
39682         New file.
39683         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
39684         file.
39685         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
39686         multiarch ceil for PowerPC32.
39687         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
39688         New file.
39689         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
39690         file.
39691         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
39692         multiarch ceilf for PowerPC32.
39694         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
39695         is defined.
39696         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
39697         FINITEF is defined.
39698         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
39699         and finitef multiarch implementations.
39700         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
39701         New file.
39702         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
39703         file.
39704         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
39705         multiarch finite for PowerPC32.
39706         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
39707         New file.
39708         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
39709         file: multiarch finitef for PowerPC32.
39711         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
39712         and isinff multiarch implementations.
39713         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
39714         file.
39715         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
39716         file.
39717         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
39718         multiarch isinf for PowerPC32.
39719         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
39720         New file.
39721         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
39722         multiarch isinff for PowerPC32.
39724         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
39725         alias when __isnan is defined.
39726         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
39727         and isnanf multiarch implementations.
39728         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
39729         file.
39730         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
39731         file.
39732         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
39733         file.
39734         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
39735         file.
39736         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
39737         multiarch isnan for PowerPC32.
39738         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
39739         New file.
39740         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
39741         New file.
39742         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
39743         multiarch isnanf for PowerPC32.
39745         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
39746         and sqrtf multiarch implementations.
39747         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
39748         file.
39749         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
39750         file.
39751         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
39752         multiarch sqrt for PowerPC32.
39753         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
39754         file.
39755         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
39756         file.
39757         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
39758         multiarch sqrtf for PowerPC32.
39760         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
39761         and llroundf multiarch implementations.
39762         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
39763         New file.
39764         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
39765         New file.
39766         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
39767         New file.
39768         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
39769         file: multiarch llround for PowerPC32.
39770         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
39771         file: multiarch llroundf for PowerPC32.
39773         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
39774         multiarch PowerPC32 fpu implementations.
39775         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
39776         New file.
39777         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
39778         New file.
39779         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
39780         multiarch llrint for PowerPC32.
39781         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
39782         New file.
39783         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
39784         New file.
39785         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
39786         file.
39788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
39790         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
39791         file.
39792         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
39793         file.
39794         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
39795         file.
39796         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
39797         multiarch wordcopy for PPC32.
39798         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
39799         wordcopy objects.
39800         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39801         (__libc_ifunc_impl_list): Likewise.
39802         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
39803         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
39804         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
39805         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
39806         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
39807         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
39809         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
39810         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
39811         file.
39812         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
39813         file.
39814         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
39815         file.
39816         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
39817         multiarch wcscpy for PPC32.
39818         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
39819         multiarch objects.
39820         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39821         (__libc_ifunc_impl_list): Likewise.
39822         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
39823         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
39824         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
39825         sysdeps/powerpc/power6/wcscpy.c.
39827         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
39828         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
39829         file.
39830         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
39831         file.
39832         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
39833         file.
39834         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
39835         multiarch wcsrchr for PPC32.
39836         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
39837         multiarch objects.
39838         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39839         (__libc_ifunc_impl_list): Likewise.
39840         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
39841         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
39842         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
39843         sysdeps/powerpc/power6/wcsrchr.c.
39845         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
39846         file.
39847         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
39848         file.
39849         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
39850         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
39851         multiarch wcschr for PPc32.
39852         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
39853         multiarch objects.
39854         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39855         (__libc_ifunc_impl_list): Likewise.
39856         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
39857         * sysdeps/powerpc/power6/wcschr.c: ... to here.
39858         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
39859         sysdeps/powerpc/power6/wcschr.c.
39861         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
39862         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
39863         file.
39864         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
39865         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
39866         file: multiarch strchr for PPC32.
39867         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
39868         multiarch objects.
39869         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39870         (__libc_ifunc_impl_list): Likewise.
39872         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
39873         name.
39874         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
39875         file.
39876         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
39877         file.
39878         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
39879         multiarch strchrnul for PPC32.
39880         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
39881         multiarch objects.
39882         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39883         (__libc_ifunc_impl_list): Likewise.
39885         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
39886         file.
39887         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
39888         multiarch strncasecmp for PPC32.
39889         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
39890         file.
39891         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
39892         multiarch strncasecmp_l for PPC32.
39893         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
39894         strncasecmp multiarch objects.
39895         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39896         (__libc_ifunc_impl_list): Likewise.
39898         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
39899         file.
39900         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
39901         multiarch strncasecmp for PPC32.
39902         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
39903         New file.
39904         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
39905         multiarch strcasecmp_l for PPC32.
39906         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
39907         multiarch objects.
39908         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39909         (__libc_ifunc_impl_list): Likewise.
39911         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
39912         file.
39913         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
39914         file.
39915         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
39916         multiarch strncmp for PPC32.
39917         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
39918         multiarch objects.
39919         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39920         (__libc_ifunc_impl_list): Likewise.
39922         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
39923         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
39924         file.
39925         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
39926         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
39927         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
39928         multiarch objects.
39929         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39930         (__libc_ifunc_impl_list): Likewise.
39932         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
39933         file.
39934         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
39935         file.
39936         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
39937         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
39938         multiarch objects.
39939         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39940         (__libc_ifunc_impl_list): Likewise.
39942         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
39943         file.
39944         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
39945         file.
39946         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
39947         multiarch rawmemchr for PPC32.
39948         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
39949         multiarch objects.
39950         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39951         (__libc_ifunc_impl_list): Likewise.
39953         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
39954         file.
39955         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
39956         file.
39957         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
39958         file: memrchr multiarch for PPC32.
39959         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
39960         multiarch objects.
39961         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39962         (__libc_ifunc_impl_list): Likewise.
39964         * string/memchr.c (__memchr): Using macro to redefine symbol name.
39965         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
39966         file.
39967         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
39968         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
39969         multiarch memchr for PPC32.
39970         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
39971         multiarch objects.
39972         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
39973         (__libc_ifunc_impl_list): Likewise.
39975         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
39976         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
39977         file.
39978         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
39979         file.
39980         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
39981         file: multiarch mempcpy for PPC32.
39982         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
39983         multiarch objects.
39984         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
39985         (__libc_ifunc_impl_list): Likewise.
39987         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
39988         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
39989         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
39990         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
39991         multiarch bzero for PPC32.
39992         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
39993         file.
39994         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
39995         file.
39996         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
39997         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
39998         file: multiarch memset for PPC32.
39999         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
40000         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
40001         memset multiarch objects.
40002         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
40003         (__libc_ifunc_impl_list): Likewise.
40005         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
40006         file.
40007         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
40008         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
40009         memcmp for PPC32.
40010         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
40011         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
40012         multiarch objects.
40013         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
40014         (__libc_ifunc_impl_list): Likewise.
40016         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
40017         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
40018         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
40019         file.
40020         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
40021         file.
40022         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
40023         file.
40024         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
40025         multiarch memcpy for PPC32.
40026         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
40027         multiarch objects.
40028         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
40029         (__libc_ifunc_impl_list): Likewise.
40031         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
40032         support multiarch for POWER/PPC32.
40033         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
40034         Likewise.
40035         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
40036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
40037         Implies file to make multiarch folder appers before the fpu and
40038         default folder for power4 configuration.
40040 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
40042         * scripts/bench.pl: Append volatile keyword to type.
40044 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40046         * sysdeps/sh/sotruss-lib.c: New file.
40047         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
40049 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40051         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40053 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
40055         [BZ #6810]
40056         * math/w_tgamma.c: Include <errno.h>.
40057         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
40058         * math/w_tgammaf.c: Include <errno.h>.
40059         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
40060         * math/w_tgammal.c: Include <errno.h>.
40061         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
40062         * math/auto-libm-test-in: Do not allow missing errno on tgamma
40063         underflow.  Add more tgamma tests.
40064         * math/auto-libm-test-out: Regenerated.
40065         * sysdeps/i386/fpu/libm-test-ulps: Update.
40066         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40068         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
40069         sin, sinh, tan, tanh, tgamma, y0 and y1.
40070         * math/auto-libm-test-out: Regenerated.
40071         * math/libm-test.inc (TEST_COND_x86_64): New macro.
40072         (TEST_COND_x86): Likewise.
40073         (M_E2l): Remove macro.
40074         (M_E3l): Likewise.
40075         (M_2_SQRT_PIl): Likewise.
40076         (M_SQRT_PIl): Likewise.
40077         (M_1_DIV_El): Likewise.
40078         (log_test_data): Use AUTO_TESTS_f_f.
40079         (log10_test_data): Likewise.
40080         (log1p_test_data): Likewise.
40081         (log2_test_data): Likewise.
40082         (sin_test_data): Likewise.
40083         (sin_tonearest_test_data): Likewise.
40084         (sin_towardzero_test_data): Likewise.
40085         (sin_downward_test_data): Likewise.
40086         (sin_upward_test_data): Likewise.
40087         (sinh_test_data): Likewise.
40088         (sinh_tonearest_test_data): Likewise.
40089         (sinh_towardzero_test_data): Likewise.
40090         (sinh_downward_test_data): Likewise.
40091         (sinh_upward_test_data): Likewise.
40092         (tan_test_data): Likewise.
40093         (tan_tonearest_test_data): Likewise.
40094         (tan_towardzero_test_data): Likewise.
40095         (tan_downward_test_data): Likewise.
40096         (tan_upward_test_data): Likewise.
40097         (tanh_test_data): Likewise.
40098         (tgamma_test_data): Likewise.
40099         (y0_test_data): Likewise.
40100         (y1_test_data): Likewise.
40101         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
40102         (special_real_inputs): Add pi/4.
40103         * sysdeps/i386/fpu/libm-test-ulps: Update.
40104         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40106 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40108         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
40109         "longjmp_target" static probes.
40110         (__longjmp): Rename to __longjmp_symbol.
40111         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
40112         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
40113         on which longjmp to generate.
40114         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
40115         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
40116         probe.
40117         (__sigsetjmp): Rename to __sigsetjmp_symbol.
40118         (__sigjmp_save): Rename to __sigjmp_save_symbol.
40119         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
40120         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
40121         and __sigjmp_save_symbol based on which sigsetjmp to generated.
40122         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
40123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
40124         __longjmp_symbol based on which __longjmp to generate.
40125         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
40126         probe.
40127         (setjmp): Rename to setjmp_symbol.
40128         (__sigsetjmp): Rename to __sigsetjmp_symbol.
40129         (_setjmp): Rename to _setjmp_symbol.
40130         (__sigsetjmp): Rename to __sigsetjmp_symbol.
40131         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
40132         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
40133         which setjmp to generate.
40134         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
40135         "longjmp_target" static probes.
40137 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
40139         * benchtests/README: Add note about output arguments.
40140         * benchtests/bench-sincos.c: Remove file.
40141         * benchtests/sincos-inputs: New file.
40142         * scripts/bench.pl: Identify output arguments and define
40143         static variables for them.
40145         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
40147         [BZ #15941]
40148         * Makefile (INSTALL): Add install-plain.texi as the primary
40149         dependency.
40150         * manual/install-plain.texi: New file.
40151         * manual/install.texi: Include node directive only for
40152         non-plaintext output.
40154 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
40156         * stdlib/longlong.h: Update from GCC.
40158         [BZ #6807]
40159         [BZ #15901]
40160         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
40161         * math/w_j0f.c (y0f): Likewise.
40162         * math/w_j0l.c (__y0l): Likewise.
40163         * math/w_j1.c (y1): Likewise.
40164         * math/w_j1f.c (y1f): Likewise.
40165         * math/w_j1l.c (__y1l): Likewise.
40166         * math/w_jn.c (yn): Likewise.
40167         * math/w_jnf.c (ynf): Likewise.
40168         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
40169         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
40170         value for Bessel function domain errors outside _SVID_ mode.
40171         Adjust sign of return value for yn (negative integer, 0).
40172         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
40173         by zero in return for negative x and set sign appropriately for
40174         negative n.
40175         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
40176         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
40177         * math/libm-test.inc (y0_test_data): Add more tests and adjust
40178         expectations in error cases.
40179         (y1_test_data): Likewise.
40180         (yn_test_data): Likewise.
40181         * sysdeps/i386/fpu/libm-test-ulps: Update.
40182         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40184 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
40186         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
40187         "64" to "64-v1".  Add "64-v2".
40188         (abi-64-options): Rename to ...
40189         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
40190         (abi-64-condition): Rename to ...
40191         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
40192         (abi-64-ld-soname): Rename to ...
40193         (abi-64-v1-ld-soname): ... this.
40194         (abi-64-v2-options): Define.
40195         (abi-64-v2-condition): Likewise.
40196         (abi-64-v2-ld-soname): Likewise.
40197         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
40198         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
40199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
40200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
40201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
40203 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
40204             Alan Modra  <amodra@gmail.com>
40206         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
40207         New versions for use with the ELFv2 ABI.
40208         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
40209         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
40210         declaration.
40211         (struct La_ppc64v2_retval): Likewise.
40212         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
40213         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
40214         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
40215         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
40216         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
40217         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
40218         Do not save or restore CR.
40219         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
40220         (_dl_profile_resolve): Do no save or restore CR.  Support extended
40221         return values for ELFv2 ABI.  Fix location of FPR return registers.
40222         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
40223         updated values for _CALL_ELF == 2.
40224         (La_regs, La_retval, int_retval): Likewise.
40226 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
40228         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
40229         (FRAME_MIN_SIZE_PARM): Likewise.
40230         (FRAME_BACKCHAIN): Likewise.
40231         (FRAME_CR_SAVE): Likewise.
40232         (FRAME_LR_SAVE): Likewise.
40233         (FRAME_TOC_SAVE): Likewise.
40234         (FRAME_PARM_SAVE): Likewise.
40235         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
40236         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
40237         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
40238         (call_mcount_parm_offset): New macro.
40239         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
40240         (PROF): Use symbolic stack frame offsets.
40241         (TAIL_CALL_SYSCALL_ERROR): Likewise.
40242         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
40243         Redefine in terms of FRAME_MIN_SIZE.
40244         (_dl_runtime_resolve): Use symbolic stack frame offsets.
40245         (_dl_profile_resolve): Likewise.  Update comment.
40246         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
40247         symbols stack frame offsets.
40248         (__sigsetjmp): Likewise.
40249         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
40250         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
40251         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
40252         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
40254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
40255         (FRAME_BACKCHAIN): Remove.
40256         (FRAME_CR_SAVE): Likewise.
40257         (FRAME_LR_SAVE): Likewise.
40258         (FRAME_COMPILER_DW): Likewise.
40259         (FRAME_LINKER_DW): Likewise.
40260         (FRAME_TOC_SAVE): Likewise.
40261         (FRAME_PARM_SAVE): Likewise.
40262         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
40263         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
40264         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
40265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
40266         (CHECK_SP): Use symbolic stack frame offsets.
40267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
40268         zone" instead of caller's parameter save area for temp storage.
40269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
40270         Likewise.  Also, use symbolic stack frame offsets.
40271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
40272         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
40273         our own stack frame instead of the caller's.
40274         (__socket): Use symbolic stack frame offsets.
40276 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
40277             Alan Modra  <amodra@gmail.com>
40279         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
40280         Define.
40281         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
40282         (PPC64_LOCAL_ENTRY_OFFSET): Define.
40283         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
40284         New function.
40285         (elf_machine_fixup_plt): Call it.
40286         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
40287         reloc arguments.
40288         (elf_machine_rela): Update call to elf_machine_plt_conflict.
40289         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
40290         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
40291         r2 before calling target.
40293 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
40294             Alan Modra  <amodra@gmail.com>
40296         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
40297         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
40298         versions of macros to support ELFv2 ABI.
40299         (LOCALENTRY): New macro.
40300         (ENTRY, EALIGN): Use it.
40301         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
40302         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
40303         fall through into ENTRY entry point.
40304         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
40305         Only define if _CALL_ELF != 2.
40307         (elf_machine_matches_host): Verify ABI version matches.
40308         (RTLD_START): Use LOCALENTRY.
40309         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
40310         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
40311         (PLT_ENTRY_WORDS): New macro.
40312         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
40313         (elf_machine_runtime_setup): Support ELFv2 ABI.
40314         (elf_machine_fixup_plt): Likewise.
40315         (elf_machine_plt_conflict): Likewise.
40316         (resolve_ifunc): Likewise.
40317         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
40318         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
40319         Likewise.
40320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
40321         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
40322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
40323         (makecontext): Support ELFv2 ABI.
40324         * elf/elf.h (EF_PPC64_ABI): Define.
40326 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
40328         * sysdeps/powerpc/powerpc64/sysdep.h
40329         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
40330         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
40331         (ENTRY) [ASSEMBLER]: ... but instead here ...
40332         (EALIGN) [ASSEMBLER]: ... and here.
40333         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
40334         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
40335         (ENTRY_2) [!ASSEMBLER]: Use it.
40336         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
40337         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
40338         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
40339         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
40340         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
40341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
40342         Use PPC64_LOAD_FUNCPTR.
40344         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
40346 2013-12-04  Alan Modra  <amodra@gmail.com>
40348         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
40349         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
40350         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
40351         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
40353         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
40354         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
40355         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
40356         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
40357         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
40358         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
40360 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
40362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
40363         (__makecontext): Fix incorrect CFI when backtracing out of
40364         context created via makecontext.
40365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
40366         (__setcontext): Fix incorrect CFI during switch to new context.
40367         (__novec_setcontext): Likewise.
40369 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
40371         [BZ #4772]
40372         * time/strptime_l.c (__strptime_internal): Allow modifiers
40373         in strptime.
40374         * time/tst-strptime.c (day_tests): Add testcase.
40376 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40378         * scripts/bench.pl: Skip over blank lines.
40380 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
40382         [BZ #926]
40383         * manual/time.texi (Calendar Time): Clarify what timezone functions
40384         use.
40386 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40388         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40390 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
40392         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
40393         implementation.
40394         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
40395         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
40396         * debug/memset_chk.c (__memset_chk): Likewise.
40397         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
40398         * debug/strncpy_chk.c: Likewise.
40400 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
40402         [BZ #15268]
40403         [BZ #15425]
40404         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
40405         (__ieee754_exp): For possibly underflowing results, check size of
40406         result and force underflow exception if required.
40407         * math/auto-libm-test-in: Add more tests of exp.
40408         * math/auto-libm-test-out: Regenerated.
40409         * sysdeps/i386/fpu/libm-test-ulps: Update.
40410         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40412         [BZ #16283]
40413         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
40414         * math/w_exp2f.c (__exp2f): Likewise.
40415         * math/w_exp2l.c (__exp2l): Likewise.
40416         * math/auto-libm-test-in: Do not allow missing errno on exp2
40417         underflow.
40418         * math/auto-libm-test-out: Regenerated.
40420 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
40422         [BZ #16274]
40423         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
40424         handle filename validation.
40425         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
40426         (do_open): Delete.
40428 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
40430         [BZ #6786]
40431         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
40432         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
40433         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
40434         <float.h>.
40435         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
40436         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
40437         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
40438         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
40439         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
40440         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
40441         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
40442         * math/auto-libm-test-in: Don't allow missing errno from erfc.
40443         Add more erfc tests.
40444         * math/auto-libm-test-out: Regenerated.
40445         * sysdeps/i386/fpu/libm-test-ulps: Update.
40446         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40448         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
40449         exp2, expm1, j0 and j1.
40450         * math/auto-libm-test-out: Regenerated.
40451         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
40452         (erfc_test_data): Likewise.
40453         (exp_test_data): Likewise.
40454         (exp_tonearest_test_data): Likewise.
40455         (exp_towardzero_test_data): Likewise.
40456         (exp_downward_test_data): Likewise.
40457         (exp_upward_test_data): Likewise.
40458         (exp10_test_data): Likewise.
40459         (exp2_test_data): Likewise.
40460         (expm1_test_data): Likewise.
40461         (j0_test_data): Likewise.
40462         (j1_test_data): Likewise.
40463         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
40464         (input_flag_type): Add flag_xfail_rounding.
40465         (input_flags): Add xfail-rounding.
40466         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
40467         (output_for_one_input_case): Handle flag_xfail_rounding.
40468         * sysdeps/i386/fpu/libm-test-ulps: Update.
40469         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40471 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
40473         [BZ #16289]
40474         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
40475         division by 0.
40477 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
40479         [BZ #16195]
40480         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
40481         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
40482         (STAP_PROBE0): New macro.
40483         (STAP_PROBE1): Likewise.
40484         (STAP_PROBE2): Likewise.
40485         (STAP_PROBE3): Likewise.
40486         (STAP_PROBE4): Likewise.
40488 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
40490         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
40492 2013-12-02  Steve Ellcey  <sellcey@mips.com>
40494         * benchtests/Makefile (bench): Add sqrt.
40495         (LDLIBS-bench-sqrt): New.
40496         * benchtests/sqrt-input: New.
40498 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
40500         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
40501         (GAIH_EAI): Likewise.
40502         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
40503         (gaih_inet): Likewise.
40504         (getaddrinfo): Don't use GAIH_EAI.
40506         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
40507         (struct gaih): Remove definition.
40509 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40511         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
40512         Use HERRNOP directly.
40514 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40516         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40518 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
40520         * math/gen-auto-libm-tests.c (test_functions): Add more
40521         single-argument functions.
40522         (special_fill_pi_2): New function.
40523         (special_fill_minus_pi_2): Likewise.
40524         (special_fill_pi_6): Likewise.
40525         (special_fill_minus_pi_6): Likewise.
40526         (special_fill_pi_3): Likewise.
40527         (special_fill_2pi_3): Likewise.
40528         (special_fill_e): Likewise.
40529         (special_fill_1_e): Likewise.
40530         (special_fill_e_minus_1): Likewise.
40531         (special_real_inputs): Add more special inputs.
40532         (output_for_one_input_case): Do not require ERANGE on underflow to
40533         zero if round-to-nearest result does not underflow to zero, unless
40534         exact results required.
40535         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
40536         atan, atanh, cbrt, cos and cosh.
40537         * math/auto-libm-test-out: Regenerated.
40538         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
40539         (acos_tonearest_test_data): Likewise.
40540         (acos_towardzero_test_data): Likewise.
40541         (acos_downward_test_data): Likewise.
40542         (acos_upward_test_data): Likewise.
40543         (acosh_test_data): Likewise.
40544         (asin_test_data): Likewise.
40545         (asin_tonearest_test_data): Likewise.
40546         (asin_towardzero_test_data): Likewise.
40547         (asin_upward_test_data): Likewise.
40548         (asinh_test_data): Likewise.
40549         (atan_test_data): Likewise.
40550         (atanh_test_data): Likewise.
40551         (cbrt_test_data): Likewise.
40552         (cos_test_data): Likewise.
40553         (cos_tonearest_test_data): Likewise.
40554         (cos_towardzero_test_data): Likewise.
40555         (cos_downward_test_data): Likewise.
40556         (cos_upward_test_data): Likewise.
40557         (cosh_test_data): Likewise.
40558         (cosh_tonearest_test_data): Likewise.
40559         (cosh_towardzero_test_data): Likewise.
40560         (cosh_downward_test_data): Likewise.
40561         (cosh_upward_test_data): Likewise.
40562         * sysdeps/i386/fpu/libm-test-ulps: Update.
40563         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40565 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
40567         [BZ #6787]
40568         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
40569         * math/w_exp10f.c (__exp10f): Likewise.
40570         * math/w_exp10l.c (__exp10l): Likewise.
40571         * math/libm-test.inc (exp10_test_data): Add more tests and expect
40572         errno settings in existing tests.
40574         [BZ #14032]
40575         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
40576         precision control set to double precision.
40577         * sysdeps/i386/fpu/w_sqrt.c: New file.
40578         * math/auto-libm-test-in: Add more tests.
40579         * math/auto-libm-test-out: Update.
40581         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
40582         (sqrt_test_tonearest): New function.
40583         (sqrt_towardzero_test_data): New variable.
40584         (sqrt_test_towardzero): New function.
40585         (sqrt_downward_test_data): New variable.
40586         (sqrt_test_downward): New function.
40587         (sqrt_upward_test_data): New variable.
40588         (sqrt_test_upward): New function.
40589         (main): Call the new functions.
40591         * math/gen-auto-libm-tests.c: New file.
40592         * math/auto-libm-test-in: Likewise.
40593         * math/auto-libm-test-out: New generated file.
40594         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
40595         variables.
40596         (%beautify): Add generated representations of zero.
40597         (top level): Set $auto_input and call parse_auto_input.
40598         (beautify): Remove trailing "f" from hex float constants.
40599         (parse_args): Handle XFAIL_TEST.
40600         (convert_condition): New function.
40601         (or_value): Likewise.
40602         (or_cond_value): Likewise.
40603         (generate_testfile): Handle AUTO_TESTS_* lines.
40604         (parse_auto_input): New function.
40605         * math/libm-test.inc (XFAIL_TEST): New macro.
40606         (ERRNO_UNCHANGED): Update value.
40607         (ERRNO_EDOM): Likewise.
40608         (ERRNO_ERANGE): Likewise.
40609         (IGNORE_RESULT): Likewise.
40610         (TEST_COND_flt_32): New macro.
40611         (TEST_COND_dbl_64): Likewise.
40612         (TEST_COND_ldbl_96_intel): Likewise.
40613         (TEST_COND_ldbl_96_m68k): Likewise.
40614         (TEST_COND_ldbl_128): Likewise.
40615         (TEST_COND_ldbl_128ibm): Likewise.
40616         (TEST_COND_long32): Likewise.
40617         (TEST_COND_long64): Likewise.
40618         (TEST_COND_before_rounding): Likewise.
40619         (TEST_COND_after_rounding): Likewise.
40620         (enable_test): Handle XFAIL_TEST flag.
40621         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
40622         with finite results.
40623         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
40624         auto-libm-test-out.
40626 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
40627             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40629         [BZ #16214]
40630         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
40631         __tls_get_addr_internal instead of __tls_get_offset in order to
40632         avoid GOT pointer dependency.  Make rtld export
40633         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
40634         __tls_get_addr since we are a __tls_get_offset platform.
40635         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
40636         GOT pointer being set up before.
40637         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
40639 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
40641         * manual/math.texi (Errors in Math Functions): Document accuracy
40642         goals.
40644         [BZ #15004]
40645         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
40646         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
40647         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40648         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40649         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40650         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40651         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40652         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
40653         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
40654         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40655         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40656         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40657         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40658         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40659         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40660         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
40662         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
40663         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
40664         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
40665         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
40666         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
40667         Likewise.
40668         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
40669         Likewise.
40670         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
40671         Likewise.
40672         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
40673         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
40674         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
40675         atomic-feupdateenv and flt-rounds.
40676         * sysdeps/powerpc/nofpu/Versions (libc): Add
40677         __atomic_feholdexcept, __atomic_feclearexcept,
40678         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
40679         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
40680         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
40681         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
40682         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
40683         here.
40684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
40685         Update.
40687         * manual/arith.texi (FP Exceptions): Document that exceptions may
40688         not be raised when matherr is used.
40689         (Math Error Reporting): Document overflow in directed rounding
40690         modes.  Document that errno may not be set when finite values are
40691         returned on overflow.  Document intent to set errno on underflow
40692         only for underflow to zero.
40694         [BZ #16271]
40695         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
40696         round-to-nearest then adjust result for other rounding modes.
40697         * include/fenv.h (fegetround): Use libm_hidden_proto.
40698         * math/fegetround.c (fegetround): Use libm_hidden_def.
40699         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
40700         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
40701         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
40702         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
40703         Likewise.
40704         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
40705         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
40706         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
40707         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
40709 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40711         [BZ #16077]
40712         * nss/Versions (libnss_files): Add
40713         _nss_files_gethostbyname3_r.
40714         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
40715         New function.
40716         (HOST_DB_LOOKUP): Remove macro.
40717         (_nss_files_gethostbyname_r): Implement function without the
40718         HOST_DB_LOOKUP macro.
40719         (_nss_files_gethostbyname2_r): Likewise.
40721 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
40723         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
40725 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
40727         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
40728         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
40729         warning.
40731 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40733         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
40734         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
40735         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
40736         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
40737         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
40738         __fe_nomask_env_priv and attribute_hidden.
40739         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
40740         (libc_feupdateenv_test_ppc): Likewise.
40741         (libc_feresetround_ppc): Likewise.
40742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
40743         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
40744         compat_symbol macro.
40745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
40746         (__fe_nomask_env): Likewise.
40747         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
40749 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
40751         * string/Makefile: Remove ifunc tests.
40752         * string/test-string.h: Define TEST_IFUNC.
40753         * string/test-bcopy-ifunc.c: Remove.
40754         * string/test-bzero-ifunc.c: Likewise.
40755         * string/test-memccpy-ifunc.c: Likewise.
40756         * string/test-memchr-ifunc.c: Likewise.
40757         * string/test-memcmp-ifunc.c: Likewise.
40758         * string/test-memcpy-ifunc.c: Likewise.
40759         * string/test-memmem-ifunc.c: Likewise.
40760         * string/test-memmove-ifunc.c: Likewise.
40761         * string/test-mempcpy-ifunc.c: Likewise.
40762         * string/test-memrchr-ifunc.c: Likewise.
40763         * string/test-memset-ifunc.c: Likewise.
40764         * string/test-rawmemchr-ifunc.c: Likewise.
40765         * string/test-stpcpy-ifunc.c: Likewise.
40766         * string/test-stpncpy-ifunc.c: Likewise.
40767         * string/test-strcasecmp-ifunc.c: Likewise.
40768         * string/test-strcasestr-ifunc.c: Likewise.
40769         * string/test-strcat-ifunc.c: Likewise.
40770         * string/test-strchr-ifunc.c: Likewise.
40771         * string/test-strchrnul-ifunc.c: Likewise.
40772         * string/test-strcmp-ifunc.c: Likewise.
40773         * string/test-strcpy-ifunc.c: Likewise.
40774         * string/test-strcspn-ifunc.c: Likewise.
40775         * string/test-strlen-ifunc.c: Likewise.
40776         * string/test-strncasecmp-ifunc.c: Likewise.
40777         * string/test-strncat-ifunc.c: Likewise.
40778         * string/test-strncmp-ifunc.c: Likewise.
40779         * string/test-strncpy-ifunc.c: Likewise.
40780         * string/test-strnlen-ifunc.c: Likewise.
40781         * string/test-strpbrk-ifunc.c: Likewise.
40782         * string/test-strrchr-ifunc.c: Likewise.
40783         * string/test-strspn-ifunc.c: Likewise.
40784         * string/test-strstr-ifunc.c: Likewise.
40786 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
40788         * benchtests/Makefile: Remove ifunc tests.
40789         * benchtests/bench-string.h: Define TEST_IFUNC.
40790         * benchtests/bench-bcopy-ifunc.c: Remove.
40791         * benchtests/bench-bzero-ifunc.c: Likewise.
40792         * benchtests/bench-memccpy-ifunc.c: Likewise.
40793         * benchtests/bench-memchr-ifunc.c: Likewise.
40794         * benchtests/bench-memcmp-ifunc.c: Likewise.
40795         * benchtests/bench-memcpy-ifunc.c: Likewise.
40796         * benchtests/bench-memmem-ifunc.c: Likewise.
40797         * benchtests/bench-memmove-ifunc.c: Likewise.
40798         * benchtests/bench-mempcpy-ifunc.c: Likewise.
40799         * benchtests/bench-memrchr-ifunc.c: Likewise.
40800         * benchtests/bench-memset-ifunc.c: Likewise.
40801         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
40802         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
40803         * benchtests/bench-stpcpy-ifunc.c: Likewise.
40804         * benchtests/bench-stpncpy-ifunc.c: Likewise.
40805         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
40806         * benchtests/bench-strcasestr-ifunc.c: Likewise.
40807         * benchtests/bench-strcat-ifunc.c: Likewise.
40808         * benchtests/bench-strchr-ifunc.c: Likewise.
40809         * benchtests/bench-strchrnul-ifunc.c: Likewise.
40810         * benchtests/bench-strcmp-ifunc.c: Likewise.
40811         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
40812         * benchtests/bench-strcpy-ifunc.c: Likewise.
40813         * benchtests/bench-strcspn-ifunc.c: Likewise.
40814         * benchtests/bench-strlen-ifunc.c: Likewise.
40815         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
40816         * benchtests/bench-strncat-ifunc.c: Likewise.
40817         * benchtests/bench-strncmp-ifunc.c: Likewise.
40818         * benchtests/bench-strncpy-ifunc.c: Likewise.
40819         * benchtests/bench-strnlen-ifunc.c: Likewise.
40820         * benchtests/bench-strpbrk-ifunc.c: Likewise.
40821         * benchtests/bench-strrchr-ifunc.c: Likewise.
40822         * benchtests/bench-strsep-ifunc.c: Likewise.
40823         * benchtests/bench-strspn-ifunc.c: Likewise.
40824         * benchtests/bench-strstr-ifunc.c: Likewise.
40826 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
40828         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
40830 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
40832         * resolv/netdb.h: Use __glibc_reserved instead __unused.
40833         * rt/aio.h: Likewise.
40834         * sysdeps/gnu/bits/utmp.h: Likewise.
40835         * sysdeps/gnu/bits/utmpx.h: Likewise.
40836         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
40837         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
40838         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
40839         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
40840         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
40841         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
40842         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
40843         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
40844         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
40845         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
40846         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
40847         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
40848         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
40849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
40850         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
40851         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
40852         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
40853         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
40854         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
40855         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
40856         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
40857         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
40858         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
40859         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
40860         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
40861         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40862         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
40863         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
40864         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
40865         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
40866         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
40867         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
40868         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
40869         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
40870         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
40871         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
40872         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
40873         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
40874         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
40875         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
40876         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
40877         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
40879 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
40881         [BZ #16245]
40882         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
40883         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
40885 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
40887         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
40888         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
40889         Likewise.
40891 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40893         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
40894         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
40895         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
40896         (__fesetround): Remove define.
40897         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
40898         rounding and exceptions handling.
40899         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
40900         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
40901         (__fe_nomask_env): Likewise.
40902         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
40903         __fegetround instead of fegetround.
40904         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
40905         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
40907 2013-11-21  Roland McGrath  <roland@hack.frob.com>
40909         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
40910         it's there.
40912         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
40914 2013-11-21  Meador Inge  <meadori@codesourcery.com>
40916         [BZ #11157]
40917         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
40918         (encrypt_r): Likewise.
40919         * malloc/obstack.h (obstack_free): Likewise.
40920         * posix/unistd.h (encrypt): Likewise.
40922 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
40924         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
40925         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
40926         DL_CALL_DT_FINI() that call the functions directly.
40927         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
40928         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
40929         * elf/dl-fini.c: Likewise.
40931 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
40933         * malloc/hooks.c (memalign_check): Add alignment rounding.
40934         * malloc/malloc.c (_mid_memalign): New function.
40935         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
40936         Implement by calling _mid_memalign.
40937         * manual/probes.texi (Memory Allocation Probes): Remove
40938         memory_valloc_retry and memory_pvalloc_retry.
40940 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
40942         * locale/programs/locarchive.c (open_archive): Add const
40943         qualifier to ARCHIVEFNAME and copy default fname to
40944         DEFAULT_FNAME.
40946         [BZ #15601]
40947         * libio/tst-widetext.input: Rename Oriya to Odia.
40948         * locale/iso-639.def: Likewise.
40950         * manual/probes.texi (Mathematical Function Probes): Add
40951         documentation for sin, cos, asin and acos probes.
40952         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
40953         (__sin32): Add slowasin probe.
40954         (__cos32): Add slowacos probe.
40955         (__mpsin): Add slowsin probe.
40956         (__mpcos): Add slowcos probe.
40958 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
40960         [BZ #15483]
40961         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
40962         thread-local __sim_exceptions_thread and global
40963         __sim_exceptions_global.
40964         (__sim_disabled_exceptions): Change to thread-local
40965         __sim_disabled_exceptions_thread and global
40966         __sim_disabled_exceptions_global.
40967         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
40968         and global __sim_round_mode_global.
40969         (__simulate_exceptions): Use thread-local floating-point state and
40970         set global state from it as needed.
40971         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
40972         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
40973         __sim_round_mode_thread.
40974         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
40975         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
40976         and global __sim_exceptions_global.
40977         (__sim_disabled_exceptions): Change to thread-local
40978         __sim_disabled_exceptions_thread and global
40979         __sim_disabled_exceptions_global.
40980         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
40981         and global __sim_round_mode_global.
40982         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
40983         (SIM_SET_GLOBAL): Likewise.
40984         * sysdeps/powerpc/soft-fp/sfp-machine.h
40985         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
40986         __sim_round_mode_thread.
40987         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
40988         __sim_disabled_exceptions_thread.
40989         (__sim_exceptions): Change to __sim_exceptions_thread.
40990         (__sim_disabled_exceptions): Change to
40991         __sim_disabled_exceptions_thread.
40992         (__sim_round_mode): Change to __sim_round_mode_thread.
40993         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
40994         thread-local floating-point state and set global state from it as
40995         needed.
40996         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
40997         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
40998         (__sim_disabled_exceptions): Remove extern declaration.
40999         (feenableexcept): Use thread-local floating-point state and set
41000         global state from it as needed.
41001         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
41002         extern declaration.
41003         (__sim_disabled_exceptions): Likewise.
41004         (__sim_round_mode): Likewise.
41005         (__fegetenv): Use thread-local floating-point state.
41006         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
41007         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
41008         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
41009         floating-point state and set global state from it as needed.
41010         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
41011         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
41012         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
41013         Likewise.
41014         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
41015         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
41016         Likewise.
41017         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
41018         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
41019         Use __sim_round_mode_thread.
41020         * math/test-fenv-tls.c: New file.
41021         * math/Makefile (tests): Add test-fenv-tls.
41022         ($(objpfx)test-fenv-tls): Depend on
41023         $(common-objpfx)nptl/libpthread.so.
41025 2013-11-19  Andreas Schwab  <schwab@suse.de>
41027         * locale/programs/locale.c (show_info): Decode wordarray elements.
41028         * locale/categories.def (LC_MONETARY): Add element for
41029         _NL_MONETARY_CRNCYSTR.
41030         * locale/C-monetary.c (conversion_rate): New variable.
41031         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
41032         element.
41034 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
41036         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
41037         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
41039 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
41041         * elf/Makefile (tst-auxv): New test.
41042         * elf/tst-auxv.c: New
41043         * elf/rtld.c (dl_main): Adjust AT_EXECFN
41045 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
41047         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
41048         (hidden_proto): Caller changed.
41049         (hidden_tls_proto): New macro.
41050         (libc_hidden_tls_proto): Likewise.
41051         (rtld_hidden_tls_proto): Likewise.
41052         (libm_hidden_tls_proto): Likewise.
41053         (libresolv_hidden_tls_proto): Likewise.
41054         (librt_hidden_tls_proto): Likewise.
41055         (libdl_hidden_tls_proto): Likewise.
41056         (libnss_files_hidden_tls_proto): Likewise.
41057         (libnsl_hidden_tls_proto): Likewise.
41058         (libnss_nisplus_hidden_tls_proto): Likewise.
41059         (libutil_hidden_tls_proto): Likewise.
41061 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
41063         [BZ #10253]
41064         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
41065         (decompose_rpath): Defer expansion to fillin_rpath.
41066         (_dl_init_paths): Pass linkmap to fillin_rpath.
41068 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
41070         * benchtests/Makefile: Add strsep.
41071         * benchtests/bench-strsep.c: New file: strsep benchtest.
41072         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
41074 2013-11-18  Andreas Schwab  <schwab@suse.de>
41076         * locale/programs/locale.c (show_info) [case byte]: Check for
41077         '\377' instead of '\177'.
41078         * locale/C-monetary.c (not_available): Always use "\377".
41079         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
41080         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
41081         detect unavailable sign_posn locale elements.
41082         * locale/localeconv.c (__localeconv): For grouping and
41083         mon_grouping handle "\177" and "\377" like no grouping.
41084         (INT_ELEM): New macro.  Use it to set all numeric members.
41085         * locale/programs/ld-monetary.c (monetary_read)
41086         <tok_mon_grouping>: Normalize single -1 to the empty string.
41087         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
41088         Likewise.
41090 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
41092         [BZ #16055]
41093         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
41094         when we match (nil).
41095         * stdio-common/tst-sscanf.c (struct test): Add testcase.
41097 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
41099         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
41100         (NO_TEST_INLINE): Update value.
41101         (ERRNO_UNCHANGED): Likewise.
41102         (ERRNO_EDOM): Likewise.
41103         (ERRNO_ERANGE): Likewise.
41104         (IGNORE_RESULT): Likewise.
41105         (check_float_internal): Check signs of NaN results if
41106         TEST_NAN_SIGN used.
41107         (check_complex): Pass TEST_NAN_SIGN flag through to second
41108         check_float_internal call.
41109         (copysign_test_data): Add tests with quiet NaNs as second
41110         argument.  Use TEST_NAN_SIGN.
41111         (fabs_test_data): Add test of negative quiet NaN argument.  Use
41112         TEST_NAN_SIGN.
41113         (signbit_test_data): Add tests of quiet NaN argument.
41114         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
41116         * math/gen-libm-test.pl (show_exceptions): Take extra argument
41117         $ignore_result.
41118         (parse_args): Handle function results specified as IGNORE.
41119         * math/libm-test.inc (IGNORE_RESULT): New macro.
41120         (check_float_internal): Do not check numerical result if flag
41121         IGNORE_RESULT set.
41122         (check_complex): Pass through IGNORE_RESULT to second
41123         check_float_internal call.
41124         (check_int): Do not check numerical result if flag IGNORE_RESULT
41125         set.
41126         (check_long): Likewise.
41127         (check_bool): Likewise.
41128         (check_longlong): Likewise.
41129         (lrint_test_data): Add tests of infinite and NaN arguments.
41130         (lrint_tonearest_test_data): Likewise.
41131         (lrint_towardzero_test_data): Likewise.
41132         (lrint_downward_test_data): Likewise.
41133         (lrint_upward_test_data): Likewise.
41134         (llrint_test_data): Likewise.
41135         (llrint_tonearest_test_data): Likewise.
41136         (llrint_towardzero_test_data): Likewise.
41137         (llrint_downward_test_data): Likewise.
41138         (llrint_upward_test_data): Likewise.
41139         (lround_test_data): Likewise.
41140         (llround_test_data): Likewise.
41142         * math/libm-test.inc (NO_TEST_INLINE): New macro.
41143         (ERRNO_UNCHANGED): Update value.
41144         (ERRNO_EDOM): Likewise.
41145         (ERRNO_ERANGE): Likewise.
41146         (NO_TEST_INLINE_FLOAT): New macro.
41147         (NO_TEST_INLINE_DOUBLE): Likewise.
41148         (enable_test): New function.
41149         (RUN_TEST_f_f): Check enable_test before running test.
41150         (RUN_TEST_2_f): Likewise.
41151         (RUN_TEST_fff_f): Likewise.
41152         (RUN_TEST_c_f): Likewise.
41153         (RUN_TEST_f_f1): Likewise.
41154         (RUN_TEST_fF_f1): Likewise.
41155         (RUN_TEST_fI_f1): Likewise.
41156         (RUN_TEST_ffI_f1): Likewise.
41157         (RUN_TEST_c_c): Likewise.
41158         (RUN_TEST_cc_c): Likewise.
41159         (RUN_TEST_f_i): Likewise.
41160         (RUN_TEST_f_i_tg): Likewise.
41161         (RUN_TEST_ff_i_tg): Likewise.
41162         (RUN_TEST_f_b): Likewise.
41163         (RUN_TEST_f_b_tg): Likewise.
41164         (RUN_TEST_f_l): Likewise.
41165         (RUN_TEST_f_L): Likewise.
41166         (RUN_TEST_fFF_11): Likewise.
41167         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
41168         conditionals.
41169         (cosh_test_data): Likewise.
41170         (exp_test_data): Likewise.
41171         (expm1_test_data): Likewise.
41172         (hypot_test_data): Likewise.
41173         (pow_test_data): Likewise.
41174         (sinh_test_data): Likewise.
41175         (tanh_test_data): Likewise.
41176         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
41177         flags argument.
41179         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
41180         tests with quiet NaN input and output.
41181         (acosh_test_data): Likewise.
41182         (asin_test_data): Likewise.
41183         (asinh_test_data): Likewise.
41184         (atan_test_data): Likewise.
41185         (atanh_test_data): Likewise.
41186         (atan2_test_data): Likewise.
41187         (cbrt_test_data): Likewise.
41188         (cos_test_data): Likewise.
41189         (cosh_test_data): Likewise.
41190         (erf_test_data): Likewise.
41191         (erfc_test_data): Likewise.
41192         (exp_test_data): Likewise.
41193         (exp10_test_data): Likewise.
41194         (exp2_test_data): Likewise.
41195         (expm1_test_data): Likewise.
41196         (hypot_test_data): Likewise.
41197         (j0_test_data): Likewise.
41198         (j1_test_data): Likewise.
41199         (jn_test_data): Likewise.
41200         (lgamma_test_data): Likewise.
41201         (log_test_data): Likewise.
41202         (log10_test_data): Likewise.
41203         (log1p_test_data): Likewise.
41204         (log2_test_data): Likewise.
41205         (pow_test_data): Likewise.
41206         (scalb_test_data): Likewise.
41207         (sin_test_data): Likewise.
41208         (sincos_test_data): Likewise.
41209         (sinh_test_data): Likewise.
41210         (tan_test_data): Likewise.
41211         (tanh_test_data): Likewise.
41212         (tgamma_test_data): Likewise.
41213         (y0_test_data): Likewise.
41214         (y1_test_data): Likewise.
41215         (yn_test_data): Likewise.
41217         [BZ #16167]
41218         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
41219         argument being NaN and avoid computations with second argument in
41220         that case.
41221         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
41222         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
41223         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
41225 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
41227         * locale/iso-639.def: Add Chitwani Tharu (the).
41229 2013-11-14  Andreas Schwab  <schwab@suse.de>
41231         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
41232         word instead of empty string.
41234 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
41237         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
41238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
41239         (__fe_nomask_env): Likewise.
41241 2013-11-13  Steve Ellcey  <sellcey@mips.com>
41243         * benchtests/bench-timing.h: Include time.h.
41245 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
41247         [BZ #15997]
41248         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
41249         to 3.4.0 for x32.
41250         * sysdeps/unix/sysv/linux/configure: Regenerated.
41252 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
41254         [BZ #16151]
41255         * stdlib/strtod_l.c (round_and_return): Do not consider
41256         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
41257         exponent one less than half the least subnormal exponent.
41258         * stdlib/test-strtod-round-data: Add more tests.
41259         * stdlib/tst-strtod-round.c (tests): Regenerated.
41261 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41263         [BZ #14143]
41264         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
41265         (__fe_mask_env): Likewise.
41266         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
41267         libm_hidden_proto and add function prototype.
41268         (__fe_mask_env): Add function prototype.
41269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
41270         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
41271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
41272         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
41273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
41274         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
41276 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41278         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
41279         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
41281 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41283         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
41284         of htab_find_slot().
41286 2013-11-11  David S. Miller  <davem@davemloft.net>
41288         [BZ #16150]
41289         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
41290         symbol in the non-vis3 case in static builds.
41291         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
41292         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
41293         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
41294         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
41296 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
41298         [BZ #387]
41299         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
41300         it is empty.
41302 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41304         * benchtests/Makefile: Add bench-strtod.
41305         * benchtests/bench-strtod.c: New file: strtod benchtest
41307 2013-11-11  Andreas Schwab  <schwab@suse.de>
41309         [BZ #16153]
41310         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
41311         terminating NUL in key length.
41313 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41315         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
41316         Add artificial ODP entry for vDSO symbol for PPC64.
41317         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
41318         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
41320 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
41322         [BZ #15374]
41323         * nss/getent.c (services_keys): Recognize services starting with digit.
41325 2013-11-06  David S. Miller  <davem@davemloft.net>
41327         [BZ #15985]
41328         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
41329         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
41331 2013-11-06  Will Newton  <will.newton@linaro.org>
41333         * manual/memory.texi (Malloc Examples): Remove register
41334         keyword from examples.
41336 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
41338         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
41340 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
41342         [BZ #6981]
41343         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
41344         depending on [__GCC_IEC_559 > 0].
41345         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
41346         depending on [__GCC_IEC_559_COMPLEX > 0].
41348 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
41350         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
41351         to iso-639.def.
41353 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
41355         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
41357 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
41359         [BZ #16112]
41360         * malloc/malloc (malloc_info): Do not handle first bin as
41361         special case.
41363 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
41365         * locale/iso-639.def: Add Central Nahuatl (nhn).
41367 2013-11-01  Bruno Haible  <bruno@clisp.org>
41369         [BZ #7003]
41370         * manual/math.texi (BSD Random): Specify range upper bound as
41371         in POSIX.
41373 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
41375         * locale/iso-639.def: Add Meadow Mari (mhr).
41377 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
41379         [BZ #14752], [BZ #15763]
41380         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
41381         Validate name.
41382         * rt/tst_shm.c: Add test for escaping directory.
41384 2013-10-31  Andreas Schwab  <schwab@suse.de>
41386         [BZ #15917]
41387         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
41388         followed by 'x' as part of digit sequence.
41389         * stdio-common/tst-sscanf.c (double_tests2): New tests.
41391 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
41393         [BZ #16037]
41394         * configure.ac: allow GNU Make 4.0 and greater.
41395         * configure: Regenerated.
41397 2013-10-30  Will Newton  <will.newton@linaro.org>
41399         [BZ #16038]
41400         * malloc/hooks.c (memalign_check): Limit alignment to the
41401         maximum representable power of two.
41402         * malloc/malloc.c (__libc_memalign): Likewise.
41403         * malloc/tst-memalign.c (do_test): Add test for very
41404         large alignment values.
41405         * malloc/tst-posix_memalign.c (do_test): Likewise.
41407 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
41409         [BZ #11087]
41410         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
41411         (munmap_chunk): Likewise.
41412         (mremap_chunk): Likewise.
41414 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
41416         [BZ #15799]
41417         * stdlib/div.c (div): Remove obsolete code.
41418         * stdlib/ldiv.c (ldiv): Likewise.
41419         * stdlib/lldiv.c (lldiv): Likewise.
41421 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
41423         [BZ #16071]
41424         * nss/nss_files/files-XXX.c (get_contents_ret): New
41425         enumerator.
41426         (get_contents): New function.
41427         (internal_getent): Use it.  Expand size of LINEBUFLEN.
41429 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
41431         * configure.in: Moved to ...
41432         * configure.ac: ... here. Change reference to configure.in
41433         to configure.ac.
41434         * sysdeps/arm/preconfigure.ac: ... here.
41435         configure.in to configure.ac.
41436         * sysdeps/gnu/configure.in: Moved to ...
41437         * sysdeps/gnu/configure.ac: ... here.
41438         * sysdeps/i386/configure.in: Moved to ...
41439         * sysdeps/i386/configure.ac: ... here.
41440         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
41441         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
41442         * sysdeps/mach/configure.in: Moved to ...
41443         * sysdeps/mach/configure.ac: ... here.
41444         * sysdeps/mach/hurd/configure.in: Moved to ...
41445         * sysdeps/mach/hurd/configure.ac: ... here.
41446         * sysdeps/powerpc/configure.in: Moved to ...
41447         * sysdeps/powerpc/configure.ac: ... here.
41448         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
41449         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
41450         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
41451         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
41452         * sysdeps/s390/s390-32/configure.in: Moved to ...
41453         * sysdeps/s390/s390-32/configure.ac: ... here.
41454         * sysdeps/s390/s390-64/configure.in: Moved to ...
41455         * sysdeps/s390/s390-64/configure.ac: ... here.
41456         * sysdeps/sh/configure.in: Moved to ...
41457         * sysdeps/sh/configure.ac: ... here.
41458         * sysdeps/sparc/configure.in: Moved to ...
41459         * sysdeps/sparc/configure.ac: ... here.
41460         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
41461         * sysdeps/unix/sysv/linux/configure.ac: ... here.
41462         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
41463         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
41464         * sysdeps/x86_64/configure.in: Moved to ...
41465         * sysdeps/x86_64/configure.ac: ... here.
41466         * sysdeps/x86_64/preconfigure.in: Moved to ...
41467         * sysdeps/x86_64/preconfigure.ac: ... here.
41468         * aclocal.m4: Change reference to configure.in to configure.ac.
41469         * config.h.in: Likewise.
41470         * manual/install.texi: Likewise.
41471         * manual/maint.texi: Likewise.
41472         * Makefile: Likewise.
41473         * malloc/Makefile: Likewise.
41474         * nscd/Makefile: Likewise.
41475         * Makeconfig: Change reference to configure.in and
41476         preconfigure.in to configure.ac and preconfigure.ac
41477         respectively.
41478         * INSTALL: Regenerated.
41479         * configure: Likewise.
41480         * sysdeps/gnu/configure: Likewise.
41481         * sysdeps/i386/configure: Likewise.
41482         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
41483         * sysdeps/mach/configure: Likewise.
41484         * sysdeps/mach/hurd/configure: Likewise.
41485         * sysdeps/powerpc/configure: Likewise.
41486         * sysdeps/powerpc/powerpc32/configure: Likewise.
41487         * sysdeps/powerpc/powerpc64/configure: Likewise.
41488         * sysdeps/s390/s390-32/configure: Likewise.
41489         * sysdeps/s390/s390-64/configure: Likewise.
41490         * sysdeps/sh/configure: Likewise.
41491         * sysdeps/sparc/configure: Likewise.
41492         * sysdeps/unix/sysv/linux/configure: Likewise.
41493         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
41494         * sysdeps/x86_64/configure: Likewise.
41495         * sysdeps/x86_64/preconfigure: Likewise.
41497 2013-10-29  Andreas Schwab  <schwab@suse.de>
41499         * stdio-common/Makefile (tst-swscanf-ENV): Define.
41501 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41503         * benchtests/pow-inputs: Add new inputs.
41505         * benchtests/exp-inputs: Add new inputs.
41507         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
41508         conditional check for return value.
41509         (__cos32): Likewise.
41511 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41513         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
41514         to provide a boost for large inputs with word alignment.
41515         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
41516         implementation based on optimized PPC64 strcpy.
41517         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
41518         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
41519         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
41520         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
41522 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
41524         [BZ #2801]
41525         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
41527 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
41529         [BZ #14876]
41530         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
41531         * time/tst-strptime.c (day_tests): Add testcase.
41533 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
41535         [BZ #14029]
41536         * manual/pattern.texi: Acknowledge that fnmatch can fail.
41538 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
41540         [BZ #16074]
41541         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
41542         MAP_FAILED on error.
41544 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
41546         [BZ #16072]
41547         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
41548         heap for large requests.
41550 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
41552         [BZ #9954]
41553         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
41554         result if the result has no associated interface.
41555         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
41556         interface for all 127.X.Y.Z addresses.
41558 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
41560         * locale/iso-639.def: Add Ligurian (lij)
41562 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
41564         [BZ #15825]
41565         * sunrpc/rpc_main.c: Document rpcgen -5.
41567 2013-10-19  Michael Stahl  <mstahl@redhat.com>
41569         * elf/rtld.c (do_preload): Print the reason why preloading failed.
41571 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
41573         [BZ #10278]
41574         * posix/glob.c: Match only directories when trailing slash is present.
41575         * posix/tst-gnuglob.c (my_opendir): Do not open files.
41576         (main): Add testcase.
41578 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
41580         [BZ #15670]
41581         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
41583 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
41585         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
41586         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
41587         AUTH_DES and cindex for FIPS 140-2.
41588         (DES Encryption): Add cindex FIPS 46-3.
41590         * locale/locarchive.h (struct locarhandle): Add fname.
41591         * locale/programs/localedef.c (main): Pass ARGV[remaining]
41592         if an optional argument was specified to --list-archive,
41593         otherwise NULL.
41594         * locale/programs/locarchive.c (show_archive_content): Take new
41595         argument fname and pass it via ah.fname to open_archive.
41596         * locale/programs/localedef.h: Update decl.
41597         (open_archive): If AH->fname is non-null, open that file
41598         rather than the default file name, and don't ignore ENOENT.
41599         (create_archive): Set AH.fname to NULL.
41600         (delete_locales_from_archive): Likewise.
41601         (add_locales_to_archive): Likewise.
41602         * locale/programs/locfile.c (write_all_categories): Likewise.
41604 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
41605             Aldy Hernandez  <aldyh@redhat.com>
41607         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
41608         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
41609         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
41610         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
41611         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
41612         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
41613         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
41614         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
41615         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
41616         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
41617         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
41618         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
41619         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
41620         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
41621         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
41622         Likewise.
41623         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
41624         Likewise.
41625         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
41626         Likewise.
41627         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
41628         Likewise.
41629         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
41630         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
41631         Likewise.
41632         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
41633         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
41634         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
41635         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
41636         Likewise.
41637         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
41638         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
41639         * sysdeps/powerpc/preconfigure: Likewise.
41640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
41641         Likewise.
41642         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
41643         Replace contents of file by #include of <fenv_libc.h>.
41644         * sysdeps/powerpc/soft-fp/sfp-machine.h
41645         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
41646         and <sys/prctl.h>.
41647         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
41648         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
41649         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
41650         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
41651         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
41652         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
41653         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
41654         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
41655         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
41656         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
41657         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
41658         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
41659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
41660         Allow copysignl PLT reference to be missing.
41662 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
41663             Joseph Myers  <joseph@codesourcery.com
41665         [BZ #15948]
41666         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
41667         single character.
41668         (add_to_tablewc): Assert sequence of wide characters is nonempty.
41670 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
41672         * elf/tst-tls-dlinfo.c: Don't include tls.h.
41673         * elf/tst-tls1.c: Likewise.
41674         * elf/tst-tls10.h: Likewise.
41675         * elf/tst-tls14.c: Likewise.
41676         * elf/tst-tls2.c: Likewise.
41677         * elf/tst-tls3.c: Likewise.
41678         * elf/tst-tls4.c: Likewise.
41679         * elf/tst-tls5.c: Likewise.
41680         * elf/tst-tls6.c: Likewise.
41681         * elf/tst-tls7.c: Likewise.
41682         * elf/tst-tls8.c: Likewise.
41683         * elf/tst-tls9.c: Likewise.
41684         * elf/tst-tlsmod1.c: Likewise.
41685         * elf/tst-tlsmod13.c: Likewise.
41686         * elf/tst-tlsmod13a.c: Likewise.
41687         * elf/tst-tlsmod14a.c: Likewise.
41688         * elf/tst-tlsmod16a.c: Likewise.
41689         * elf/tst-tlsmod16b.c: Likewise.
41690         * elf/tst-tlsmod2.c: Likewise.
41691         * elf/tst-tlsmod3.c: Likewise.
41692         * elf/tst-tlsmod4.c: Likewise.
41693         * elf/tst-tlsmod5.c: Likewise.
41694         * elf/tst-tlsmod6.c: Likewise.
41696 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
41698         [BZ #12486]
41699         * malloc/malloc.c: remove checks for statistics.
41701 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
41703         [BZ #15277]
41704         * inet/inet_net.c (inet_network): Detect additional invalid strings.
41705         * inet/tst-network.c: Add testcase.
41707 2013-10-17  Andreas Schwab  <schwab@suse.de>
41709         [BZ #15218]
41710         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
41711         to determine canonical name.
41713 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
41715         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
41716         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
41717         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41718         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
41719         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41720         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
41721         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
41722         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
41723         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
41724         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
41725         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
41726         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41727         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
41728         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
41729         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
41730         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
41731         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41732         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41733         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
41734         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
41735         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41736         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41737         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41738         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
41739         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
41740         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
41741         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
41742         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
41743         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
41744         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
41745         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
41746         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41747         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
41748         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
41749         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
41750         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
41751         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
41752         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
41753         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
41754         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41755         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
41756         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
41757         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
41758         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
41759         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
41760         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
41761         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
41762         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
41763         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
41764         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
41765         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
41766         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
41767         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
41768         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
41769         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41770         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
41771         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41772         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
41774 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
41776         [BZ #16041]
41777         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
41778         make result into a quiet NaN.
41780 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
41782         * soft-fp/adddf3.c: Fix horizontal whitespace.
41783         * soft-fp/addsf3.c: Likewise.
41784         * soft-fp/addtf3.c: Likewise.
41785         * soft-fp/divdf3.c: Likewise.
41786         * soft-fp/divsf3.c: Likewise.
41787         * soft-fp/divtf3.c: Likewise.
41788         * soft-fp/double.h: Likewise.
41789         * soft-fp/eqdf2.c: Likewise.
41790         * soft-fp/eqsf2.c: Likewise.
41791         * soft-fp/eqtf2.c: Likewise.
41792         * soft-fp/extenddftf2.c: Likewise.
41793         * soft-fp/extended.h: Likewise.
41794         * soft-fp/extendsfdf2.c: Likewise.
41795         * soft-fp/extendsftf2.c: Likewise.
41796         * soft-fp/extendxftf2.c: Likewise.
41797         * soft-fp/fixdfdi.c: Likewise.
41798         * soft-fp/fixdfsi.c: Likewise.
41799         * soft-fp/fixdfti.c: Likewise.
41800         * soft-fp/fixsfdi.c: Likewise.
41801         * soft-fp/fixsfsi.c: Likewise.
41802         * soft-fp/fixsfti.c: Likewise.
41803         * soft-fp/fixtfdi.c: Likewise.
41804         * soft-fp/fixtfsi.c: Likewise.
41805         * soft-fp/fixtfti.c: Likewise.
41806         * soft-fp/fixunsdfdi.c: Likewise.
41807         * soft-fp/fixunsdfsi.c: Likewise.
41808         * soft-fp/fixunsdfti.c: Likewise.
41809         * soft-fp/fixunssfdi.c: Likewise.
41810         * soft-fp/fixunssfsi.c: Likewise.
41811         * soft-fp/fixunssfti.c: Likewise.
41812         * soft-fp/fixunstfdi.c: Likewise.
41813         * soft-fp/fixunstfsi.c: Likewise.
41814         * soft-fp/fixunstfti.c: Likewise.
41815         * soft-fp/floatdidf.c: Likewise.
41816         * soft-fp/floatdisf.c: Likewise.
41817         * soft-fp/floatditf.c: Likewise.
41818         * soft-fp/floatsidf.c: Likewise.
41819         * soft-fp/floatsisf.c: Likewise.
41820         * soft-fp/floatsitf.c: Likewise.
41821         * soft-fp/floattidf.c: Likewise.
41822         * soft-fp/floattisf.c: Likewise.
41823         * soft-fp/floattitf.c: Likewise.
41824         * soft-fp/floatundidf.c: Likewise.
41825         * soft-fp/floatundisf.c: Likewise.
41826         * soft-fp/floatunditf.c: Likewise.
41827         * soft-fp/floatunsidf.c: Likewise.
41828         * soft-fp/floatunsisf.c: Likewise.
41829         * soft-fp/floatunsitf.c: Likewise.
41830         * soft-fp/floatuntidf.c: Likewise.
41831         * soft-fp/floatuntisf.c: Likewise.
41832         * soft-fp/floatuntitf.c: Likewise.
41833         * soft-fp/fmadf4.c: Likewise.
41834         * soft-fp/fmasf4.c: Likewise.
41835         * soft-fp/fmatf4.c: Likewise.
41836         * soft-fp/gedf2.c: Likewise.
41837         * soft-fp/gesf2.c: Likewise.
41838         * soft-fp/getf2.c: Likewise.
41839         * soft-fp/ledf2.c: Likewise.
41840         * soft-fp/lesf2.c: Likewise.
41841         * soft-fp/letf2.c: Likewise.
41842         * soft-fp/muldf3.c: Likewise.
41843         * soft-fp/mulsf3.c: Likewise.
41844         * soft-fp/multf3.c: Likewise.
41845         * soft-fp/negdf2.c: Likewise.
41846         * soft-fp/negsf2.c: Likewise.
41847         * soft-fp/negtf2.c: Likewise.
41848         * soft-fp/op-1.h: Likewise.
41849         * soft-fp/op-2.h: Likewise.
41850         * soft-fp/op-4.h: Likewise.
41851         * soft-fp/op-8.h: Likewise.
41852         * soft-fp/op-common.h: Likewise.
41853         * soft-fp/quad.h: Likewise.
41854         * soft-fp/single.h: Likewise.
41855         * soft-fp/soft-fp.h: Likewise.
41856         * soft-fp/sqrtdf2.c: Likewise.
41857         * soft-fp/sqrtsf2.c: Likewise.
41858         * soft-fp/sqrttf2.c: Likewise.
41859         * soft-fp/subdf3.c: Likewise.
41860         * soft-fp/subsf3.c: Likewise.
41861         * soft-fp/subtf3.c: Likewise.
41862         * soft-fp/truncdfsf2.c: Likewise.
41863         * soft-fp/trunctfdf2.c: Likewise.
41864         * soft-fp/trunctfsf2.c: Likewise.
41865         * soft-fp/trunctfxf2.c: Likewise.
41866         * soft-fp/unorddf2.c: Likewise.
41867         * soft-fp/unordsf2.c: Likewise.
41868         * soft-fp/unordtf2.c: Likewise.
41870 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
41872         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
41873         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
41875 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
41877         * elf/dl-libc.c: Clear initfini list after freeing.
41879 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
41881         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
41882         * soft-fp/addsf3.c: Likewise.
41883         * soft-fp/addtf3.c: Likewise.
41884         * soft-fp/divdf3.c: Likewise.
41885         * soft-fp/divsf3.c: Likewise.
41886         * soft-fp/divtf3.c: Likewise.
41887         * soft-fp/double.h: Likewise.
41888         * soft-fp/eqdf2.c: Likewise.
41889         * soft-fp/eqsf2.c: Likewise.
41890         * soft-fp/eqtf2.c: Likewise.
41891         * soft-fp/extenddftf2.c: Likewise.
41892         * soft-fp/extended.h: Likewise.
41893         * soft-fp/extendsfdf2.c: Likewise.
41894         * soft-fp/extendsftf2.c: Likewise.
41895         * soft-fp/extendxftf2.c: Likewise.
41896         * soft-fp/fixdfdi.c: Likewise.
41897         * soft-fp/fixdfsi.c: Likewise.
41898         * soft-fp/fixdfti.c: Likewise.
41899         * soft-fp/fixsfdi.c: Likewise.
41900         * soft-fp/fixsfsi.c: Likewise.
41901         * soft-fp/fixsfti.c: Likewise.
41902         * soft-fp/fixtfdi.c: Likewise.
41903         * soft-fp/fixtfsi.c: Likewise.
41904         * soft-fp/fixtfti.c: Likewise.
41905         * soft-fp/fixunsdfdi.c: Likewise.
41906         * soft-fp/fixunsdfsi.c: Likewise.
41907         * soft-fp/fixunsdfti.c: Likewise.
41908         * soft-fp/fixunssfdi.c: Likewise.
41909         * soft-fp/fixunssfsi.c: Likewise.
41910         * soft-fp/fixunssfti.c: Likewise.
41911         * soft-fp/fixunstfdi.c: Likewise.
41912         * soft-fp/fixunstfsi.c: Likewise.
41913         * soft-fp/fixunstfti.c: Likewise.
41914         * soft-fp/floatdidf.c: Likewise.
41915         * soft-fp/floatdisf.c: Likewise.
41916         * soft-fp/floatditf.c: Likewise.
41917         * soft-fp/floatsidf.c: Likewise.
41918         * soft-fp/floatsisf.c: Likewise.
41919         * soft-fp/floatsitf.c: Likewise.
41920         * soft-fp/floattidf.c: Likewise.
41921         * soft-fp/floattisf.c: Likewise.
41922         * soft-fp/floattitf.c: Likewise.
41923         * soft-fp/floatundidf.c: Likewise.
41924         * soft-fp/floatundisf.c: Likewise.
41925         * soft-fp/floatunsidf.c: Likewise.
41926         * soft-fp/floatunsisf.c: Likewise.
41927         * soft-fp/floatuntidf.c: Likewise.
41928         * soft-fp/floatuntisf.c: Likewise.
41929         * soft-fp/floatuntitf.c: Likewise.
41930         * soft-fp/fmadf4.c: Likewise.
41931         * soft-fp/fmasf4.c: Likewise.
41932         * soft-fp/fmatf4.c: Likewise.
41933         * soft-fp/gedf2.c: Likewise.
41934         * soft-fp/gesf2.c: Likewise.
41935         * soft-fp/getf2.c: Likewise.
41936         * soft-fp/ledf2.c: Likewise.
41937         * soft-fp/lesf2.c: Likewise.
41938         * soft-fp/letf2.c: Likewise.
41939         * soft-fp/muldf3.c: Likewise.
41940         * soft-fp/mulsf3.c: Likewise.
41941         * soft-fp/multf3.c: Likewise.
41942         * soft-fp/negdf2.c: Likewise.
41943         * soft-fp/negsf2.c: Likewise.
41944         * soft-fp/negtf2.c: Likewise.
41945         * soft-fp/op-1.h: Likewise.
41946         * soft-fp/op-2.h: Likewise.
41947         * soft-fp/op-4.h: Likewise.
41948         * soft-fp/op-8.h: Likewise.
41949         * soft-fp/op-common.h: Likewise.
41950         * soft-fp/quad.h: Likewise.
41951         * soft-fp/single.h: Likewise.
41952         * soft-fp/soft-fp.h: Likewise.
41953         * soft-fp/sqrtdf2.c: Likewise.
41954         * soft-fp/sqrtsf2.c: Likewise.
41955         * soft-fp/sqrttf2.c: Likewise.
41956         * soft-fp/subdf3.c: Likewise.
41957         * soft-fp/subsf3.c: Likewise.
41958         * soft-fp/subtf3.c: Likewise.
41959         * soft-fp/truncdfsf2.c: Likewise.
41960         * soft-fp/trunctfdf2.c: Likewise.
41961         * soft-fp/trunctfsf2.c: Likewise.
41962         * soft-fp/trunctfxf2.c: Likewise.
41963         * soft-fp/unorddf2.c: Likewise.
41964         * soft-fp/unordsf2.c: Likewise.
41965         * soft-fp/unordtf2.c: Likewise.
41967 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
41969         [BZ #15672]
41970         * misc/error.c (error_tail): Fix possible buffer overflow.
41972 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
41974         [BZ #13028]
41975         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
41976         address.
41978 2013-10-14  P. J. McDermott  <pj@pehjota.net>
41980         [BZ #832]
41981         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
41982         testing pipefail option.
41984 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
41986         * soft-fp/double.h: Indent preprocessor directives inside #if.
41987         * soft-fp/extended.h: Likewise.
41988         * soft-fp/op-2.h: Likewise.
41989         * soft-fp/op-4.h: Likewise.
41990         * soft-fp/op-common.h: Likewise.
41991         * soft-fp/quad.h: Likewise.
41992         * soft-fp/single.h: Likewise.
41993         * soft-fp/soft-fp.h: Likewise.
41995 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
41997         * iconv/iconv_prog.c: Fix typos.
41998         * stdio-common/psiginfo-data.h: Likewise.
42000 2013-10-12   Reuben Thomas <rrt@sc3d.org>
42002         [BZ #15764]
42003         * locale/setlocale.c: Fix typo.
42005 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
42007         [BZ #16036]
42008         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
42009         signaling NaN arguments.
42010         * soft-fp/unordsf2.c (__unordsf2): Likewise.
42011         * soft-fp/unordtf2.c (__unordtf2): Likewise.
42013         [BZ #14910]
42014         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
42015         unordered operands.
42016         * soft-fp/gesf2.c (__gesf2): Likewise.
42017         * soft-fp/getf2.c (__getf2): Likewise.
42018         * soft-fp/ledf2.c (__ledf2): Likewise.
42019         * soft-fp/lesf2.c (__lesf2): Likewise.
42020         * soft-fp/letf2.c (__letf2): Likewise.
42022         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
42023         * soft-fp/eqsf2.c (__eqsf2): Likewise.
42024         * soft-fp/eqtf2.c (__eqtf2): Likewise.
42025         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
42026         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
42027         * soft-fp/fixdfti.c (__fixdfti): Likewise.
42028         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
42029         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
42030         * soft-fp/fixsfti.c (__fixsfti): Likewise.
42031         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
42032         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
42033         * soft-fp/fixtfti.c (__fixtfti): Likewise.
42034         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
42035         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
42036         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
42037         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
42038         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
42039         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
42040         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
42041         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
42042         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
42043         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
42044         * soft-fp/floatdisf.c (__floatdisf): Likewise.
42045         * soft-fp/floatsisf.c (__floatsisf): Likewise.
42046         * soft-fp/floattidf.c (__floattidf): Likewise.
42047         * soft-fp/floattisf.c (__floattisf): Likewise.
42048         * soft-fp/floattitf.c (__floattitf): Likewise.
42049         * soft-fp/floatundidf.c (__floatundidf): Likewise.
42050         * soft-fp/floatundisf.c (__floatundisf): Likewise.
42051         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
42052         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
42053         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
42054         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
42055         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
42056         * soft-fp/gesf2.c (__gesf2): Likewise.
42057         * soft-fp/getf2.c (__getf2): Likewise.
42058         * soft-fp/ledf2.c (__ledf2): Likewise.
42059         * soft-fp/lesf2.c (__lesf2): Likewise.
42060         * soft-fp/letf2.c (__letf2): Likewise.
42062         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
42063         Undefine and redefine.
42064         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
42065         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
42066         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
42067         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
42068         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
42069         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
42070         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
42071         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
42072         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
42073         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
42074         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
42075         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
42076         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
42077         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
42078         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
42080         [BZ #16032]
42081         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
42082         without decrementing exponent if mantissa >= that for the
42083         denominator, not >.
42084         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
42085         denominator, not >.  Decrement exponent in < case instead of
42086         incrementing in >= case.
42087         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
42088         without decrementing exponent if mantissa >= that for the
42089         denominator, not >.
42091         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
42092         computing saturated result for unsigned overflow.
42094 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
42095             Jeff Law  <law@redhat.com>
42097         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
42098         (atan2Mp): Add systemtap probe marker.
42099         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
42100         (__ieee754_log): Add systemtap probe marker.
42101         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
42102         (atanMp): Add systemtap probe marker.
42103         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
42104         (tanMp): Add systemtap probe marker.
42105         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
42106         (__slowexp): Add systemtap probe marker.
42107         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
42108         (__slowpow): Add systemtap probe marker.
42109         * manual/probes.texi: Document probes.
42111 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
42113         [BZ #15362]
42114         * libio/fileops.c (_IO_new_file_write): Return count of bytes
42115         written.
42116         (_IO_new_file_xsputn): Don't return EOF if nothing has been
42117         written.
42118         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
42119         written to buffer but not flushed.
42120         * libio/iofwrite_u.c:  Likewise.
42121         * libio/iopadn.c:  Return bytes returned even if EOF was
42122         encountered.
42123         * libio/iowpadn.c:  Likewise.
42124         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
42125         if _IO_padn does not write the whole buffer.
42126         [!COMPILE_WPRINTF] (PAD): Likewise.
42128 2013-10-10  David S. Miller  <davem@davemloft.net>
42130         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
42131         directory block.
42133 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
42135         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
42136         instead of FSF address.
42137         * soft-fp/fixdfti.c: Likewise.
42138         * soft-fp/fixsfti.c: Likewise.
42139         * soft-fp/fixtfti.c: Likewise.
42140         * soft-fp/fixunsdfti.c: Likewise.
42141         * soft-fp/fixunssfti.c: Likewise.
42142         * soft-fp/fixunstfti.c: Likewise.
42143         * soft-fp/floattidf.c: Likewise.
42144         * soft-fp/floattisf.c: Likewise.
42145         * soft-fp/floattitf.c: Likewise.
42146         * soft-fp/floatuntidf.c: Likewise.
42147         * soft-fp/floatuntisf.c: Likewise.
42148         * soft-fp/floatuntitf.c: Likewise.
42149         * soft-fp/trunctfxf2.c: Likewise.
42151         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
42152         * soft-fp/fixdfti.c: Likewise.
42153         * soft-fp/fixsfti.c: Likewise.
42154         * soft-fp/fixtfti.c: Likewise.
42155         * soft-fp/fixunsdfti.c: Likewise.
42156         * soft-fp/fixunssfti.c: Likewise.
42157         * soft-fp/fixunstfti.c: Likewise.
42158         * soft-fp/floattidf.c: Likewise.
42159         * soft-fp/floattisf.c: Likewise.
42160         * soft-fp/floattitf.c: Likewise.
42161         * soft-fp/floatuntidf.c: Likewise.
42162         * soft-fp/floatuntisf.c: Likewise.
42163         * soft-fp/floatuntitf.c: Likewise.
42164         * soft-fp/trunctfxf2.c: Likewise.
42166 2013-10-10  David S. Miller  <davem@davemloft.net>
42168         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42170 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
42172         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
42173         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
42174         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
42175         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
42176         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
42177         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
42178         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
42180         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
42181         for NaNs before doing comparisons on argument.
42182         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
42183         Likewise.
42185 2013-10-10  Will Newton  <will.newton@linaro.org>
42187         * malloc/hooks.c (memalign_check): Ensure the value of bytes
42188         passed to _int_memalign does not overflow.
42190 2013-10-10  Torvald Riegel  <triegel@redhat.com>
42192         * scripts/bench.pl: Add include-sources directive.
42193         * benchtests/README: Update documentation.
42195 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
42197         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
42198         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
42199         instead of FP_INIT_ROUNDMODE.
42200         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
42201         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
42203         [BZ #16034]
42204         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
42205         copy class of input value.
42206         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
42207         not handle exceptions.
42208         * soft-fp/negsf2.c (__negsf2): Likewise.
42209         * soft-fp/negtf2.c (__negtf2): Likewise.
42210         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
42212 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
42214         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
42215         semicolon.  From Linux kernel.
42217 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
42219         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
42221 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
42223         [BZ #156]
42224         * manual/socket.texi: Added statement about buffer
42225         for gethostbyname2_r.
42227 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
42229         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
42230         Use .p2align directive instead, throughout.
42231         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
42232         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
42233         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
42234         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
42235         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
42236         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
42237         * sysdeps/x86_64/strchr.S: Likewise.
42238         * sysdeps/x86_64/strrchr.S: Likewise.
42240 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
42242         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
42244         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
42246         * sysdeps/generic/math_private.h (__mpsin1): Remove
42247         declaration.
42248         (__mpcos1): Likewise.
42249         (__mpsin): New argument __range_reduce.
42250         (__mpcos): Likewise.
42251         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42252         (slow): Use __mpsin and __mpcos.
42253         (slow1): Likewise.
42254         (slow2): Likewise.
42255         (sloww): Likewise.
42256         (sloww1): Likewise.
42257         (sloww2): Likewise.
42258         (bsloww): Likewise.
42259         (bsloww1): Likewise.
42260         (bsloww2): Likewise.
42261         (cslow2): Likewise.
42262         (csloww): Likewise.
42263         (csloww1): Likewise.
42264         (csloww2): Likewise.
42265         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
42266         range_reduce.  Merge in __mpsin1.
42267         (__mpcos): Likewise.
42268         (__mpsin1): Remove.
42269         (__mpcos1): Likewise.
42271 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
42273         * locale/loadlocale.c (_nl_intern_locale_data): Use
42274         LOCFILE_ALIGNED_P.
42275         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
42276         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
42277         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
42278         obstack data is appropriately aligned.
42279         (obstack_int32_grow_fast): Likewise.
42280         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
42281         * locale/programs/locfile.c (add_locale_uint32): Likewise.
42282         (add_locale_uint32_array): Likewise.
42284 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
42286         * benchtests/Makefile: Remove ARGLIST and RET variables.
42287         ($(objpfx)bench-%.c): Pass only function name to the script.
42288         * benchtests/README: Update documentation.
42289         * benchtests/acos-inputs: Add new directives.
42290         * benchtests/acosh-inputs: Likewise.
42291         * benchtests/asin-inputs: Likewise.
42292         * benchtests/asinh-inputs: Likewise.
42293         * benchtests/atan-inputs: Likewise.
42294         * benchtests/atanh-inputs: Likewise.
42295         * benchtests/cos-inputs: Likewise.
42296         * benchtests/cosh-inputs: Likewise.
42297         * benchtests/exp-inputs: Likewise.
42298         * benchtests/log-inputs: Likewise.
42299         * benchtests/pow-inputs: Likewise.
42300         * benchtests/rint-inputs: Likewise.
42301         * benchtests/sin-inputs: Likewise.
42302         * benchtests/sinh-inputs: Likewise.
42303         * benchtests/tan-inputs: Likewise.
42304         * benchtests/tanh-inputs: Likewise.
42305         * scripts/bench.pl: Add support for new directives.
42307 2013-10-07  Alan Modra  <amodra@gmail.com>
42309         * README: Fix careless merge.
42311 2013-10-05  Alan Modra  <amodra@gmail.com>
42313         * NEWS: Mention powerpc64le support and bugs fixed.
42314         * README: Both big-endian and little-endian powerpc64 supported.
42316 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42318         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
42319         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
42320         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
42321         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
42323 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
42325         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
42326         match prototype.
42328 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
42330         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
42331         Move -mhard-float appending from
42332         ports/sysdeps/powerpc/powerpc32/Makefile.
42333         [$(with-fp) = yes] (ASFLAGS): Likewise.
42334         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
42335         * sysdeps/powerpc/nofpu: Move directory from
42336         ports/sysdeps/powerpc/nofpu.
42337         * sysdeps/powerpc/soft-fp: Move directory from
42338         ports/sysdeps/powerpc/soft-fp.
42339         * sysdeps/powerpc/powerpc32/405: Move directory from
42340         ports/sysdeps/powerpc/powerpc32/405.
42341         * sysdeps/powerpc/powerpc32/440: Move directory from
42342         ports/sysdeps/powerpc/powerpc32/440.
42343         * sysdeps/powerpc/powerpc32/464: Move directory from
42344         ports/sysdeps/powerpc/powerpc32/464.
42345         * sysdeps/powerpc/powerpc32/476: Move directory from
42346         ports/sysdeps/powerpc/powerpc32/476.
42347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
42348         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
42349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
42350         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
42351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
42352         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
42353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
42354         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
42355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
42356         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
42357         * README: Update for powerpc-*-linux-gnu software floating point
42358         support in libc.
42360         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
42361         case to powerpc/powerpc32*.
42362         * sysdeps/unix/sysv/linux/configure: Regenerated.
42364         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
42365         (_FPU_MASK_OM): Define as 0x04.
42366         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
42367         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
42368         0x00c10080.
42369         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
42370         0x0000003c.
42371         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
42373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
42374         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
42375         getcontext_e500.
42376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
42377         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
42378         setcontext_e500.
42379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
42380         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
42381         and setcontext_e500.
42383 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
42385         * locale/iso-3166.def: Update iso-1366.def and related occurrences
42387 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
42389         * manual/threads.texi (Default Thread Attributes): Fix typo.
42391 2013-10-04  Will Newton  <will.newton@linaro.org>
42393         * malloc/Makefile: Add tst-memalign.
42394         * malloc/tst-memalign.c: New file.
42396         * malloc/tst-posix_memalign.c: Add comments.
42397         (do_test): Add comments and call free on all potentially
42398         allocated pointers. Add space after cast.
42400         * malloc/tst-pvalloc.c: Add comments.
42401         (do_test): Add comments and call free on all potentially
42402         allocated pointers. Remove duplicate check for NULL pointer.
42403         Add space after cast.
42405         * malloc/tst-valloc.c: Add comments.
42406         (do_test): Add comments and call free on all potentially
42407         allocated pointers. Remove duplicate check for NULL pointer.
42408         Add space after cast.
42410 2013-10-04  Alan Modra  <amodra@gmail.com>
42412         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
42413         Use stdint types in rather than __attribute__((mode())).
42414         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
42416 2013-10-04  Alan Modra  <amodra@gmail.com>
42418         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
42419         Correct handling of unaligned relocs for little-endian.
42420         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
42422 2013-10-04  Alan Modra  <amodra@gmail.com>
42424         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
42425         * configure: Regenerate.
42426         * nptl/shlib-versions: Powerpc*le starts at 2.18.
42427         * shlib-versions: Likewise.
42429 2013-10-04  Alan Modra  <amodra@gmail.com>
42431         * string/tester.c (test_memrchr): Increment reported test cycle.
42433 2013-10-04  Alan Modra  <amodra@gmail.com>
42435         * string/test-memcpy.c (do_one_test): When reporting errors, print
42436         string address and don't overrun end of string.
42438 2013-10-04  Alan Modra  <amodra@gmail.com>
42440         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
42441         insrdi.  Make better use of reg selection to speed exit slightly.
42442         Schedule entry path a little better.  Remove useless "are we done"
42443         checks on entry to main loop.  Handle wrapping around zero address.
42444         Correct main loop count.  Handle single left-over word from main
42445         loop inline rather than by using loop_small.  Remove extra word
42446         case in loop_small caused by wrong loop count.  Add little-endian
42447         support.
42448         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
42449         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
42450         cache hint.
42451         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
42452         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
42453         support.  Avoid rlwimi.
42454         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
42456 2013-10-04  Alan Modra  <amodra@gmail.com>
42458         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
42459         insrdi.  Formatting.
42460         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
42461         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
42462         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
42463         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
42464         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
42465         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
42467 2013-10-04  Alan Modra  <amodra@gmail.com>
42469         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
42470         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
42471         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
42472         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
42473         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
42474         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
42475         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
42476         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
42477         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
42478         use of regs.  Use power7 mtocrf.  Tidy function tails.
42480 2013-10-04  Alan Modra  <amodra@gmail.com>
42482         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
42483         Formatting.  Consistently use rXXX register defines or rN defines.
42484         Use early exit labels that avoid restoring unused non-volatile regs.
42485         Make cr field use more consistent with rWORDn compares.  Rename
42486         regs used as shift registers for unaligned loop, using rN defines
42487         for short lifetime/multiple use regs.
42488         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
42489         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
42490         addi 1,1,64 to pop stack frame.  Simplify return value code.
42491         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
42493 2013-10-04  Alan Modra  <amodra@gmail.com>
42495         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
42496         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
42497         rather than rlwimi.
42498         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
42499         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
42500         little-endian support.  Correct typos.
42501         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
42502         rather than rlwimi.
42503         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
42504         in loop and entry code to keep "and." results.
42505         (strchr): Add little-endian support.  Comment.  Move cntlzd
42506         earlier in tail.
42507         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
42509 2013-10-04  Alan Modra  <amodra@gmail.com>
42511         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
42512         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
42513         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
42514         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
42516 2013-10-04  Alan Modra  <amodra@gmail.com>
42518         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
42519         (rTMP): Define as r11.
42520         (strcmp): Add little-endian support.  Optimise tail.
42521         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
42522         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
42523         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
42524         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
42525         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
42526         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
42527         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
42529 2013-10-04  Alan Modra  <amodra@gmail.com>
42531         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
42532         little-endian support.  Remove unnecessary "are we done" tests.
42533         Handle "s" wrapping around zero and extremely large "size".
42534         Correct main loop count.  Handle single left-over word from main
42535         loop inline rather than by using small_loop.  Correct comments.
42536         Delete "zero" tail, use "end_max" instead.
42537         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
42539 2013-10-04  Alan Modra  <amodra@gmail.com>
42541         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
42542         support.  Don't branch over align.
42543         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
42544         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
42545         support.  Rearrange tmp reg use to suit.  Comment.
42546         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
42548 2013-10-04  Alan Modra  <amodra@gmail.com>
42550         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
42552 2013-10-04  Alan Modra  <amodra@gmail.com>
42554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
42555         conditional form of branch and link when obtaining pc.
42556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
42558 2013-10-04  Alan Modra  <amodra@gmail.com>
42560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
42561         HIWORD/LOWORD.
42562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
42563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
42565 2013-10-04  Alan Modra  <amodra@gmail.com>
42567         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
42568         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
42569         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
42570         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
42571         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
42572         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
42573         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
42574         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
42575         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
42576         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
42578 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
42579             Alistair Popple <alistair@ozlabs.au.ibm.com>
42580             Alan Modra <amodra@gmail.com>
42582         [BZ #15723]
42583         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
42584         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
42585         _dl_hwcap access for little-endian.
42586         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
42587         destroy vmx regs when saving unaligned.
42588         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
42589         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
42590         destroy vmx regs when saving unaligned.
42592 2013-10-04  Alan Modra  <amodra@gmail.com>
42594         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
42595         Don't use a union to pack hi/low value.
42597 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
42599         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
42600         for little-endian.
42601         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
42602         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
42603         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
42604         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
42605         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
42607 2013-10-04  Alan Modra  <amodra@gmail.com>
42609         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
42610         constants to usual value for .cst8 section, and remove redundant
42611         high address load.
42612         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
42613         constant for 0x1p52.  Load little-endian words of double from
42614         correct stack offsets.
42616 2013-10-04  Alan Modra  <amodra@gmail.com>
42618         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
42619         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
42620         words of double from correct stack offsets.
42621         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
42622         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
42623         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
42624         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
42625         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
42626         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
42627         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
42628         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
42629         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
42630         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
42631         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
42632         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
42633         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
42634         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
42635         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
42636         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
42637         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
42639 2013-10-04  Alan Modra  <amodra@gmail.com>
42641         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
42642         64-bit int/double union.
42643         (_FPU_SETCW): Likewise.
42644         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
42645         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
42647 2013-10-04  Alan Modra  <amodra@gmail.com>
42649         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
42650         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
42652 2013-10-04  Alan Modra  <amodra@gmail.com>
42654         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
42655         use vector int constants.
42656         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
42658 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
42660         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
42661         array with long long.
42662         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
42663         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
42664         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
42665         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
42666         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
42667         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
42668         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
42669         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
42670         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
42671         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
42672         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
42673         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
42674         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
42676 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
42678         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
42679         (__signbit): Likewise.  Correct for little-endian.
42680         (__signbitl): Call __signbit.
42681         (lrint): Correct for little-endian.
42682         (lrintf): Call lrint.
42684 2013-10-04  Alan Modra  <amodra@gmail.com>
42686         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
42687         union 32-bit int array member with 64-bit int array.
42688         (t515, tm256): Double rather than long double.
42689         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
42691 2013-10-04  Alan Modra  <amodra@gmail.com>
42693         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
42694         Delete.
42695         (IEEE854_LONG_DOUBLE_BIAS): Delete.
42696         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
42697         version of math_ldbl.h.
42699 2013-10-04  Alan Modra  <amodra@gmail.com>
42701         [BZ #15734], [BZ #15735]
42702         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
42703         all uses of ieee875 long double macros and unions.  Simplify test
42704         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
42705         ldbl_extract_mantissa value for ix,iy exponents.  Properly
42706         normalize after ldbl_extract_mantissa, and don't add hidden bit
42707         already handled.  Don't treat low word of ieee854 mantissa like
42708         low word of IBM long double and mask off bit when testing for
42709         zero.
42710         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
42711         all uses of ieee875 long double macros and unions.  Simplify tests
42712         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
42713         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
42714         two1022, instead use their values.  Recognise that tests for large
42715         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
42716         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
42717         Rewrite all uses of ieee875 long double macros and unions.  Simplify
42718         test for 0.0L and nan.  Correct negation.
42719         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
42720         ieee875 long double macros and unions.  Correct output for large
42721         magnitude x.  Correct absolute value calculation.
42722         (__erfcl): Likewise.
42723         * math/libm-test.inc: Add tests for errors discovered in IBM long
42724         double versions of fmodl, remainderl, erfl and erfcl.
42726 2013-10-04  Alan Modra  <amodra@gmail.com>
42728         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
42729         all uses of ieee854 long double macros and unions.  Simplify tests
42730         for long doubles that are fully specified by the high double.
42731         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
42732         Likewise.
42733         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
42734         Remove dead code too.
42735         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
42736         (__ieee754_ynl): Likewise.
42737         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
42738         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
42739         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
42740         Remove dead code too.
42741         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
42742         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
42743         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
42744         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
42745         Simplify.
42746         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
42747         Simplify.
42748         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
42749         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
42750         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
42751         Comment on variable precision.
42752         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
42753         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
42754         Likewise.
42755         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
42756         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
42757         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
42758         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
42759         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
42761 2013-10-04  Alan Modra  <amodra@gmail.com>
42763         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
42764         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
42765         all uses of ieee854 long double macros and unions.
42766         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
42767         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
42768         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
42769         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
42770         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
42771         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
42772         Likewise.
42773         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
42774         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
42775         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
42776         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
42777         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
42778         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
42779         Simplify sign and nan test too.
42780         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
42781         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
42782         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
42783         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
42784         Likewise.
42785         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
42786         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
42787         Likewise.
42788         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42789         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
42790         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
42791         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
42792         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
42793         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
42795 2013-10-04  Alan Modra  <amodra@gmail.com>
42797         * stdio-common/printf_size.c (__printf_size): Don't use
42798         union ieee854_long_double in fpnum union.
42799         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
42800         signbit macro to retrieve sign from long double.
42801         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
42802         retrieve sign from long double.
42803         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
42804         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
42805         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
42806         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
42807         * math/test-misc.c (main): Don't use union ieee854_long_double.
42809 2013-10-04  Alan Modra  <amodra@gmail.com>
42811         [BZ #15680]
42812         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
42813         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
42814         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
42815         calculation.  Remove unnecessary test for denormal exponent.
42816         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
42817         Correct handling of denormals.  Avoid undefined shift behaviour.
42818         Correct normalisation of low mantissa when low double is denormal.
42819         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
42820         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
42821         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
42822         Correct normalisation of low mantissa.  Test for overflow of high
42823         mantissa and normalise.
42824         (ldbl_nearbyint): Use more readable constant for two52.
42825         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
42826         (__mpn_construct_long_double): Fix test for overflow of high
42827         mantissa and correct normalisation.  Avoid undefined shift.
42829 2013-10-04  Alan Modra  <amodra@gmail.com>
42831         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
42832         (union ibm_extended_long_double): Define as an array of ieee754_double.
42833         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
42834         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
42835         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
42836         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
42837         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
42838         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
42839         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
42840         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
42841         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
42842         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
42843         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
42845 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
42847         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
42848         page size instead of calling getpagesize.
42850         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
42851         (LOCFILE_ALIGN_MASK): Likewise.
42852         (LOCFILE_ALIGN_UP): Likewise.
42853         (LOCFILE_ALIGNED_P): Likewise.
42854         * locale/programs/ld-collate.c (collate_output): Use the new
42855         macros instead of __alignof__ (int32_t).
42856         * locale/weight.h (findidx): Likewise.
42858 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
42860         [BZ #431]
42861         * manual/string.texi: Fix strncat and wcsncat.
42863 2013-10-03  Brooks Moses  <bmoses@google.com>
42865         [BZ #15915]
42866         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
42867         * Makerules: ...here, and adjust associated comments.
42869 2013-10-02  Will Newton  <will.newton@linaro.org>
42871         * malloc/Makefile: Add tst-pvalloc.
42872         * malloc/tst-pvalloc.c: New file.
42874 2013-10-02  Will Newton  <will.newton@linaro.org>
42876         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
42877         improve test coverage.
42879 2013-10-02  Will Newton  <will.newton@linaro.org>
42881         * malloc/Makefile: Add tst-posix_memalign.
42882         * malloc/tst-posix_memalign.c: New file.
42884 2013-10-01  Eric Blake  <eblake@redhat.com>
42886         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
42887         Use __THROWNL rather than __THROW on static functions.
42889 2013-09-30  Petr Machata  <pmachata@redhat.com>
42891         * elf/elf.h (R_AARCH64_ABS16): New macro.
42892         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
42893         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
42894         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
42895         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
42896         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
42897         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
42898         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
42899         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
42900         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
42901         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
42902         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
42903         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
42904         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
42905         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
42906         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
42907         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
42908         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
42909         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
42910         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
42911         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
42912         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
42913         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
42914         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
42915         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
42916         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
42917         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
42918         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
42919         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
42920         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
42921         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
42922         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
42923         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
42924         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
42925         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
42926         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
42927         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
42928         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
42929         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
42930         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
42931         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
42932         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
42933         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
42934         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
42935         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
42936         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
42937         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
42938         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
42939         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
42940         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
42941         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
42942         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
42943         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
42944         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
42945         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
42946         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
42947         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
42948         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
42949         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
42950         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
42951         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
42952         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
42953         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
42954         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
42955         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
42956         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
42957         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
42958         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
42959         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
42960         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
42961         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
42962         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
42963         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
42964         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
42965         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
42966         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
42967         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
42968         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
42969         (R_AARCH64_TLSDESC_LDR): Likewise.
42970         (R_AARCH64_TLSDESC_ADD): Likewise.
42971         (R_AARCH64_TLSDESC_CALL): Likewise.
42973 2013-09-30  Andreas Schwab  <schwab@suse.de>
42975         [BZ #15048]
42976         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
42977         the nss database lookup.
42978         * nscd/initgrcache.c (addinitgroupsX): Likewise.
42979         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
42981 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
42983         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
42985 2013-09-28  P. J. McDermott  <pj@pehjota.net>
42987         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
42988         ${Bash-specific parameter/pattern/string} parameter expansion.
42989         * sysdeps/unix/make-syscalls.sh: Likewise.
42991 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42993         * sysdeps/sh/stackguard-macros.h: New file.
42995 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
42997         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
42998         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
42999         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
43000         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
43001         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
43002         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
43004 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43006         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
43007         Fix thread ID register.
43009 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
43011         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
43012         [POSIX || UNIX98]: Require rather than permitting all symbols from
43013         <time.h>.
43014         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
43015         element of struct sched_param.
43016         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
43017         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
43018         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
43019         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
43020         constant.
43022 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
43024         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
43025         argument calculation.
43027 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
43029         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
43030         Expect macro.
43031         [POSIX] (pthread_attr_t): Do not require type.
43032         [POSIX] (pthread_cond_t): Likewise.
43033         [POSIX] (pthread_condattr_t): Likewise.
43034         [POSIX] (pthread_key_t): Likewise.
43035         [POSIX] (pthread_mutex_t): Likewise.
43036         [POSIX] (pthread_mutexattr_t): Likewise.
43037         [POSIX] (pthread_once_t): Likewise.
43038         [POSIX] (pthread_t): Likewise.
43039         [POSIX-based standards] (pthread_atfork): Expect function.
43041 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
43042             Richard Sandiford  <richard@codesourcery.com>
43044         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
43045         (swap_endianness_p): New extern variable.
43046         (set_big_endian): New inline function.
43047         (maybe_swap_uint32): Likewise.
43048         (maybe_swap_uint32_array): Likewise.
43049         (maybe_swap_uint32_obstack): Likewise.
43050         * locale/programs/locfile.c: Include <stdbool.h>.
43051         (swap_endianness_p): New variable.
43052         (add_locale_uint32): Call maybe_swap_uint32.
43053         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
43054         (write_locale_data): Call maybe_swap_uint32_array.
43055         * locale/programs/ld-collate.c (obstack_int32_grow): Call
43056         maybe_swap_uint32.
43057         (obstack_int32_grow_fast): Likewise.
43058         (output_weightwc): Call maybe_swap_uint32_obstack.
43059         (collate_output): Likewise.
43060         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
43061         (OPT_LITTLE_ENDIAN): Likewise.
43062         (options): Add --little-endian and --big-endian options.
43063         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
43064         * locale/programs/locarchive.c: Include "locfile.h".
43065         (GET): New macro.
43066         (SET): Likewise.
43067         (INC): Likewise.
43068         (create_archive): Use the new macros to access fields of
43069         structures directly mapped from or written to locale archives.
43070         (oldlocrecentcmp): Likewise.
43071         (enlarge_archive): Likewise.
43072         (insert_name): Likewise.
43073         (add_alias): Likewise.
43074         (add_locale): Likewise.
43075         (delete_locales_from_archive): Likewise.
43076         (show_archive_content): Likewise.
43077         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
43078         locale data.
43080 2013-09-24  Roland McGrath  <roland@hack.frob.com>
43082         * manual/freemanuals.texi: Updated from (newly) canonical copy at
43083         http://www.gnu.org/doc/freemanuals.texi.
43084         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
43086 2013-09-24  Will Newton  <will.newton@linaro.org>
43088         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
43089         macro.
43091 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
43093         * locale/hashval.h (compute_hashval): Interpret bytes of key as
43094         unsigned char.
43096 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
43098         * manual/threads.texi (POSIX Threads): Fix a typo.
43100 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
43102         [BZ #14547]
43103         * string/tst-strcoll-overflow.c: New test case.
43104         * string/Makefile (xtests): Add tst-strcoll-overflow.
43105         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
43106         cache if string sizes may cause integer overflow.
43108         [BZ #14547]
43109         * string/strcoll_l.c (coll_seq): New members rule, idx,
43110         save_idx and back_us.
43111         (get_next_seq_nocache): New function.
43112         (do_compare_nocache): New function.
43113         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
43114         when malloc fails.
43116 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
43118         [BZ #15754]
43119         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
43120         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
43121         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
43123         [BZ #15754]
43124         * elf/Makefile (tests): Add tst-ptrguard1.
43125         (tests-static): Add tst-ptrguard1-static.
43126         (tst-ptrguard1-ARGS): Define.
43127         (tst-ptrguard1-static-ARGS): Define.
43128         * elf/tst-ptrguard1.c: New file.
43129         * elf/tst-ptrguard1-static.c: New file.
43130         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
43131         * sysdeps/i386/stackguard-macros.h: Likewise.
43132         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
43133         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
43134         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
43135         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
43136         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
43137         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
43139 2013-09-23  Hector Marco  <hecmargi@upv.es>
43140             Ismael Ripoll  <iripoll@disca.upv.es>
43141             Carlos O'Donell  <carlos@redhat.com>
43143         [BZ #15754]
43144         * sysdeps/generic/stackguard-macros.h: Define
43145         __pointer_chk_guard_local and POINTER_CHK_GUARD.
43146         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
43147         Define __pointer_chk_guard_local.
43148         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
43149         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
43151 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
43153         [BZ #15859]
43154         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
43156 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
43158         * include/string.h (__ffs): Declare as hidden.
43159         * string/ffs.c (__ffs): Define as hidden.
43160         * sysdeps/i386/ffs.c (__ffs): Likewise.
43161         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
43162         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
43163         * sysdeps/s390/ffs.c (__ffs): Likewise.
43164         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
43166 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
43168         * NEWS: Mention malloc probes.
43170         * malloc/arena.c (new_heap): New memory_heap_new probe.
43171         (grow_heap): New memory_heap_more probe.
43172         (shrink_heap): New memory_heap_less probe.
43173         (heap_trim): New memory_heap_free probe.
43174         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
43175         (systrim): New memory_sbrk_less probe.
43176         * manual/probes.texi: Document them.
43178         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
43179         * manual/probes.texi: Document it.
43181         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
43182         (__libc_realloc): Add memory_realloc_retry probe.
43183         (__libc_memalign): Add memory_memalign_retry probe.
43184         (__libc_valloc): Add memory_valloc_retry probe.
43185         (__libc_pvalloc): Add memory_pvalloc_retry probe.
43186         (__libc_calloc): Add memory_calloc_retry probe.
43187         * manual/probes.texi: Document them.
43189         * malloc/arena.c (get_free_list): Add probe
43190         memory_arena_reuse_free_list.
43191         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
43192         and memory_arena_reuse.
43193         (arena_get2) [!PER_THREAD]: Likewise.
43194         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
43195         memory_arena_reuse_realloc.
43196         * manual/probes.texi: Document them.
43198         * malloc/malloc.c (__libc_free): Add
43199         memory_mallopt_free_dyn_thresholds probe.
43200         (__libc_mallopt): Add multiple memory_mallopt probes.
43201         * manual/probes.texi: Document them.
43203         * malloc/malloc.c: Include stap-probe.h.
43204         (__libc_mallopt): Add memory_mallopt probe.
43205         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
43206         * manual/probes.texi: New.
43207         * manual/Makefile (chapters): Add probes.
43208         * manual/threads.texi: Set next node.
43210 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
43212         [BZ #15963, #13985]
43213         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
43214         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
43215         Add `Chinese' to `nan' entry name.
43217 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
43219         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
43220         (POLYNOMIAL): Likewise.
43221         (TAYLOR_SINCOS): Likewise.
43222         (TAYLOR_SLOW): Likewise.
43223         (__sin): Use TAYLOR_SINCOS.
43224         (__cos): Likewise.
43225         (slow): Use TAYLOR_SLOW.
43226         (sloww): Likewise.
43227         (bsloww): Likewise.
43228         (csloww): Likewise.
43230 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43232         * stdlib/strtod_l.c: Fix buffer overrun.
43234 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
43236         * benchtests/Makefile (bench): Add sincos.
43237         * benchtests/bench-sincos.c: New file.
43239         * math/libm-test.inc (cos_test_data): New test inputs.
43240         (sin_test_data): Likewise.
43242         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
43243         macro.
43244         (__sin): Use it.
43245         (__cos): Likewise.
43246         (slow1): Likewise.
43247         (slow2): Likewise.
43248         (sloww1): Likewise.
43249         (sloww2): Likewise.
43250         (bsloww1): Likewise.
43251         (bsloww2): Likewise.
43252         (cslow2): Likewise.
43253         (csloww1): Likewise.
43254         (csloww2): Likewise.
43256         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
43257         function.
43258         (__sin): Use it.
43259         (__cos): Likewise.
43261         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
43262         gotos.
43263         (__cos): Likewise.
43265 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
43267         * config.h.in (HAVE_MIPS_NAN2008): New macro.
43268         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
43269         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
43270         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
43271         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
43272         * elf/cache.c (print_entry): Handle the new cache flags.
43274 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
43275             Aldy Hernandez  <aldyh@redhat.com>
43277         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
43278         Change condition to [_SOFT_FLOAT].
43279         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
43280         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
43281         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
43282         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
43283         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
43284         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
43285         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
43286         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
43287         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
43288         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
43289         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
43290         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
43291         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
43292         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
43293         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
43294         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
43295         declaration.
43297 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
43299         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
43300         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
43301         (__longjmp): Use LOAD_GP to load saved GPRs.
43302         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
43303         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
43304         (__sigsetjmp): Use SAVE_GP to save GPRs.
43306         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
43307         Do not append -msoft-float.
43308         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
43310 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
43312         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
43314 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
43316         [BZ #15966]
43317         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
43318         (_FPU_GETCW): Use initial "__" on variable and field names but not
43319         on macro parameter name.
43320         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
43321         parentheses around reference to macro parameter.
43323 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
43325         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
43326         prototype.
43327         (ctype_startup): Use uint32_t in cast and sizeof for
43328         ctype->charnames.
43330 2013-09-11  Jia Liu  <proljc@gmail.com>
43332         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
43333         __daddr_t_defined.
43334         [__FreeBSD__]: Likewise.
43336 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
43338         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
43339         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
43340         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
43341         (strchr): Remove __strchr_sse42 ifunc selection.
43342         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
43343         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
43345 2013-09-11  Will Newton  <will.newton@linaro.org>
43347         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
43348         parameter to RES. Remove hardcoded 1000 value.
43349         * benchtests/bench-skeleton.c (main): Pass RES parameter
43350         to TIMING_INIT and multiply result by 1000.
43352 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43354         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43356 2013-09-11  Andreas Schwab  <schwab@suse.de>
43358         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
43359         if not defined.
43360         (O_TMPFILE) [__USE_GNU]: Define.
43361         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
43362         Define.
43364 2013-09-11  Will Newton  <will.newton@linaro.org>
43366         [BZ #15857]
43367         * malloc/malloc.c (__libc_memalign): Check the value of bytes
43368         does not overflow.
43370 2013-09-11  Will Newton  <will.newton@linaro.org>
43372         [BZ #15856]
43373         * malloc/malloc.c (__libc_valloc): Check the value of bytes
43374         does not overflow.
43376 2013-09-11  Will Newton  <will.newton@linaro.org>
43378         [BZ #15855]
43379         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
43380         does not overflow.
43382 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
43384         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
43385         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
43386         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
43387         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43388         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43390 2013-09-10  Allan McRae  <allan@archlinux.org>
43392         [BZ #15748]
43393         * manual/arith.texi (Parsing of Floats): Clarify
43394         cross-reference.
43396         [BZ #15849]
43397         * manual/install.texi (Running make install): Mention
43398         --enable-pt-chown.
43399         * INSTALL: Regenerated.
43401 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
43403         * csu/init-first.c (_init): Remove the !SHARED condition around
43404         FPU control word initialization.
43405         * elf/dl-support.c (_dl_fpu_control): New variable.
43406         (_dl_aux_init) <AT_FPUCW>: Initialize it.
43407         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
43408         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
43409         * math/test-fpucw-static.c: New file.
43410         * math/test-fpucw-ieee.c: New file.
43411         * math/test-fpucw-ieee-static.c: New file.
43412         * math/Makefile (tests): Add `test-fpucw-ieee' and
43413         `$(tests-static)'.
43414         (tests-static): New variable.
43415         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
43416         dependency to...
43417         [($(build-shared),yes)]
43418         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
43419         ... this.
43420         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
43421         New dependency.
43423 2013-09-09  Allan McRae  <allan@archlinux.org>
43425         [BZ #15939]
43426         * manual/string.texi (Collation Functions): Fix typo in
43427         strcoll example.
43428         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
43430         [BZ #15893]
43431         * stdlib/isomac.c (get_null_defines): Fix memory leak.
43433         [BZ #15892]
43434         * libio/memstream.c (open_memstream): Fix memory leak.
43435         * libio/wmemstream.c (open_wmemstream): Likewise.
43437         [BZ #15895]
43438         * nscd/netgroupcache.c: Fix nesting of ifdefs.
43440 2013-09-09  Will Newton  <will.newton@linaro.org>
43442         * malloc/Makefile: Add tst-realloc to tests.
43443         * malloc/tst-realloc.c: New file.
43445 2013-09-09  Allan McRae  <allan@archlinux.org>
43447         [BZ #15844]
43448         * COPYING: Update from GNU website to fix FSF address.
43449         * COPYING.LIB: Likewise.
43451 2013-09-06  David S. Miller  <davem@davemloft.net>
43453         * po/zh_TW.po: Update Chinese (traditional) translation from
43454         translation project.
43456 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
43457             Joseph Myers  <joseph@codesourcery.com>
43459         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
43460         "localeinfo.h".
43461         (obstack_chunk_alloc): New macro.
43462         (obstack_chunk_free): Likewise.
43463         (record_offset): New function.
43464         (init_locale_data): Likewise.
43465         (align_locale_data): Likewise.
43466         (add_locale_empty): Likewise.
43467         (add_locale_raw_data): Likewise.
43468         (add_locale_raw_obstack): Likewise.
43469         (add_locale_string): Likewise.
43470         (add_locale_wstring): Likewise.
43471         (add_locale_uint32): Likewise.
43472         (add_locale_uint32_array): Likewise.
43473         (add_locale_char): Likewise.
43474         (start_locale_structure): Likewise.
43475         (end_locale_structure): Likewise.
43476         (start_locale_prelude): Likewise.
43477         (end_locale_prelude): Likewise.
43478         (write_locale_data): Take locale_file structure rather than an
43479         iovec.
43480         * locale/programs/locfile.h: Include "obstack.h".
43481         (struct locale_file): Change to store locale file contents instead
43482         of header.
43483         (init_locale_data): New prototype.
43484         (align_locale_data): Likewise.
43485         (add_locale_empty): Likewise.
43486         (add_locale_raw_data): Likewise.
43487         (add_locale_raw_obstack): Likewise.
43488         (add_locale_string): Likewise.
43489         (add_locale_wstring): Likewise.
43490         (add_locale_uint32): Likewise.
43491         (add_locale_uint32_array): Likewise.
43492         (add_locale_char): Likewise.
43493         (start_locale_structure): Likewise.
43494         (end_locale_structure): Likewise.
43495         (start_locale_prelude): Likewise.
43496         (end_locale_prelude): Likewise.
43497         (write_locale_data): Update prototype.
43498         * locale/programs/3level.h (struct TABLE): Remove result field.
43499         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
43500         Use new locale_file interface.
43501         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
43502         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
43503         * locale/programs/ld-address.c (address_output): Use new
43504         locale_file interface.
43505         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
43506         NO_ADD_LOCALE.
43507         (collate_finish): Don't call collseq_table_finalize.
43508         (collate_output): Use new locale_file interface.
43509         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
43510         in file.
43511         (NO_FINALIZE): Change to NO_ADD_LOCALE.
43512         (TABLE): Move defines earlier in file.
43513         (ELEMENT): Likewise.
43514         (DEFAULT): Likewise.
43515         (wctrans_table_add): Move macro and inline function earlier in
43516         file.
43517         (struct wctype_table): Move type earlier in file.
43518         (add_locale_wctype_table): New static prototype.
43519         (struct locale_ctype_t): Use logical types instead of struct iovec
43520         pointers for members.
43521         (ctype_output): Use new locale_file interface.
43522         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
43523         new locale_file interface.
43524         (allocate_arrays): Update for use of new locale_file interface.
43525         * locale/programs/ld-identification.c (identification_output): Use
43526         new locale_file interface.
43527         * locale/programs/ld-measurement.c (measurement_output): Likewise.
43528         * locale/programs/ld-messages.c (messages_output): Likewise.
43529         * locale/programs/ld-monetary.c (monetary_output): Likewise.
43530         * locale/programs/ld-name.c (name_output): Likewise.
43531         * locale/programs/ld-numeric.c (numeric_output): Likewise.
43532         * locale/programs/ld-paper.c (paper_output): Likewise.
43533         * locale/programs/ld-telephone.c (telephone_output): Likewise.
43534         * locale/programs/ld-time.c (time_output): Likewise.
43536 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43538         * benchtests/Makefile: Add memrchr benchmark.
43539         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
43540         benchmark as memrchr.
43541         * benchtests/bench-memrchr-ifunc.c: New file.
43542         * benchtests/bench-memrchr.c: New file.
43544 2013-09-06   Will Newton  <will.newton@linaro.org>
43546         * benchtests/Makefile (string-bench): Add memcpy.
43548 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
43549             Cong Wang  <amwang@redhat.com>
43551         [BZ #15850]
43552         * sysdeps/unix/sysv/linux/bits/in.h
43553         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
43554         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
43555         before __USE_KERNEL_IPV6_DEFS uses.
43556         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
43557         IPPROTO_BEETPH.
43558         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
43559         sockaddr_in6, or ipv6_mreq.
43561 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43563         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
43564         memory access for final bytes in some large inputs.
43565         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
43567 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43569         * string/test-memrchr.c: New file.
43570         * string/test-memrchr-ifunc.c: New file.
43571         * string/Makefile: Add new memrchr testcase.
43573 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
43575         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
43576         fanotify_init returns EPERM.
43578 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
43580         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
43581         errors.
43582         (top level): Treat second token from macro or constant entries for
43583         allowed headers as allowed.
43584         * include/complex.h: Condition internal declarations on
43585         [!_ISOMAC].
43586         * include/fenv.h: Condition include of <stdbool.h> and internal
43587         declarations on [!_ISOMAC].
43589 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
43591         [BZ #15923]
43592         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
43594 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
43596         * configure.in (--enable-versioning): Remove configure option.
43597         (libc_cv_asm_symver_directive): Remove configure test.
43598         (libc_cv_ld_version_script_option): Likewise.
43599         (VERSIONING): Remove variable and AC_SUBST.
43600         (DO_VERSIONING): Remove AC_DEFINE.
43601         * configure: Regenerated.
43602         * config.h.in (DO_VERSIONING): Remove macro.
43603         * Makerules [$(versioning) = yes]: Change conditionals to
43604         [$(build-shared) = yes].
43605         * config.make.in (versioning): Remove variable.
43606         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
43607         [$(build-shared) = yes].
43608         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
43609         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
43610         * elf/Makefile [$(versioning) = yes]: Change conditionals to
43611         [$(build-shared) = yes].
43612         * extra-lib.mk [$(versioning) = yes]: Likewise.
43613         * hurd/Makefile [$(versioning) = yes]: Likewise.
43614         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
43615         [SHARED].
43616         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
43617         [SHARED].
43618         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
43619         [SHARED && !NO_HIDDEN].
43620         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
43621         [SHARED].
43622         [SHARED && DO_VERSIONING]: Likewise..
43623         * libio/Makefile [$(versioning) = yes]: Change conditionals to
43624         [$(build-shared) = yes].
43625         * manual/install.texi (--disable-versioning): Remove
43626         documentation.
43627         * INSTALL: Regenerated.
43628         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
43629         to [SHARED].
43630         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
43631         [$(build-shared) = yes].
43632         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
43633         * sysdeps/i386/i686/multiarch/strstr-c.c
43634         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
43635         [SHARED && !NO_HIDDEN].
43636         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
43637         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
43638         * sysdeps/powerpc/powerpc32/dl-machine.c
43639         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
43640         * sysdeps/powerpc/powerpc32/sysdep.h
43641         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
43642         to [SHARED && PIC && !NO_HIDDEN].
43643         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
43644         conditional to [SHARED].
43646 2013-09-04   Will Newton  <will.newton@linaro.org>
43648         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
43649         * benchtests/bench-string.h: Include bench-timing.h instead
43650         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
43651         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
43652         call to HP_TIMING_DIFF_INIT.
43653         * benchtests/bench-memccpy.c: Use bench-timing.h macros
43654         instead of hp-timing.h macros.
43655         * benchtests/bench-memchr.c: Likewise.
43656         * benchtests/bench-memcmp.c: Likewise.
43657         * benchtests/bench-memcpy.c: Likewise.
43658         * benchtests/bench-memmem.c: Likewise.
43659         * benchtests/bench-memmove.c: Likewise.
43660         * benchtests/bench-memset.c: Likewise.
43661         * benchtests/bench-rawmemchr.c: Likewise.
43662         * benchtests/bench-strcasecmp.c: Likewise.
43663         * benchtests/bench-strcasestr.c: Likewise.
43664         * benchtests/bench-strcat.c: Likewise.
43665         * benchtests/bench-strchr.c: Likewise.
43666         * benchtests/bench-strcmp.c: Likewise.
43667         * benchtests/bench-strcpy.c: Likewise.
43668         * benchtests/bench-strcpy_chk.c: Likewise.
43669         * benchtests/bench-strlen.c: Likewise.
43670         * benchtests/bench-strncasecmp.c: Likewise.
43671         * benchtests/bench-strncat.c: Likewise.
43672         * benchtests/bench-strncmp.c: Likewise.
43673         * benchtests/bench-strncpy.c: Likewise.
43674         * benchtests/bench-strnlen.c: Likewise.
43675         * benchtests/bench-strpbrk.c: Likewise.
43676         * benchtests/bench-strrchr.c: Likewise.
43677         * benchtests/bench-strspn.c: Likewise.
43678         * benchtests/bench-strstr.c: Likewise.
43680 2013-09-04  Will Newton  <will.newton@linaro.org>
43682         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
43684 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
43686         [BZ #15427]
43687         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
43688         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
43689         * math/libm-test.inc (lgamma_test_data): Add more tests.
43690         * sysdeps/i386/fpu/libm-test-ulps: Update.
43691         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43693 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
43695         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
43696         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
43697         Add ifunc.
43698         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
43699         Add strcmp-sse2-unaligned
43700         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
43702 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
43704         * Versions.def (libc): Add GLIBC_2.19.
43706 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
43708         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
43709         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
43711 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
43713         [BZ #14155]
43714         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
43715         intermediate calculations in recurrence.
43716         (__ieee754_ynf): Likewise.
43717         * math/libm-test.inc (jn_test_data): Do not allow spurious
43718         underflow exception.  Add more tests.
43719         (yn_test_data): Add more tests.
43720         * sysdeps/i386/fpu/libm-test-ulps: Update.
43721         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43723 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
43725         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
43727 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
43729         * csu/init-first.c: Fix then/than typos.
43730         * locale/programs/ld-collate.c: Likewise.
43731         * locale/programs/linereader.h: Likewise.
43732         * manual/charset.texi: Likewise.
43733         * manual/filesys.texi: Likewise.
43734         * manual/stdio.texi: Likewise.
43735         * manual/string.texi: Likewise.
43736         * stdlib/fmtmsg.c: Likewise.
43737         * sysdeps/i386/stpncpy.S: Likewise.
43738         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
43739         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
43740         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
43741         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
43743 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
43745         * elf/dl-open.c: Fix typos.
43746         * iconvdata/gbbig5.c: Likewise.
43747         * iconvdata/iso-2022-jp.c: Likewise.
43748         * iconv/gconv_int.h: Likewise.
43749         * iconv/loop.c: Likewise.
43750         * nis/rpcsvc/nis.h: Likewise.
43751         * resolv/ns_name.c: Likewise.
43752         * stdio-common/vfscanf.c: Likewise.
43753         * streams/stropts.h: Likewise.
43754         * sunrpc/rpc_thread.c: Likewise.
43755         * sysdeps/i386/strpbrk.S: Likewise.
43756         * sysdeps/ieee754/k_standard.c: Likewise.
43757         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
43758         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
43759         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
43760         * sysdeps/mach/hurd/profil.c: Likewise.
43761         * sysdeps/s390/dl-procinfo.h: Likewise.
43762         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
43763         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
43764         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
43765         * sysdeps/x86_64/dl-trampoline.S: Likewise.
43766         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
43768 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
43770         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
43771         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
43773 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
43775         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
43776         aix specific files.
43777         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
43778         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
43779         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
43780         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
43781         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
43782         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
43783         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
43784         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
43786 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
43787             Roland McGrath  <roland@hack.frob.com>
43789         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
43790         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
43792 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43794         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
43795         __executable_start symbol instead of _start.
43797 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
43799         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
43800         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
43801         Move macros to...
43802         * sysdeps/gnu/ldsodefs.h: ... this new file.
43804         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
43805         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
43806         instead of ELFOSABI_LINUX.
43808         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
43809         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
43810         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
43811         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
43812         Likewise.
43813         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
43814         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
43815         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
43816         Likewise.
43817         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
43818         (ibm_extended_long_double): Add ieee_nan member.
43819         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
43820         (do_test): New function.
43822         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
43823         TEST_TRUNC.
43824         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
43825         functions, renamed from truncdfsf_test, trunctfsf_test,
43826         trunctfdf_test.
43827         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
43828         functions.
43829         (do_test): Run all these.
43831 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
43833         * argp/argp-help.c: Fix typos.
43834         * argp/argp-parse.c: Likewise.
43835         * debug/backtracesyms.c: Likewise.
43836         * elf/elf.h: Likewise.
43837         * malloc/malloc.c: Likewise.
43838         * nis/nis_print.c: Likewise.
43839         * resolv/res_comp.c: Likewise.
43840         * stdlib/stdlib.h: Likewise.
43841         * sunrpc/clnt_tcp.c: Likewise.
43842         * sunrpc/clnt_udp.c: Likewise.
43843         * sunrpc/clnt_unix.c: Likewise.
43844         * sysdeps/unix/bsd/ptsname.c: Likewise.
43845         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
43846         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
43847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
43848         Likewise.
43849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
43850         Likewise.
43851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
43852         Likewise.
43853         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
43855 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43857         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
43858         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
43860 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
43862         [BZ #15897]
43863         * dlfcn/Makefile (tests): Add bug-dl-leaf.
43864         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
43865         ($(objpfx)bug-dl-leaf): New rule.
43866         ($(objpfx)bug-dl-leaf.so): Likewise.
43867         ($(objpfx)bug-dl-leaf.out): Likewise.
43868         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
43869         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
43870         * dlfcn/bug-dl-leaf.c: New test.
43871         * dlfcn/bug-dl-leaf-lib.c: Likewise.
43872         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
43873         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
43874         (dlclose): Likewise.
43875         (dlmopen): Likewise.
43877 2013-08-27  Roland McGrath  <roland@hack.frob.com>
43879         * include/netdb.h [!_ISOMAC]:
43880         Don't include <tls.h>.
43881         (h_errno, __libc_h_errno): Move declaration and macros out of
43882         [_LIBC_REENTRANT].
43884         * include/resolv.h [_RESOLV_H_]:
43885         Don't include <tls.h>.
43886         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
43887         * resolv/res_libc.c: Don't include <tls.h>.
43888         (_res): Use __attribute__ ((nocommon)) in place of
43889         __attribute__ ((section (".bss"))).
43891         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
43892         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
43894         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
43896         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
43897         only under [SIOCGIFCONF && SIOCGIFNETMASK].
43899         * resolv/res_mkquery.c: Include <sys/time.h>.
43901         * inet/ifreq.c: Moved to ...
43902         * sysdeps/unix/ifreq.c: ... here.
43903         * inet/ifreq.c: New file, true stub version.
43905         * socket/sa_len.c: New file.
43906         * socket/Makefile (aux): Add it.
43907         * sysdeps/unix/sysv/linux/Makefile
43908         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
43909         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
43910         and #include <socket/sa_len.c>.
43911         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
43912         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
43914         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
43915         * bits/socket.h: ... here.
43917         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
43918         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
43919         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
43921 2013-08-27  Andreas Schwab  <schwab@suse.de>
43923         [BZ #15736]
43924         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
43925         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
43926         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
43927         * string/test-strcasecmp.c (test_main): Run tests in several
43928         locales.
43929         * string/test-strncasecmp.c (test_main): Likewise.
43931         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
43932         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
43933         to __strcasecmp_nonascii and __strncasecmp_nonascii.
43934         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
43935         (__strncasecmp_ssse3) [PIC]: Likewise.
43937 2013-08-26  Roland McGrath  <roland@hack.frob.com>
43939         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
43941         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
43942         instead of explicitly declaring xdecrypt.
43943         * nis/nss_nis/nis-publickey.c: Likewise.
43945 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
43947         [BZ #15890]
43948         * nscd/aicache.c: Include res_hconf.h.
43949         (addhstaiX): Initialize res_hconf.
43951 2013-08-26  Andreas Schwab  <schwab@suse.de>
43953         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
43954         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
43956 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
43958         * nscd/aicache.c (addhstaiX): Fix indentation.
43960 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
43962         * configure.ac: Quote $build_pt_chown test.
43963         * configure: Regenerated.
43965 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
43967         [BZ #15532]
43968         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
43969         * math/s_cexpf.c (__cexpf): Likewise.
43970         * math/s_cexpl.c (__cexpl): Likewise.
43971         * math/libm-test.inc (cexp_test_data): Correct expected return
43972         value for NaN + i0.  Add another test.
43974 2013-08-22  David S. Miller  <davem@davemloft.net>
43976         * po/ca.po: Update Catalan translation from translation project.
43977         * po/uk.po: Add Ukrainian translations from translation project.
43979 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
43981         [BZ #15797]
43982         * math/s_fdim.c (__fdim): Check for infinite arguments if result
43983         is infinite, not alongside NaN test.
43984         * math/s_fdimf.c (__fdimf): Likewise.
43985         * math/s_fdiml.c (__fdiml): Likewise.
43986         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
43987         errno is unchanged.
43989 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
43991         * argp/argp-help.c: Fix typos.
43992         * crypt/speeds.c: Likewise.
43993         * csu/check_fds.c: Likewise.
43994         * elf/dl-load.c: Likewise.
43995         * elf/dl-open.c: Likewise.
43996         * elf/reldep3.c: Likewise.
43997         * elf/reldep.c: Likewise.
43998         * elf/sprof.c: Likewise.
43999         * iconv/iconv_charmap.c: Likewise.
44000         * iconv/skeleton.c: Likewise.
44001         * iconv/strtab.c: Likewise.
44002         * io/lockf64.c: Likewise.
44003         * libio/libioP.h: Likewise.
44004         * resolv/gai_notify.c: Likewise.
44005         * resolv/ns_name.c: Likewise.
44006         * resolv/ns_samedomain.c: Likewise.
44007         * resolv/res_send.c: Likewise.
44008         * stdlib/random.c: Likewise.
44009         * sunrpc/rpc/xdr.h: Likewise.
44010         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
44011         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
44012         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
44013         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
44014         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
44015         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
44016         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
44017         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
44018         * sysdeps/mach/hurd/check_fds.c: Likewise.
44019         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
44020         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
44021         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
44022         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
44023         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
44024         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
44025         * sysdeps/pthread/aio_notify.c: Likewise.
44026         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
44027         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
44028         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
44029         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
44030         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
44032 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44034         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
44035         version if bit_Slow_SSE4_2 is set.
44036         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44037         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
44039 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44041         [BZ #15867]
44042         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
44043         trampoline stack frame information.
44044         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
44045         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
44046         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
44047         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
44048         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
44049         * sysdeps/unix/sysv/linux/powerpc/init-first.c
44050         (_libc_vdso_platform_setup): Initialize the signal trampolines.
44051         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
44052         sa_flags value.
44053         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
44054         interrupting a syscall and set with option SA_SIGINFO.
44056 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
44058         [BZ #15531]
44059         * math/s_cproj.c (__cproj): Only return an infinity if one part of
44060         argument is infinite.
44061         * math/s_cprojf.c (__cprojf): Likewise.
44062         * math/s_cprojl.c (__cprojl): Likewise.
44063         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
44064         * math/libm-test.inc (cproj_test_data): Add more tests.
44066         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
44068         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
44069         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
44070         size.  Use __ffs to determine corresponding shift.
44072 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
44073             Roland McGrath  <roland@hack.frob.com>
44075         * Makefile (INSTALL): Remove trailing blank lines from output of
44076         makeinfo.
44078 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44080         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
44081         Align 32 bit compat elf_greg to 8 bytes.
44083 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
44085         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
44087 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
44089         * string/strcoll_l.c (coll_seq): New structure.
44090         (get_next_seq_cached): New function.
44091         (get_next_seq): New function.
44092         (do_compare): New function.
44093         (STRCOLL): Use GNU style definition.  Simplify implementation
44094         by using get_next_seq, get_next_seq_cached and do_compare.
44096 2013-08-16  Florian Weimer  <fweimer@redhat.com>
44098         [BZ #14699]
44099         CVE-2013-4237
44100         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
44101         member.
44102         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
44103         member.
44104         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
44105         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
44106         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
44107         conditional.
44108         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
44109         GETDENTS_64BIT_ALIGNED.
44110         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
44111         * manual/filesys.texi (Reading/Closing Directory): Document
44112         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
44113         strongly.
44114         * manual/conf.texi (Limits for Files): Add portability note to
44115         NAME_MAX, PATH_MAX.
44116         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
44118 2013-08-13  Andreas Schwab  <schwab@suse.de>
44120         [BZ #15749]
44121         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
44122         of fabs.
44123         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
44124         LDBL_MAX_EXP >= 16384]: Add tests for it.
44126 2013-08-12  David S. Miller  <davem@davemloft.net>
44128         * version.h (RELEASE): Set to "development".
44129         (VERSION): Set to "2.18.90".
44130         * NEWS: Add 2.19 section.
44132 2013-08-03  David S. Miller  <davem@davemloft.net>
44134         * po/ko.po: Update Korean translation from translation project.
44136 2013-08-01  David S. Miller  <davem@davemloft.net>
44138         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
44139         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
44140         Bilka.
44142 2013-07-30  David S. Miller  <davem@davemloft.net>
44144         * po/fr.po: Update French translation from translation project.
44146 2013-07-28  David S. Miller  <davem@davemloft.net>
44148         * po/cs.po: Update Czech translation from translation project.
44150         * po/sv.po: Update Swedish translation from translation project.
44152 2013-07-27  David S. Miller  <davem@davemloft.net>
44154         * po/eo.po: Update Esperanto translation from translation project.
44156         * po/vi.po: Update Vietnamese translation from translation project.
44158         * po/de.po: Update German translation from translation project.
44160 2013-07-26  David S. Miller  <davem@davemloft.net>
44162         * po/bg.po: Update Bulgarian translation from translation project.
44164         * po/nl.po: Update Dutch translation from translation project.
44165         * po/pl.po: Update Polish translation from translation project.
44166         * po/ru.po: Update Russian translation from translation project.
44168 2013-07-24  David S. Miller  <davem@davemloft.net>
44170         * po/libc.pot: Update.
44172 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44174         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
44175         variable page size.
44176         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
44177         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
44178         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
44180 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44182         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
44184 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
44185             Andreas Schwab  <schwab@suse.de>
44186             Roland McGrath  <roland@hack.frob.com>
44187             Joseph Myers  <joseph@codesourcery.com>
44188             Carlos O'Donell  <carlos@redhat.com>
44190         [BZ #15755]
44191         * config.h.in: Define HAVE_PT_CHOWN.
44192         * config.make.in (build-pt-chown): New variable.
44193         * configure.in (--enable-pt_chown): New configure option.
44194         * configure: Regenerate.
44195         * login/Makefile: Include Makeconfig.  Build pt_chown only if
44196         build-pt-chown is enabled.
44197         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
44198         pt_chown to fix pty ownership.
44199         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
44200         CLOSE_ALL_FDS.
44201         * manual/install.texi (Configuring and compiling): Mention
44202         --enable-pt_chown. Add @findex for grantpt.
44203         * INSTALL: Regenerate.
44205 2013-07-20  David S. Miller  <davem@davemloft.net>
44207         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
44208         difference between 32-bit and 64-bit.
44210 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
44212         [BZ #15711]
44213         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
44214         Avoid system header dependency with -ffreestanding.
44215         ($(objpfx)bits/syscall%d): Likewise.
44217 2013-07-13  David S. Miller  <davem@davemloft.net>
44219         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
44220         underflows from atanl/atan2l due to bug 15319.
44221         (casinh_test_data): Likewise.
44223 2013-07-07  David S. Miller  <davem@davemloft.net>
44225         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
44227 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
44229         * sysdeps/i386/fpu/libm-test-ulps: Update.
44230         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44232 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
44234         * configure.in (--enable-lock-elision): Fix message text.
44235         * INSTALL: Regenerate.
44236         * configure: Regenerate.
44238 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44240         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44242 2013-07-03  Andreas Jaeger  <aj@suse.de>
44244         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
44245         define.
44246         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
44247         (ptrace_peeksiginfo_args): Add.
44248         (__ptrace_peeksiginfo_flags): Add.
44249         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44250         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44251         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44253 2013-07-03  Allan McRae  <allan@archlinux.org>
44255         * sysdeps/i386/fpu/libm-test-ulps: Update.
44257 2013-07-02  David S. Miller  <davem@davemloft.net>
44259         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44261 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
44263         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44265 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
44267         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
44268         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44270 2013-07-02  Andi Kleen <ak@linux.intel.com>
44272         * config.h.in (ENABLE_LOCK_ELISION): Add.
44273         * configure.in (--enable-lock-elision): Add option.
44274         * manual/install.texi: Document --enable lock elision.
44275         * configure: Regenerate
44276         * INSTALL: Regenerate.
44278 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
44280         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
44281         SSE4.2 strcasecmp for libc.a.
44282         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
44284 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
44286         [BZ #13304]
44287         * soft-fp/op-common.h (_FP_FMA): New macro.
44288         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
44289         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
44290         (_FP_MUL_MEAT_1_imm): ... here.
44291         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
44292         (_FP_MUL_MEAT_1_wide): ... here.
44293         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
44294         (_FP_MUL_MEAT_1_hard): ... here.
44295         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
44296         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
44297         (_FP_MUL_MEAT_2_wide): ... here.
44298         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
44299         (_FP_MUL_MEAT_2_wide_3mul): ... here.
44300         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
44301         (_FP_MUL_MEAT_2_gmp): ... here.
44302         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
44303         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
44304         (_FP_MUL_MEAT_4_wide): ... here.
44305         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
44306         (_FP_MUL_MEAT_4_gmp): ... here.
44307         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
44308         (_FP_WFRACBITS_DW_S): Likewise.
44309         (_FP_WFRACXBITS_DW_S): Likewise.
44310         (_FP_HIGHBIT_DW_S): Likewise.
44311         (FP_FMA_S): Likewise.
44312         (_FP_FRAC_HIGH_DW_S): Likewise.
44313         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
44314         (_FP_WFRACBITS_DW_D): Likewise.
44315         (_FP_WFRACXBITS_DW_D): Likewise.
44316         (_FP_HIGHBIT_DW_D): Likewise.
44317         (FP_FMA_D): Likewise.
44318         (_FP_FRAC_HIGH_DW_D): Likewise.
44319         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
44320         (_FP_WFRACBITS_DW_E): Likewise.
44321         (_FP_WFRACXBITS_DW_E): Likewise.
44322         (_FP_HIGHBIT_DW_E): Likewise.
44323         (FP_FMA_E): Likewise.
44324         (_FP_FRAC_HIGH_DW_E): Likewise.
44325         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
44326         (_FP_WFRACBITS_DW_Q): Likewise.
44327         (_FP_WFRACXBITS_DW_Q): Likewise.
44328         (_FP_HIGHBIT_DW_Q): Likewise.
44329         (FP_FMA_Q): Likewise.
44330         (_FP_FRAC_HIGH_DW_Q): Likewise.
44331         * soft-fp/fmasf4.c: New file.
44332         * soft-fp/fmadf4.c: Likewise.
44333         * soft-fp/fmatf4.c: Likewise.
44335 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44337         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
44338         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
44339         Silvermont.
44340         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
44341         macro.
44342         (index_Slow_SSE4_2): Likewise.
44343         (index_Prefer_PMINUB_for_stringop): Likewise.
44344         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
44345         bit_Slow_SSE4_2 is set.
44346         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
44347         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
44349 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
44351         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
44352         rtld_global._dl_hwcap2.
44353         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
44354         POWER8.
44355         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
44356         POWER8 feature descriptions defined in _dl_hwcap2.
44357         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
44358         string handling for POWER8 feature bits.
44359         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
44360         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
44361         _dl_powerpc_cap_flags.
44362         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
44363         * sysdeps/powerpc/rtld-global-offsets.sym
44364         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
44365         _dl_hwcap2 in the rtld_global_ro structure.
44367 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
44369         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
44370         hardware capabilities in support of AT_HWCAP2.
44371         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
44372         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
44373         GLRO(dl_hwcap2).
44374         (_dl_show_auxv): Add support for calling _dl_procinfo to display
44375         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
44376         explicitly the unknown a_type display mechanism is used.
44377         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
44378         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
44379         struct member.
44380         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
44381         to macro prototype for AT_HWCAP2 support.
44382         * sysdeps/i386/dl-procinfo.h: Likewise.
44383         * sysdeps/s390/dl-procinfo.h: Likewise.
44384         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
44385         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
44386         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
44387         return -1 for unknown a_type display fallback.
44388         * sysdeps/sparc/dl-procinfo.h: Likewise.
44389         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
44390         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
44392 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
44394         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
44395         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
44397 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
44399         [BZ #12492]
44400         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
44401         mprotect making __stack_prot writable.
44403 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
44404             Joseph Myers  <joseph@codesourcery.com>
44406         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
44407         as being properly aligned.
44409 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
44411         * dlfcn/modstatic5.c: New file.
44412         * dlfcn/tststatic5.c: New file.
44413         * dlfcn/Makefile (tests): Add tststatic5.
44414         (tests-static): Likewise.
44415         (modules-names): Add modstatic5.
44416         (tststatic5-ENV): New variable.
44417         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
44419         [BZ #15022]
44420         * elf/dl-support.c (_dl_main_map): New variable.
44421         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
44422         (_dl_nns, _dl_load_adds): Set to 1.
44423         (_dl_initial_searchlist): Refer to _dl_main_map.
44424         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
44425         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
44426         call to _dl_get_origin.
44427         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
44428         around call_map.
44429         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
44430         * dlfcn/modstatic3.c: New file.
44431         * dlfcn/tststatic3.c: New file.
44432         * dlfcn/tststatic4.c: New file.
44433         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
44434         (tests-static): Likewise.
44435         (modules-names): Add modstatic3.
44436         (tststatic3-ENV, tststatic4-ENV): New variables.
44437         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
44438         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
44440 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
44442         * configure.in (CC): Require GCC version 4.4 or later.
44443         * configure: Regenerated.
44444         * manual/install.texi (Tools for Compilation): Update GCC version
44445         requirement.
44446         * INSTALL: Regenerated.
44448 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44450         [BZ #15674]
44451         * string/test-memcmp.c (check2): New.
44452         (main): Call check2.
44454         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
44456 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
44458         [BZ #15022]
44459         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
44460         over to...
44461         (dl_open_worker) [!SHARED]: ... here.
44463 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
44465         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
44467 2013-06-25  Richard Henderson  <rth@redhat.com>
44469         * locale/programs/locarchive.c: Include <libc-internal.h>
44471 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
44473         * manual/texinfo.tex: Update to version 2013-06-21.17, with
44474         trailing whitespace removed.
44476 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
44478         [BZ #10283]
44479         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
44480         * locale/programs/locarchive.c: Include libc-mmap.h.
44481         (prepare_address_space): Take two new outputs (the mmap base and len).
44482         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
44483         values.
44484         (create_archive): Declare new mmap base and len values for
44485         prepare_address_space, and store the result in ah.
44486         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
44487         (enlarge_archive): If ah->mmap_base is not NULL, use that and
44488         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
44489         Declare new mmap base and len values for
44490         prepare_address_space, and store the result in new_ah.
44491         (open_archive): Declare new mmap base and len values for
44492         prepare_address_space, and store the result in ah.
44493         (close_archive): If ah->mmap_base is not NULL, use that and
44494         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
44495         * sysdeps/generic/libc-mmap.h: New file.
44497 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
44499         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
44500         (ALIGN_UP): Likewise.
44501         (PTR_ALIGN_DOWN): Likewise.
44502         (PTR_ALIGN_UP): Likewise.
44504 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
44506         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
44507         entry mapped to PPC_PLATFORM_POWER8.
44508         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
44509         POWER8.
44510         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
44511         (_dl_string_platform): Add case for exporting platform position for
44512         POWER8.
44513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
44514         search path to sysdeps/powerpc/powerpc32/power8 directory.
44515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
44516         search path to sysdeps/powerpc/powerpc64/power8 directory.
44517         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
44518         power7 directories.
44519         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
44520         power7 directories.
44522 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
44524         * INSTALL: Regenerate.
44526         * nscd/connections.c (nscd_init): Fix comment.
44528 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
44530         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
44532         [BZ #15667]
44533         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
44534         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
44536 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
44538         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
44539         DL_DST_REQ_STATIC.
44540         (DL_DST_REQ_STATIC): Remove macro.
44542 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
44544         [BZ #7006]
44545         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
44546         with a shift of 0 bits.
44548 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
44550         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
44551         $(tststatic-ENV).
44553 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44555         [BZ #15655]
44556         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
44558 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44560         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
44561         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
44562         accepts -fno-tree-loop-distribute-patterns.
44563         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
44564         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
44565         recursive call.
44566         * string/memset.c (memset): Likewise.
44567         * string/test-memmove.c (simple_memmove): Disable loop transformation
44568         to library calls.
44569         * string/test-memset.c (simple_memset): Likewise.
44570         * benchtests/bench-memmove.c (simple_memmove): Likewise.
44571         * benchtests/bench-memset.c (simple_memset): Likewise.
44572         * configure: Regenerated.
44574 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
44576         * math/test-misc.c (main): Ignore fesetround failure when failures
44577         of subsequent rounding tests would be ignored.
44579         [BZ #15654]
44580         * math/fedisblxcpt.c (fedisableexcept): Return 0.
44581         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
44582         * math/fegetenv.c (__fegetenv): Return 0.
44583         * math/fegetexcept.c (fegetexcept): Return 0.
44584         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
44585         FE_TONEAREST.
44586         * math/feholdexcpt.c (feholdexcept): Return 0.
44587         * math/fesetenv.c (__fesetenv): Return 0.
44588         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
44589         argument FE_TONEAREST.
44590         * math/feupdateenv.c (__feupdateenv): Return 0.
44591         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
44593 2013-06-18  Roland McGrath  <roland@hack.frob.com>
44595         * elf/rtld-Rules (rtld-compile-command.S): New variable.
44596         (rtld-compile-command.s, rtld-compile-command.c): New variables.
44597         ($(objpfx)rtld-%.os rules): Use them.
44599 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44601         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
44602         fields.
44604 2013-06-17  Roland McGrath  <roland@hack.frob.com>
44606         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
44607         length of target pattern, then descending length of dependency pattern.
44608         * configure.in (AWK): Require gawk 3.1.2 or newer.
44609         * manual/install.texi (Tools for Compilation): Say that we do.
44610         * configure: Regenerated.
44612         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
44613         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
44614         * scripts/sysd-rules.awk: ... this new script.
44615         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
44616         than a glob-style pattern.
44618 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
44620         * math/test-misc.c (main): Do not treat incorrectly rounded
44621         conversions as failure unless ROUNDING_TESTS passes.
44623 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
44625         [BZ #15631]
44626         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
44627         restore exception state around main square root computation, then
44628         check for inexactness explicitly.
44630         * math/libm-test.inc (fma_test_data): Add another test.
44632 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44634         * manual/threads.texi (Non-POSIX Extensions): New document
44635         node.  Document pthread_getattr_default_np and
44636         pthread_setattr_default_np.
44638         * Versions.def (libpthread): Add GLIBC_2.18.
44639         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
44640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
44641         Likewise.
44642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
44643         Likewise.
44644         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
44645         Likewise.
44646         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
44647         Likewise.
44648         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
44649         Likewise.
44650         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
44651         Likewise.
44652         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
44653         Likewise.
44654         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
44655         Likewise.
44656         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
44657         Likewise.
44659 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44661         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44662         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
44664 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
44665             H.J. Lu  <hjl.tools@gmail.com>
44667         [BZ #15627]
44668         * sysdeps/x86_64/rtld-memset.c: Remove file.
44669         * sysdeps/x86_64/rtld-memset.S: New file.
44671 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
44673         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
44674         (test_in_one_mode): Take arguments for whether the rounding mode
44675         is supported for each floating-point type.
44676         (do_test): Pass new arguments to test_in_one_mode using
44677         ROUNDING_TESTS.
44679 2013-06-13  Roland McGrath  <roland@hack.frob.com>
44681         * posix/tst-waitid.c (do_test): Distinguish different instances of
44682         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
44683         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
44684         before entering the kernel for waitpid.
44686 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
44688         * NEWS: Fix note on clock function precision.  Text by Roland
44689         McGrath.
44691 2013-06-13  Roland McGrath  <roland@hack.frob.com>
44693         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
44694         it into place only when and if the sanity check passes.
44696 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
44698         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
44699         output for whether conversion result is exact.  Take argument
44700         indicating whether type is IBM long double.
44701         (round_for_all): Change need_exact field to ibm_ld.
44702         * stdlib/tst-strtod-round.c (struct exactness): New type.
44703         (struct test): Change bool ld_ok field to struct exactness exact.
44704         (TEST): Update all definitions for change to field.
44705         (tests): Regenerate array contents.
44706         (test_in_one_mode): Take pointer to new field instead of old ld_ok
44707         field value.  Check for IBM long double here.
44708         (do_test): Update calls to test_in_one_mode.
44710 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
44712         [BZ #12515]
44713         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
44714         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
44716 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44718         [BZ #15605]
44719         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
44720         generated by the compiler on loop optimizations.
44721         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
44722         general definitions.
44724 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
44726         * math/bug-nextafter.c: Include <math-tests.h>.
44727         (main): Only test for exceptions if EXCEPTION_TESTS is true for
44728         the relevant type.
44729         * math/bug-nexttoward.c: Include <math-tests.h>.
44730         (main): Only test for exceptions if EXCEPTION_TESTS is true for
44731         the relevant type.
44732         * math/test-misc.c: Include <math-tests.h>.
44733         (main): Only test for exceptions if EXCEPTION_TESTS is true for
44734         the relevant type.
44736 2013-06-12  Andreas Jaeger  <aj@suse.de>
44738         * po/ia.po: Update Interlingua translation from translation
44739         project.
44741 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
44743         * include/fenv.h: Include stdbool.h.
44744         (struct rm_ctx): New structure.
44745         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
44746         Define macro.
44747         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
44748         (SET_RESTORE_ROUNDF): Likewise.
44749         (SET_RESTORE_ROUNDL): Likewise.
44750         (SET_RESTORE_ROUND_NOEX): Likewise.
44751         (SET_RESTORE_ROUND_NOEXF): Likewise.
44752         (SET_RESTORE_ROUND_NOEXL): Likewise.
44753         (SET_RESTORE_ROUND_53BIT): Likewise.
44754         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
44755         (libc_feresetround_noexf_ctx): Likewise.
44756         (libc_feresetround_noexl_ctx): Likewise.
44757         (libc_feholdsetround_53bit_ctx): Likewise.
44758         (libc_feresetround_53bit_ctx): Likewise.
44759         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
44760         (libc_feholdexcept_setround_sse_ctx): New function.
44761         (libc_fesetenv_sse_ctx): Likewise.
44762         (libc_feupdateenv_sse_ctx): Likewise.
44763         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
44764         (libc_feholdexcept_setround_387_ctx): Likewise.
44765         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
44766         (libc_feholdsetround_387_prec_ctx): Likewise.
44767         (libc_feholdsetround_387_ctx): Likewise.
44768         (libc_feholdsetround_387_53bit_ctx): Likewise.
44769         (libc_feholdsetround_sse_ctx): Likewise.
44770         (libc_feresetround_sse_ctx): Likewise.
44771         (libc_feresetround_387_ctx): Likewise.
44772         (libc_feupdateenv_387_ctx): Likewise.
44773         (libc_feholdexcept_setroundf_ctx): Define macro.
44774         (libc_fesetenvf_ctx): Likewise.
44775         (libc_feupdateenvf_ctx): Likewise.
44776         (libc_feholdsetroundf_ctx): Likewise.
44777         (libc_feresetroundf_ctx): Likewise.
44778         (libc_feholdexcept_setround_ctx): Likewise.
44779         (libc_fesetenv_ctx): Likewise.
44780         (libc_feupdateenv_ctx): Likewise.
44781         (libc_feholdsetround_ctx): Likewise.
44782         (libc_feresetround_ctx): Likewise.
44783         (libc_feholdexcept_setroundl_ctx): Likewise.
44784         (libc_feupdateenvl_ctx): Likewise.
44785         (libc_feholdsetroundl_ctx): Likewise.
44786         (libc_feresetroundl_ctx): Likewise.
44787         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
44788         (libc_feresetround_53bit_ctx): Likewise.
44790 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
44792         * locale/iso-639.def: Convert to UTF-8.
44794 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
44796         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
44797         (EXCEPTION_TESTS_double): Likewise.
44798         (EXCEPTION_TESTS_long_double): Likewise.
44799         (EXCEPTION_TESTS): Likewise.
44800         * math/libm-test.inc (test_exceptions): Only test exceptions if
44801         EXCEPTION_TESTS (FLOAT).
44803 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
44805         * benchtests/Makefile (string-bench): Add strcpy_chk and
44806         stpcpy_chk.
44807         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
44808         * benchtests/bench-stpcpy_chk.c: New file.
44809         * benchtests/bench-strcpy_chk-ifunc.c: New file.
44810         * benchtests/bench-strcpy_chk.c: New file.
44811         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
44812         code.
44813         (do_test): Likewise.
44815 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
44817         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
44818         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
44819         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
44820         with tabs where appropriate.
44821         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
44822         dl-procinfo.h.
44823         [PPC_PLATFORM_PPC440]: Likewise.
44824         [PPC_PLATFORM_PPC464]: Likewise.
44825         [PPC_PLATFORM_PPC476]: Likewise.
44826         (_dl_string_platform): Add support for detecting ppc405, ppc440,
44827         ppc464, and ppc476 platform strings merging from ports/
44828         dl-procinfo.h.
44830 2013-06-11  Andreas Schwab  <schwab@suse.de>
44832         [BZ #14991]
44833         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
44834         (from_ucs4_idx): Regenerate.
44835         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
44836         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
44837         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
44838         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
44839         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
44840         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
44841         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
44842         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
44843         from FROM_LOOP and TO_LOOP specific macros.
44844         (BODY): Handle combining characters.
44845         * iconvdata/BIG5HKSCS.irreversible: Update.
44846         * iconvdata/BIG5HKSCS.precomposed: New file.
44847         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
44848         characters.
44849         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
44851 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
44853         * include/sys/time.h: Fix indentation and add copyright header.
44855         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
44856         (do_test): Likewise.
44857         * string/test-memchr.c (do_one_test): Likewise.
44858         (do_test): Likewise.
44859         * string/test-memcmp.c (do_one_test): Likewise.
44860         (do_test): Likewise.
44861         * string/test-memcpy.c (do_one_test): Likewise.
44862         (do_test): Likewise.
44863         * string/test-memmem.c (do_one_test): Likewise.
44864         (do_test): Likewise.
44865         (do_random_tests): Likewise.
44866         * string/test-memmove.c (do_one_test): Likewise.
44867         (do_test): Likewise.
44868         * string/test-memset.c (do_one_test): Likewise.
44869         (do_test): Likewise.
44870         * string/test-rawmemchr.c (do_one_test): Likewise.
44871         (do_test): Likewise.
44872         * string/test-strcasecmp.c (do_one_test): Likewise.
44873         (do_test): Likewise.
44874         * string/test-strcasestr.c (do_one_test): Likewise.
44875         (do_test): Likewise.
44876         * string/test-strcat.c (do_one_test): Likewise.
44877         (do_test): Likewise.
44878         * string/test-strchr.c (do_one_test): Likewise.
44879         (do_test): Likewise.
44880         * string/test-strcmp.c (do_one_test): Likewise.
44881         (do_test): Likewise.
44882         * string/test-strcpy.c (do_one_test): Likewise.
44883         (do_test): Likewise.
44884         * string/test-string.h: Likewise.
44885         (test_init): Likewise.
44886         * string/test-strlen.c (do_one_test): Likewise.
44887         (do_test): Likewise.
44888         * string/test-strncasecmp.c (do_one_test): Likewise.
44889         (do_test): Likewise.
44890         * string/test-strncat.c (do_one_test): Likewise.
44891         (do_test): Likewise.
44892         * string/test-strncmp.c (do_one_test): Likewise.
44893         (do_test_limit): Likewise.
44894         (do_test): Likewise.
44895         * string/test-strncpy.c (do_one_test): Likewise.
44896         (do_test): Likewise.
44897         * string/test-strnlen.c (do_one_test): Likewise.
44898         (do_test): Likewise.
44899         * string/test-strpbrk.c (do_one_test): Likewise.
44900         (do_test): Likewise.
44901         * string/test-strrchr.c (do_one_test): Likewise.
44902         (do_test): Likewise.
44903         * string/test-strspn.c (do_one_test): Likewise.
44904         (do_test): Likewise.
44905         * string/test-strstr.c (do_one_test): Likewise.
44906         (do_test): Likewise.
44908         * benchtests/Makefile (string-bench): Add string benchmarks.
44909         * benchtests/bench-bcopy-ifunc.c: New file.
44910         * benchtests/bench-bcopy.c: New file.
44911         * benchtests/bench-bzero-ifunc.c: New file.
44912         * benchtests/bench-bzero.c: New file.
44913         * benchtests/bench-memccpy-ifunc.c: New file.
44914         * benchtests/bench-memccpy.c: New file.
44915         * benchtests/bench-memchr-ifunc.c: New file.
44916         * benchtests/bench-memchr.c: New file.
44917         * benchtests/bench-memcmp-ifunc.c: New file.
44918         * benchtests/bench-memcmp.c: New file.
44919         * benchtests/bench-memmem-ifunc.c: New file.
44920         * benchtests/bench-memmem.c: New file.
44921         * benchtests/bench-memmove-ifunc.c: New file.
44922         * benchtests/bench-memmove.c: New file.
44923         * benchtests/bench-mempcpy-ifunc.c: New file.
44924         * benchtests/bench-mempcpy.c: New file.
44925         * benchtests/bench-memset-ifunc.c: New file.
44926         * benchtests/bench-memset.c: New file.
44927         * benchtests/bench-rawmemchr-ifunc.c: New file.
44928         * benchtests/bench-rawmemchr.c: New file.
44929         * benchtests/bench-stpcpy-ifunc.c: New file.
44930         * benchtests/bench-stpcpy.c: New file.
44931         * benchtests/bench-stpncpy-ifunc.c: New file.
44932         * benchtests/bench-stpncpy.c: New file.
44933         * benchtests/bench-strcasecmp-ifunc.c: New file.
44934         * benchtests/bench-strcasecmp.c: New file.
44935         * benchtests/bench-strcasestr-ifunc.c: New file.
44936         * benchtests/bench-strcasestr.c: New file.
44937         * benchtests/bench-strcat-ifunc.c: New file.
44938         * benchtests/bench-strcat.c: New file.
44939         * benchtests/bench-strchr-ifunc.c: New file.
44940         * benchtests/bench-strchr.c: New file.
44941         * benchtests/bench-strchrnul-ifunc.c: New file.
44942         * benchtests/bench-strchrnul.c: New file.
44943         * benchtests/bench-strcmp-ifunc.c: New file.
44944         * benchtests/bench-strcmp.c: New file.
44945         * benchtests/bench-strcpy-ifunc.c: New file.
44946         * benchtests/bench-strcpy.c: New file.
44947         * benchtests/bench-strcspn-ifunc.c: New file.
44948         * benchtests/bench-strcspn.c: New file.
44949         * benchtests/bench-strlen-ifunc.c: New file.
44950         * benchtests/bench-strlen.c: New file.
44951         * benchtests/bench-strncasecmp-ifunc.c: New file.
44952         * benchtests/bench-strncasecmp.c: New file.
44953         * benchtests/bench-strncat-ifunc.c: New file.
44954         * benchtests/bench-strncat.c: New file.
44955         * benchtests/bench-strncmp-ifunc.c: New file.
44956         * benchtests/bench-strncmp.c: New file.
44957         * benchtests/bench-strncpy-ifunc.c: New file.
44958         * benchtests/bench-strncpy.c: New file.
44959         * benchtests/bench-strnlen-ifunc.c: New file.
44960         * benchtests/bench-strnlen.c: New file.
44961         * benchtests/bench-strpbrk-ifunc.c: New file.
44962         * benchtests/bench-strpbrk.c: New file.
44963         * benchtests/bench-strrchr-ifunc.c: New file.
44964         * benchtests/bench-strrchr.c: New file.
44965         * benchtests/bench-strspn-ifunc.c: New file.
44966         * benchtests/bench-strspn.c: New file.
44967         * benchtests/bench-strstr-ifunc.c: New file.
44968         * benchtests/bench-strstr.c: New file.
44970         * benchtests/Makefile: Disable parallel execution of targets.
44971         (string-bench): Add memcpy.
44972         (benchset): New variable to store a list of benchmark sets.
44973         (bench-func): Renamed from bench.
44974         (bench-set): New target.
44975         (bench): Depend on bench-func and bench-set.
44976         * benchtests/README: Add section on benchmark sets.
44977         * benchtests/bench-memcpy-ifunc.c: New file.
44978         * benchtests/bench-memcpy.c: New file.
44979         * benchtests/bench-string.h: New file.
44981 2013-06-11  Andreas Schwab  <schwab@suse.de>
44983         [BZ #15577]
44984         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
44985         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
44986         values in the triple.
44987         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
44988         terminator in the group key.
44990 2013-06-11  Andreas Jaeger  <aj@suse.de>
44992         * po/zh_TW.po: Update Chinese (traditional) translation from
44993         translation project.
44995 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
44997         * include/time.h (__clock_gettime): Add libc_hidden_proto.
44998         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
44999         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
45000         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
45001         (clock_getcpuclockid): Likewise.
45002         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
45003         Add weak_alias and libc_hidden_def.
45004         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
45005         * rt/clock_gettime.c (clock_gettime): Rename to
45006         __clock_gettime.  Add weak_alias and libc_hidden_def.
45007         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
45008         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
45009         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
45010         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
45011         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
45012         Likewise.
45013         * rt/clock_settime.c (clock_settime): Rename to
45014         __clock_settime.  Add weak_alias and libc_hidden_def.
45015         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
45017 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
45019         * mach/err_boot.sub: Remove trailing whitespace.
45020         * mach/err_ipc.sub: Likewise.
45021         * mach/err_mach.sub: Likewise.
45023         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
45024         (ROUNDING_TESTS_double): Likewise.
45025         (ROUNDING_TESTS_long_double): Likewise.
45026         (ROUNDING_TESTS): Likewise.
45027         * math/libm-test.inc: Include <math-tests.h>.
45028         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
45029         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
45030         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
45031         (IF_ROUND_INIT_FE_UPWARD): Likewise.
45033 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
45035         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
45036         of assigning.
45038 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
45040         * sysdeps/gnu/errlist.awk: Do not generate space at end of
45041         otherwise empty TRANS lines.
45042         * sysdeps/gnu/errlist.c: Regenerated.
45044         * catgets/gencat.c (error_print): Use (void) in function
45045         definition.
45046         * crypt/crypt_util.c (__init_des): Likewise.
45047         * crypt/speeds.c (Stop): Likewise.
45048         (main): Likewise.
45049         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
45050         * inet/ruserpass.c (token): Likewise.
45051         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
45052         * intl/localealias.c (extend_alias_table): Likewise.
45053         * intl/plural-exp.c (init_germanic_plural): Likewise.
45054         * libio/fcloseall.c (__fcloseall): Likewise.
45055         * libio/genops.c (_IO_flush_all): Likewise.
45056         (_IO_flush_all_linebuffered): Likewise.
45057         (_IO_cleanup): Likewise.
45058         (_IO_iter_begin): Likewise.
45059         (_IO_iter_end): Likewise.
45060         (_IO_list_lock): Likewise.
45061         (_IO_list_unlock): Likewise.
45062         (_IO_list_resetlock): Likewise.
45063         * libio/getchar.c (getchar): Likewise.
45064         * libio/getchar_u.c (getchar_unlocked): Likewise.
45065         * libio/getwchar.c (getwchar): Likewise.
45066         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
45067         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
45068         * login/getpt.c (__getpt): Likewise.
45069         * login/tst-utmp.c (main): Likewise.
45070         * malloc/hooks.c (__malloc_check_init): Likewise.
45071         * malloc/malloc.c (__malloc_stats): Likewise.
45072         * malloc/mtrace.c (tr_break): Likewise.
45073         (mtrace): Likewise.
45074         (muntrace): Likewise.
45075         * misc/fstab.c (endfsent): Likewise.
45076         * misc/getclktck.c (__getclktck): Likewise.
45077         * misc/getdtsz.c (__getdtablesize): Likewise.
45078         * misc/gethostid.c (gethostid): Likewise.
45079         * misc/getpagesize.c (__getpagesize): Likewise.
45080         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
45081         (__get_nprocs): Likewise.
45082         (__get_phys_pages): Likewise.
45083         (__get_avphys_pages): Likewise.
45084         * misc/getttyent.c (getttyent): Likewise.
45085         (setttyent): Likewise.
45086         (endttyent): Likewise.
45087         * misc/getusershell.c (getusershell): Likewise.
45088         (endusershell): Likewise.
45089         (setusershell): Likewise.
45090         (initshells): Likewise.
45091         * misc/hsearch.c (__hdestroy): Likewise.
45092         * misc/sync.c (sync): Likewise.
45093         * misc/syslog.c (closelog_internal): Likewise.
45094         (closelog): Likewise.
45095         * misc/ttyslot.c (ttyslot): Likewise.
45096         * misc/vhangup.c (vhangup): Likewise.
45097         * posix/fork.c (__fork): Likewise.
45098         * posix/getegid.c (__getegid): Likewise.
45099         * posix/geteuid.c (__geteuid): Likewise.
45100         * posix/getgid.c (__getgid): Likewise.
45101         * posix/getpid.c (__getpid): Likewise.
45102         * posix/getppid.c (__getppid): Likewise.
45103         * posix/getuid.c (__getuid): Likewise.
45104         * posix/pause.c (pause): Likewise.
45105         * posix/setpgrp.c (setpgrp): Likewise.
45106         * posix/setsid.c (__setsid): Likewise.
45107         * posix/test-vfork.c (noop): Likewise.
45108         * resolv/gethnamaddr.c (_endhtent): Likewise.
45109         (_gethtent): Likewise.
45110         (ht_endhostent): Likewise.
45111         (gethostent): Likewise.
45112         (dns_service): Likewise.
45113         * stdlib/drand48.c (drand48): Likewise.
45114         * stdlib/lrand48.c (lrand48): Likewise.
45115         * stdlib/mrand48.c (mrand48): Likewise.
45116         * stdlib/rand.c (rand): Likewise.
45117         * stdlib/random.c (__random): Likewise.
45118         * stdlib/setenv.c (clearenv): Likewise.
45119         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
45120         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
45121         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
45122         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
45123         (__get_nprocs): Likewise.
45124         (__get_phys_pages): Likewise.
45125         (__get_avphys_pages): Likewise.
45126         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
45127         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
45128         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
45129         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
45130         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
45131         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
45132         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
45133         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
45134         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
45135         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
45136         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
45137         * sysdeps/mach/hurd/sync.c (sync): Likewise.
45138         * sysdeps/posix/clock.c (clock): Likewise.
45139         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
45140         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
45141         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
45142         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
45143         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
45144         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
45145         (__get_nprocs_conf): Likewise.
45146         (__get_phys_pages): Likewise.
45147         (__get_avphys_pages): Likewise.
45148         * time/clock.c (clock): Likewise.
45149         * time/tzset.c (__tzname_max): Likewise.
45151 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
45153         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
45154         (__bswap_32): Do not use "register".
45155         * crypt/crypt.c (_ufc_doit_r): Likewise.
45156         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
45157         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
45158         * gmon/gmon.c (__monstartup): Likewise.
45159         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
45160         * hurd/hurdmalloc.c (more_memory): Likewise.
45161         (malloc): Likewise.
45162         (free): Likewise.
45163         (realloc): Likewise.
45164         (malloc_fork_prepare): Likewise.
45165         (malloc_fork_parent): Likewise.
45166         (malloc_fork_child): Likewise.
45167         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
45168         (_svcauth_des): Likewise.
45169         * inet/inet_lnaof.c (inet_lnaof): Likewise.
45170         * inet/inet_net.c (inet_network): Likewise.
45171         * inet/inet_netof.c (inet_netof): Likewise.
45172         * inet/rcmd.c (__validuser2_sa): Likewise.
45173         * io/fts.c (fts_open): Likewise.
45174         (fts_load): Likewise.
45175         (fts_close): Likewise.
45176         (fts_read): Likewise.
45177         (fts_children): Likewise.
45178         (fts_build): Likewise.
45179         (fts_stat): Likewise.
45180         (fts_sort): Likewise.
45181         (fts_alloc): Likewise.
45182         (fts_lfree): Likewise.
45183         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
45184         (_IO_file_xsgetn): Likewise.
45185         (_IO_file_xsgetn_mmap): Likewise.
45186         * libio/iofopncook.c (_IO_cookie_read): Likewise.
45187         (_IO_cookie_write): Likewise.
45188         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
45189         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
45190         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
45191         * malloc/obstack.c (_obstack_begin): Likewise.
45192         (_obstack_begin_1): Likewise.
45193         (_obstack_newchunk): Likewise.
45194         (_obstack_allocated_p): Likewise.
45195         (obstack_free): Likewise.
45196         (_obstack_memory_used): Likewise.
45197         * misc/getttyent.c (getttynam): Likewise.
45198         (getttyent): Likewise.
45199         (skip): Likewise.
45200         (value): Likewise.
45201         * misc/getusershell.c (initshells): Likewise.
45202         * misc/syslog.c (__vsyslog_chk): Likewise.
45203         * misc/ttyslot.c (ttyslot): Likewise.
45204         * nis/nis_hash.c (__nis_hash): Likewise.
45205         * posix/fnmatch_loop.c (FCT): Likewise.
45206         * posix/getconf.c (print_all): Likewise.
45207         (main): Likewise.
45208         * posix/getopt.c (exchange): Likewise.
45209         * posix/glob.c (globfree): Likewise.
45210         (prefix_array): Likewise.
45211         (__glob_pattern_type): Likewise.
45212         * resolv/arpa/nameser.h (NS_GET16): Likewise.
45213         (NS_GET32): Likewise.
45214         (NS_PUT16): Likewise.
45215         (NS_PUT32): Likewise.
45216         * resolv/gethnamaddr.c (getanswer): Likewise.
45217         (gethostbyname2): Likewise.
45218         (gethostbyaddr): Likewise.
45219         (_gethtent): Likewise.
45220         (_gethtbyname2): Likewise.
45221         (_gethtbyaddr): Likewise.
45222         * resolv/ns_print.c (dst_s_get_int16): Likewise.
45223         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
45224         * resolv/res_init.c (__res_vinit): Likewise.
45225         (net_mask): Likewise.
45226         * resolv/res_mkquery.c (outchar): Likewise.
45227         (PRINT): Likewise.
45228         * stdio-common/printf_fp.c (outchar): Likewise.
45229         (PRINT): Likewise.
45230         * stdio-common/printf_fphex.c (outchar): Likewise.
45231         (PRINT): Likewise.
45232         * stdio-common/printf_size.c (outchar): Likewise.
45233         (PRINT): Likewise.
45234         * stdio-common/test_rdwr.c (main): Likewise.
45235         * stdio-common/tfformat.c (matches): Likewise.
45236         * stdio-common/vfprintf.c (outchar): Likewise.
45237         (printf_unknown): Likewise.
45238         (buffered_vfprintf): Likewise.
45239         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
45240         * stdio-common/xbug.c (AppendToBuffer): Likewise.
45241         (ReadFile): Likewise.
45242         * stdlib/qsort.c (SWAP): Likewise.
45243         (_quicksort): Likewise.
45244         * stdlib/setenv.c (__add_to_environ): Likewise.
45245         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
45246         * stdlib/strtol_l.c (__strtol_l): Likewise.
45247         * stdlib/tst-strtod.c (main): Likewise.
45248         * stdlib/tst-strtol.c (main): Likewise.
45249         * stdlib/tst-strtoll.c (main): Likewise.
45250         * string/bits/string2.h (__strcmp_cc): Likewise.
45251         (__strcmp_cg): Likewise.
45252         (__strcspn_c1): Likewise.
45253         (__strcspn_c2): Likewise.
45254         (__strcspn_c3): Likewise.
45255         (__strspn_c1): Likewise.
45256         (__strspn_c2): Likewise.
45257         (__strspn_c3): Likewise.
45258         (__strsep_1c): Likewise.
45259         (__strsep_2c): Likewise.
45260         (__strsep_3c): Likewise.
45261         * string/memccpy.c (__memccpy): Likewise.
45262         * string/stpcpy.c (__stpcpy): Likewise.
45263         * string/strcmp.c (strcmp): Likewise.
45264         * string/strrchr.c (strrchr): Likewise.
45265         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
45266         Likewise.
45267         * sysdeps/mach/hurd/getcwd.c
45268         (_hurd_canonicalize_directory_name_internal): Likewise.
45269         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
45270         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
45271         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
45272         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
45273         Likewise, in both definitions.
45274         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
45275         definitions.
45276         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
45277         64] (__bswap_64): Likewise.
45278         * time/test_time.c (main): Likewise.
45279         * time/tzfile.c (__tzfile_read): Likewise.
45280         (__tzfile_compute): Likewise.
45281         * time/tzset.c (__tzset_parse_tz): Likewise.
45282         (tzset_internal): Likewise.
45283         (compute_change): Likewise.
45284         * wcsmbs/wcscat.c (__wcscat): Likewise.
45285         * wcsmbs/wcschr.c (wcschr): Likewise.
45286         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
45287         * wcsmbs/wcscspn.c (wcscspn): Likewise.
45288         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
45289         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
45290         * wcsmbs/wcsspn.c (wcsspn): Likewise.
45291         * wcsmbs/wcsstr.c (wcsstr): Likewise.
45292         * wcsmbs/wmemchr.c (wmemchr): Likewise.
45293         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
45294         * wcsmbs/wmemset.c (wmemset): Likewise.
45296 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
45298         * scripts/config.guess: Update to version 2013-05-16.
45299         * scripts/config.sub: Update to version 2013-04-24.
45300         * scripts/install-sh: Update to version 2011-11-20.07.
45301         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
45302         * scripts/move-if-change: Update to version 2012-01-06 07:23.
45304 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
45306         * debug/fgetws_u_chk.c: Fix leading whitespaces.
45307         * elf/sln.c: Likewise.
45308         * hurd/hurd/ioctl.h: Likewise.
45309         * hurd/hurdmalloc.c: Likewise.
45310         * hurd/xattr.c: Likewise.
45311         * include/shlib-compat.h: Likewise.
45312         * inet/ruserpass.c: Likewise.
45313         * libio/iofgets_u.c: Likewise.
45314         * libio/iofgetws_u.c: Likewise.
45315         * locale/programs/ld-identification.c: Likewise.
45316         * locale/programs/ld-time.c: Likewise.
45317         * mach/msg-destroy.c: Likewise.
45318         * nss/nss_files/files-netgrp.c: Likewise.
45319         * resolv/res_data.c: Likewise.
45320         * soft-fp/op-1.h: Likewise.
45321         * soft-fp/op-2.h: Likewise.
45322         * soft-fp/op-4.h: Likewise.
45323         * soft-fp/op-common.h: Likewise.
45324         * stdio-common/printf_fphex.c: Likewise.
45325         * stdlib/strtod_l.c: Likewise.
45326         * sunrpc/rpc/clnt.h: Likewise.
45327         * sysdeps/generic/framestate.c: Likewise.
45328         * sysdeps/i386/bsd-_setjmp.S: Likewise.
45329         * sysdeps/i386/bsd-setjmp.S: Likewise.
45330         * sysdeps/i386/__longjmp.S: Likewise.
45331         * sysdeps/i386/setjmp.S: Likewise.
45332         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
45333         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
45334         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
45335         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
45336         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
45337         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
45338         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
45339         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
45340         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
45341         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
45342         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
45343         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
45344         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
45345         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
45346         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
45347         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
45348         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
45349         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
45350         * sysdeps/ieee754/support.c: Likewise.
45351         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
45352         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
45353         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
45354         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
45355         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
45356         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
45357         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
45358         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
45359         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
45360         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
45361         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
45362         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
45363         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
45364         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
45365         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
45366         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
45367         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
45368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
45370 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
45372         * posix/transbug.c: Remove executable mode.
45374 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
45376         * crypt/speeds.c: Remove trailing whitespace.
45377         * dlfcn/default.c: Likewise.
45378         * elf/ifuncdep2.c: Likewise.
45379         * elf/ifuncmain1.c: Likewise.
45380         * elf/ifuncmain1vis.c: Likewise.
45381         * elf/testobj.h: Likewise.
45382         * elf/tst-stackguard1.c: Likewise.
45383         * gmon/sys/gmon.h: Likewise.
45384         * hurd/hurdmsg.c: Likewise.
45385         * hurd/new-fd.c: Likewise.
45386         * hurd/ports-get.c: Likewise.
45387         * iconvdata/ibm1008_420.c: Likewise.
45388         * inet/tst-getni1.c: Likewise.
45389         * inet/tst-getni2.c: Likewise.
45390         * libio/ioungetc.c: Likewise.
45391         * libio/wfiledoalloc.c: Likewise.
45392         * manual/libm-err-tab.pl: Likewise.
45393         * math/w_dremf.c: Likewise.
45394         * misc/ftruncate.c: Likewise.
45395         * posix/bug-glob2.c: Likewise.
45396         * posix/tst-pcre.c: Likewise.
45397         * posix/wait4.c: Likewise.
45398         * resolv/README: Likewise.
45399         * resolv/res_debug.h: Likewise.
45400         * resolv/tst-inet_ntop.c: Likewise.
45401         * setjmp/bug269-setjmp.c: Likewise.
45402         * soft-fp/extended.h: Likewise.
45403         * soft-fp/op-1.h: Likewise.
45404         * soft-fp/op-2.h: Likewise.
45405         * soft-fp/op-4.h: Likewise.
45406         * soft-fp/op-8.h: Likewise.
45407         * soft-fp/testit.c: Likewise.
45408         * stdio-common/bug16.c: Likewise.
45409         * stdlib/random.c: Likewise.
45410         * sunrpc/rpcsvc/rquota.x: Likewise.
45411         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
45412         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
45413         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
45414         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
45415         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
45416         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
45417         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
45418         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
45419         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
45420         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
45421         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
45422         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
45423         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
45424         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
45425         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
45426         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
45427         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
45428         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
45429         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
45430         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
45431         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
45432         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
45433         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
45434         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
45435         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
45436         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
45437         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
45438         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
45439         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
45440         * sysdeps/ieee754/s_lib_version.c: Likewise.
45441         * sysdeps/mach/hurd/check_fds.c: Likewise.
45442         * sysdeps/mach/hurd/getsockname.c: Likewise.
45443         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
45444         * sysdeps/mach/hurd/recvfrom.c: Likewise.
45445         * sysdeps/powerpc/bits/link.h: Likewise.
45446         * sysdeps/powerpc/dl-procinfo.c: Likewise.
45447         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
45448         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
45449         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
45450         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
45451         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
45452         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
45453         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
45454         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
45455         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
45456         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
45457         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
45458         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
45459         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
45460         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
45461         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
45462         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
45463         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
45464         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
45465         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
45466         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
45467         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
45468         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
45469         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
45470         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
45471         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
45472         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
45473         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
45474         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
45475         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
45476         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
45477         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
45478         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
45479         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
45480         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
45481         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
45482         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
45483         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
45484         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
45485         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
45486         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
45487         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
45488         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
45489         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
45490         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
45491         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
45492         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
45493         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
45494         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
45495         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
45496         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
45497         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
45498         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
45499         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
45500         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
45501         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
45502         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
45503         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
45504         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
45505         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
45506         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
45507         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
45508         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
45509         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
45510         * sysdeps/powerpc/sysdep.h: Likewise.
45511         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
45512         * sysdeps/s390/s390-64/sub_n.S: Likewise.
45513         * sysdeps/sh/dl-trampoline.S: Likewise.
45514         * sysdeps/sh/memset.S: Likewise.
45515         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
45516         * sysdeps/sh/strlen.S: Likewise.
45517         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
45518         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
45519         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
45520         * sysdeps/sparc/sparc32/rem.S: Likewise.
45521         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
45522         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
45523         * sysdeps/sparc/sparc32/strchr.S: Likewise.
45524         * sysdeps/sparc/sparc32/udiv.S: Likewise.
45525         * sysdeps/sparc/sparc32/urem.S: Likewise.
45526         * sysdeps/sparc/sparc64/add_n.S: Likewise.
45527         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
45528         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
45529         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
45530         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
45531         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
45532         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
45533         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
45534         * sysdeps/unix/bsd/times.c: Likewise.
45535         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
45536         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
45537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
45538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
45539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
45540         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
45541         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
45542         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
45543         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
45544         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
45545         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
45546         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
45547         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
45548         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
45549         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
45550         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
45551         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
45552         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
45553         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
45554         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
45555         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
45556         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
45557         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
45558         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
45559         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
45560         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
45561         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
45562         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
45563         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
45564         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
45565         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
45566         * sysdeps/x86_64/strcspn.S: Likewise.
45568 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
45570         * locale/C-translit.h: Revert #include <stdint.h> because this is a
45571         generated file.  Regenerate properly from gen-translit.pl.
45572         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
45573         locale/C-translit.h.
45575 2013-06-05  Andreas Schwab  <schwab@suse.de>
45577         [BZ #15100]
45578         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
45579         week as 6 instead of -1.
45580         * time/tst-strptime.c (day_tests): Add test case.
45582 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
45584         * sysdeps/generic/math_private.h
45585         (libc_feholdexcept_setround_53bit): Replace with
45586         libc_feholdsetround_53bit.
45587         (libc_feupdateenv_53bit): Replace with
45588         libc_feresetround_53bit.
45589         (SET_RESTORE_ROUND_53BIT): Adjust.
45591 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
45593         * string/test-strchrnul.c: Add copyright header.
45595         * posix/tst-getaddrinfo4.c: Increase test timeout.
45597 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
45599         [BZ #15536]
45600         * math/libm-test.inc (MAX_EXP): Remove
45601         (MIN_EXP): Define.
45602         (ulp): Use MIN_EXP - MANT_DIG.
45603         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
45605 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
45607         * po/be.po: Revert last change.
45608         * po/zh_CN.po: Likewise.
45609         * po/header.pot: Likewise.
45611 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
45613         * Makefile ($(common-objpfx)linkobj/libc.so): Define
45614         link-libc-deps to empty as target-specific variable.
45615         * Makerules (link-libc-args): New variable.
45616         (libc-for-link): Likewise.
45617         (link-libc-deps): Likewise.
45618         (lib%.so): Depend on $(link-libc-deps).  Link with
45619         $(link-libc-args).
45620         (build-module): Link with $(link-libc-args).
45621         (build-module-asneeded): Likewise.
45622         (build-module-helper-objlist): Filter out $(link-libc-deps) from
45623         list of objects.
45624         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
45625         target-specific variable.
45626         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
45627         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
45628         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
45629         libc.
45630         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
45631         libc and ld.so.
45632         ($(objpfx)libpcprofile.so): Likewise.
45633         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
45634         libc_nonshared.a.
45635         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
45636         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
45637         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
45638         $(link-libc-deps).
45639         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
45640         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
45641         * login/Makefile ($(objpfx)libutil.so): Likewise.
45642         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
45643         * math/Makefile ($(objpfx)libm.so): Likewise.
45644         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
45645         $(objpfx)libnsl.so): Define libc-for-link as target-specific
45646         variable instead of depending directly on libc.
45647         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
45648         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
45649         $(link-libc-deps).
45650         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
45651         libc.
45652         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
45653         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
45654         ($(objpfx)libanl.so): Likewise.
45655         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
45656         ld.so.
45657         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
45658         $(link-libc-deps).
45659         * sysdeps/i386/fpu/Makefile: Remove file.
45660         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
45661         ($(objpfx)libm.so): Remove dependency on ld.so.
45663 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
45665         [BZ # 15553]
45666         * nis/yp_xdr.c (XDRMAXNAME): Define.
45667         (XDRMAXRECORD): Define.
45668         (xdr_domainname): Use XDRMAXNAME.
45669         (xdr_mapname): Likewise.
45670         (xdr_peername): Likewise.
45671         (xdr_keydat): Use XDRMAXRECORD.
45672         (xdr_valdat): Likewise.
45674 2013-05-30  Jeff Law  <law@redhat.com>
45676         [BZ #14256]
45677         * manual/errno.texi (ESTALE): Update to account for more than
45678         just NFS file systems.
45679         * sysdeps/gnu/errlist.c: Regenerated.
45681 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
45683         [BZ #15465]
45684         * elf/Makefile (tests): Add tst-null-argv.
45685         (modules-names):  Add tst-null-argv-lib.
45686         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
45687         (tst-null-argv-ENV): Set environment for tst-null-argv.
45688         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
45689         (RTLD_PROGNAME): New macro.
45690         * elf/tst-null-argv.c: New test case.
45691         * elf/tst-null-argv-lib.c: Library for test case.
45692         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
45693         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
45694         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
45695         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
45696         * elf/dl-init.c (call_init): Likewise.
45697         (_dl_init): Likewise.
45698         * elf/dl-load.c (print_search_path): Likewise.
45699         (_dl_map_object): Likewise.
45700         * elf/dl-lookup.c (do_lookup_x): Likewise.
45701         (add_dependency): Likewise.
45702         (_dl_lookup_symbol_x): Likewise.
45703         (_dl_debug_bindings): Likewise.
45704         * elf/dl-open.c (_dl_show_scope): Likewise.
45705         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
45706         * elf/dl-version.c (match_symbol): Likewise.
45707         (_dl_check_map_versions): Likewise.
45708         * elf/rtld.c (dl_main): Likewise.
45709         (print_unresolved): Use RTLD_PROGNAME.
45710         (print_missing_version): Likewise.
45711         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
45712         (elf_machine_rela): Likewise.
45713         * sysdeps/powerpc/powerpc32/dl-machine.c
45714         (__process_machine_rela): Likewise.
45715         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45716         Likewise.
45717         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
45718         Likewise.
45719         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
45720         Likewise.
45721         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
45722         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
45723         Likewise.
45724         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
45725         Likewise.
45726         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
45728 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
45730         * po/be.po: Add descriptive title.
45731         * po/zh_CN.po: Likewise.
45732         * po/header.pot: Likewise.
45734 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
45736         * locale/programs/locarchive.c (create_archive): Inlucde fname in
45737         error message.
45738         (enlarge_archive): Likewise.
45740 2013-05-28  Ben North  <ben@redfrontdoor.org>
45742         * manual/arith.texi (frexp): It is the magnitude of the return
45743         value which lies in [0.5, 1), not the return value itself.
45745 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45747         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45749 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
45751         * stdio-common/bug26.c (main): Correct fscanf template.
45753         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
45754         declare _dl_skip_args.
45756         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
45757         Don't declare.
45759         * manual/platform.texi: Add missing @end deftypefun.
45761 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
45763         [BZ #15529]
45764         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
45765         bit of mantissa of 2^16382.
45766         * math/libm-test.inc (hypot_test_data): Add more tests.
45768         * math/libm-test.inc: Add drem and pow10 to list of tested
45769         functions.
45770         (pow10_test): New function.
45771         (drem_test): Likewise.
45772         (drem_test_tonearest): Likewise.
45773         (drem_test_towardzero): Likewise.
45774         (drem_test_downward): Likewise.
45775         (drem_test_upward): Likewise.
45776         (main): Call the new functions.
45778         * math/libm-test.inc (finite_test_data): Remove.
45779         (finite_test): Run tests from isfinite_test_data.
45780         (gamma_test_data): Remove.
45781         (gamma_test): Run tests from lgamma_test_data.
45782         * sysdeps/i386/fpu/libm-test-ulps: Update.
45783         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45785 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45787         * manual/platform.texi: Add PowerPC PPR function set documentation.
45788         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
45789         implementation.
45791 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
45793         * math/libm-test.inc (MAX_EXP): Define.
45794         (ULPDIFF): Define.
45795         (ulp): New function.
45796         (check_float_internal): Use ULPDIFF.
45797         (cpow_test): Disable failing test.
45798         (check_ulp): Test ulp() implemetnation.
45799         (main): Call check_ulp before starting tests.
45801 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
45803         * math/gen-libm-test.pl (generate_testfile): Do not handle
45804         START_DATA and END_DATA.
45805         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
45806         END_DATA.
45807         (acos_tonearest_test_data): Likewise.
45808         (acos_towardzero_test_data): Likewise.
45809         (acos_downward_test_data): Likewise.
45810         (acos_upward_test_data): Likewise.
45811         (acosh_test_data): Likewise.
45812         (asin_test_data): Likewise.
45813         (asin_tonearest_test_data): Likewise.
45814         (asin_towardzero_test_data): Likewise.
45815         (asin_downward_test_data): Likewise.
45816         (asin_upward_test_data): Likewise.
45817         (asinh_test_data): Likewise.
45818         (atan_test_data): Likewise.
45819         (atanh_test_data): Likewise.
45820         (atan2_test_data): Likewise.
45821         (cabs_test_data): Likewise.
45822         (cacos_test_data): Likewise.
45823         (cacosh_test_data): Likewise.
45824         (carg_test_data): Likewise.
45825         (casin_test_data): Likewise.
45826         (casinh_test_data): Likewise.
45827         (catan_test_data): Likewise.
45828         (catanh_test_data): Likewise.
45829         (cbrt_test_data): Likewise.
45830         (ccos_test_data): Likewise.
45831         (ccosh_test_data): Likewise.
45832         (ceil_test_data): Likewise.
45833         (cexp_test_data): Likewise.
45834         (cimag_test_data): Likewise.
45835         (clog_test_data): Likewise.
45836         (clog10_test_data): Likewise.
45837         (conj_test_data): Likewise.
45838         (copysign_test_data): Likewise.
45839         (cos_test_data): Likewise.
45840         (cos_tonearest_test_data): Likewise.
45841         (cos_towardzero_test_data): Likewise.
45842         (cos_downward_test_data): Likewise.
45843         (cos_upward_test_data): Likewise.
45844         (cosh_test_data): Likewise.
45845         (cosh_tonearest_test_data): Likewise.
45846         (cosh_towardzero_test_data): Likewise.
45847         (cosh_downward_test_data): Likewise.
45848         (cosh_upward_test_data): Likewise.
45849         (cpow_test_data): Likewise.
45850         (cproj_test_data): Likewise.
45851         (creal_test_data): Likewise.
45852         (csin_test_data): Likewise.
45853         (csinh_test_data): Likewise.
45854         (csqrt_test_data): Likewise.
45855         (ctan_test_data): Likewise.
45856         (ctan_tonearest_test_data): Likewise.
45857         (ctan_towardzero_test_data): Likewise.
45858         (ctan_downward_test_data): Likewise.
45859         (ctan_upward_test_data): Likewise.
45860         (ctanh_test_data): Likewise.
45861         (ctanh_tonearest_test_data): Likewise.
45862         (ctanh_towardzero_test_data): Likewise.
45863         (ctanh_downward_test_data): Likewise.
45864         (ctanh_upward_test_data): Likewise.
45865         (erf_test_data): Likewise.
45866         (erfc_test_data): Likewise.
45867         (exp_test_data): Likewise.
45868         (exp_tonearest_test_data): Likewise.
45869         (exp_towardzero_test_data): Likewise.
45870         (exp_downward_test_data): Likewise.
45871         (exp_upward_test_data): Likewise.
45872         (exp10_test_data): Likewise.
45873         (exp2_test_data): Likewise.
45874         (expm1_test_data): Likewise.
45875         (fabs_test_data): Likewise.
45876         (fdim_test_data): Likewise.
45877         (finite_test_data): Likewise.
45878         (floor_test_data): Likewise.
45879         (fma_test_data): Likewise.
45880         (fma_towardzero_test_data): Likewise.
45881         (fma_downward_test_data): Likewise.
45882         (fma_upward_test_data): Likewise.
45883         (fmax_test_data): Likewise.
45884         (fmin_test_data): Likewise.
45885         (fmod_test_data): Likewise.
45886         (fpclassify_test_data): Likewise.
45887         (frexp_test_data): Likewise.
45888         (gamma_test_data): Likewise.
45889         (hypot_test_data): Likewise.
45890         (ilogb_test_data): Likewise.
45891         (isfinite_test_data): Likewise.
45892         (isgreater_test_data): Likewise.
45893         (isgreaterequal_test_data): Likewise.
45894         (isinf_test_data): Likewise.
45895         (isless_test_data): Likewise.
45896         (islessequal_test_data): Likewise.
45897         (islessgreater_test_data): Likewise.
45898         (isnan_test_data): Likewise.
45899         (isnormal_test_data): Likewise.
45900         (issignaling_test_data): Likewise.
45901         (isunordered_test_data): Likewise.
45902         (j0_test_data): Likewise.
45903         (j1_test_data): Likewise.
45904         (jn_test_data): Likewise.
45905         (ldexp_test_data): Likewise.
45906         (lgamma_test_data): Likewise.
45907         (lrint_test_data): Likewise.
45908         (lrint_tonearest_test_data): Likewise.
45909         (lrint_towardzero_test_data): Likewise.
45910         (lrint_downward_test_data): Likewise.
45911         (lrint_upward_test_data): Likewise.
45912         (llrint_test_data): Likewise.
45913         (llrint_tonearest_test_data): Likewise.
45914         (llrint_towardzero_test_data): Likewise.
45915         (llrint_downward_test_data): Likewise.
45916         (llrint_upward_test_data): Likewise.
45917         (log_test_data): Likewise.
45918         (log10_test_data): Likewise.
45919         (log1p_test_data): Likewise.
45920         (log2_test_data): Likewise.
45921         (logb_test_data): Likewise.
45922         (logb_downward_test_data): Likewise.
45923         (lround_test_data): Likewise.
45924         (llround_test_data): Likewise.
45925         (modf_test_data): Likewise.
45926         (nearbyint_test_data): Likewise.
45927         (nextafter_test_data): Likewise.
45928         (nexttoward_test_data): Likewise.
45929         (pow_test_data): Likewise.
45930         (pow_tonearest_test_data): Likewise.
45931         (pow_towardzero_test_data): Likewise.
45932         (pow_downward_test_data): Likewise.
45933         (pow_upward_test_data): Likewise.
45934         (remainder_test_data): Likewise.
45935         (remainder_tonearest_test_data): Likewise.
45936         (remainder_towardzero_test_data): Likewise.
45937         (remainder_downward_test_data): Likewise.
45938         (remainder_upward_test_data): Likewise.
45939         (remquo_test_data): Likewise.
45940         (rint_test_data): Likewise.
45941         (rint_tonearest_test_data): Likewise.
45942         (rint_towardzero_test_data): Likewise.
45943         (rint_downward_test_data): Likewise.
45944         (rint_upward_test_data): Likewise.
45945         (round_test_data): Likewise.
45946         (scalb_test_data): Likewise.
45947         (scalbn_test_data): Likewise.
45948         (scalbln_test_data): Likewise.
45949         (signbit_test_data): Likewise.
45950         (sin_test_data): Likewise.
45951         (sin_tonearest_test_data): Likewise.
45952         (sin_towardzero_test_data): Likewise.
45953         (sin_downward_test_data): Likewise.
45954         (sin_upward_test_data): Likewise.
45955         (sincos_test_data): Likewise.
45956         (sinh_test_data): Likewise.
45957         (sinh_tonearest_test_data): Likewise.
45958         (sinh_towardzero_test_data): Likewise.
45959         (sinh_downward_test_data): Likewise.
45960         (sinh_upward_test_data): Likewise.
45961         (sqrt_test_data): Likewise.
45962         (tan_test_data): Likewise.
45963         (tan_tonearest_test_data): Likewise.
45964         (tan_towardzero_test_data): Likewise.
45965         (tan_downward_test_data): Likewise.
45966         (tan_upward_test_data): Likewise.
45967         (tanh_test_data): Likewise.
45968         (tgamma_test_data): Likewise.
45969         (trunc_test_data): Likewise.
45970         (y0_test_data): Likewise.
45971         (y1_test_data): Likewise.
45972         (yn_test_data): Likewise.
45973         (significand_test_data): Likewise.
45975         * math/gen-libm-test.pl (@functions): Remove variable.
45976         (generate_testfile): Don't handle START and END lines.
45977         * math/libm-test.inc (START): New macro.
45978         (END): Likewise.
45979         (END_COMPLEX): Likewise.
45980         (acos_test): Use END macro without arguments.
45981         (acos_test_tonearest): Likewise.
45982         (acos_test_towardzero): Likewise.
45983         (acos_test_downward): Likewise.
45984         (acos_test_upward): Likewise.
45985         (acosh_test): Likewise.
45986         (asin_test): Likewise.
45987         (asin_test_tonearest): Likewise.
45988         (asin_test_towardzero): Likewise.
45989         (asin_test_downward): Likewise.
45990         (asin_test_upward): Likewise.
45991         (asinh_test): Likewise.
45992         (atan_test): Likewise.
45993         (atanh_test): Likewise.
45994         (atan2_test): Likewise.
45995         (cabs_test): Likewise.
45996         (cacos_test): Use END_COMPLEX macro without arguments.
45997         (cacosh_test): Likewise.
45998         (carg_test): Use END macro without arguments.
45999         (casin_test): Use END_COMPLEX macro without arguments.
46000         (casinh_test): Likewise.
46001         (catan_test): Likewise.
46002         (catanh_test): Likewise.
46003         (cbrt_test): Use END macro without arguments.
46004         (ccos_test): Use END_COMPLEX macro without arguments.
46005         (ccosh_test): Likewise.
46006         (ceil_test): Use END macro without arguments.
46007         (cexp_test): Use END_COMPLEX macro without arguments.
46008         (cimag_test): Use END macro without arguments.
46009         (clog_test): Use END_COMPLEX macro without arguments.
46010         (clog10_test): Likewise.
46011         (conj_test): Likewise.
46012         (copysign_test): Use END macro without arguments.
46013         (cos_test): Likewise.
46014         (cos_test_tonearest): Likewise.
46015         (cos_test_towardzero): Likewise.
46016         (cos_test_downward): Likewise.
46017         (cos_test_upward): Likewise.
46018         (cosh_test): Likewise.
46019         (cosh_test_tonearest): Likewise.
46020         (cosh_test_towardzero): Likewise.
46021         (cosh_test_downward): Likewise.
46022         (cosh_test_upward): Likewise.
46023         (cpow_test): Use END_COMPLEX macro without arguments.
46024         (cproj_test): Likewise.
46025         (creal_test): Use END macro without arguments.
46026         (csin_test): Use END_COMPLEX macro without arguments.
46027         (csinh_test): Likewise.
46028         (csqrt_test): Likewise.
46029         (ctan_test): Likewise.
46030         (ctan_test_tonearest): Likewise.
46031         (ctan_test_towardzero): Likewise.
46032         (ctan_test_downward): Likewise.
46033         (ctan_test_upward): Likewise.
46034         (ctanh_test): Likewise.
46035         (ctanh_test_tonearest): Likewise.
46036         (ctanh_test_towardzero): Likewise.
46037         (ctanh_test_downward): Likewise.
46038         (ctanh_test_upward): Likewise.
46039         (erf_test): Use END macro without arguments.
46040         (erfc_test): Likewise.
46041         (exp_test): Likewise.
46042         (exp_test_tonearest): Likewise.
46043         (exp_test_towardzero): Likewise.
46044         (exp_test_downward): Likewise.
46045         (exp_test_upward): Likewise.
46046         (exp10_test): Likewise.
46047         (exp2_test): Likewise.
46048         (expm1_test): Likewise.
46049         (fabs_test): Likewise.
46050         (fdim_test): Likewise.
46051         (finite_test): Likewise.
46052         (floor_test): Likewise.
46053         (fma_test): Likewise.
46054         (fma_test_towardzero): Likewise.
46055         (fma_test_downward): Likewise.
46056         (fma_test_upward): Likewise.
46057         (fmax_test): Likewise.
46058         (fmin_test): Likewise.
46059         (fmod_test): Likewise.
46060         (fpclassify_test): Likewise.
46061         (frexp_test): Likewise.
46062         (gamma_test): Likewise.
46063         (hypot_test): Likewise.
46064         (ilogb_test): Likewise.
46065         (isfinite_test): Likewise.
46066         (isgreater_test): Likewise.
46067         (isgreaterequal_test): Likewise.
46068         (isinf_test): Likewise.
46069         (isless_test): Likewise.
46070         (islessequal_test): Likewise.
46071         (islessgreater_test): Likewise.
46072         (isnan_test): Likewise.
46073         (isnormal_test): Likewise.
46074         (issignaling_test): Likewise.
46075         (isunordered_test): Likewise.
46076         (j0_test): Likewise.
46077         (j1_test): Likewise.
46078         (jn_test): Likewise.
46079         (ldexp_test): Likewise.
46080         (lgamma_test): Likewise.
46081         (lrint_test): Likewise.
46082         (lrint_test_tonearest): Likewise.
46083         (lrint_test_towardzero): Likewise.
46084         (lrint_test_downward): Likewise.
46085         (lrint_test_upward): Likewise.
46086         (llrint_test): Likewise.
46087         (llrint_test_tonearest): Likewise.
46088         (llrint_test_towardzero): Likewise.
46089         (llrint_test_downward): Likewise.
46090         (llrint_test_upward): Likewise.
46091         (log_test): Likewise.
46092         (log10_test): Likewise.
46093         (log1p_test): Likewise.
46094         (log2_test): Likewise.
46095         (logb_test): Likewise.
46096         (logb_test_downward): Likewise.
46097         (lround_test): Likewise.
46098         (llround_test): Likewise.
46099         (modf_test): Likewise.
46100         (nearbyint_test): Likewise.
46101         (nextafter_test): Likewise.
46102         (nexttoward_test): Likewise.
46103         (pow_test): Likewise.
46104         (pow_test_tonearest): Likewise.
46105         (pow_test_towardzero): Likewise.
46106         (pow_test_downward): Likewise.
46107         (pow_test_upward): Likewise.
46108         (remainder_test): Likewise.
46109         (remainder_test_tonearest): Likewise.
46110         (remainder_test_towardzero): Likewise.
46111         (remainder_test_downward): Likewise.
46112         (remainder_test_upward): Likewise.
46113         (remquo_test): Likewise.
46114         (rint_test): Likewise.
46115         (rint_test_tonearest): Likewise.
46116         (rint_test_towardzero): Likewise.
46117         (rint_test_downward): Likewise.
46118         (rint_test_upward): Likewise.
46119         (round_test): Likewise.
46120         (scalb_test): Likewise.
46121         (scalbn_test): Likewise.
46122         (scalbln_test): Likewise.
46123         (signbit_test): Likewise.
46124         (sin_test): Likewise.
46125         (sin_test_tonearest): Likewise.
46126         (sin_test_towardzero): Likewise.
46127         (sin_test_downward): Likewise.
46128         (sin_test_upward): Likewise.
46129         (sincos_test): Likewise.
46130         (sinh_test): Likewise.
46131         (sinh_test_tonearest): Likewise.
46132         (sinh_test_towardzero): Likewise.
46133         (sinh_test_downward): Likewise.
46134         (sinh_test_upward): Likewise.
46135         (sqrt_test): Likewise.
46136         (tan_test): Likewise.
46137         (tan_test_tonearest): Likewise.
46138         (tan_test_towardzero): Likewise.
46139         (tan_test_downward): Likewise.
46140         (tan_test_upward): Likewise.
46141         (tanh_test): Likewise.
46142         (tgamma_test): Likewise.
46143         (trunc_test): Likewise.
46144         (y0_test): Likewise.
46145         (y1_test): Likewise.
46146         (yn_test): Likewise.
46147         (significand_test): Likewise.
46149 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
46151         [BZ #15381]
46152         * libio/genops.c (_IO_no_init): Initialize wide struct info.
46154 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
46156         [BZ #14894]
46157         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
46158         __ppc_mdoio and __ppc_mdoom.
46159         * manual/platform.texi: Document new functions __ppc_yield,
46160         __ppc_mdoio and __ppc_mdoom.
46162 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
46164         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
46165         (main): Mention "tls" pseudo-hwcap is legacy.
46166         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
46168 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
46170         * math/gen-libm-test.pl (parse_args): Output only string of
46171         arguments as text for test name, not full call or descriptions of
46172         tests for extra outputs.
46173         (generate_testfile): Do not pass function name to parse_args.
46174         Generate this_func variable from START.
46175         * math/libm-test.inc (struct test_f_f_data): Rename test_name
46176         field to arg_str.
46177         (struct test_ff_f_data): Likewise.
46178         (test_ff_f_data_nexttoward): Likewise.
46179         (struct test_fi_f_data): Likewise.
46180         (struct test_fl_f_data): Likewise.
46181         (struct test_if_f_data): Likewise.
46182         (struct test_fff_f_data): Likewise.
46183         (struct test_c_f_data): Likewise.
46184         (struct test_f_f1_data): Likewise.  Remove field extra_name.
46185         (struct test_fF_f1_data): Likewise.
46186         (struct test_ffI_f1_data): Likewise.
46187         (struct test_c_c_data): Rename test_name field to arg_str.
46188         (struct test_cc_c_data): Likewise.
46189         (struct test_f_i_data): Likewise.
46190         (struct test_ff_i_data): Likewise.
46191         (struct test_f_l_data): Likewise.
46192         (struct test_f_L_data): Likewise.
46193         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
46194         and extra2_name.
46195         (COMMON_TEST_SETUP): New macro.
46196         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
46197         (COMMON_TEST_CLEANUP): Likewise.
46198         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
46199         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
46200         macros.
46201         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
46202         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
46203         macros.
46204         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
46205         (RUN_TEST_fff_f): Take argument string.  Call new setup and
46206         cleanup macros.
46207         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
46208         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
46209         macros.
46210         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
46211         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
46212         macros.
46213         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
46214         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
46215         cleanup macros.
46216         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
46217         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
46218         cleanup macros.
46219         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
46220         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
46221         cleanup macros.
46222         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
46223         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
46224         macros.
46225         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
46226         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
46227         macros.
46228         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
46229         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
46230         macros.
46231         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
46232         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
46233         cleanup macros.
46234         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
46235         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
46236         cleanup macros.
46237         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
46238         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
46239         macros.
46240         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
46241         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
46242         cleanup macros.
46243         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
46244         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
46245         macros.
46246         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
46247         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
46248         macros.
46249         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
46250         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
46251         cleanup macros.
46252         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
46254 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
46256         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
46257         to _sifields.sigfault.
46258         (si_addr_lsb): Define new macro.
46259         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
46260         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
46261         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
46263 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
46265         [BZ #15441]
46266         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
46267         returns -1.
46268         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
46269         null return -1.
46270         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
46271         loading the domain.
46273 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
46275         * math/gen-libm-test.pl (parse_args): Do not include expected
46276         result in test name.
46277         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
46278         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46279         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
46280         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
46281         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
46282         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46284 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
46286         * benchtests/Makefile: Sort function entries.
46288         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
46289         tanh, asinh, acosh, atanh.
46290         * benchtests/acos-inputs: New file.
46291         * benchtests/acosh-inputs: New file.
46292         * benchtests/asin-inputs: New file.
46293         * benchtests/asinh-inputs: New file.
46294         * benchtests/atanh-inputs: New file.
46295         * benchtests/cosh-inputs: New file.
46296         * benchtests/log-inputs: New file.
46297         * benchtests/sinh-inputs: New file.
46298         * benchtests/tanh-inputs: New file.
46300 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
46302         [BZ #15339]
46303         * posix/tst-getaddrinfo4.c: New test.
46304         * posix/Makefile (tests): Add it.
46306 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
46308         [BZ #15339]
46309         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
46310         when no services were used.
46311         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
46312         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
46314 2013-05-21  Andreas Schwab  <schwab@suse.de>
46316         [BZ #15014]
46317         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
46318         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
46319         successful.
46320         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
46321         redundant variable declarations and reallocation of buffer when
46322         parsing as IPv6 address.  Always set NSS status when called from
46323         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
46324         buffer too small.  Correct computation of needed size.
46325         * nss/Makefile (tests): Add test-digits-dots.
46326         * nss/test-digits-dots.c: New test.
46328 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
46330         * benchtests/Makefile: Remove instructions for adding
46331         benchmark tests.
46332         * benchtests/README: New file to explain how to execute and
46333         enhance the benchmark tests.
46335 2013-05-21  Andreas Schwab  <schwab@suse.de>
46337         [BZ #15493]
46338         * setjmp/Makefile (tests): Add tst-sigsetjmp.
46339         * setjmp/tst-sigsetjmp.c: New test.
46341 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
46343         * sysdeps/x86_64/memset.S (memset): New implementation.
46344         (__bzero): Likewise.
46345         (__memset_tail): New function.
46347 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
46349         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
46350         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
46351         __memcpy_sse2_unaligned ifunc selection.
46352         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
46353         Add memcpy-sse2-unaligned.S.
46354         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
46355         Add: __memcpy_sse2_unaligned.
46357 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
46359         [BZ #15490]
46360         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
46361         math_force_eval before restoring floating-point envrionment.
46362         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
46363         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
46364         Likewise.
46365         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
46366         <math_private.h>.
46367         (__nearbyintl): Use math_force_eval before restoring
46368         floating-point environment.
46369         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
46371         * math/gen-libm-test.pl (special_functions): Remove.
46372         (parse_args): Don't handle TEST_extra.  Handle functions with no
46373         return value.
46374         * math/libm-test.inc (struct test_sincos_data): Replace with
46375         struct test_fFF_11_data.
46376         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
46377         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
46378         (sincos_test_data): Change element type to struct
46379         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
46380         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
46381         RUN_TEST_LOOP_sincos.
46382         * math/README.libm-test: Don't mention special handling of
46383         individual functions.
46384         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
46385         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46386         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
46387         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
46388         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
46389         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46391         * math/gen-libm-test.pl (get_variable): Remove function.
46392         (parse_args): Don't show pointer parameters to call in test
46393         names.  Use "extra output N" in test names for extra outputs
46394         rather than naming variables.
46396 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
46398         [BZ #15488]
46399         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
46400         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
46401         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
46402         double tests.
46403         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
46404         disable.
46405         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
46406         check_long_double.
46408         * math/gen-libm-test.pl (@tests): Remove variable.
46409         ($count): Likewise.
46410         (new_test): Remove function.
46411         (show_exceptions): New function.
46412         (special_functions): Use show_exceptions instead of new_test.
46413         (parse_args): Likewise.
46414         (generate_testfile): Pass only function name in generated call to
46415         print_max_error or print_complex_max_error.
46416         (get_ulps): Do not handle complex tests specially.
46417         (output_test): Rename to ...
46418         (get_all_ulps_for_test): ... this.  Return a string rather than
46419         printing to a file.  Require ulps to be present.
46420         (output_ulps): Generate arrays rather than #defines.
46421         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
46422         (struct ulp_data): New type.
46423         (BUILD_COMPLEX_ULP): Remove macro.
46424         (compare_ulp_data): New function.
46425         (find_ulps): Likewise.
46426         (find_test_ulps): Likewise.
46427         (find_function_ulps): Likewise.
46428         (find_complex_function_ulps): Likewise.
46429         (print_max_error): Determine allowed ulps using
46430         find_function_ulps.
46431         (print_complex_max_error): Determine allowed ulps using
46432         find_complex_function_ulps.
46433         (check_float_internal): Determine max ulps using find_test_ulps.
46434         (check_float): Do not take max_ulp parameter.  Update call to
46435         check_float_internal.
46436         (check_complex): Likewise.
46437         (check_int): Do not take max_ulp parameter.
46438         (check_long): Likewise.
46439         (check_bool): Likewise.
46440         (check_longlong): Likewise.
46441         (struct test_f_f_data): Remove max_ulp field.
46442         (struct test_ff_f_data): Likewise.
46443         (struct test_ff_f_data_nexttoward): Likewise.
46444         (struct test_fi_f_data): Likewise.
46445         (struct test_fl_f_data): Likewise.
46446         (struct test_if_f_data): Likewise.
46447         (struct test_fff_f_data): Likewise.
46448         (struct test_c_f_data): Likewise.
46449         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
46450         (struct test_fF_f1_data): Likewise.
46451         (struct test_ffI_f1_data): Likewise.
46452         (struct test_c_c_data): Remove max_ulp field.
46453         (struct test_cc_c_data): Likewise.
46454         (struct test_f_i_data): Likewise.
46455         (struct test_ff_i_data): Likewise.
46456         (struct test_f_l_data): Likewise.
46457         (struct test_f_L_data): Likewise.
46458         (struct test_sincos_data): Likewise.
46459         (RUN_TEST_f_f): Do not handle ulps.
46460         (RUN_TEST_LOOP_f_f): Likewise.
46461         (RUN_TEST_2_f): Likewise.
46462         (RUN_TEST_LOOP_2_f): Likewise.
46463         (RUN_TEST_fff_f): Likewise.
46464         (RUN_TEST_LOOP_fff_f): Likewise.
46465         (RUN_TEST_c_f): Likewise.
46466         (RUN_TEST_LOOP_c_f): Likewise.
46467         (RUN_TEST_f_f1): Likewise.
46468         (RUN_TEST_LOOP_f_f1): Likewise.
46469         (RUN_TEST_fF_f1): Likewise.
46470         (RUN_TEST_LOOP_fF_f1): Likewise.
46471         (RUN_TEST_fI_f1): Likewise.
46472         (RUN_TEST_LOOP_fI_f1): Likewise.
46473         (RUN_TEST_ffI_f1): Likewise.
46474         (RUN_TEST_LOOP_ffI_f1): Likewise.
46475         (RUN_TEST_c_c): Likewise.
46476         (RUN_TEST_LOOP_c_c): Likewise.
46477         (RUN_TEST_cc_c): Likewise.
46478         (RUN_TEST_LOOP_cc_c): Likewise.
46479         (RUN_TEST_f_i): Likewise.
46480         (RUN_TEST_LOOP_f_i): Likewise.
46481         (RUN_TEST_f_i_tg): Likewise.
46482         (RUN_TEST_LOOP_f_i_tg): Likewise.
46483         (RUN_TEST_ff_i_tg): Likewise.
46484         (RUN_TEST_LOOP_ff_i_tg): Likewise.
46485         (RUN_TEST_f_b): Likewise.
46486         (RUN_TEST_LOOP_f_b): Likewise.
46487         (RUN_TEST_f_b_tg): Likewise.
46488         (RUN_TEST_LOOP_f_b_tg): Likewise.
46489         (RUN_TEST_f_l): Likewise.
46490         (RUN_TEST_LOOP_f_l): Likewise.
46491         (RUN_TEST_f_L): Likewise.
46492         (RUN_TEST_LOOP_f_L): Likewise.
46493         (RUN_TEST_sincos): Likewise.
46494         (RUN_TEST_LOOP_sincos): Likewise.
46496 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
46498         [BZ #15480]
46499         [BZ #15485]
46500         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
46501         main case of finite arguments, set rounding mode to FE_TONEAREST
46502         and discard exceptions.
46503         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
46504         exceptions.
46505         (remainder_tonearest_test_data): New variable.
46506         (remainder_test_tonearest): New function.
46507         (remainder_towardzero_test_data): New variable.
46508         (remainder_test_towardzero): New function.
46509         (remainder_downward_test_data): New variable.
46510         (remainder_test_downward): New function.
46511         (remainder_upward_test_data): New variable.
46512         (remainder_test_upward): New function.
46513         (main): Call the new test functions.
46515         * math/libm-test.inc (struct test_f_f1_data): Remove field
46516         extra_init.
46517         (struct test_fF_f1_data): Likewise.
46518         (struct test_ffI_f1_data): Likewise.
46519         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
46520         based on value of EXTRA_EXPECTED.
46521         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
46522         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
46523         EXTRA_VAR based on value of EXTRA_EXPECTED.
46524         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
46525         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
46526         EXTRA_VAR based on value of EXTRA_EXPECTED.
46527         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
46528         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
46529         EXTRA_VAR based on value of EXTRA_EXPECTED.
46530         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
46531         * math/gen-libm-test.pl (parse_args): Don't output initializers
46532         for extra output values.
46534         * math/libm-test.inc (check_int): Expect result to be exactly
46535         equal to expected value and do not handle ulps.
46536         (check_long): Likewise.
46537         (check_longlong): Likewise.
46539         * math/libm-test.inc (ceil_test_data): Test for "inexact"
46540         exceptions.
46541         (cimag_test_data): Likewise.
46542         (conj_test_data): Likewise.
46543         (copysign_test_data): Likewise.
46544         (cproj_test_data): Likewise.
46545         (creal_test_data): Likewise.
46546         (fabs_test_data): Likewise.
46547         (fdim_test_data): Likewise.
46548         (finite_test_data): Likewise.
46549         (floor_test_data): Likewise.
46550         (fmax_test_data): Likewise.
46551         (fmin_test_data): Likewise.
46552         (fmod_test_data): Likewise.
46553         (fpclassify_test_data): Likewise.
46554         (frexp_test_data): Likewise.
46555         (ilogb_test_data): Likewise.
46556         (isfinite_test_data): Likewise.
46557         (isgreater_test_data): Likewise.
46558         (isgreaterequal_test_data): Likewise.
46559         (isinf_test_data): Likewise.
46560         (isless_test_data): Likewise.
46561         (islessequal_test_data): Likewise.
46562         (islessgreater_test_data): Likewise.
46563         (isnan_test_data): Likewise.
46564         (isnormal_test_data): Likewise.
46565         (issignaling_test_data): Likewise.
46566         (isunordered_test_data): Likewise.
46567         (ldexp_test_data): Likewise.
46568         (lrint_test_data): Likewise.
46569         (lrint_test_data) [TEST_FLOAT]: Disable one test.
46570         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
46571         (lrint_tonearest_test_data): Test for "inexact" exceptions.
46572         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
46573         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
46574         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
46575         test input.
46576         (lrint_towardzero_test_data): Test for "inexact" exceptions.
46577         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
46578         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
46579         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
46580         that test input.
46581         (lrint_downward_test_data): Test for "inexact" exceptions.
46582         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
46583         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
46584         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
46585         test input.
46586         (lrint_upward_test_data): Test for "inexact" exceptions.
46587         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
46588         test input.
46589         (llrint_test_data): Test for "inexact" exceptions.
46590         (llrint_test_data) [TEST_FLOAT]: Disable one test.
46591         (llrint_tonearest_test_data): Test for "inexact" exceptions.
46592         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
46593         (llrint_towardzero_test_data): Test for "inexact" exceptions.
46594         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
46595         (llrint_downward_test_data): Test for "inexact" exceptions.
46596         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
46597         (llrint_upward_test_data): Test for "inexact" exceptions.
46598         (logb_test_data): Likewise.
46599         (logb_downward_test_data): Likewise.
46600         (nextafter_test_data): Likewise.
46601         (nexttoward_test_data): Likewise.
46602         (remainder_test_data): Likewise.
46603         (remquo_test_data): Likewise.
46604         (scalbn_test_data): Likewise.
46605         (scalbln_test_data): Likewise.
46606         (signbit_test_data): Likewise.
46607         (sqrt_test_data): Likewise.
46608         (significand_test_data): Likewise.
46610 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
46612         [BZ #15424]
46613         * benchtests/bench-modf.c (struct args): Mark arg0 as
46614         volatile.
46615         * scripts/bench.pl: Mark members of struct args as volatile.
46617 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46619         [BZ # 15497]
46620         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
46621         negative infinity on POWER6 or lower.
46622         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
46624 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
46626         [BZ #15442]
46627         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
46628         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
46629         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
46630         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
46631         (_FP_SETQNAN): New macro.
46632         (_FP_SETQNAN_SEMIRAW): Likewise.
46633         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
46634         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
46635         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
46636         (FP_EXTEND): Use _FP_FRAC_SNANP.
46637         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
46638         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
46639         into account.
46640         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
46641         New macro.
46642         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
46643         Likewise.
46645 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
46647         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
46648         with DIVIDE_BY_ZERO_EXCEPTION.
46649         (gamma_test_data): Likewise.
46650         (lgamma_test_data): Likewise.
46651         (log_test_data): Likewise.
46652         (log10_test_data): Likewise.
46653         (log2_test_data): Likewise.
46654         (tgamma_test_data): Likewise.
46656         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
46657         (acos_test_tonearest): Likewise.
46658         (acos_test_towardzero): Likewise.
46659         (acos_test_downward): Likewise.
46660         (acos_test_upward): Likewise.
46661         (acosh_test): Likewise.
46662         (asin_test): Likewise.
46663         (asin_test_tonearest): Likewise.
46664         (asin_test_towardzero): Likewise.
46665         (asin_test_downward): Likewise.
46666         (asin_test_upward): Likewise.
46667         (asinh_test): Likewise.
46668         (atan_test): Likewise.
46669         (atanh_test): Likewise.
46670         (atan2_test): Likewise.
46671         (cabs_test): Likewise.
46672         (cacos_test): Likewise.
46673         (cacosh_test): Likewise.
46674         (casin_test): Likewise.
46675         (casinh_test): Likewise.
46676         (catan_test): Likewise.
46677         (catanh_test): Likewise.
46678         (cbrt_test): Likewise.
46679         (ccos_test): Likewise.
46680         (ccosh_test): Likewise.
46681         (cexp_test): Likewise.
46682         (clog_test): Likewise.
46683         (clog10_test): Likewise.
46684         (cos_test): Likewise.
46685         (cos_test_tonearest): Likewise.
46686         (cos_test_towardzero): Likewise.
46687         (cos_test_downward): Likewise.
46688         (cos_test_upward): Likewise.
46689         (cosh_test): Likewise.
46690         (cosh_test_tonearest): Likewise.
46691         (cosh_test_towardzero): Likewise.
46692         (cosh_test_downward): Likewise.
46693         (cosh_test_upward): Likewise.
46694         (cpow_test): Likewise.
46695         (csin_test): Likewise.
46696         (csinh_test): Likewise.
46697         (csqrt_test): Likewise.
46698         (ctan_test): Likewise.
46699         (ctan_test_tonearest): Likewise.
46700         (ctan_test_towardzero): Likewise.
46701         (ctan_test_downward): Likewise.
46702         (ctan_test_upward): Likewise.
46703         (ctanh_test): Likewise.
46704         (ctanh_test_tonearest): Likewise.
46705         (ctanh_test_towardzero): Likewise.
46706         (ctanh_test_downward): Likewise.
46707         (ctanh_test_upward): Likewise.
46708         (erf_test): Likewise.
46709         (erfc_test): Likewise.
46710         (exp_test): Likewise.
46711         (exp_test_tonearest): Likewise.
46712         (exp_test_towardzero): Likewise.
46713         (exp_test_downward): Likewise.
46714         (exp_test_upward): Likewise.
46715         (exp10_test): Likewise.
46716         (exp2_test): Likewise.
46717         (expm1_test): Likewise.
46718         (fmod_test): Likewise.
46719         (gamma_test): Likewise.
46720         (hypot_test): Likewise.
46721         (j0_test): Likewise.
46722         (j1_test): Likewise.
46723         (jn_test): Likewise.
46724         (lgamma_test): Likewise.
46725         (log_test): Likewise.
46726         (log10_test): Likewise.
46727         (log1p_test): Likewise.
46728         (log2_test): Likewise.
46729         (logb_test_downward): Likewise.
46730         (pow_test): Likewise.
46731         (pow_test_tonearest): Likewise.
46732         (pow_test_towardzero): Likewise.
46733         (pow_test_downward): Likewise.
46734         (pow_test_upward): Likewise.
46735         (remainder_test): Likewise.
46736         (remquo_test): Likewise.
46737         (sin_test): Likewise.
46738         (sin_test_tonearest): Likewise.
46739         (sin_test_towardzero): Likewise.
46740         (sin_test_downward): Likewise.
46741         (sin_test_upward): Likewise.
46742         (sincos_test): Likewise.
46743         (sinh_test): Likewise.
46744         (sinh_test_tonearest): Likewise.
46745         (sinh_test_towardzero): Likewise.
46746         (sinh_test_downward): Likewise.
46747         (sinh_test_upward): Likewise.
46748         (sqrt_test): Likewise.
46749         (tan_test): Likewise.
46750         (tan_test_tonearest): Likewise.
46751         (tan_test_towardzero): Likewise.
46752         (tan_test_downward): Likewise.
46753         (tan_test_upward): Likewise.
46754         (tanh_test): Likewise.
46755         (tgamma_test): Likewise.
46756         (y0_test): Likewise.
46757         (y1_test): Likewise.
46758         (yn_test): Likewise.
46760         * math/gen-libm-test.pl (adjust_arg): Remove function.
46761         (special_function): Remove argument $in_func.  Only handle
46762         generating output for tables of tests, not inside functions.
46763         (parse_args): Likewise.
46764         (generate_testfile): Remove variable $in_func.  Update call to
46765         parse_args.
46766         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
46767         (MINUS_ZERO_INIT): Rename macro to minus_zero.
46768         (PLUS_INFTY_INIT): Rename macro to plus_infty.
46769         (MINUS_INFTY_INIT): Rename macro to minus_infty.
46770         (QNAN_VALUE_INIT): Rename macro to qnan_value.
46771         (MAX_VALUE_INIT): Rename macro to max_value.
46772         (MIN_VALUE_INIT): Rename macro to min_value.
46773         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
46774         (plus_zero): Remove variable.
46775         (minus_zero): Likewise.
46776         (plus_infty): Likewise.
46777         (minus_infty): Likewise.
46778         (qnan_value): Likewise.
46779         (max_value): Likewise.
46780         (min_value): Likewise.
46781         (min_subnorm_value): Likewise.
46783 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46785         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
46786         uint64_t or uint32_t usage.
46787         * crypt/sha256-block.c: Likewise.
46788         * crypt/sha256-crypt.c: Likewise.
46789         * crypt/sha256.c: Likewise.
46790         * crypt/sha512-block.c: Likewise.
46791         * crypt/sha512-crypt.c: Likewise.
46792         * crypt/sha512.c: Likewise.
46793         * debug/backtrace-tst.c: Likewise.
46794         * debug/pcprofiledump.c: Likewise.
46795         * elf/cache.c: Likewise.
46796         * elf/dl-cache.c: Likewise.
46797         * elf/dl-misc.c: Likewise.
46798         * elf/dl-profile.c: Likewise.
46799         * elf/dl-support.c: Likewise.
46800         * elf/ldconfig.c: Likewise.
46801         * elf/sprof.c: Likewise.
46802         * iconv/dummy-repertoire.c: Likewise.
46803         * iconv/iconv_charmap.c: Likewise.
46804         * iconv/skeleton.c: Likewise.
46805         * iconvdata/8bit-generic.c: Likewise.
46806         * iconvdata/cp737.h: Likewise.
46807         * iconvdata/cp775.h: Likewise.
46808         * iconvdata/ibm1008.h: Likewise.
46809         * iconvdata/ibm1025.h: Likewise.
46810         * iconvdata/ibm1046.h: Likewise.
46811         * iconvdata/ibm1097.h: Likewise.
46812         * iconvdata/ibm1112.h: Likewise.
46813         * iconvdata/ibm1122.h: Likewise.
46814         * iconvdata/ibm1123.h: Likewise.
46815         * iconvdata/ibm1124.h: Likewise.
46816         * iconvdata/ibm1129.h: Likewise.
46817         * iconvdata/ibm1130.h: Likewise.
46818         * iconvdata/ibm1132.h: Likewise.
46819         * iconvdata/ibm1133.h: Likewise.
46820         * iconvdata/ibm1137.h: Likewise.
46821         * iconvdata/ibm1140.h: Likewise.
46822         * iconvdata/ibm1141.h: Likewise.
46823         * iconvdata/ibm1142.h: Likewise.
46824         * iconvdata/ibm1143.h: Likewise.
46825         * iconvdata/ibm1144.h: Likewise.
46826         * iconvdata/ibm1145.h: Likewise.
46827         * iconvdata/ibm1146.h: Likewise.
46828         * iconvdata/ibm1147.h: Likewise.
46829         * iconvdata/ibm1148.h: Likewise.
46830         * iconvdata/ibm1149.h: Likewise.
46831         * iconvdata/ibm1153.h: Likewise.
46832         * iconvdata/ibm1154.h: Likewise.
46833         * iconvdata/ibm1155.h: Likewise.
46834         * iconvdata/ibm1156.h: Likewise.
46835         * iconvdata/ibm1157.h: Likewise.
46836         * iconvdata/ibm1158.h: Likewise.
46837         * iconvdata/ibm1160.h: Likewise.
46838         * iconvdata/ibm1161.h: Likewise.
46839         * iconvdata/ibm1162.h: Likewise.
46840         * iconvdata/ibm1163.h: Likewise.
46841         * iconvdata/ibm1164.h: Likewise.
46842         * iconvdata/ibm1166.h: Likewise.
46843         * iconvdata/ibm1167.h: Likewise.
46844         * iconvdata/ibm12712.h: Likewise.
46845         * iconvdata/ibm1390.h: Likewise.
46846         * iconvdata/ibm1399.h: Likewise.
46847         * iconvdata/ibm16804.h: Likewise.
46848         * iconvdata/ibm4517.h: Likewise.
46849         * iconvdata/ibm4899.h: Likewise.
46850         * iconvdata/ibm4909.h: Likewise.
46851         * iconvdata/ibm4971.h: Likewise.
46852         * iconvdata/ibm5347.h: Likewise.
46853         * iconvdata/ibm803.h: Likewise.
46854         * iconvdata/ibm856.h: Likewise.
46855         * iconvdata/ibm901.h: Likewise.
46856         * iconvdata/ibm902.h: Likewise.
46857         * iconvdata/ibm9030.h: Likewise.
46858         * iconvdata/ibm9066.h: Likewise.
46859         * iconvdata/ibm921.h: Likewise.
46860         * iconvdata/ibm922.h: Likewise.
46861         * iconvdata/ibm9448.h: Likewise.
46862         * iconvdata/isiri-3342.h: Likewise.
46863         * iconvdata/jis0201.h: Likewise.
46864         * include/link.h: Likewise.
46865         * include/netdb.h: Likewise.
46866         * inet/check_native.c: Likewise.
46867         * inet/check_pf.c: Likewise.
46868         * inet/getipv4sourcefilter.c: Likewise.
46869         * inet/getnameinfo.c: Likewise.
46870         * inet/getsourcefilter.c: Likewise.
46871         * inet/htonl.c: Likewise.
46872         * inet/setipv4sourcefilter.c: Likewise.
46873         * inet/setsourcefilter.c: Likewise.
46874         * inet/test-inet6_opt.c: Likewise.
46875         * inet/tst-network.c: Likewise.
46876         * locale/C-collate.c: Likewise.
46877         * locale/C-ctype.c: Likewise.
46878         * locale/C-time.c: Likewise.
46879         * locale/C-translit.h: Likewise.
46880         * locale/loadarchive.c: Likewise.
46881         * locale/programs/3level.h: Likewise.
46882         * locale/programs/charmap.c: Likewise.
46883         * locale/programs/charmap.h: Likewise.
46884         * locale/programs/ld-address.c: Likewise.
46885         * locale/programs/ld-collate.c: Likewise.
46886         * locale/programs/ld-ctype.c: Likewise.
46887         * locale/programs/ld-identification.c: Likewise.
46888         * locale/programs/ld-measurement.c: Likewise.
46889         * locale/programs/ld-messages.c: Likewise.
46890         * locale/programs/ld-monetary.c: Likewise.
46891         * locale/programs/ld-name.c: Likewise.
46892         * locale/programs/ld-numeric.c: Likewise.
46893         * locale/programs/ld-paper.c: Likewise.
46894         * locale/programs/ld-telephone.c: Likewise.
46895         * locale/programs/ld-time.c: Likewise.
46896         * locale/programs/linereader.c: Likewise.
46897         * locale/programs/locale.c: Likewise.
46898         * locale/programs/locarchive.c: Likewise.
46899         * locale/programs/locfile.h: Likewise.
46900         * locale/programs/repertoire.c: Likewise.
46901         * locale/programs/simple-hash.c: Likewise.
46902         * locale/programs/simple-hash.h: Likewise.
46903         * malloc/memusage.c: Likewise.
46904         * malloc/memusagestat.c: Likewise.
46905         * nis/nis_defaults.c: Likewise.
46906         * nis/nis_hash.c: Likewise.
46907         * nis/nis_print.c: Likewise.
46908         * nis/nis_xdr.c: Likewise.
46909         * nscd/connections.c: Likewise.
46910         * nscd/hstcache.c: Likewise.
46911         * nscd/nscd_gethst_r.c: Likewise.
46912         * nscd/nscd_getserv_r.c: Likewise.
46913         * nscd/nscd_helper.c: Likewise.
46914         * nscd/servicescache.c: Likewise.
46915         * nss/makedb.c: Likewise.
46916         * nss/nss_db/db-XXX.c: Likewise.
46917         * nss/nss_db/db-initgroups.c: Likewise.
46918         * nss/nss_db/db-netgrp.c: Likewise.
46919         * nss/nss_files/files-network.c: Likewise.
46920         * nss/nss_files/files-parse.c: Likewise.
46921         * posix/bug-regex5.c: Likewise.
46922         * posix/fnmatch_loop.c: Likewise.
46923         * posix/regcomp.c: Likewise.
46924         * posix/regexec.c: Likewise.
46925         * posix/tst-rfc3484-2.c: Likewise.
46926         * posix/tst-rfc3484-3.c: Likewise.
46927         * posix/tst-rfc3484.c: Likewise.
46928         * resolv/nss_dns/dns-canon.c: Likewise.
46929         * resolv/nss_dns/dns-network.c: Likewise.
46930         * resolv/res_init.c: Likewise.
46931         * resolv/res_mkquery.c: Likewise.
46932         * resolv/tst-aton.c: Likewise.
46933         * stdlib/cxa_atexit.c: Likewise.
46934         * stdlib/cxa_finalize.c: Likewise.
46935         * stdlib/gen-fpioconst.c: Likewise.
46936         * stdlib/strtol_l.c: Likewise.
46937         * string/tst-endian.c: Likewise.
46938         * sunrpc/auth_des.c: Likewise.
46939         * sunrpc/clnt_udp.c: Likewise.
46940         * sunrpc/rtime.c: Likewise.
46941         * sunrpc/svcauth_des.c: Likewise.
46942         * sunrpc/xdr.c: Likewise.
46943         * sunrpc/xdr_intXX_t.c: Likewise.
46944         * sunrpc/xdr_rec.c: Likewise.
46945         * sysdeps/generic/ldconfig.h: Likewise.
46946         * sysdeps/generic/ldsodefs.h: Likewise.
46947         * sysdeps/generic/memusage.h: Likewise.
46948         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
46949         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
46950         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
46951         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
46952         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46953         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
46954         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
46955         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
46956         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
46957         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
46958         * sysdeps/posix/getaddrinfo.c: Likewise.
46959         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
46960         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
46961         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
46962         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
46963         * sysdeps/powerpc/test-gettimebase.c: Likewise.
46964         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
46965         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
46966         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
46967         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
46968         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
46969         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
46970         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
46971         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
46972         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
46973         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
46974         * sysdeps/x86_64/dl-tls.h: Likewise.
46975         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
46976         * time/alt_digit.c: Likewise.
46977         * time/era.c: Likewise.
46978         * wcsmbs/tst-c16c32-1.c: Likewise.
46980 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
46982         * math/libm-test.inc (struct test_sincos_data): New type.
46983         (RUN_TEST_LOOP_sincos): New macro.
46984         (sincos_test_data): New variable.
46985         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
46987 2013-05-16  Richard Henderson  <rth@redhat.com>
46989         * math/atest-exp2.c (LIMB64): New macro.
46990         (CONSTSZ): New macro.
46991         (mp_exp1, mp_exp_m1, mp_log2): New variables.
46992         (hexdig): Move ...
46993         (print_mpn_fp): ... to function scope.
46994         (read_mpn_hex): Remove.
46995         (get_log2): Remove.
46996         (exp2_mpn): Use mp_log2.
46997         (main): Use mp_exp1.
46999 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
47001         * math/libm-test.inc: Remove comment about not testing "inexact"
47002         exceptions.
47003         (INEXACT_EXCEPTION): New macro.
47004         (NO_INEXACT_EXCEPTION): Likewise.
47005         (INVALID_EXCEPTION_OK): Update value.
47006         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
47007         (OVERFLOW_EXCEPTION_OK): Likewise.
47008         (UNDERFLOW_EXCEPTION_OK): Likewise.
47009         (IGNORE_ZERO_INF_SIGN): Likewise.
47010         (ERRNO_UNCHANGED): Likewise.
47011         (ERRNO_EDOM): Likewise.
47012         (ERRNO_ERANGE): Likewise.
47013         (test_exceptions): Handle testing "inexact" exceptions.
47014         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
47015         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
47016         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
47017         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
47018         INEXACT_EXCEPTION.
47019         (rint_towardzero_test_data): Likewise.
47020         (rint_downward_test_data): Likewise.
47021         (rint_upward_test_data): Likewise.
47023         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
47024         with OVERFLOW_EXCEPTION.
47025         (exp10_test_data): Likewise.
47026         (exp2_test_data): Likewise.
47027         (expm1_test_data): Likewise.
47028         (lgamma_test_data): Likewise.
47029         (pow_test_data): Likewise.
47030         (tgamma_test_data): Likewise.
47031         (yn_test_data): Remove duplicate test of overflow.
47033         * math/libm-test.inc (struct test_cc_c_data): New type.
47034         (RUN_TEST_LOOP_cc_c): New macro.
47035         (cpow_test_data): New variable.
47036         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
47038         * math/libm-test.inc (struct test_f_L_data): New type.
47039         (RUN_TEST_LOOP_f_L): New macro.
47040         (llrint_test_data): New variable.
47041         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
47042         (llrint_tonearest_test_data): New variable.
47043         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
47044         (llrint_towardzero_test_data): New variable.
47045         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
47046         (llrint_downward_test_data): New variable.
47047         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
47048         (llrint_upward_test_data): New variable.
47049         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
47050         (llround_test_data): New variable.
47051         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
47053 2013-05-13  Peter Collingbourne  <pcc@google.com>
47055         * math/atest-exp2.c (get_log2): Remove const attribute.
47057 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
47059         * math/libm-test.inc (struct test_f_l_data): New type.
47060         (RUN_TEST_LOOP_f_l): New macro.
47061         (lrint_test_data): New variable.
47062         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
47063         (lrint_tonearest_test_data): New variable.
47064         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
47065         (lrint_towardzero_test_data): New variable.
47066         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
47067         (lrint_downward_test_data): New variable.
47068         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
47069         (lrint_upward_test_data): New variable.
47070         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
47071         (lround_test_data): New variable.
47072         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
47074 2013-05-15  Peter Collingbourne  <pcc@google.com>
47076         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
47077         (EXTRACT_WORDS64) Use where appropriate.
47078         (INSERT_WORDS64) Likewise.
47080         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
47081         constraints with x constraints.
47082         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
47084         * malloc/obstack.c (_obstack_compat): Add initializer.
47086 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
47088         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
47089         si_trapno and add si_addr_lsb to _sifields.sigfault.
47090         (si_trapno): Remove macro.
47091         (si_addr_lsb): Define new macro.
47092         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
47094 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
47096         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
47097         instead of TEST_f_l.
47098         (llrint_test_tonearest): Likewise.
47099         (llrint_test_towardzero): Likewise.
47100         (llrint_test_downward): Likewise.
47101         (llrint_test_upward): Likewise.
47102         (llround_test): Likewise.
47104         * math/libm-test.inc (struct test_f_i_data): Add comment.
47105         (RUN_TEST_LOOP_f_b): New macro.
47106         (RUN_TEST_LOOP_f_b_tg): Likewise.
47107         (finite_test_data): New variable.
47108         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
47109         (isfinite_test_data): New variable.
47110         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
47111         (isinf_test_data): New variable.
47112         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
47113         (isnan_test_data): New variable.
47114         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
47115         (isnormal_test_data): New variable.
47116         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
47117         (issignaling_test_data): New variable.
47118         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
47119         (signbit_test_data): New variable.
47120         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
47122         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
47123         with INVALID_EXCEPTION.
47124         (acosh_test_data): Likewise.
47125         (asin_test_data): Likewise.
47126         (atanh_test_data): Likewise.
47127         (fmod_test_data): Likewise.
47128         (log_test_data): Likewise.
47129         (log10_test_data): Likewise.
47130         (log2_test_data): Likewise.
47131         (pow_test_data): Likewise.
47132         (sqrt_test_data): Likewise.
47133         (y0_test_data): Likewise.
47134         (y1_test_data): Likewise.
47135         (yn_test_data): Likewise.
47137         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
47138         function contents.
47140         * math/libm-test.inc (struct test_ff_i_data): New type.
47141         (RUN_TEST_LOOP_ff_i_tg): New macro.
47142         (isgreater_test_data): New variable.
47143         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
47144         (isgreaterequal_test_data): New variable.
47145         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
47146         (isless_test_data): New variable.
47147         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
47148         (islessequal_test_data): New variable.
47149         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
47150         (islessgreater_test_data): New variable.
47151         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
47152         (isunordered_test_data): New variable.
47153         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
47155 2013-05-14  David S. Miller  <davem@davemloft.net>
47157         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47159 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
47161         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
47163         * math/libm-test.inc (struct test_fF_f1_data): Change type of
47164         extra_test to int.
47165         (struct test_f_i_data): Change type of max_ulp to int.
47167         * math/libm-test.inc (test_ffI_f1_data): New type.
47168         (RUN_TEST_LOOP_ffI_f1): New macro.
47169         (remquo_test_data): New variable.
47170         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
47172         * setjmp/tst-setjmp-fp.c: New file.
47173         * setjmp/Makefile (tests): Add tst-setjmp-fp.
47174         (link-libm): New variable.
47175         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
47177         * math/libm-test.inc (struct test_f_i_data): New type.
47178         (RUN_TEST_LOOP_f_i): New macro.
47179         (RUN_TEST_LOOP_f_i_tg): Likewise.
47180         (fpclassify_test_data): New variable.
47181         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
47182         (ilogb_test_data): New variable.
47183         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
47185         * math/libm-test.inc (scalbln_test): Correct function name in END
47186         call.
47188         * math/libm-test.inc (struct test_f_f1_data): Add comment.
47189         (RUN_TEST_LOOP_fI_f1): New macro.
47190         (frexp_test_data): New variable.
47191         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
47193         * math/libm-test.inc (struct test_fF_f1_data): New type.
47194         (RUN_TEST_LOOP_fF_f1): New macro.
47195         (modf_test_data): New variable.
47196         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
47198         * math/libm-test.inc (struct test_f_f1_data): New type.
47199         (RUN_TEST_LOOP_f_f1): New macro.
47200         (gamma_test_data): New variable.
47201         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
47202         (lgamma_test_data): New variable.
47203         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
47205 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
47207         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
47208         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
47209         (main): Comment "tls" pseudo-hwcap.
47211 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
47213         * math/libm-test.inc (struct test_fl_f_data): New type.
47214         (RUN_TEST_LOOP_fl_f): New variable.
47215         (scalbln_test_data): New variable.
47216         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
47218         * math/libm-test.inc (struct test_fi_f_data): New type.
47219         (RUN_TEST_LOOP_fi_f): New macro.
47220         (ldexp_test_data): New variable.
47221         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
47222         (scalbn_test_data): New variable.
47223         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
47225         * math/libm-test.inc (struct test_c_f_data): New type.
47226         (RUN_TEST_LOOP_c_f): New macro.
47227         (cabs_test_data): New variable.
47228         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
47229         (carg_test_data): New variable.
47230         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
47231         (cimag_test_data): New variable.
47232         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
47233         (creal_test_data): New variable.
47234         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
47236         * math/libm-test.inc (struct test_if_f_data): New type.
47237         (RUN_TEST_LOOP_if_f): New macro.
47238         (jn_test_data): New variable.
47239         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
47240         (yn_test_data): New variable.
47241         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
47243         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
47245 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47247         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
47248         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
47250 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
47252         * benchtests/Makefile (CPPFLAGS-nonlib): Add
47253         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
47254         (bench-deps): Add bench-timing.h.
47255         * benchtests-bench-skeleton.c: Include bench-timing.h.
47256         (main): Use TIMING_* macros instead of clock_gettime.
47257         * benchtests/bench-timing.h: New file.
47259         [BZ #14582]
47260         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
47261         Renamed from _LIB_VERSION.
47262         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
47264 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
47266         * math/libm-test.inc (struct test_fff_f_data): New type.
47267         (RUN_TEST_LOOP_fff_f): New macro.
47268         (fma_test_data): New variable.
47269         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
47270         (fma_towardzero_test_data): New variable.
47271         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
47272         (fma_downward_test_data): New variable.
47273         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
47274         (fma_upward_test_data): New variable.
47275         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
47277         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
47278         (struct test_c_c_data): New type.
47279         (RUN_TEST_LOOP_c_c): New macro.
47280         (cacos_test_data): New variable.
47281         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
47282         (cacosh_test_data): New variable.
47283         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
47284         (casin_test_data): New variable.
47285         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
47286         (casinh_test_data): New variable.
47287         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
47288         (catan_test_data): New variable.
47289         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
47290         (catanh_test_data): New variable.
47291         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
47292         (ccos_test_data): New variable.
47293         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
47294         (ccosh_test_data): New variable.
47295         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
47296         (cexp_test_data): New variable.
47297         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
47298         (clog_test_data): New variable.
47299         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
47300         (clog10_test_data): New variable.
47301         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
47302         (conj_test_data): New variable.
47303         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
47304         (cproj_test_data): New variable.
47305         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
47306         (csin_test_data): New variable.
47307         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
47308         (csinh_test_data): New variable.
47309         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
47310         (csqrt_test_data): New variable.
47311         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
47312         (ctan_test_data): New variable.
47313         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
47314         (ctan_tonearest_test_data): New variable.
47315         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
47316         (ctan_towardzero_test_data): New variable.
47317         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
47318         (ctan_downward_test_data): New variable.
47319         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
47320         (ctan_upward_test_data): New variable.
47321         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
47322         (ctanh_test_data): New variable.
47323         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
47324         (ctanh_tonearest_test_data): New variable.
47325         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
47326         (ctanh_towardzero_test_data): New variable.
47327         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
47328         (ctanh_downward_test_data): New variable.
47329         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
47330         (ctanh_upward_test_data): New variable.
47331         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
47332         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
47333         of BUILD_COMPLEX.
47335         * math/libm-test.inc (struct test_ff_f_data): New type.
47336         (struct test_ff_f_data_nexttoward): Likewise.
47337         (RUN_TEST_LOOP_2_f): New macro.
47338         (RUN_TEST_LOOP_ff_f): Likewise.
47339         (atan2_test_data): New variable.
47340         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
47341         (copysign_test_data): New variable.
47342         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
47343         (fdim_test_data): New variable.
47344         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
47345         (fmax_test_data): New variable.
47346         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
47347         (fmin_test_data): New variable.
47348         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
47349         (fmod_test_data): New variable.
47350         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
47351         (hypot_test_data): New variable.
47352         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
47353         (nextafter_test_data): New variable.
47354         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
47355         (nexttoward_test_data): New variable.
47356         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
47357         (pow_test_data): New variable.
47358         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
47359         (pow_tonearest_test_data): New variable.
47360         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
47361         (pow_towardzero_test_data): New variable.
47362         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
47363         (pow_downward_test_data): New variable.
47364         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
47365         (pow_upward_test_data): New variable.
47366         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
47367         (remainder_test_data): New variable.
47368         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
47369         (scalb_test_data): New variable.
47370         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
47371         * sysdeps/i386/fpu/libm-test-ulps: Update.
47373 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
47375         * math/libm-test.inc (fma_test): Use max_value instead of local
47376         variable fltmax.
47377         (nextafter_test): Likewise.
47379         * math/libm-test.inc (acos_towardzero_test_data): New variable.
47380         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47381         (acos_downward_test_data): New variable.
47382         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47383         (acos_upward_test_data): New variable.
47384         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47385         (acosh_test_data): New variable.
47386         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
47387         (asin_test_data): New variable.
47388         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
47389         (asin_tonearest_test_data): New variable.
47390         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47391         (asin_towardzero_test_data): New variable.
47392         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47393         (asin_downward_test_data): New variable.
47394         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47395         (asin_upward_test_data): New variable.
47396         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47397         (asinh_test_data): New variable.
47398         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
47399         (atan_test_data): New variable.
47400         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
47401         (atanh_test_data): New variable.
47402         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
47403         (cbrt_test_data): New variable.
47404         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
47405         (ceil_test_data): New variable.
47406         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
47407         (cos_test_data): New variable.
47408         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
47409         (cos_tonearest_test_data): New variable.
47410         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47411         (cos_towardzero_test_data): New variable.
47412         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47413         (cos_downward_test_data): New variable.
47414         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47415         (cos_upward_test_data): New variable.
47416         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47417         (cosh_test_data): New variable.
47418         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
47419         (cosh_tonearest_test_data): New variable.
47420         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47421         (cosh_towardzero_test_data): New variable.
47422         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47423         (cosh_downward_test_data): New variable.
47424         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47425         (cosh_upward_test_data): New variable.
47426         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47427         (erf_test_data): New variable.
47428         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
47429         (erfc_test_data): New variable.
47430         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
47431         (exp_test_data): New variable.
47432         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
47433         (exp_tonearest_test_data): New variable.
47434         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47435         (exp_towardzero_test_data): New variable.
47436         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47437         (exp_downward_test_data): New variable.
47438         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47439         (exp_upward_test_data): New variable.
47440         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47441         (exp10_test_data): New variable.
47442         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
47443         (exp2_test_data): New variable.
47444         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
47445         (expm1_test_data): New variable.
47446         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
47447         (fabs_test_data): New variable.
47448         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
47449         (floor_test_data): New variable.
47450         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
47451         (j0_test_data): New variable.
47452         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
47453         (j1_test_data): New variable.
47454         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
47455         (log_test_data): New variable.
47456         (log_test): Run tests with RUN_TEST_LOOP_f_f.
47457         (log10_test_data): New variable.
47458         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
47459         (log1p_test_data): New variable.
47460         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
47461         (log2_test_data): New variable.
47462         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
47463         (logb_test_data): New variable.
47464         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
47465         (logb_downward_test_data): New variable.
47466         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47467         (nearbyint_test_data): New variable.
47468         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
47469         (rint_test_data): New variable.
47470         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
47471         (rint_tonearest_test_data): New variable.
47472         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47473         (rint_towardzero_test_data): New variable.
47474         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47475         (rint_downward_test_data): New variable.
47476         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47477         (rint_upward_test_data): New variable.
47478         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47479         (round_test_data): New variable.
47480         (round_test): Run tests with RUN_TEST_LOOP_f_f.
47481         (sin_test_data): New variable.
47482         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
47483         (sin_tonearest_test_data): New variable.
47484         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47485         (sin_towardzero_test_data): New variable.
47486         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47487         (sin_downward_test_data): New variable.
47488         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47489         (sin_upward_test_data): New variable.
47490         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47491         (sinh_test_data): New variable.
47492         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
47493         (sinh_tonearest_test_data): New variable.
47494         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47495         (sinh_towardzero_test_data): New variable.
47496         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47497         (sinh_downward_test_data): New variable.
47498         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47499         (sinh_upward_test_data): New variable.
47500         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47501         (sqrt_test_data): New variable.
47502         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
47503         (tan_test_data): New variable.
47504         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
47505         (tan_tonearest_test_data): New variable.
47506         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47507         (tan_towardzero_test_data): New variable.
47508         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47509         (tan_downward_test_data): New variable.
47510         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47511         (tan_upward_test_data): New variable.
47512         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47513         (tanh_test_data): New variable.
47514         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
47515         (tgamma_test_data): New variable.
47516         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
47517         (trunc_test_data): New variable.
47518         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
47519         (y0_test_data): New variable.
47520         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
47521         (y1_test_data): New variable.
47522         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
47523         (significand_test_data): New variable.
47524         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
47526 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
47528         [BZ #12387]
47529         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
47531 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
47533         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
47535 2013-05-10  Andreas Jaeger  <aj@suse.de>
47537         [BZ #15448]
47538         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
47539         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
47541 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
47543         * math/gen-libm-test.pl (adjust_arg): New function.
47544         (special_functions): Handle generating output in both functions
47545         and arrays.
47546         (parse_args): Likewise.
47547         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
47548         $in_func argument to parse_args.
47549         * math/libm-test.inc (struct test_f_f_data): New type.
47550         (IF_ROUND_INIT_): New macro.
47551         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
47552         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
47553         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
47554         (IF_ROUND_INIT_FE_UPWARD): Likewise.
47555         (ROUND_RESTORE_): Likewise.
47556         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
47557         (ROUND_RESTORE_FE_TONEAREST): Likewise.
47558         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
47559         (ROUND_RESTORE_FE_UPWARD): Likewise.
47560         (RUN_TEST_LOOP_f_f): New macro.
47561         (acos_test_data): New variable.
47562         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
47563         (acos_tonearest_test_data): New variable.
47564         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47566 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
47568         * benchtests/bench-skeleton.c (startup): Fix coding style.
47570 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
47572         [BZ #6809]
47573         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
47574         negative infinity argument.
47575         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
47576         negative infinity argument.
47577         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
47578         negative infinity argument.
47579         * math/libm-test.inc (tgamma_test): Expect errno to be set for
47580         domain errors.
47582 2013-05-10  Florian Weimer  <fweimer@redhat.com>
47584         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
47585         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
47586         * iconv/iconv_prog.c (main): Likewise.
47587         * locale/programs/charmap-dir.c (charmap_readdir)
47588         (fopen_uncompressed): Likewise.
47589         * locale/programs/locfile.c (siblings_uncached)
47590         (write_locale_data): Use lstat64 instead of lstat.
47591         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
47592         stat.
47594 2013-05-10  Andreas Jaeger  <aj@suse.de>
47596         [BZ #15395]
47597         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
47598         localization.
47599         Include <locale.h>.
47601 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
47603         * elf/dl-close.c (_dl_close_worker): Add comments.
47605 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
47607         [BZ #15359]
47608         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
47609         high part of pi/2.
47610         (__ieee754_rem_pio2l): Update comments.
47612         [BZ #15429]
47613         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
47614         high part of pi/2.
47615         (__ieee754_rem_pio2l): Update comments.
47617         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
47618         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
47620         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
47621         M_PI_4l.
47623         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
47624         (M_PI_34_LOG10El): Likewise.
47625         (M_PI2_LOG10El): Likewise.
47626         (M_PI4_LOG10El): Likewise.
47627         (M_PI_LOG10El): Likewise.
47629 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47631         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47633 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
47635         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
47636         (MINUS_ZERO_INIT): Likewise.
47637         (PLUS_INFTY_INIT): Likewise.
47638         (MINUS_INFTY_INIT): Likewise.
47639         (QNAN_VALUE_INIT): Likewise.
47640         (MAX_VALUE_INIT): Likewise.
47641         (MIN_VALUE_INIT): Likewise.
47642         (MIN_SUBNORM_VALUE_INIT): Likewise.
47643         (plus_zero): Initialize with PLUS_ZERO_INIT.
47644         (minus_zero): Initialize with MINUS_ZERO_INIT.
47645         (plus_infty): Initialize with PLUS_INFTY_INIT.
47646         (minus_infty): Initialize with MINUS_INFTY_INIT.
47647         (qnan_value): Initialize with QNAN_VALUE_INIT.
47648         (max_value): Initialize with MAX_VALUE_INIT.
47649         (min_value): Initialize with MIN_VALUE_INIT.
47650         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
47652         * math/libm-test.inc (RUN_TEST_if_f): New macro.
47653         (jn_test): Use TEST_if_f instead of TEST_ff_f.
47654         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
47655         (yn_test): Use TEST_if_f instead of TEST_ff_f.
47657         * math/libm-test.inc (RUN_TEST_f_f): New macro.
47658         (RUN_TEST_2_f): Likewise.
47659         (RUN_TEST_ff_f): Likewise.
47660         (RUN_TEST_fi_f): Likewise.
47661         (RUN_TEST_fl_f): Likewise.
47662         (RUN_TEST_fff_f): Likewise.
47663         (RUN_TEST_c_f): Likewise.
47664         (RUN_TEST_f_f1): Likewise.
47665         (RUN_TEST_fF_f1): Likewise.
47666         (RUN_TEST_fI_f1): Likewise.
47667         (RUN_TEST_ffI_f1): Likewise.
47668         (RUN_TEST_c_c): Likewise.
47669         (RUN_TEST_cc_c): Likewise.
47670         (RUN_TEST_f_i): Likewise.
47671         (RUN_TEST_f_i_tg): Likewise.
47672         (RUN_TEST_ff_i_tg): Likewise.
47673         (RUN_TEST_f_b): Likewise.
47674         (RUN_TEST_f_b_tg): Likewise.
47675         (RUN_TEST_f_l): Likewise.
47676         (RUN_TEST_f_L): Likewise.
47677         (RUN_TEST_sincos): Likewise.
47678         * math/gen-libm-test.pl (new_test): Take new argument to indicate
47679         whether to show exceptions.  Do not include ");\n" in return
47680         value.
47681         (special_functions): Output call to RUN_TEST_sincos instead of
47682         check_float calls.  Update calls to new_test.
47683         (parse_args): Output call to single RUN_TEST_* macro instead of
47684         check_* calls and other assignments.  Update calls to new_test.
47686         [BZ #2546]
47687         [BZ #2560]
47688         [BZ #5159]
47689         [BZ #15426]
47690         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
47691         input to result for tgamma overflow.
47692         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
47693         (gamma_coeff): New variable.
47694         (NCOEFF): New macro.
47695         (gamma_positive): New function.
47696         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
47697         underflow here.  Use gamma_positive instead of exp (lgamma) for
47698         other arguments.
47699         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
47700         (gamma_coeff): New variable.
47701         (NCOEFF): New macro.
47702         (gammaf_positive): New function.
47703         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
47704         underflow here.  Use gamma_positive instead of exp (lgamma) for
47705         other arguments.
47706         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
47707         (gamma_coeff): New variable.
47708         (NCOEFF): New macro.
47709         (gammal_positive): New function.
47710         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
47711         underflow here.  Use gamma_positive instead of exp (lgamma) for
47712         other arguments.
47713         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
47714         (gamma_coeff): New variable.
47715         (NCOEFF): New macro.
47716         (gammal_positive): New function.
47717         (__ieee754_gammal_r): Handle positive infinity, overflow and
47718         underflow here.  Handle NaN the same as positive infinity.  Remove
47719         check x < 0xffffffff for negative integers.  Use gamma_positive
47720         instead of exp (lgamma) for other arguments.
47721         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
47722         (gamma_coeff): New variable.
47723         (NCOEFF): New macro.
47724         (gammal_positive): New function.
47725         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
47726         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
47727         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
47728         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
47729         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
47730         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
47731         * sysdeps/generic/math_private.h (__gamma_productf): New
47732         prototype.
47733         (__gamma_product): Likewise.
47734         (__gamma_productl): Likewise.
47735         * math/Makefile (libm-calls): Add gamma_product.
47736         * math/libm-test.inc (tgamma_test): Add more tests.
47737         * sysdeps/i386/fpu/libm-test-ulps: Update.
47738         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47740 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
47742         * benchtests/bench-skeleton.c (main): Preheat CPU.
47744 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
47746         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
47748 2013-05-07  Roland McGrath  <roland@hack.frob.com>
47750         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
47751         and _dl_skip_args_internal.
47753 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
47755         * manual/message.texi (Message Translation): Talk about users.
47756         Message to key mapping impacts design.
47758 2013-05-06  Roland McGrath  <roland@hack.frob.com>
47760         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
47762         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
47764         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
47765         * sysdeps/wordsize-64/glob64.c: ... here.
47767         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
47768         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
47769         New macros.
47771         * debug/getlogin_r_chk.c: Moved to ...
47772         * login/getlogin_r_chk.c: ... here.
47773         * debug/Makefile (routines): Move getlogin_r_chk to ...
47774         * login/Makefile (routines): ... here.
47775         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
47776         * login/Versions (libc: GLIBC_2.4): ... here.
47778         * io/poll.c (__poll): Renamed from poll.
47779         Add libc_hidden_def.
47780         (poll): Define as weak alias.
47782         * debug/ptsname_r_chk.c: Moved to ...
47783         * login/ptsname_r_chk.c: ... here.
47784         * debug/Makefile (routines): Move ptsname_r_chk to ...
47785         * login/Makefile (routines): ... here.
47786         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
47787         * login/Versions (libc: GLIBC_2.4): ... here.
47789         * posix/getlogin.c: Moved to ...
47790         * login/getlogin.c: ... here.
47791         * posix/getlogin_r.c: Moved to ...
47792         * login/getlogin_r.c: ... here.
47793         * posix/getlogin_r.c: Moved to ...
47794         * login/getlogin_r.c: ... here.
47795         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
47796         * login/Makefile (routines): ... here.
47797         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
47798         * login/Versions (libc: GLIBC_2.0): ... here.
47800         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
47801         (setrlimit): Define as weak alias.
47803         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
47804         Call __ names for open, ftruncate, and close.
47805         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
47806         (truncate): Define as weak alias.
47808 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
47810         * math/gen-libm-test.pl (parse_args): Initialize x before each
47811         test of frexp, modf and remquo.
47813         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
47814         test signgam value.
47816 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47818         [BZ #15418]
47819         [BZ #15419]
47820         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
47821         internal tests.
47822         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
47824 2013-05-06  Roland McGrath  <roland@hack.frob.com>
47826         * elf/dl-writev.h: New file.
47827         * elf/dl-misc.c: Include it.
47828         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
47829         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
47831 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
47833         * math/libm-test.inc (noXFails): Remove variable.
47834         (noXPasses): Likewise.
47835         (BUILD_COMPLEX_INT): Remove macro.
47836         (print_screen): Remove xfail argument.
47837         (print_screen_max_error): Likewise.
47838         (update_stats): Likewise.
47839         (print_max_error): Likewise.  Update calls to other affected
47840         functions.
47841         (print_complex_max_error): Likewise.
47842         (test_single_exception): Update calls to print_screen.
47843         (test_single_errno): Likewise.
47844         (check_float_internal): Remove xfail argument.  Update calls to
47845         other affected functions.
47846         (check_float): Likewise.
47847         (check_complex): Likewise.
47848         (check_int): Likewise.
47849         (check_long): Likewise.
47850         (check_bool): Likewise.
47851         (check_longlong): Likewise.
47852         (main): Don't print noXFails and noXPasses.
47853         * math/gen-libm-test.pl (top level): Don't mention expected
47854         failure handling in comment.
47855         (new_test): Don't handle expected failures.
47856         (parse_args): Don't mention expected failure handling in comment.
47857         (generate_testfile): Don't handle expected failures.
47858         (parse_ulps): Likewise.
47859         (print_ulps_file): Likewise.
47860         (get_failure): Remove function.
47861         (output_test): Don't handle expected failures.
47862         * make/README.libm-test: Don't mention expected failure handling.
47864         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
47865         (minus_zero): Likewise.
47866         (plus_infty): Likewise.
47867         (minus_infty): Likewise.
47868         (qnan_value): Likewise.
47869         (max_value): Likewise.
47870         (min_value): Likewise.
47871         (min_subnorm_value): Likewise.
47872         (initialize): Do not initialize those variables dynamically.
47874 2013-05-03  Roland McGrath  <roland@hack.frob.com>
47876         * io/open.c (__open_2): Moved to ...
47877         * io/open_2.c: ... this new file.
47878         * io/open64.c (__open64_2): Moved to ...
47879         * io/open64_2.c: ... this new file.
47880         * io/openat.c (__openat_2): Moved to ...
47881         * io/openat_2.c: ... this new file.
47882         * io/openat64.c (__openat64_2): Moved to ...
47883         * io/openat64_2.c: ... this new file.
47884         * io/Makefile (routines): Add them.
47885         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
47886         * sysdeps/unix/sysv/linux/open_2.c: File removed.
47887         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
47888         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
47889         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
47890         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
47891         (__openat64): Add hidden_ver.
47892         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
47893         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
47895         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
47896         Separately conditionalize setting of GLRO(dl_sysinfo) so
47897         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
47898         as well, but the actual setting is only under [NEED_DL_SYSINFO].
47900 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47902         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
47903         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
47904         definition.
47905         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
47906         * sysdeps/unix/sysv/linux/powerpc/init-first.c
47907         (_libc_vdso_platform_setup): Add __vdso_time initialization.
47908         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
47909         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
47911 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
47913         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
47914         test signgam value.
47916         * math/libm-test.inc (hypot_test): Do not use
47917         IGNORE_ZERO_INF_SIGN.
47919 2013-05-03  Andreas Jaeger  <aj@suse.de>
47921         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
47922         Linux 3.9.
47923         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
47924         (PF_MAX): Adjust for VSOCK change.
47926 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47928         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47930 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
47932         [BZ #15264]
47933         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
47934         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
47935         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
47937 2013-05-02  David S. Miller  <davem@davemloft.net>
47939         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47941 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
47943         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
47945 2013-05-01  Roland McGrath  <roland@hack.frob.com>
47947         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
47949 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
47951         [BZ #14952]
47952         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
47953         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
47954         Use __attribute__ ((__gnu_inline__)).
47955         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
47956         Don't use __attribute__ ((__gnu_inline__)).
47958 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
47960         [BZ #15423]
47961         * math/s_catan.c (__catan): Handle small real or imaginary part of
47962         input specially to avoid spurious underflow.
47963         * math/s_catanf.c (__catanf): Likewise.
47964         * math/s_catanh.c (__catanh): Likewise.
47965         * math/s_catanhf.c (__catanhf): Likewise.
47966         * math/s_catanhl.c (__catanhl): Likewise.
47967         * math/s_catanl.c (__catanl): Likewise.
47968         * math/libm-test.inc (catan_test): Add more tests.
47969         (catanh_test): Likewise.
47970         * sysdeps/i386/fpu/libm-test-ulps: Update.
47971         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47973 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47975         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47977 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
47979         [BZ #15416]
47980         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
47981         accurately for denominator in atan2.
47982         * math/s_catanf.c (__catanf): Likewise.
47983         * math/s_catanh.c (__catanh): Likewise.
47984         * math/s_catanhf.c (__catanhf): Likewise.
47985         * math/s_catanhl.c (__catanhl): Likewise.
47986         * math/s_catanl.c (__catanl): Likewise.
47987         * math/libm-test.inc (catan_test): Add more tests.
47988         (catanh_test): Likewise.
47989         * sysdeps/i386/fpu/libm-test-ulps: Update.
47990         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47992 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
47994         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
47996         * benchtests/Makefile (bench): Remove slow benchmarks.
47997         * benchtests/atan-inputs: Add slow benchmark inputs.
47998         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
47999         (BENCH_FUNC): Accept variant offset.
48000         (VARIANT): Define.
48001         * benchtests/bench-skeleton.c (main): Run benchmark for each
48002         variant.
48003         * benchtests/cos-inputs: Add slow benchmark inputs.
48004         * benchtests/exp-inputs: Likewise.
48005         * benchtests/pow-inputs: Likewise.
48006         * benchtests/sin-inputs: Likewise.
48007         * benchtests/slowatan-inputs: Remove.
48008         * benchtests/slowatan.c: Remove.
48009         * benchtests/slowcos-inputs: Remove.
48010         * benchtests/slowcos.c: Remove.
48011         * benchtests/slowexp-inputs: Remove.
48012         * benchtests/slowexp.c: Remove.
48013         * benchtests/slowpow-inputs: Remove.
48014         * benchtests/slowpow.c: Remove.
48015         * benchtests/slowsin-inputs: Remove.
48016         * benchtests/slowsin.c: Remove.
48017         * benchtests/slowtan-inputs: Remove.
48018         * benchtests/slowtan.c: Remove.
48019         * benchtests/tan-inputs: Add slow benchmark inputs.
48020         * scripts/bench.pl: Parse comments and directives.
48022         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
48023         in CPPFLAGS.
48024         ($(objpfx)bench-%.c): Remove *-ITER.
48025         * benchtests/bench-modf.c: Remove definition of ITER.
48026         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
48027         (main): Loop for DURATION seconds instead of fixed number of
48028         iterations.
48029         * scripts/bench.pl: Don't expect iterations in parameters.
48031 2013-04-29  Roland McGrath  <roland@hack.frob.com>
48033         * io/fchdir.c (__fchdir): Renamed from fchdir.
48034         (fchdir): Define as weak alias.
48036 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
48038         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
48039         (ERRNO_EDOM): Likewise.
48040         (ERRNO_ERANGE): Likewise.
48041         (noErrnoTests): New variable.
48042         (init_max_error): Set errno to 0.
48043         (test_single_errno): New function.
48044         (test_errno): Likewise.
48045         (check_float_internal): Call test_errno.  Set errno to 0.
48046         (check_complex): Refer to errno tests in comment.
48047         (check_int): Call test_errno.  Set errno to 0.
48048         (check_long): Likewise.
48049         (check_bool): Likewise.
48050         (check_longlong): Likewise.
48051         (cos_test): Use ERRNO_* flags for errno tests instead of
48052         check_int.
48053         (expm1_test): Likewise.
48054         (fmod_test): Likewise.
48055         (ilogb_test): Likewise.
48056         (lgamma_test): Likewise.
48057         (pow_test): Likewise.
48058         (remainder_test): Likewise.
48059         (sin_test): Likewise.
48060         (tan_test): Likewise.
48061         (yn_test): Likewise.
48062         (initialize): Set errno to 0.
48063         (main): Print number of errno tests.
48064         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
48066 2013-04-29  Andreas Jaeger  <aj@suse.de>
48068         [BZ #15084]
48069         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
48070         and RES_USEVC.
48072         [BZ #15085]
48073         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
48074         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
48075         unimplemented.
48077         [BZ #15380]
48078         * stdlib/random.c (__initstate): Return NULL if
48079         __initstate fails.
48081         [BZ #15086]
48082         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
48083         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
48084         RES_SNGLKUPREOP.
48086 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48088         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48090 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
48092         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
48093         of individual tests.
48094         (casin_test): Likewise.
48095         (casinh_test): Likewise.
48097 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
48099         [BZ #15409]
48100         * math/s_catan.c (__catan): Handle arguments with large real or
48101         imaginary part separately without squaring.
48102         * math/s_catanf.c (__catanf): Likewise.
48103         * math/s_catanh.c (__catanh): Likewise.
48104         * math/s_catanhf.c (__catanhf): Likewise.
48105         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
48106         and redefine.
48107         (__catanhl): Handle arguments with large real or imaginary part
48108         separately without squaring.
48109         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
48110         and redefine.
48111         (__catanl): Handle arguments with large real or imaginary part
48112         separately without squaring.
48113         * math/libm-test.inc (catan_test): Add more tests.
48114         (catanh_test): Likewise.
48115         * sysdeps/i386/fpu/libm-test-ulps: Update.
48116         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48118 2013-04-27  Andreas Jaeger  <aj@suse.de>
48120         [BZ #15007]
48121         * stdlib/stdlib.h: Update guards for qecvt.
48122         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
48123         <stdlib.h>.
48125 2013-04-27  Allan McRae  <allan@archlinux.org>
48127         * sysdeps/i386/fpu/libm-test-ulps: Update.
48129 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
48131         [BZ #15406]
48132         * math/s_catan.c: Include <float.h>.
48133         (__catan): Ensure underflow exception occurs for underflowed
48134         result.
48135         * math/s_catanf.c: Include <float.h>.
48136         (__catanf): Ensure underflow exception occurs for underflowed
48137         result.
48138         * math/s_catanh.c: Include <float.h>.
48139         (__catanh): Ensure underflow exception occurs for underflowed
48140         result.
48141         * math/s_catanhf.c: Include <float.h>.
48142         (__catanhf): Ensure underflow exception occurs for underflowed
48143         result.
48144         * math/s_catanhl.c: Include <float.h>.
48145         (__catanhl): Ensure underflow exception occurs for underflowed
48146         result.
48147         * math/s_catanl.c: Include <float.h>.
48148         (__catanl): Ensure underflow exception occurs for underflowed
48149         result.
48150         * math/libm-test.inc (catan_test): Add more tests.
48151         (catanh_test): Likewise.
48153         [BZ #15405]
48154         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
48155         underflowed result.
48156         * math/s_ccoshf.c (__ccoshf): Likewise.
48157         * math/s_ccoshl.c (__ccoshl): Likewise.
48158         * math/s_csin.c (__csin): Likewise.
48159         * math/s_csinf.c (__csinf): Likewise.
48160         * math/s_csinh.c (__csinh): Likewise.
48161         * math/s_csinhf.c (__csinhf): Likewise.
48162         * math/s_csinhl.c (__csinhl): Likewise.
48163         * math/s_csinl.c (__csinl): Likewise.
48164         * math/libm-test.inc (ccos_test): Add more tests.
48165         (ccosh_test): Likewise.
48166         (csin_test): Likewise.
48167         (csinh_test): Likewise.
48169 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48171         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
48172         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
48173         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
48174         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
48175         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
48176         powerpc/power5+/fpu folders.
48177         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
48180 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
48182         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48184 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
48186         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
48187         additions to variable.
48188         [$(config-machine) = x86_64] (modules-names): Likewise.
48189         ($(objpfx)tst-audit3): Remove dependency.
48190         ($(objpfx)tst-audit3.out): Likewise.
48191         ($(objpfx)tst-audit4): Likewise.
48192         ($(objpfx)tst-audit4.out): Likewise.
48193         ($(objpfx)tst-audit5): Likewise.
48194         ($(objpfx)tst-audit5.out): Likewise.
48195         ($(objpfx)tst-audit6): Likewise.
48196         ($(objpfx)tst-audit6.out): Likewise.
48197         ($(objpfx)tst-audit7): Likewise.
48198         ($(objpfx)tst-audit7.out): Likewise.
48199         (tst-audit3-ENV): Remove variable.
48200         (tst-audit4-ENV): Likewise.
48201         (tst-audit5-ENV): Likewise.
48202         (tst-audit6-ENV): Likewise.
48203         (tst-audit7-ENV): Likewise.
48204         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
48205         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
48206         addition to variable.
48207         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
48208         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
48209         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
48210         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
48211         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
48212         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
48213         tst-audit3, tst-audit4 and tst-audit5.
48214         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
48215         tst-audit6 and tst-audit7.
48216         [$(subdir) = elf] (modules-names): Add audit modules for those
48217         tests.
48218         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
48219         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
48220         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
48221         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
48222         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
48223         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
48224         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
48225         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
48226         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
48227         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
48228         [$(subdir) = elf] (tst-audit3-ENV): New variable.
48229         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
48230         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
48231         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
48232         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
48233         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
48234         Likewise.
48235         [$(subdir) = elf && $(config-cflags-avx) = yes]
48236         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
48237         [$(subdir) = elf && $(config-cflags-avx) = yes]
48238         (CFLAGS-tst-auditmod4a.c): Likewise.
48239         [$(subdir) = elf && $(config-cflags-avx) = yes]
48240         (CFLAGS-tst-auditmod4b.c): Likewise.
48241         [$(subdir) = elf && $(config-cflags-avx) = yes]
48242         (CFLAGS-tst-auditmod6b.c): Likewise.
48243         [$(subdir) = elf && $(config-cflags-avx) = yes]
48244         (CFLAGS-tst-auditmod6c.c): Likewise.
48245         [$(subdir) = elf && $(config-cflags-avx) = yes]
48246         (CFLAGS-tst-auditmod7b.c): Likewise.
48247         * elf/tst-audit3.c: Move to ...
48248         * sysdeps/x86_64/tst-audit3.c: ... here.
48249         * elf/tst-audit4.c: Move to ...
48250         * sysdeps/x86_64/tst-audit4.c: ... here.
48251         * elf/tst-audit5.c: Move to ...
48252         * sysdeps/x86_64/tst-audit5.c: ... here.
48253         * elf/tst-audit6.c: Move to ...
48254         * sysdeps/x86_64/tst-audit6.c: ... here.
48255         * elf/tst-audit7.c: Move to ...
48256         * sysdeps/x86_64/tst-audit7.c: ... here.
48257         * elf/tst-auditmod3a.c: Move to ...
48258         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
48259         * elf/tst-auditmod3b.c: Move to ...
48260         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
48261         * elf/tst-auditmod4a.c: Move to ...
48262         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
48263         * elf/tst-auditmod4b.c: Move to ...
48264         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
48265         * elf/tst-auditmod5a.c: Move to ...
48266         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
48267         * elf/tst-auditmod5b.c: Move to ...
48268         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
48269         * elf/tst-auditmod6a.c: Move to ...
48270         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
48271         * elf/tst-auditmod6b.c: Move to ...
48272         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
48273         * elf/tst-auditmod6c.c: Move to ...
48274         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
48275         * elf/tst-auditmod7a.c: Move to ...
48276         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
48277         * elf/tst-auditmod7b.c: Move to ...
48278         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
48280 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
48282         [BZ #15366]
48283         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
48284         define unconditionally.
48285         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
48286         define unconditionally.
48287         (INT8_C, INT16_C, etc.): Likewise.
48289 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
48291         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
48292         __ehdr_start with hidden visibility.
48294         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
48296 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
48298         * math/libm-test.inc (cos_test): Use accurate hex constants.
48299         (sincost_test): Likewise.
48301 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
48303         * math/libm-test.inc (catan_test): Add more tests.
48304         (catanh_test): Likewise.
48306         * math/s_catanf.c (__catanf): Use suffixed floating-point
48307         constants.
48308         * math/s_catanhf.c (__catanhf): Likewise.
48309         * math/s_catanhl.c (__catanhl): Likewise.
48310         * math/s_catanl.c (__catanl): Likewise.
48312         [BZ #15394]
48313         * math/s_catan.c (__catan): Calculate imaginary part of result
48314         with log1p not log unless computing log of number close to 0.
48315         * math/s_catanf.c (__catanf): Likewise.
48316         * math/s_catanl.c (__catanl): Likewise.
48317         * math/s_catanh.c (__catanh): Calculate real part of result with
48318         log1p not log unless computing log of number close to 0.
48319         * math/s_catanhf.c (__catanhf): Likewise.
48320         * math/s_catanhl.c (__catanhl): Likewise.
48321         * math/libm-test.inc (catan_test): Add more tests.
48322         (catanh_test): Likewise.
48323         * sysdeps/i386/fpu/libm-test-ulps: Update.
48324         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48326 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
48328         * benchtests/Makefile: Mention files in which fast and slow
48329         paths of math functions are implemented.
48331 2013-04-23  Roland McGrath  <roland@hack.frob.com>
48333         * sysdeps/posix/timespec_get.c: New file.
48335 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48337         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
48338         POWER.
48339         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
48340         for POWER.
48341         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
48342         powerpc/power5/fpu folders.
48343         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
48344         * benchtests/Makefile: Add modf testcase.
48345         * benchtests/bench-modf.c: New file: Benchmark test for mo
48347 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
48349         [BZ #14888]
48350         * time/Makefile (tests): Add tst-strptime-whitespace.
48351         * time/strptime_l.c (get_number): Use ISSPACE.
48352         (__strptime_internal): Likewise.
48353         * time/tst-strptime-whitespace.c: New test case.
48355 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
48357         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
48358         member.
48359         (_nss_files_init): Set it here.
48361 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
48363         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
48364         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
48365         unsigned.
48367 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
48369         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
48371 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
48373         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
48374         size just once.
48376 2013-04-21  David S. Miller  <davem@davemloft.net>
48378         * po/ru.po: Update Russion translation from translation project.
48380 2013-04-17  Adam Conrad  <adconrad@0c3.net>
48382         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
48383         and setfsgid.
48385 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
48387         * configure.in: Remove i386 configure warning. Remove i386 case.
48388         * configure: Regenerate.
48389         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
48390         Add example to error message.
48391         * sysdeps/i386/configure: Regenerate.
48393 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
48395         * benchtests/Makefile (bench): Add cos, tan, slowcos and
48396         slowtan.
48397         * benchtests/cos-inputs: New file.
48398         * benchtests/slowcos-inputs: New file.
48399         * benchtests/slowcos.c: New file.
48400         * benchtests/slowtan-inputs: New file.
48401         * benchtests/slowtan.c: New file.
48402         * benchtests/tan-inputs: New file.
48404 2013-04-16  Roland McGrath  <roland@hack.frob.com>
48406         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
48407         considered kosher.
48409 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
48411         * benchtests/Makefile: Include cppflags-iterator.mk to add
48412         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
48414         * Makefile.in (bench-clean): New target.
48415         * benchtests/Makefile (bench-clean): Likewise.
48417 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
48419         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
48421 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
48423         * stdio-common/tstdiomisc.c: Fix coding-style violation.
48425 2013-04-15  Andreas Schwab  <schwab@suse.de>
48427         * nscd/grpcache.c (cache_addgr): Properly check for short write.
48428         * nscd/initgrcache.c (addinitgroupsX): Likewise.
48429         * nscd/pwdcache.c (cache_addpw): Likewise.
48430         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
48431         more than recsize.
48433 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
48435         * benchtests/Makefile (bench): Write all output to
48436         bench-out.tmp together.
48438 2013-04-15  Andreas Schwab  <schwab@suse.de>
48440         * nscd/nscd.c (main): Don't fork again after closing files.
48442 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
48444         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
48446         * benchtests/Rules (bench-deps): Collect dependencies into a
48447         single variable.  Add Makefile to dependencies.
48448         ($(objpfx)bench-%.c): Depend on bench-deps.
48450 2013-04-12  Roland McGrath  <roland@hack.frob.com>
48451             Xavier Roche  <roche+kml2@exalead.com>
48453         [BZ #15361]
48454         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
48455         just that it's a file descriptor.
48456         * manual/llio.texi (Synchronizing AIO Operations): Update description
48457         for EBADF error from aio_fsync.
48459 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
48461         * Rules (bench): Move target definition...
48462         * benchtests/Makefile: ... here.
48464 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
48466         * math/libm-test.inc (cos_test): Fix PI/2 test.
48467         (sincos_test): Likewise.
48468         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
48469         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
48471 2013-04-11  Andreas Schwab  <schwab@suse.de>
48473         [BZ #13988]
48474         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
48475         accept exponent character only when digits were seen.
48476         * stdio-common/Makefile (tests): Add bug26.
48477         * stdio-common/bug26.c: New file.
48479         [BZ #14293]
48480         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
48481         non-freeable.
48483 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48485         * Makeconfig (rtld-prefix): Define built linker prefix.
48486         * Rules (run-bench): Use it.
48487         * math/Makefile (run-regen-ulps): Likewise.
48489         * Rules (bench): Remove eval.
48491 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
48492             Roland McGrath  <roland@hack.frob.com>
48493             Ondrej Bilka  <neleai@seznam.cz>
48495         [BZ #15346]
48496         * time/getdate.c: Include ctype.h and alloca.h.
48497         (__getdate_r): Trim leading and trailing spaces of input.
48498         * time/tst-getdate.c (tests): Add tests with leading and
48499         trailing spaces.
48501 2013-04-08  Roland McGrath  <roland@hack.frob.com>
48503         [BZ #14280]
48504         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
48505         when computing value.
48507 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
48509         * math/README.libm-test (How can I generate "libm-test-ulps"?):
48510         Use testrun.sh to run libm tests.
48512         [BZ #15309]
48513         * elf/dl-open.c (dl_open_worker): memset all of seen array.
48515 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
48517         [BZ #15264]
48518         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
48520 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
48522         * Makefile.in (regen-ulps): New target.
48523         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
48524         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
48525         [ifneq (no,$(PERL)] (regen-ulps): New target.
48526         [ifeq (no,$(PERL)] (regen-ulps): New target.
48527         * math/libm-test.inc (ulps_file_name): Define.
48528         (output_dir): New variable.
48529         (options): Add "output-dir" option.
48530         (parse_opt): Handle 'o' case.
48531         (main): If output_dir is non-NULL use it as a prefix
48532         otherwise use "".
48533         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
48535 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
48537         [BZ #10060, #10062]
48538         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
48539         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
48540         fail configure if __sync_val_compare_and_swap is not inlined.
48541         * sysdeps/i386/configure: Regenerate.
48542         * configure.in: Build for i686 when configured for i386.
48543         * configure: Regenerate.
48544         * README: Remove i386 reference.
48546 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
48548         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
48549         * sysdeps/s390/s390-64/sysdep.h: Likewise.
48551 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
48553         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
48554         (lmsnanval): New variables.
48555         (F): Add conversion tests.
48556         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
48557         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
48559         * stdio-common/tstdiomisc.c (F): Properly collect individual
48560         tests' results.
48562         [BZ #14686, #15336]
48563         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
48564         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
48565         Instead, use input NaN values or generate a qNaN by arithmetic
48566         operation.  Also fix bugs to comply with the standard.
48567         * math/libm-test.inc (remainder_test): Add more tests.
48569         [BZ #15335, #15342]
48570         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
48571         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
48572         input NaN values or generate a qNaN by arithmetic operation.
48574         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
48575         unreachable code.
48577         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
48578         definitions.
48580 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
48582         [BZ #14478]
48583         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
48584         underflowed result.
48585         * math/s_cexpf.c (__cexpf): Likewise.
48586         * math/s_cexpl.c (__cexpl): Likewise.
48587         * math/libm-test.inc (cexp_test): Add more tests.
48589 2013-04-03  Andreas Schwab  <schwab@suse.de>
48591         [BZ #15330]
48592         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
48593         order arrays from heap if bigger than alloca cutoff.
48595 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
48597         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
48598         (SNAN_TESTS_double): Refer to GCC PR56831.
48599         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
48600         GCC PR56828.
48602 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
48604         * Rules (bench): Move bench.out after the run is complete.
48606         * Rules (bench): Echo currently running benchmark.
48608         * benchtests/Makefile (bench): Add atan and slowatan.
48609         * benchtests/atan-inputs: New file.
48610         * benchtests/slowatan-inputs: New file.
48611         * benchtests/slowatan.c: New file.
48613         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
48614         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
48615         its value.
48617         [BZ #15305]
48618         * sysdeps/unix/sysv/linux/kernel-features.h
48619         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
48620         __ASSUME_XFS_RESTRICTED_CHOWN.
48621         * sysdeps/unix/sysv/linux/pathconf.c
48622         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
48623         Save and restore errno.
48625 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
48627         [BZ #15327]
48628         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
48629         arguments using __kernel_casinh.
48630         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
48631         arguments using __kernel_casinhf.
48632         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
48633         arguments using __kernel_casinhl.
48634         * math/libm-test.inc (cacosh_test): Add more tests.
48635         * sysdeps/i386/fpu/libm-test-ulps: Update.
48636         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48638 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
48640         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
48641         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
48643         * bench/Makefile (bench): Add sin and slowsin.
48644         * benchtests/sin-inputs: New file.
48645         * benchtests/slowsin-inputs: New file.
48646         * benchtests/slowsin.c: New file.
48648         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
48649         (bench): Add slowexp and slowpow.
48650         (exp-ITER): Increase iterations.
48651         (pow-ITER): Likewise.
48652         * benchtests/exp-inputs: Change input.
48653         * benchtests/pow-inputs: Likewise.
48654         * benchtests/slowexp-inputs: New file.
48655         * benchtests/slowexp.c: New file.
48656         * benchtests/slowpow-inputs: New file.
48657         * benchtests/slowpow.c: New file.
48659 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48661         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
48662         instructions.
48663         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
48664         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
48665         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
48666         * benchtests/Makefile: Add rint benchtest.
48667         * benchtests/rint-inputs: Input for rint benchtest.
48669 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
48671         * Versions.def (libm): Add GLIBC_2.18.
48672         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
48673         hidden libm prototypes.
48674         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
48675         * math/Makefile (libm-calls): Add s_issignaling.
48676         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
48677         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
48678         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
48679         declaration.
48680         * math/math.h [__USE_GNU] (issignaling): New macro.
48681         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
48682         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
48683         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
48684         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
48685         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
48686         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
48687         * manual/arith.texi (issignaling): New section.
48688         * manual/libm-err-tab.pl (@all_functions): Update comment.
48689         * math/gen-libm-test.pl (parse_args): Apply special handling for
48690         issignaling.
48691         * math/libm-test.inc (print_float, issignaling_test): New
48692         functions.
48693         (check_float_internal): Add issignaling checks.
48694         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
48695         default definition.
48696         * sysdeps/powerpc/math-tests.h: New file.
48697         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
48698         tests.
48699         * math/test-snan.c (TEST_FUNC): Likewise.
48701 2013-03-30  David S. Miller  <davem@davemloft.net>
48703         * po/de.po: Update from translation team.
48705 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
48707         [BZ #10357]
48708         * math/k_casinh.c (__kernel_casinh): Handle arguments with
48709         imaginary part less than 1.0 and real part less than 0.5
48710         specially.
48711         * math/k_casinhf.c (__kernel_casinhf): Likewise.
48712         * math/k_casinhl.c (__kernel_casinhl): Likewise.
48713         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
48714         (cacos_test): Add more tests.
48715         (casin_test): Likewise.
48716         (casinh_test): Likewise.
48717         * sysdeps/i386/fpu/libm-test-ulps: Update.
48718         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48720 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
48722         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
48723         ONE with its value.
48725         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
48726         (__pow_mp): Replace ONE and MONE with their values.
48727         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
48728         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
48729         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
48730         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
48731         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
48732         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
48734         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
48736         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
48737         (__pow_mp): Replace ZERO and MZERO with their values.
48738         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
48739         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
48740         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
48741         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
48742         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
48743         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
48744         (__sqr): Likewise.
48746         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
48748         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
48750 2013-03-28  Roland McGrath  <roland@hack.frob.com>
48752         * include/stdlib.h [!SHARED] (__call_tls_dtors):
48753         Declare with __attribute__ ((weak)).
48754         * stdlib/exit.c (__libc_atexit) [!SHARED]:
48755         Call __call_tls_dtors only if it's not NULL.
48757 2013-03-28  Roland McGrath  <roland@hack.frob.com>
48759         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
48760         didn't do it already, then set _dl_phdr and _dl_phnum based on the
48761         magic __ehdr_start linker symbol if it's defined.
48762         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
48763         them up here if it was already done.
48765         * elf/dl-support.c (_dl_phdr): Make pointer to const.
48766         (_dl_aux_init): Use const in cast when setting it.
48767         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
48768         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
48769         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
48771         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
48772         Declare them here.
48773         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
48774         * csu/libc-tls.c: Nor here.
48775         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
48777         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
48778         (__libc_message): Never call vsyslog.
48780 2013-03-28  Alan Modra  <amodra@gmail.com>
48782         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
48783         Define as empty.
48784         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
48785         Likewise.
48787 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48789         [BZ #15214]
48790         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
48791         underflow.
48792         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48794 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48796         [BZ #15304]
48797         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
48798         Don't add gid passed as argument.
48800         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
48802 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
48804         [BZ #15307]
48805         * math/k_casinh.c (__kernel_casinh): Handle arguments with
48806         imaginary part between 1.0 and 1.5 and real part less than 0.5
48807         specially.
48808         * math/k_casinhf.c (__kernel_casinhf): Likewise.
48809         * math/k_casinhl.c (__kernel_casinhl): Likewise.
48810         * math/libm-test.inc (cacos_test): Add more tests.
48811         (casin_test): Likewise.
48812         (casinh_test): Likewise.
48813         * sysdeps/i386/fpu/libm-test-ulps: Update.
48814         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48816 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48818         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
48819         constants.
48820         (norm): Likewise.
48821         (denorm): Likewise.
48822         (__dbl_mp): Likewise.
48823         (add_magnitudes): Likewise.
48824         (sub_magnitudes): Likewise.
48825         (__add): Likewise.
48826         (__sub): Likewise.
48827         (__mul): Likewise.
48828         (__sqr): Likewise.
48829         (__inv): Likewise.
48830         (__dvd): Likewise.
48832         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
48833         commented code.
48834         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
48835         (__dubcos): Likewise.
48836         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
48837         (__ieee754_acos): Likewise.
48838         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
48839         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
48840         (__exp1): Likewise.
48841         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
48842         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
48843         (log1): Likewise.
48844         (my_log2): Likewise.
48845         (checkint): Likewise.
48846         * sysdeps/ieee754/dbl-64/e_remainder.c
48847         (__ieee754_remainder): Likewise.
48848         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
48849         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
48850         (bsloww): Likewise.
48851         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
48853         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
48854         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
48855         MANTISSA_STORE_T to store computations on mantissa.  Use
48856         macros for rounding and division.
48857         (denorm): Likewise.
48858         (__dbl_mp): Likewise.
48859         (add_magnitudes): Likewise.
48860         (sub_magnitudes): Likewise.
48861         (__mul): Likewise.
48862         (__sqr): Likewise.
48863         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
48864         powers of two in terms of TWOPOW macro.
48865         (mp_no): Make type of mantissa as MANTISSA_T.
48866         [!RADIXI]: Define RADIXI.
48867         [!TWO52]: Define TWO52.
48868         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
48870 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48872         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
48873         llroundl symbol when building for PPC32.
48875 2013-03-24  Mark H Weaver  <mhw@netris.org>
48877         * manual/arith.texi (Normalization Functions): Fix prototypes for
48878         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
48880 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48882         [BZ #13889]
48883         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
48884         high value to check if expl overflow.
48885         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
48886         to check for underflow and overflow.
48887         * math/libm-test.inc: Add exp test.
48889 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
48891         [BZ #11120]
48892         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
48893         with NOT_IN_libc.
48895 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48897         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
48898         symbol.
48900 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
48902         * math/gen-libm-test.pl (parse_args, special_functions): Properly
48903         wrap blocks consisting of several statements.
48905         * sysdeps/generic/math-tests.h: New file.
48906         * sysdeps/i386/fpu/math-tests.h: Likewise.
48907         * math/test-snan.c: Include it.
48908         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
48910 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
48912         [BZ #15285]
48913         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
48914         (__ieee754_j0l): Do not improve calculations using cos of twice
48915         input for inputs above LDBL_MAX / 2.0L.
48916         (__ieee754_y0l): Likewise.
48917         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
48918         (__ieee754_j1l): Do not improve calculations using cos of twice
48919         input for inputs above LDBL_MAX / 2.0L.
48920         (__ieee754_y1l): Likewise.
48921         * math/libm-test.inc (j0_test): Add another test.
48922         (j1_test): Likewise.
48923         (y0_test): Likewise.
48924         (y1_test): Likewise.
48925         * sysdeps/i386/fpu/libm-test-ulps: Update.
48927 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
48929         * Rules ($(objpfx)bench-%.c): Include code from a C source
48930         file.
48932 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
48934         [BZ #15287]
48935         * math/k_casinh.c (__kernel_casinh): Handle arguments with
48936         imaginary part 1.0 and real part less than 0.5 specially.
48937         * math/k_casinhf.c (__kernel_casinhf): Likewise.
48938         * math/k_casinhl.c (__kernel_casinhl): Likewise.
48939         * math/libm-test.inc (cacos_test): Add more tests.
48940         (casin_test): Likewise.
48941         (casinh_test): Likewise.
48942         * sysdeps/i386/fpu/libm-test-ulps: Update.
48943         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48945 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
48947         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
48948         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
48950 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
48952         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
48953         * config.make.in (config-cflags-sse4): Remove variable.
48954         (config-cflags-avx): Likewise.
48955         (config-cflags-sse2avx): Likewise.
48956         (config-cflags-novzeroupper): Likewise.
48957         (config-asflags-i686): Likewise.
48958         (have-mfma4): Likewise.
48959         (have-as-vis3): Likewise.
48960         (MIG): Likewise.
48961         * configure.in (MIG): Do not AC_SUBST.
48962         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
48963         (libc_cv_cc_sse4): Do not AC_SUBST.
48964         (libc_cv_cc_avx): Likewise.
48965         (libc_cv_cc_sse2avx): Likewise.
48966         (libc_cv_cc_novzeroupper): Likewise.
48967         (libc_cv_cc_fma4): Likewise.
48968         (libc_cv_as_i686): Likewise.
48969         (libc_cv_sparc_as_vis3): Likewise.
48970         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
48971         LIBC_CONFIG_VAR.
48972         (config-asflags-i686): Likewise.
48973         (config-cflags-avx): Likewise.
48974         (config-cflags-sse2avx): Likewise.
48975         (have-mfma4): Likewise.
48976         (config-cflags-novzeroupper): Likewise.
48977         * sysdeps/mach/configure.in (MIG): Likewise.
48978         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
48979         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
48980         LIBC_CONFIG_VAR.
48981         (config-cflags-avx): Likewise.
48982         (config-cflags-sse2avx): Likewise.
48983         (have-mfma4): Likewise.
48984         (config-cflags-novzeroupper): Likewise.
48985         * configure: Regenerated.
48986         * sysdeps/i386/configure: Likewise.
48987         * sysdeps/mach/configure: Likewise.
48988         * sysdeps/sparc/configure: Likewise.
48989         * sysdeps/x86_64/configure: Likewise.
48991 2013-03-20  Roland McGrath  <roland@hack.frob.com>
48993         [BZ #14812]
48994         * locale/programs/localedef.c (options): Put N_ translation marker
48995         on argument names, not just descriptions.
48997 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48999         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
49001 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
49003         [BZ #14176]
49004         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
49006 2013-03-19  Roland McGrath  <roland@hack.frob.com>
49008         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
49009         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
49010         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
49011         [!BEFORE_ABORT] (before_abort): New function.
49012         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
49013         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
49014         (writev_for_fatal): New function.
49015         (WRITEV_FOR_FATAL): New macro; call that.
49016         (backtrace_and_maps): New function.
49017         (BEFORE_ABORT): New macro; call that.
49018         (struct str_list): Type removed.
49019         (__libc_message, __libc_fatal): Functions removed.
49020         Include <sysdeps/posix/libc_fatal.c> instead.
49022 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
49024         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
49025         constants.
49026         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
49027         double constants.
49029 2013-03-19  Andreas Schwab  <schwab@suse.de>
49031         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
49032         * sysdeps/gnu/configure: Regenerate.
49034         * configure.in: Substitute libc_cv_rtlddir.
49035         * configure: Regenerate.
49036         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
49037         * Makeconfig (rtlddir, inst_rtlddir): New variables.
49038         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
49039         * elf/Makefile (install-others, CFLAGS-interp.c)
49040         (ldso_install, common-ldd-rewrite): Likewise.
49041         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
49042         $(inst_slibdir)/$(rtld-installed-name).
49043         * scripts/rellns-sh: Add -p option.
49044         * Makerules (make-shlib-link): Use rellns-sh to get relative name
49045         for source.
49047 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
49049         * manual/nptl.texi: Renamed to ...
49050         * manual/threads.texi: ... this.
49051         * manual/Makefile (chapters): Update.
49053 2013-03-18  Roland McGrath  <roland@hack.frob.com>
49055         [BZ #14812]
49056         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
49057         on argument names, not just descriptions.
49058         * malloc/memusagestat.c (options): Likewise.
49059         * nss/getent.c (options): Likewise.
49061 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
49063         [BZ #14812]
49064         * iconv/iconv_prog.c (options): Put N_ translation marker
49065         on argument names, not just descriptions.
49066         * iconv/iconvconfig.c (options): Likewise.
49068 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
49070         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
49071         implementation which is faster on all x86_64 architectures.
49072         Tested on AMD, Intel Nehalem, SNB, IVB.
49073         * sysdeps/x86_64/strnlen.S: Likewise.
49075         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
49076         Remove all multiarch strlen and strnlen versions.
49077         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
49078         Remove strlen and strnlen related parts.
49080         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
49081         Inline strlen part.
49082         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
49084         * sysdeps/x86_64/multiarch/strlen.S: Remove.
49085         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
49086         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
49087         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
49088         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
49089         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
49091 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
49093         * manual/memory.texi (Malloc Tunable Parameters):
49094         Sort parameters alphabetically. Add comments for missing entries.
49096 2013-03-17  David S. Miller  <davem@davemloft.net>
49098         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49100 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
49102         [BZ #15283]
49103         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
49104         for arguments at most half maximum finite value.
49105         * math/libm-test.inc (j0_test): Add more tests.
49106         (j1_test): Likewise.
49107         (y0_test): Likewise.
49108         (y1_test): Likewise.
49109         * sysdeps/i386/fpu/libm-test-ulps: Update.
49110         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49112         [BZ #14155]
49113         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
49114         1 / x and functions P and Q for arguments above 0x1p256L.
49115         (__ieee754_y0l): Likewise.
49116         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
49117         (__ieee754_y1l): Likewise.
49118         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
49119         (j1_test): Likewise.
49120         (y0_test): Likewise.
49121         (y1_test): Likewise.
49123 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
49125         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
49126         variable.
49128 2013-03-15  Roland McGrath  <roland@hack.frob.com>
49130         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
49131         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
49132         zero since it's initialized to EXEC_PAGESIZE.
49134         * sysdeps/unix/sysv/linux/ldsodefs.h
49135         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
49136         * sysdeps/generic/ldsodefs.h: ... here.
49138 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
49140         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
49142         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
49143         math/test-snan.c.
49144         * math/test-snan.c: Renamed from
49145         sysdeps/powerpc/fpu/test-powerpc-snan.c.
49146         * math/Makefile (tests): Add test-snan.
49147         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
49148         test-powerpc-snan.
49150         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
49151         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
49152         functions.
49153         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
49154         __builtin_nan family of functions.
49155         * math/libm-test.inc (initialize): Initialize qnan_value with
49156         __builtin_nan family of functions.
49157         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
49158         Remove variables.
49159         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
49160         Remove functions.
49161         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
49162         storage class.  Initialize qNaN_var and sNaN_var with
49163         __builtin_nan and __builtin_nans families of functions,
49164         respectively.
49166         * math/libm-test.inc (acosh_test): Also test with qNaN input.
49167         (sqrt_test): Remove duplicate test with qNaN input.
49168         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
49169         (round_test, signbit_test, significand_test): Note missing +/-Inf
49170         as well as qNaN tests.
49172         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
49173         qNaN_var.  Fix a few strings, too.
49174         * math/libm-test.inc (nan_value): Rename to qnan_value.
49175         * math/gen-libm-test.pl (%beautify): Adjust to that.
49176         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
49177         * math/test-misc.c (main): Likewise.
49178         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
49179         to __qnan_bytes, and __qnan_union, respectively.
49180         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
49181         Likewise.
49182         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
49183         and lqnanval, respectively.
49184         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
49185         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
49186         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
49187         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
49189         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
49190         * math/test-misc.c (main) [__x86_64__]: Enable test for long
49191         doubles.
49193         * math/test-misc.c (main): Fix copy'n'pastos.
49194         * misc/tst-efgcvt.c (special): Likewise.
49196         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
49197         Remove declarations.
49199 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
49201         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
49202         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
49203         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
49204         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
49206 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49208         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
49209         macro to return vdso values correctly in IFUNC implementations.
49210         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
49211         Optimization by using IFUNC.
49213 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
49214             Richard Henderson  <rth@redhat.com>
49215             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
49217         * Makefile.in (bench): New target.
49218         * NEWS: Mention the benchmark framework.
49219         * Rules (bench): Likewise.
49220         (binaries-bench): Generate binaries for functions to
49221         benchmark.
49222         * benchtests/Makefile: New makefile for benchmark tests.
49223         * benchtests/bench-skeleton.c: New skeleton file for benchmark
49224         programs.
49225         * benchtests/exp-inputs: New input file for EXP function.
49226         * benchtests/pow-inputs: New input file for POW function.
49227         * scripts/bench.pl: New script to generate source files for
49228         benchmark programs.
49230 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
49232         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
49233         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
49234         computations on mantissa.  Use macros for rounding and
49235         division.
49236         (denorm): Likewise.
49237         (__dbl_mp): Likewise.
49238         (add_magnitudes): Likewise.
49239         (sub_magnitudes): Likewise.
49240         (__mul): Likewise.
49241         (__sqr): Likewise.
49242         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
49243         powers of two in terms of TWOPOW macro.
49244         (mp_no): Make type of mantissa as MANTISSA_T.
49245         [!RADIXI]: Define RADIXI.
49246         [!TWO52]: Define TWO52.
49247         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
49249         * manual/nptl.texi (cindex): Modify threads to pthreads.
49251 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
49253         * sysdeps/x86_64/preconfigure: Regenerated.
49255 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
49257         [BZ #14155]
49258         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
49259         0x1p28 and above.
49260         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
49261         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
49262         0x1p28 and above.
49263         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
49264         * math/libm-test.inc (j0_test): Do not allow one spurious
49265         underflow exception.
49266         (y1_test): Likewise.
49268 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
49270         * manual/Makefile (chapters): Add nptl.
49271         * manual/debug.texi (Debugging Support): Add link to Threads
49272         chapter.
49273         * manual/nptl.texi: New file.
49275         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
49277 2013-03-14  Petr Baudis  <pasky@ucw.cz>
49279         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
49280         for non-NULL pointer before the memory validity test. Pointed
49281         out by Holger Brunck <holger.brunck@keymile.com>.
49283 2013-03-13  Andreas Schwab  <schwab@suse.de>
49285         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
49286         instead of .os.
49288 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
49290         * timezone/zic.c: Update from tzcode 2013b.
49292 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
49294         * manual/install.texi (Configuring and compiling):
49295         Mention i686 and i586.
49296         * INSTALL: Regenerate.
49298 2013-03-12  Roland McGrath  <roland@hack.frob.com>
49300         * sysdeps/init_array/elf-init.c: New file.
49301         * csu/elf-init.c
49302         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
49303         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
49305         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
49306         __gmon_start__ as global, but as static with a .preinit_array pointer.
49307         * sysdeps/init_array/gmon-start.c: New file.  Use that.
49308         * sysdeps/init_array/crti.S: New file, empty except for comments.
49309         * sysdeps/init_array/crtn.S: Likewise.
49311 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
49313         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
49314         definining bcopy.
49315         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49316         Remove Prefer_SSE_for_memop.
49317         * sysdeps/x86_64/multiarch/init-arch.h: Remove
49318         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
49319         HAS_PREFER_SSE_FOR_MEMOP.
49320         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
49321         memset-x86-64.
49322         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
49323         Remove bzero, memset ifunc support.
49324         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
49325         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
49326         * sysdeps/x86_64/multiarch/memset.S: Likewise.
49327         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
49329 2013-03-11  Andreas Schwab  <schwab@suse.de>
49331         [BZ #15234]
49332         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
49333         by SHLIB_COMPAT.
49334         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
49335         (GLIBC_2.16): Remove pthread_atfork.
49337 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
49339         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
49340         (ptestcases.h): Likewise.
49342 2013-03-08  Roland McGrath  <roland@hack.frob.com>
49344         * Makeconfig ($(common-objpfx)config.status): Depend on
49345         sysdeps/*/preconfigure{,.in} too.
49347 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
49349         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
49350         (__free_hook): Use void * instead of __malloc_ptr_t.
49351         (__malloc_hook): Likewise.
49352         (__realloc_hook): Likewise.
49353         (__memalign_hook): Likewise.
49354         (__after_morecore_hook): Likewise.
49355         * malloc/arena.c (save_malloc_hook): Likewise.
49356         (save_free_hook): Likewise.
49357         * malloc/hooks.c (malloc_hook_ini): Likewise.
49358         (realloc_hook_ini): Likewise.
49359         (memalign_hook_ini): Likewise.
49360         * malloc/malloc.c (malloc_hook_ini): Likewise.
49361         (realloc_hook_ini): Likewise.
49362         (memalign_hook_ini): Likewise.
49363         (__free_hook): Likewise.
49364         (__malloc_hook): Likewise.
49365         (__realloc_hook): Likewise.
49366         (__memalign_hook): Likewise.
49367         (__libc_malloc): Likewise.
49368         (__libc_free): Likewise.
49369         (__libc_realloc): Likewise.
49370         (__libc_memalign): Likewise.
49371         (__libc_valloc): Likewise.
49372         (__libc_pvalloc): Likewise.
49373         (__libc_calloc): Likewise.
49374         (__posix_memalign): Likewise.
49375         * malloc/morecore.c (__sbrk): Likewise.
49376         (__default_morecore): Likewise.
49378         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
49380         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
49381         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
49382         __malloc_ptrdiff_t.
49384         * malloc/malloc.h (__malloc_size_t): Remove macro.
49385         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
49386         __malloc_size_t.
49387         (old_memalign_hook): Likewise.
49388         (old_realloc_hook): Likewise.
49389         (struct hdr): Likewise.
49390         (flood): Likewise.
49391         (mallochook): Likewise.
49392         (memalignhook): Likewise.
49393         (reallochook): Likewise.
49394         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
49395         (tr_old_realloc_hook): Likewise.
49396         (tr_old_memalign_hook): Likewise.
49397         (tr_mallochook): Likewise.
49398         (tr_reallochook): Likewise.
49399         (tr_memalignhook): Likewise.
49401 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49403         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
49404         default_ldbl_pack and using as default implementation.
49405         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
49406         implementation.
49407         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
49408         redundant definition.
49409         (ldbl_insert_mantissa): Likewise.
49410         (ldbl_canonicalize): Likewise.
49411         (ldbl_nearbyint): Likewise.
49412         (ldbl_pack): Rename to ldbl_pack_ppc.
49413         (ldbl_unpack): Rename to ldbl_unpack_ppc.
49414         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
49415         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
49417 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
49419         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
49420         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
49421         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
49422         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
49423         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
49424         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
49425         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
49426         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
49428 2013-03-07  Andreas Jaeger  <aj@suse.de>
49430         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49431         bits/mman-linux.h.
49433 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
49435         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
49436         Include mpa.h and declare __MPEXP.
49437         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
49438         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
49439         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
49440         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
49441         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
49442         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
49443         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
49445         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
49446         (__slowpow): Use long double EXPL and LOGL functions to
49447         compute POW.
49448         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
49449         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
49450         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
49451         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
49452         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
49453         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
49455         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
49456         intermediate variable to calculate exponent.
49457         (__sqr): Likewise.
49458         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
49459         Likewise.
49460         (__sqr): Likewise.
49462         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
49463         [!NO__SQR]: Define __sqr.
49464         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
49465         and NO__SQR.  Remove all code except __mul and __sqr.  Include
49466         sysdeps/ieee754/dbl-64/mpa.c.
49467         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
49469         [BZ #12723]
49470         * posix/Makefile (tests): Add tst-pathconf.
49471         * posix/tst-pathconf.c: New test case.
49472         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
49473         _PC_PIPE_BUF.
49474         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
49476 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
49478         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
49480 2013-03-06  Andreas Jaeger  <aj@suse.de>
49482         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
49483         definition via __MAP_ANONYMOUS.
49485         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
49486         it's not part of Linux headers.
49488         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
49489         (MAP_HUGE_MASK): Define.
49491         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
49492         Define.
49493         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
49494         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
49495         Define.
49496         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
49497         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
49498         Define.
49499         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
49500         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
49501         Define.
49502         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
49504         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
49505         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
49506         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
49507         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
49508         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
49509         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
49511         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
49512         Handle f2fs.
49514         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49515         Handle f2fs and efivarfs.
49517         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
49518         f2fs.
49520         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
49521         (EFIVARFS_MAGIC): Add.
49522         (F2FS_LINK_MAX): Add.
49524 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
49526         * stdio-common/vfprintf.c: Replace __builtin_expect with
49527         __glibc_unlikely.
49529 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
49531         [BZ #13550]
49532         * sysdeps/generic/bp-sym.h: Remove file.
49533         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
49534         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
49535         <bp-sym.h> and <bp-asm.h>.
49536         (__longjmp): Don't use BP_SYM.
49537         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
49538         and <bp-asm.h>.
49539         (memcpy): Don't use BP_SYM.
49540         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
49541         <bp-sym.h> and <bp-asm.h>.
49542         (memcpy): Don't use BP_SYM.
49543         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
49544         <bp-asm.h>.
49545         (memcpy): Don't use BP_SYM.
49546         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
49547         <bp-asm.h>.
49548         (memset): Don't use BP_SYM.
49549         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
49550         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
49551         (__bzero): Don't use BP_SYM.
49552         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
49553         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
49554         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
49555         <bp-sym.h> and <bp-asm.h>.
49556         (memcmp): Don't use BP_SYM.  Remove comment about bounded
49557         pointers.
49558         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
49559         <bp-sym.h> and <bp-asm.h>.
49560         (memcpy): Don't use BP_SYM.
49561         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
49562         <bp-sym.h> and <bp-asm.h>.
49563         (memset): Don't use BP_SYM.
49564         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
49565         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
49566         (__bzero): Don't use BP_SYM.
49567         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
49568         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
49569         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
49570         <bp-sym.h> and <bp-asm.h>.
49571         (strncmp): Don't use BP_SYM.  Remove comment about bounded
49572         pointers.
49573         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
49574         <bp-sym.h> and <bp-asm.h>.
49575         (memcpy): Don't use BP_SYM.
49576         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
49577         <bp-sym.h> and <bp-asm.h>.
49578         (memset): Don't use BP_SYM.
49579         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
49580         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
49581         (__bzero): Don't use BP_SYM.
49582         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
49583         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
49584         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
49585         <bp-sym.h> and <bp-asm.h>.
49586         (__memchr): Don't use BP_SYM.
49587         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
49588         <bp-sym.h> and <bp-asm.h>.
49589         (memcmp): Don't use BP_SYM.  Remove comment about bounded
49590         pointers.
49591         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
49592         <bp-sym.h> and <bp-asm.h>.
49593         (memcpy): Don't use BP_SYM.
49594         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
49595         <bp-sym.h> and <bp-asm.h>.
49596         (__mempcpy): Don't use BP_SYM.
49597         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
49598         <bp-sym.h> and <bp-asm.h>.
49599         (__memrchr): Don't use BP_SYM.
49600         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
49601         <bp-sym.h> and <bp-asm.h>.
49602         (memset): Don't use BP_SYM.
49603         (__bzero): Likewise.
49604         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
49605         <bp-sym.h> and <bp-asm.h>.
49606         (__rawmemchr): Don't use BP_SYM.
49607         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
49608         <bp-sym.h> and <bp-asm.h>.
49609         (__STRCMP): Don't use BP_SYM.
49610         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
49611         <bp-sym.h> and <bp-asm.h>.
49612         (strchr): Don't use BP_SYM.
49613         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
49614         <bp-sym.h> and <bp-asm.h>.
49615         (__strchrnul): Don't use BP_SYM.
49616         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
49617         <bp-sym.h> and <bp-asm.h>.
49618         (strlen): Don't use BP_SYM.
49619         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
49620         <bp-sym.h> and <bp-asm.h>.
49621         (strncmp): Don't use BP_SYM.  Remove comment about bounded
49622         pointers.
49623         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
49624         <bp-sym.h> and <bp-asm.h>.
49625         (__strnlen): Don't use BP_SYM.
49626         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
49627         <bp-sym.h> and <bp-asm.h>.
49628         (__GI__setjmp): Don't use BP_SYM.
49629         (_setjmp): Likewise.
49630         (__sigsetjmp): Likewise.
49631         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
49632         (L(start_addresses)): Don't use BP_SYM.
49633         (_start): Likewise.
49634         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
49635         <bp-asm.h>.
49636         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
49637         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
49638         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
49639         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
49640         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
49641         <bp-asm.h>.
49642         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
49643         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
49644         about bounded pointers.
49645         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
49646         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
49647         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
49648         <bp-asm.h>.
49649         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
49650         about bounded pointers.  Remove GKM FIXME comments.
49651         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
49652         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
49653         <bp-asm.h>.
49654         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
49655         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
49656         Remove GKM FIXME comments.
49657         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
49658         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
49659         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
49660         <bp-asm.h>.
49661         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
49662         about bounded pointers.  Remove GKM FIXME comment.
49663         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
49664         and <bp-asm.h>.
49665         (strncmp): Don't use BP_SYM.  Remove comment about bounded
49666         pointers.
49667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
49668         <bp-sym.h> and <bp-asm.h>.
49669         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
49670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
49671         <bp-sym.h> and <bp-asm.h>.
49672         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
49673         comment.
49675 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
49677         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
49678         call free(NULL).
49680 2013-03-05  David S. Miller  <davem@davemloft.net>
49682         * po/es.po: Update from translation team.
49684 2013-03-05  Andreas Jaeger  <aj@suse.de>
49686         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
49687         <bits/mman-linux.h>.
49688         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
49689         is fine.
49690         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
49691         <bits/mman-linux.h> to end of file.
49692         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
49693         is fine.
49694         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
49695         <bits/mman-linux.h> to end of file.
49696         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
49697         is fine.
49698         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
49699         <bits/mman-linux.h> to end of file.
49701         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
49702         (MCL_CURRENT, MCL_FUTURE): Define here.
49704 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49706         [BZ #15232]
49707         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
49708         attribute_hidden.
49709         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
49711 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49713         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
49714         fourth parameter needed for rt_sigprocmask syscall.
49715         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
49716         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
49717         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
49718         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
49719         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
49720         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
49722 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
49724         [BZ #13550]
49725         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
49726         comment about bounded pointers.
49727         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
49728         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
49730 2013-03-04  Andreas Jaeger  <aj@suse.de>
49732         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
49733         common definitions.
49735         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
49736         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
49737         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
49738         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
49739         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
49740         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
49742 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49744         [BZ #15055]
49745         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
49746         __ieee754_sqrl instead of __sqrl.
49748 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
49750         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
49751         * sysdeps/powerpc/fpu_control.h: ... here.
49752         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
49753         * sysdeps/powerpc/bits/fenvinline.h: ... here.
49754         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
49755         * sysdeps/powerpc/bits/mathinline.h: ... here.
49757 2013-03-01  Roland McGrath  <roland@hack.frob.com>
49759         * elf/dl-hwcaps.c (_dl_important_hwcaps):
49760         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
49761         to just [NEED_DL_SYSINFO_DSO].
49762         * elf/dl-support.c: Likewise.
49763         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
49764         * elf/rtld.c (dl_main): Likewise.
49765         * elf/setup-vdso.h (setup_vdso): Likewise.
49766         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
49767         * sysdeps/unix/sysv/linux/dl-sysdep.c
49768         (_dl_discover_osversion): Likewise.
49770 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
49772         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
49773         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
49775 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
49777         * NEWS: Mention libm performance improvements and non-x86 PI
49778         futex support.
49780         * csu/libc-start.c (__pthread_initialize_minimal): Change
49781         function arguments.
49782         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
49784 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
49786         [BZ #13550]
49787         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
49788         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
49789         <bp-sym.h> and <bp-asm.h>.
49790         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
49791         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
49792         and <bp-asm.h>.
49793         (memcpy): Don't use BP_SYM.
49794         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
49795         <bp-asm.h>.
49796         (__mpn_add_n): Don't use BP_SYM.
49797         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
49798         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
49799         and <bp-asm.h>.
49800         (__mpn_addmul_1): Don't use BP_SYM.
49801         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49802         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
49803         <bp-sym.h>.
49804         (_setjmp): Don't use BP_SYM.
49805         (__novmx_setjmp): Likewise.
49806         (__GI__setjmp): Likewise.
49807         (__vmx_setjmp): Likewise.
49808         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
49809         <bp-sym.h>.
49810         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
49811         (__bzero): Don't use BP_SYM.
49812         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
49813         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
49814         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
49815         <bp-sym.h> and <bp-asm.h>.
49816         (memcpy): Don't use BP_SYM.
49817         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
49818         <bp-sym.h> and <bp-asm.h>.
49819         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
49820         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
49821         <bp-sym.h> and <bp-asm.h>.
49822         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
49823         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
49824         <bp-asm.h>.
49825         (__mpn_lshift): Don't use BP_SYM.
49826         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
49827         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
49828         <bp-asm.h>.
49829         (memset): Don't use BP_SYM.
49830         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
49831         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
49832         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
49833         <bp-asm.h>.
49834         (__mpn_mul_1): Don't use BP_SYM.
49835         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49836         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
49837         <bp-sym.h> and <bp-asm.h>.
49838         (memcmp): Don't use BP_SYM.
49839         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
49840         <bp-sym.h> and <bp-asm.h>.
49841         (memcpy): Don't use BP_SYM.
49842         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
49843         <bp-sym.h> and <bp-asm.h>.
49844         (memset): Don't use BP_SYM.
49845         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
49846         <bp-sym.h> and <bp-asm.h>.
49847         (strncmp): Don't use BP_SYM.
49848         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
49849         <bp-sym.h> and <bp-asm.h>.
49850         (memcpy): Don't use BP_SYM.
49851         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
49852         <bp-sym.h> and <bp-asm.h>.
49853         (memset): Don't use BP_SYM.
49854         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
49855         <bp-sym.h> and <bp-asm.h>.
49856         (__memchr): Don't use BP_SYM.
49857         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
49858         <bp-sym.h> and <bp-asm.h>.
49859         (memcmp): Don't use BP_SYM.
49860         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
49861         <bp-sym.h> and <bp-asm.h>.
49862         (memcpy): Don't use BP_SYM.
49863         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
49864         <bp-sym.h> and <bp-asm.h>.
49865         (__mempcpy): Don't use BP_SYM.
49866         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
49867         <bp-sym.h> and <bp-asm.h>.
49868         (__memrchr): Don't use BP_SYM.
49869         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
49870         <bp-sym.h> and <bp-asm.h>.
49871         (memset): Don't use BP_SYM.
49872         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
49873         <bp-sym.h> and <bp-asm.h>.
49874         (__rawmemchr): Don't use BP_SYM.
49875         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
49876         <bp-sym.h> and <bp-asm.h>.
49877         (__STRCMP): Don't use BP_SYM.
49878         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
49879         <bp-sym.h> and <bp-asm.h>.
49880         (strchr): Don't use BP_SYM.
49881         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
49882         <bp-sym.h> and <bp-asm.h>.
49883         (__strchrnul): Don't use BP_SYM.
49884         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
49885         <bp-sym.h> and <bp-asm.h>.
49886         (strlen): Don't use BP_SYM.
49887         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
49888         <bp-sym.h> and <bp-asm.h>.
49889         (strncmp): Don't use BP_SYM.
49890         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
49891         <bp-sym.h> and <bp-asm.h>.
49892         (__strnlen): Don't use BP_SYM.
49893         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
49894         <bp-asm.h>.
49895         (__mpn_rshift): Don't use BP_SYM.
49896         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
49897         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
49898         <bp-sym.h> and <bp-asm.h>.
49899         (__sigsetjmp): Don't use BP_SYM.
49900         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
49901         (L(start_addresses)): Don't use BP_SYM.
49902         (_start): Likewise.
49903         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
49904         <bp-asm.h>.
49905         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
49906         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
49907         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
49908         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
49909         <bp-asm.h>.
49910         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
49911         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
49912         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
49913         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
49914         <bp-asm.h>.
49915         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
49916         comments.
49917         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
49918         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
49919         <bp-asm.h>.
49920         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
49921         FIXME comments.
49922         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
49923         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
49924         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
49925         <bp-asm.h>.
49926         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
49927         comment.
49928         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
49929         and <bp-asm.h>.
49930         (strncmp): Don't use BP_SYM,
49931         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
49932         <bp-asm.h>.
49933         (__mpn_sub_n): Don't use BP_SYM.
49934         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
49935         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
49936         and <bp-asm.h>.
49937         (__mpn_submul_1): Don't use BP_SYM.
49938         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
49940         <bp-sym.h> and <bp-asm.h>.
49941         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
49942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
49943         <bp-sym.h> and <bp-asm.h>.
49944         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
49945         comment.
49947 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49949         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
49950         Use ZK to minimize writes to Z.
49951         (sub_magnitudes): Simplify code a bit.
49952         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
49953         Use ZK to minimize writes to Z.
49954         (sub_magnitudes): Simplify code a bit.
49956 2013-02-27  Roland McGrath  <roland@hack.frob.com>
49958         * csu/gmon-start.c: Add special exception to license text.
49960 2013-02-27  Richard Henderson  <rth@redhat.com>
49962         * scripts/config.guess: Update from config.git.
49963         * scripts/config.sub: Likewise.
49965 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
49967         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
49969         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
49971         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
49973         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
49975         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
49977 2013-02-26  Roland McGrath  <roland@hack.frob.com>
49979         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
49980         [$(build-shared = yes].
49982 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
49984         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
49985         (__mul): Reduce iterations for calculating mantissa.
49987         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
49988         MPTWO.
49989         (__mpranred): Likewise.
49991         [BZ #15160]
49992         * malloc/memusagestat.c (main): Draw graphs for heap and stack
49993         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
49995 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
49997         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
49998         Define __attribute__.
50000 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
50002         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
50003         unused.
50004         * posix/regex_internal.h (__attribute): Remove.
50005         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
50006         (re_string_context_at): Likewise.
50007         (bitset_not): Use __attribute__ and mark function as possibly
50008         unused.
50009         (bitset_merge): Likewise.
50010         (bitset_mask): Likewise.
50011         (re_string_char_size_at): Likewise.
50012         (re_string_wchar_at): Likewise.
50013         (re_string_elem_size_at): Likewise.
50015 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
50017         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
50018         code.
50019         (cc32): Likewise.
50021         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
50022         (__acr): Likewise.
50023         (__cpy): Likewise.
50024         (norm): Likewise.
50025         (denorm): Likewise.
50026         (__dbl_mp): Likewise.
50027         (add_magnitudes): Likewise.
50028         (sub_magnitudes): Likewise.
50029         (__mul): Likewise.
50030         (__inv): Likewise.
50032         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
50033         style.
50035         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
50036         style.
50038         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
50039         code.
50041         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
50042         up changes with default code.
50043         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
50044         Likewise.
50046 2013-02-24  Allan McRae  <allan@archlinux.org>
50048         * manual/socket.texi (The Internet Namespace): Order menu items
50049         to match that in the file.
50051         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
50052         node listing of the info page menu.
50054 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
50056         [BZ #13550]
50057         * sysdeps/i386/bp-asm.h: Remove file.
50058         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
50059         (PARMS): Do not use macros from bp-asm.h.
50060         (S1): Likewise.
50061         (S2): Likewise.
50062         (SIZE): Likewise.
50063         (__mpn_add_n): Do not use BP_SYM
50064         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
50065         "bp-asm.h".
50066         (PARMS): Do not use macros from bp-asm.h.
50067         (S1): Likewise.
50068         (SIZE): Likewise.
50069         (__mpn_addmul_1): Do not use BP_SYM
50070         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
50071         "bp-asm.h".
50072         (PARMS): Do not use macros from bp-asm.h.
50073         (SIGMSK): Likewise.
50074         (_setjmp): Likewise.  Do not use BP_SYM.
50075         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
50076         "bp-asm.h".
50077         (PARMS): Do not use macros from bp-asm.h.
50078         (SIGMSK): Likewise.
50079         (setjmp): Likewise.  Do not use BP_SYM.
50080         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
50081         "bp-asm.h".
50082         (PARMS): Do not use macros from bp-asm.h.
50083         (__frexp): Do not use BP_SYM.
50084         (frexp): Likewise.
50085         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
50086         "bp-asm.h".
50087         (PARMS): Do not use macros from bp-asm.h.
50088         (__frexpf): Do not use BP_SYM.
50089         (frexpf): Likewise.
50090         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
50091         "bp-asm.h".
50092         (PARMS): Do not use macros from bp-asm.h.
50093         (__frexpl): Do not use BP_SYM.
50094         (frexpl): Likewise.
50095         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
50096         "bp-asm.h".
50097         (PARMS): Do not use macros from bp-asm.h.
50098         (__remquo): Do not use BP_SYM.
50099         (remquo): Likewise.
50100         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
50101         "bp-asm.h".
50102         (PARMS): Do not use macros from bp-asm.h.
50103         (__remquof): Do not use BP_SYM.
50104         (remquof): Likewise.
50105         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
50106         "bp-asm.h".
50107         (PARMS): Do not use macros from bp-asm.h.
50108         (__remquol): Do not use BP_SYM.
50109         (remquol): Likewise.
50110         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
50111         "bp-asm.h".
50112         (PARMS): Do not use macros from bp-asm.h.
50113         (DEST): Likewise.
50114         (SRC): Likewise.
50115         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
50116         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
50117         "bp-asm.h".
50118         (PARMS): Do not use macros from bp-asm.h.
50119         (strlen): Do not use BP_SYM.
50120         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
50121         "bp-asm.h".
50122         (PARMS): Do not use macros from bp-asm.h.
50123         (S1): Likewise.
50124         (S2): Likewise.
50125         (SIZE): Likewise.
50126         (__mpn_add_n): Do not use BP_SYM.
50127         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
50128         "bp-asm.h".
50129         (PARMS): Do not use macros from bp-asm.h.
50130         (S1): Likewise.
50131         (SIZE): Likewise.
50132         (__mpn_addmul_1): Do not use BP_SYM.
50133         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
50134         weak_alias.
50135         (bzero): Likewise.
50136         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
50137         "bp-asm.h".
50138         (PARMS): Do not use macros from bp-asm.h.
50139         (S): Likewise.
50140         (SIZE): Likewise.
50141         (__mpn_lshift): Do not use BP_SYM.
50142         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
50143         "bp-asm.h".
50144         (PARMS): Do not use macros from bp-asm.h.
50145         (DEST): Likewise.
50146         (SRC): Likewise.
50147         (LEN): Likewise.
50148         (memcpy): Likewise.  Do not use BP_SYM.
50149         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
50150         libc_hidden_def and weak_alias.
50151         (mempcpy): Do not use BP_SYM in weak_alias.
50152         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
50153         "bp-asm.h".
50154         (PARMS): Do not use macros from bp-asm.h.
50155         (DEST): Likewise.
50156         (LEN): Likewise.
50157         [!BZERO_P] (CHR): Likewise.
50158         (memset): Likewise.  Do not use BP_SYM.
50159         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
50160         "bp-asm.h".
50161         (PARMS): Do not use macros from bp-asm.h.
50162         (S1): Likewise.
50163         (SIZE): Likewise.
50164         (__mpn_mul_1): Do not use BP_SYM.
50165         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
50166         "bp-asm.h".
50167         (PARMS): Do not use macros from bp-asm.h.
50168         (S): Likewise.
50169         (SIZE): Likewise.
50170         (__mpn_rshift): Do not use BP_SYM.
50171         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
50172         "bp-asm.h".
50173         (PARMS): Do not use macros from bp-asm.h.
50174         (STR): Likewise.
50175         (CHR): Likewise.
50176         (strchr): Likewise.  Do not use BP_SYM.
50177         (index): Do not use BP_SYM in weak_alias.
50178         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
50179         "bp-asm.h".
50180         (PARMS): Do not use macros from bp-asm.h.
50181         (DEST): Likewise.
50182         (SRC): Likewise.
50183         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
50184         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
50185         "bp-asm.h".
50186         (PARMS): Do not use macros from bp-asm.h.
50187         (strlen): Do not use BP_SYM.
50188         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
50189         "bp-asm.h".
50190         (PARMS): Do not use macros from bp-asm.h.
50191         (S1): Likewise.
50192         (S2): Likewise.
50193         (SIZE): Likewise.
50194         (__mpn_sub_n): Do not use BP_SYM.
50195         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
50196         "bp-asm.h".
50197         (PARMS): Do not use macros from bp-asm.h.
50198         (S1): Likewise.
50199         (SIZE): Likewise.
50200         (__mpn_submul_1): Do not use BP_SYM.
50201         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
50202         "bp-asm.h".
50203         (PARMS): Do not use macros from bp-asm.h.
50204         (S1): Likewise.
50205         (S2): Likewise.
50206         (SIZE): Likewise.
50207         (__mpn_add_n): Do not use BP_SYM.
50208         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
50209         weak_alias.
50210         (bzero): Likewise.
50211         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
50212         "bp-asm.h".
50213         (PARMS): Do not use macros from bp-asm.h.
50214         (BLK2): Likewise.
50215         (LEN): Likewise.
50216         (memcmp): Do not use BP_SYM.
50217         (bcmp): Do not use BP_SYM in weak_alias.
50218         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
50219         "bp-asm.h".
50220         (PARMS): Do not use macros from bp-asm.h.
50221         (DEST): Likewise.
50222         (SRC): Likewise.
50223         (LEN): Likewise.
50224         (memcpy): Likewise.  Do not use BP_SYM.
50225         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
50226         "bp-asm.h".
50227         (PARMS): Do not use macros from bp-asm.h.
50228         (DEST): Likewise.
50229         (SRC): Likewise.
50230         (LEN): Likewise.
50231         (memmove): Likewise.  Do not use BP_SYM.
50232         * sysdeps/i386/i686/mempcpy.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         (SRC): Likewise.
50237         (LEN): Likewise.
50238         (__mempcpy): Likewise.  Do not use BP_SYM.
50239         (mempcpy): Do not use BP_SYM in weak_alias.
50240         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
50241         "bp-asm.h".
50242         (PARMS): Do not use macros from bp-asm.h.
50243         (DEST): Likewise.
50244         (LEN): Likewise.
50245         [!BZERO_P] (CHR): Likewise.
50246         (memset): Likewise.  Do not use BP_SYM.
50247         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
50248         "bp-asm.h".
50249         (PARMS): Do not use macros from bp-asm.h.
50250         (STR2): Likewise.
50251         (strcmp): Do not use BP_SYM.
50252         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
50253         "bp-asm.h".
50254         (PARMS): Do not use macros from bp-asm.h.
50255         (STR): Likewise.
50256         (DELIM): Likewise.
50257         [USE_AS_STRTOK_R] (SAVE): Likewise.
50258         (FUNCTION): Likewise.  Do not use BP_SYM.
50259         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
50260         aliases.
50261         (strtok_r): Likewise.
50262         (__GI___strtok_r): Likewise.
50263         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
50264         (PARMS): Do not use macros from bp-asm.h.
50265         (S): Likewise.
50266         (SIZE): Likewise.
50267         (__mpn_lshift): Do not use BP_SYM.
50268         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
50269         (PARMS): Do not use macros from bp-asm.h.
50270         (STR): Likewise.
50271         (CHR): Likewise.
50272         (__memchr): Do not use BP_SYM.
50273         (memchr): Do not use BP_SYM in weak_alias.
50274         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
50275         (PARMS): Do not use macros from bp-asm.h.
50276         (BLK2): Likewise.
50277         (LEN): Likewise.
50278         (memcmp): Do not use BP_SYM.
50279         (bcmp): Do not use BP_SYM in weak_alias.
50280         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
50281         (PARMS): Do not use macros from bp-asm.h.
50282         (S1): Likewise.
50283         (SIZE): Likewise.
50284         (__mpn_mul_1): Do not use BP_SYM.
50285         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
50286         "bp-asm.h".
50287         (PARMS): Do not use macros from bp-asm.h.
50288         (STR): Likewise.
50289         (CHR): Likewise.
50290         (__rawmemchr): Do not use BP_SYM.
50291         (rawmemchr): Do not use BP_SYM in weak_alias.
50292         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
50293         (PARMS): Do not use macros from bp-asm.h.
50294         (S): Likewise.
50295         (SIZE): Likewise.
50296         (__mpn_rshift): Do not use BP_SYM.
50297         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
50298         (PARMS): Do not use macros from bp-asm.h.
50299         (SIGMSK): Likewise.
50300         (__sigsetjmp): Likewise.  Do not use BP_SYM.
50301         * sysdeps/i386/start.S: Do not include "bp-sym.h".
50302         (_start): Do not use BP_SYM.
50303         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
50304         (PARMS): Do not use macros from bp-asm.h.
50305         (DEST): Likewise.
50306         (SRC): Likewise.
50307         (__stpcpy): Likewise.  Do not use BP_SYM.
50308         (stpcpy): Do not use BP_SYM in weak_alias.
50309         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
50310         "bp-asm.h".
50311         (PARMS): Do not use macros from bp-asm.h.
50312         (DEST): Likewise.
50313         (SRC): Likewise.
50314         (LEN): Likewise.
50315         (__stpncpy): Likewise.  Do not use BP_SYM.
50316         (stpncpy): Do not use BP_SYM in weak_alias.
50317         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
50318         (PARMS): Do not use macros from bp-asm.h.
50319         (STR): Likewise.
50320         (CHR): Likewise.
50321         (strchr): Likewise.  Do not use BP_SYM.
50322         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
50323         "bp-asm.h".
50324         (PARMS): Do not use macros from bp-asm.h.
50325         (STR): Likewise.
50326         (CHR): Likewise.
50327         (__strchrnul): Likewise.  Do not use BP_SYM.
50328         (strchrnul): Do not use BP_SYM in weak_alias.
50329         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
50330         "bp-asm.h".
50331         (PARMS): Do not use macros from bp-asm.h.
50332         (STOP): Likewise.
50333         (strcspn): Do not use BP_SYM.
50334         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
50335         "bp-asm.h".
50336         (PARMS): Do not use macros from bp-asm.h.
50337         (STR): Likewise.
50338         (STOP): Likewise.
50339         (strpbrk): Likewise.  Do not use BP_SYM.
50340         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
50341         "bp-asm.h".
50342         (PARMS): Do not use macros from bp-asm.h.
50343         (STR): Likewise.
50344         (CHR): Likewise.
50345         (strrchr): Likewise.  Do not use BP_SYM.
50346         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
50347         (PARMS): Do not use macros from bp-asm.h.
50348         (SKIP): Likewise.
50349         (strspn): Do not use BP_SYM.
50350         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
50351         (PARMS): Do not use macros from bp-asm.h.
50352         (STR): Likewise.
50353         (DELIM): Likewise.
50354         (SAVE): Likewise.
50355         (FUNCTION): Likewise.  Do not use BP_SYM.
50356         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
50357         aliases.
50358         (strtok_r): Likewise.
50359         (__GI___strtok_r): Likewise.
50360         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
50361         (PARMS): Do not use macros from bp-asm.h.
50362         (S1): Likewise.
50363         (S2): Likewise.
50364         (SIZE): Likewise.
50365         (__mpn_sub_n): Do not use BP_SYM.
50366         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
50367         "bp-asm.h".
50368         (PARMS): Do not use macros from bp-asm.h.
50369         (S1): Likewise.
50370         (SIZE): Likewise.
50371         (__mpn_submul_1): Do not use BP_SYM.
50372         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
50373         <bp-sym.h>.
50374         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
50375         and <bp-asm.h>.
50376         (PARMS): Do not use macros from bp-asm.h.
50377         (FLAGS): Likewise.
50378         (PTID): Likewise.
50379         (TLS): Likewise.
50380         (CTID): Likewise.
50381         (__clone): Do not use BP_SYM.
50382         (clone): Do not use BP_SYM in weak_alias.
50383         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
50384         and <bp-asm.h>.
50385         (PARMS): Do not use macros from bp-asm.h.
50386         (LEN): Likewise.
50387         (__mmap64): Do not use BP_SYM.
50388         (mmap64): Do not use BP_SYM in weak_alias.
50389         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
50390         <bp-sym.h> and <bp-asm.h>.
50391         (PARMS): Do not use macros from bp-asm.h.
50392         (__posix_fadvise64_l64): Do not use BP_SYM.
50393         * sysdeps/unix/sysv/linux/i386/semtimedop.S
50394         (PARMS): Do not use macros from bp-asm.h.
50395         (NSOPS): Likewise.
50396         (semtimedop): Do not use BP_SYM.
50397         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
50398         and <bp-asm.h>.
50400 2013-02-21  Allan McRae  <allan@archlinux.org>
50402         * manual/message.texi (Charset conversion in gettext):
50403         Move @end statement to beginning of line.
50405 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50407         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
50408         static.
50409         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
50410         Likewise.
50412         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
50413         (denorm): Likewise.
50414         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
50415         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
50417 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50419         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
50420         tail-call to the resolved function if pltexit isn't needed.
50422 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50424         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
50425         or Y being zero as being unlikely.
50426         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
50427         Likewise.
50429 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
50431         * manual/nss.texi (System Databases and Name Service Switch):
50432         Remove frobnicate @pxref.
50434 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
50436         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
50437         __attribute__ ((unused)) to __attribute__ ((__unused__)).
50439 2013-02-20  Petr Machata  <pmachata@redhat.com>
50441         * elf/elf.h (R_ARM_TARGET1): New macro.
50442         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
50443         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
50444         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
50445         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
50446         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
50447         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
50448         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
50449         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
50450         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
50451         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
50452         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
50453         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
50454         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
50455         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
50456         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
50457         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
50458         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
50459         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
50460         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
50461         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
50462         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
50463         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
50464         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
50465         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
50466         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
50467         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
50468         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
50469         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
50470         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
50471         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
50472         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
50473         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
50474         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
50475         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
50476         (R_ARM_THM_GOT_BREL12): Likewise.
50477         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
50478         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
50479         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
50480         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
50481         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
50482         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
50483         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
50484         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
50485         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
50487 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
50489         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
50490         __attribute_used__ to __attribute__ ((unused)).
50492 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
50494         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
50495         powerpc mpa.c.
50496         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
50497         comment formatting.
50498         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
50500 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
50502         [BZ #13550]
50503         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
50504         Remove macro.
50505         (ENTER): Remove both macro definitions.
50506         (LEAVE): Likewise.
50507         (CHECK_BOUNDS_LOW): Likewise.
50508         (CHECK_BOUNDS_HIGH): Likewise.
50509         (CHECK_BOUNDS_BOTH): Likewise.
50510         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
50511         (RETURN_BOUNDED_POINTER): Likewise.
50512         (RETURN_NULL_BOUNDED_POINTER): Likewise.
50513         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
50514         (POP_ERRNO_LOCATION_RETURN): Likewise.
50515         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
50516         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
50517         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
50518         macros.
50519         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50520         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
50521         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
50522         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
50523         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
50524         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
50525         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
50526         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
50527         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
50528         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
50529         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
50530         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
50531         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
50532         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
50533         removed macros.
50534         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50535         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
50536         macros.
50537         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
50538         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
50539         * sysdeps/i386/i586/memset.S (memset): Likewise.
50540         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
50541         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50542         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
50543         macros.
50544         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
50545         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
50546         Change uses of L(2) to L(out).
50547         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
50548         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
50549         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
50550         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
50551         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
50552         removed macros.
50553         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50554         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
50555         macros.
50556         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
50557         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
50558         (RETURN): Do not use macro LEAVE.
50559         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
50560         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
50561         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
50562         * sysdeps/i386/i686/memset.S (memset): Likewise.
50563         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
50564         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
50565         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
50566         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
50567         Likewise.
50568         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
50569         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
50570         L(1_2) and L(1_3) into L(1).
50571         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
50572         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
50573         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
50574         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
50575         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
50576         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
50577         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
50578         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50579         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
50580         macros.
50581         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
50582         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
50583         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
50584         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
50585         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
50586         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
50587         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
50588         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
50589         * sysdeps/i386/strcspn.S (strcspn): Likewise.
50590         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
50591         * sysdeps/i386/strrchr.S (strrchr): Likewise.
50592         * sysdeps/i386/strspn.S (strspn): Likewise.
50593         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
50594         conditional code.
50595         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
50596         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
50597         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
50598         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
50599         L(1_3) into L(1_1).
50600         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
50601         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
50602         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
50603         macros.
50604         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50606 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
50608         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
50609         macro.
50611 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
50613         * math/atest-exp.c (exp_mpn): Remove ROUND.
50614         * math/atest-exp2.c (exp_mpn): Likewise.
50615         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
50617         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
50618         * stdlib/tst-tls-atexit-lib.c: Likewise.
50619         * stdlib/tst-tls-atexit.c: Likewise.
50621 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
50623         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
50624         and __attribute_alloc_size__.
50626 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
50628         * include/programs/xmalloc.h: Change __attribute_alloc_size to
50629         __attribute_alloc_size__.
50630         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
50631         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
50633 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
50635         * include/programs/xmalloc.h: New file.
50636         * catgets/gencat.c: Include it.
50637         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
50638         * elf/pldd.c: Likewise.
50639         * iconv/iconv_charmap.c: Likewise.
50640         * iconv/iconvconfig.c: Likewise.
50641         * iconv/strtab.c: Likewise.
50642         * locale/programs/locale.c: Likewise.
50643         * locale/programs/localedef.h: Likewise.
50644         * locale/programs/simple-hash.c: Likewise.
50645         * nscd/nscd.h: Likewise.
50646         * nss/makedb.c: Likewise.
50647         * sysdeps/generic/ldconfig.h: Likewise.
50649 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
50651         * Versions.def: Add GLIBC_2.18.
50652         * include/link.h (struct link_map): New member l_tls_dtor_count.
50653         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
50654         (__call_tls_dtors): Likewise.
50655         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
50656         __cxa_thread_atexit_impl.
50657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
50658         Likewise.
50659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
50660         Likewise.
50661         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
50662         Likewise.
50663         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
50664         Likewise.
50665         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
50666         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
50667         Likewise.
50668         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
50669         Likewise.
50670         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
50671         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
50672         Likewise.
50673         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
50674         (tests): Add test case tst-tls-atexit.
50675         (modules-names): Add shared library for tst-tls-atexit.
50676         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
50677         (GLIBC_PRIVATE): Add __call_tls_dtors.
50678         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
50679         for libstdc++.
50680         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
50681         * stdlib/tst-tls-atexit.c: New test case.
50682         * stdlib/tst-tls-atexit-lib.c: New test case.
50684         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
50686         * elf/Versions (ld): Add _dl_find_dso_for_object.
50687         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
50688         * elf/dl-open.c (_dl_find_dso_for_object): New function.
50689         (dl_open_worker): Use _dl_find_dso_for_object.
50690         * elf/dl-sym.c (do_sym): Likewise.
50691         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
50693 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50695         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
50696         Syntactic changes only.
50697         (_dl_runtime_profile): Do a tail-call to the resolved function.
50699 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
50701         [BZ #13550]
50702         * sysdeps/x86_64/bp-asm.h: Remove file.
50703         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
50704         <bp-sym.h> and <bp-asm.h>.
50705         (__clone): Do not use BP_SYM.
50706         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
50707         <bp-sym.h> and <bp-asm.h>.
50708         * sysdeps/unix/x86_64/sysdep.S: Likewise.
50709         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
50710         "bp-asm.h".
50711         (_setjmp): Do not use BP_SYM.
50712         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
50713         "bp-asm.h".
50714         (setjmp): Do not use BP_SYM.
50715         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
50716         libc_hidden_def.
50717         (mempcpy): Do not use BP_SYM in weak_alias.
50718         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
50719         "bp-asm.h".
50720         (strchr): Do not use BP_SYM.
50721         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
50722         "bp-asm.h".
50723         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
50724         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
50725         (_start): Do not use BP_SYM.
50726         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
50727         "bp-asm.h".
50728         (strcat): Do not use BP_SYM.
50729         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
50730         "bp-asm.h".
50731         (STRCMP): Do not use BP_SYM.
50732         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
50733         "bp-asm.h".
50734         (STRCPY): Do not use BP_SYM.
50735         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
50736         "bp-asm.h".
50737         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
50738         "bp-asm.h".
50739         (FUNCTION): Do not use BP_SYM.
50740         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
50741         weak_alias.
50742         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
50744 2013-02-17  Andreas Jaeger  <aj@suse.de>
50746         * time/Versions: Sort entries.
50747         * string/Versions: Likewise.
50748         * resolv/Versions: Likewise.
50749         * posix/Versions: Likewise.
50750         * iconv/Versions: Likewise.
50751         * elf/Versions: Likewise.
50752         * wcsmbs/Versions: Likewise.
50754 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50756         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
50757         loop termination condition.
50759         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
50760         variable to calculate EZ.
50761         (__sqr): Likewise.
50763         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
50764         the lower precision input.
50766 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
50768         [BZ #13550]
50769         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
50770         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
50771         (run-via-rtld-prefix): Do not handle %-bp tests.
50772         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
50773         (all-object-suffixes): Remove .ob.
50774         (bppfx): Remove variable.
50775         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
50776         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
50777         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
50778         [$(build-bounded) = yes] (libtype.ob): Likewise.
50779         * Makerules (elide-routines.ob): Remove variable.
50780         (do-tests-clean): Do not handle *-bp.out.
50781         (common-mostlyclean): Do not handle *-bp and *-bp.out.
50782         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
50783         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
50784         (tests): Do not include $(tests-bp.out).
50785         (xtests): Do not include $(xtests-bp.out).
50786         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
50787         [$(build-bounded) = yes] ($(addprefix
50788         $(objpfx),$(binaries-bounded))): Remove rule.
50789         ($(objpfx)%-bp.out): Remove rule.
50790         * config.make.in (build-bounded): Remove variable.
50791         * crypt/Makefile [$(build-bounded) = yes]
50792         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
50793         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
50794         append to variable.
50795         [$(build-bounded) = yes] (install-lib): Likewise.
50796         [$(build-bounded) = yes] (generated): Likewise.
50797         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
50798         Remove rule.
50799         * intl/Makefile [$(build-bounded) = yes]
50800         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
50801         * math/Makefile [$(build-bounded) = yes]
50802         ($(tests:%=$(objpfx)%-bp): Likewise.
50803         * misc/Makefile [$(build-bounded) = yes]
50804         ($(objpfx)tst-tsearch-bp): Likewise.
50805         * nptl/Makeconfig (bounded-thread-library): Remove variable.
50806         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
50807         Remove dependency.
50808         * string/Makefile (o-objects.ob): Remove variable.
50809         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
50810         (CFLAGS-.ob): Remove variable.
50811         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
50812         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
50813         both definitions of variable.
50814         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
50815         (ASFLAGS-.ob): Remove variable.
50817 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
50819         [BZ #13550]
50820         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
50821         Remove __BOUNDED_POINTERS__ from condition.
50822         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
50823         * string/bits/string2.h [!__NO_STRING_INLINES &&
50824         !__BOUNDED_POINTERS__]: Likewise.
50825         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
50826         Likewise.
50827         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
50828         Remove conditional code.
50829         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
50830         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
50831         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
50832         condition.
50834         [BZ #13550]
50835         * csu/libc-start.c: Do not include <bp-sym.h>.
50836         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
50837         * elf/dl-open.c: Do not include <bp-sym.h>.
50838         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
50839         * math/fegetenv.c: Do not include <bp-sym.h>.
50840         (fegetenv): Do not use BP_SYM in versioned symbols.
50841         * nptl/sysdeps/pthread/bits/libc-lockP.h
50842         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
50843         <bp-sym.h>.
50844         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50845         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
50846         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50847         (__pthread_mutex_destroy): Likewise.
50848         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50849         (__pthread_mutex_lock): Likewise.
50850         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50851         (__pthread_mutex_trylock): Likewise.
50852         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50853         (__pthread_mutex_unlock): Likewise.
50854         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50855         (__pthread_mutexattr_init): Likewise.
50856         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50857         (__pthread_mutexattr_destroy): Likewise.
50858         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50859         (__pthread_mutexattr_settype): Likewise.
50860         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50861         (__pthread_rwlock_init): Likewise.
50862         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50863         (__pthread_rwlock_destroy): Likewise.
50864         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50865         (__pthread_rwlock_rdlock): Likewise.
50866         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50867         (__pthread_rwlock_tryrdlock): Likewise.
50868         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50869         (__pthread_rwlock_wrlock): Likewise.
50870         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50871         (__pthread_rwlock_trywrlock): Likewise.
50872         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50873         (__pthread_rwlock_unlock): Likewise.
50874         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50875         (__pthread_key_create): Likewise.
50876         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50877         (__pthread_setspecific): Likewise.
50878         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50879         (__pthread_getspecific): Likewise.
50880         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
50881         Likewise.
50882         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50883         (_pthread_cleanup_push_defer): Likewise.
50884         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50885         (_pthread_cleanup_pop_restore): Likewise.
50886         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50887         (pthread_setcancelstate): Likewise.
50888         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
50889         <bp-sym.h>.
50890         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
50891         (memchr): Do not use BP_SYM in weak_alias.
50892         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
50893         (fegetenv): Do not use BP_SYM in versioned symbols.
50894         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
50895         (fesetenv): Do not use BP_SYM in versioned symbols.
50896         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
50897         (feupdateenv): Do not use BP_SYM in versioned symbols.
50898         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
50899         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
50900         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
50901         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
50902         (open64): Do not use BP_SYM in weak_alias.
50903         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
50904         (fegetenv): Do not use BP_SYM in versioned symbols.
50905         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
50906         (fesetenv): Do not use BP_SYM in versioned symbols.
50907         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
50908         (feupdateenv): Do not use BP_SYM in versioned symbols.
50909         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
50910         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
50911         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
50912         (feraiseexcept): Do not use BP_SYM in versioned symbols.
50913         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
50914         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
50915         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
50916         <bp-sym.h>.
50917         (__libc_start_main): Do not use BP_SYM.
50919 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
50921         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
50922         redundant return line.
50923         (norm): Likewise.
50924         (denorm): Likewise.
50925         (dbl_mp): Likewise.
50926         (sub_magnitudes): Likewise.
50927         (__add): Likewise.
50928         (__sub): Likewise.
50929         (__mul): Likewise.
50930         (__inv): Likewise.
50931         (__dvd): Likewise.
50932         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
50933         (norm): Likewise.
50934         (denorm): Likewise.
50935         (dbl_mp): Likewise.
50936         (sub_magnitudes): Likewise.
50937         (__add): Likewise.
50938         (__sub): Likewise.
50939         (__mul): Likewise.
50940         (__inv): Likewise.
50941         (__dvd): Likewise.
50943         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
50944         instead of __mul.
50945         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
50946         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
50947         (cc32): Likewise.
50949         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
50950         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
50951         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
50952         of __mul for squares.
50953         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
50954         function
50955         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
50956         Likewise.
50957         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
50958         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
50960 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
50962         [BZ #13550]
50963         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
50964         code.
50965         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
50966         prototype or function definition.  Rename ubp_* variables and
50967         parameters.  Remove argv definitions conditional on
50968         [__BOUNDED_POINTERS__].
50969         * debug/backtrace.c (__backtrace): Do not use __unbounded.
50970         * elf/dl-runtime.c (_dl_fixup): Likewise.
50971         * include/set-hooks.h (RUN_HOOK): Likewise.
50972         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
50973         definition.
50974         * string/strcpy.c (strcpy): Do not use __unbounded.
50975         * sysdeps/generic/frame.h (struct layout): Likewise.
50976         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
50977         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
50978         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
50979         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
50980         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
50981         (__backtrace): Likewise.
50982         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
50983         use __ptrvalue.
50984         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
50985         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
50986         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
50987         Likewise.
50988         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
50989         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
50990         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
50991         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
50992         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
50993         Do not use __unbounded.
50994         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
50995         Rename __unboundedrlimits parameter to rlimits in prototype.
50996         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
50997         Do not use __unbounded.
50998         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
50999         not use __ptrvalue.
51000         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
51001         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
51002         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
51003         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
51004         __ptrvalue or __unbounded.
51005         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
51006         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
51007         use __unbounded.
51008         (__new_msgctl): Do not use __ptrvalue.
51009         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
51010         __unbounded.
51011         (__libc_msgrcv): Do not use __ptrvalue.
51012         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
51013         startup_info): Do not use __unbounded.
51014         (__libc_start_main): Likewise.  Rename ubp_* variables and
51015         parameters.  Remove argv definitions conditional on
51016         [__BOUNDED_POINTERS__].
51017         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
51018         __ptrvalue.
51019         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
51020         use __unbounded.
51021         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
51022         or __ptrvalue.
51023         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
51024         use __unbounded.
51025         (__new_shmctl): Do not use __ptrvalue.
51026         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
51027         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
51028         Likewise.
51029         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
51030         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
51031         (__libc_sigaction): Likewise.
51032         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
51033         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
51034         Likewise.
51035         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
51037 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
51039         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
51041         * string/mempcpy.c: Implement by calling memcpy.
51043 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
51045         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
51047         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
51048         evaluation.
51050         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
51051         values in the mantissa.
51053         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
51054         minimize writes to Z.
51055         (sub_magnitudes): Simplify code a bit.
51057 2013-02-12  Roland McGrath  <roland@hack.frob.com>
51059         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
51060         from the message.  The linker prefixes all warnings with that already.
51062 2013-02-12  Andreas Schwab  <schwab@suse.de>
51064         [BZ #15078]
51065         * posix/regexec.c (extend_buffers): Add parameter min_len.
51066         (check_matching): Pass minimum needed length.
51067         (clean_state_log_if_needed): Likewise.
51068         (get_subexp): Likewise.
51069         * posix/Makefile (tests): Add bug-regex34.
51070         (bug-regex34-ENV): Define.
51071         * posix/bug-regex34.c: New file.
51073         [BZ #11561]
51074         * posix/regcomp.c (parse_bracket_exp): When looking up collating
51075         elements compare against the byte sequence of it, not its name.
51076         * posix/Makefile (tests): Add bug-regex35.
51077         (bug-regex35-ENV): Define.
51078         * posix/bug-regex35.c: New file.
51080 2013-02-11  Tom de Vries  <tom@codesourcery.com>
51082         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
51083         comment.
51084         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
51085         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
51086         (CHECK_EOL): Add undef.
51088 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
51090         * bits/stdlib-bsearch.h: New file.
51091         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
51092         * stdlib/stdlib.h: Likewise.
51094 2013-02-11  Roland McGrath  <roland@hack.frob.com>
51096         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
51097         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
51098         declaration.
51099         * manual/search.texi (Array Search Function): Add missing const in
51100         lfind prototype.
51101         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
51102         declaration to use rlim_t.
51103         (Basic Scheduling Functions): Remove erroneous const from
51104         sched_getparam prototype.  Remove erroneous * from
51105         sched_get_priority_max and sched_get_priority_min prototypes.
51106         (Resource Usage): Fix summary @comment on vtimes to refer to
51107         sys/vtimes.h rather than vtimes.h.
51108         Add missing *s in vtimes prototype.
51109         (Limits on Resources): Fix ulimit prototype to return long int.
51110         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
51111         prototypes to use long int rather than double.
51112         (BSD Random): Fix initstate and setstate to use char *, not void *.
51113         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
51114         prototype to make second argument 'struct aiocb64 *const[]'.
51115         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
51116         (Status of AIO Operations): Remove erroneous const in aio_return and
51117         aio_return64 prototypes.
51118         (Synchronizing I/O): Fix sync prototype to return void.
51119         * manual/startup.texi (Suboptions): Remove an erroneous const in
51120         getsubopt prototype.
51121         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
51122         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
51123         use size_t rather than int.
51124         (Scanning All Users): Likewise for getpwent_r.
51125         (Setting Groups): Add missing const to setgroups prototype.
51126         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
51127         * manual/socket.texi (Host Names): Fix gethostbyaddr and
51128         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
51129         'const void *' rather than 'const char *'.
51130         (Host Address Functions): Likewise for inet_ntop.
51131         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
51132         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
51133         ssize_t for return value.
51134         (Sending Data): Likewise for send, sendto, sendmsg.
51135         (Socket Option Functions): Add a missing const in setsockopt prototype.
51136         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
51137         use wchar_t for the argument.
51138         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
51139         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
51140         take no arguments.
51141         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
51142         double/float/long double for second argument.
51143         Fix return types of significand, significandf, significandl.
51144         * manual/filesys.texi (Setting Permissions): Use mode_t for second
51145         argument in fchmod prototype.
51146         (File Owner): Use uid_t and gid_t in fchown prototype.
51147         (File Times): Add const to utimes, futimes, and lutimes prototypes.
51148         (Making Special Files): Use mode_t and dev_t in mknod prototype.
51149         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
51150         use 'const struct dirent **' as argument types to CMP function pointer
51151         argument.
51152         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
51153         (File Times): Fix summary magic @comment for struct utimbuf and utime
51154         to refer to utime.h, not time.h.
51155         * manual/string.texi (Argz Functions): Add missing const in
51156         argz_extract and argz_next prototypes.
51157         (Finding Tokens in a String): Likewise for basename.
51158         (String/Array Comparison): Fix typo in wcscasecmp prototype.
51159         (Copying and Concatenation): Fix typo in wmemmove prototype.
51160         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
51161         (Signal Stack): Remove erroneous const in sigstack prototype.
51162         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
51163         prototype.
51164         (Simple Calendar Time): Likewise for stime.
51165         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
51166         prototype.
51167         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
51168         say sys/sysctl.h instead.
51169         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
51170         and vsyslog prototypes.
51172 2013-02-11  Tom de Vries  <tom@codesourcery.com>
51174         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
51175         Remove.
51177 2013-02-11  Roland McGrath  <roland@hack.frob.com>
51179         * misc/sys/mman.h: Fix typo in mremap comment.
51181 2013-02-08  Roland McGrath  <roland@hack.frob.com>
51183         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
51184         the '\0' terminator.
51186 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
51188         [BZ #13550]
51189         * debug/segfault.c: Don't include <bp-checks.h>.
51190         * sysdeps/generic/bp-checks.h: Remove file.
51191         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
51192         (__GETDENTS): Don't use CHECK_N.
51193         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
51194         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
51195         (__getgroups): Don't use CHECK_N.
51196         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
51197         (setgroups): Don't use CHECK_N.
51198         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
51199         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
51200         (__libc_msgrcv): Don't use CHECK_N.
51201         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
51202         (__libc_msgsnd): Don't use CHECK_N.
51203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
51204         <bp-checks.h>.
51205         (__libc_pread): Don't use CHECK_N.
51206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
51207         include <bp-checks.h>.
51208         (__libc_pread64): Don't use CHECK_N.
51209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
51210         include <bp-checks.h>.
51211         (__libc_pwrite): Don't use CHECK_N.
51212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
51213         include <bp-checks.h>.
51214         (__libc_pwrite64): Don't use CHECK_N.
51215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
51216         <bp-checks.h>.
51217         (__libc_pread): Don't use CHECK_N.
51218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
51219         include <bp-checks.h>.
51220         (__libc_pread64): Don't use CHECK_N.
51221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
51222         include <bp-checks.h>.
51223         (__libc_pwrite): Don't use CHECK_N.
51224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
51225         include <bp-checks.h>.
51226         (__libc_pwrite64): Don't use CHECK_N.
51227         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
51228         (do_pread): Don't use CHECK_N.
51229         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
51230         (do_pread64): Don't use CHECK_N.
51231         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
51232         (do_pwrite): Don't use CHECK_N.
51233         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
51234         (do_pwrite64): Don't use CHECK_N.
51235         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
51236         (__libc_readv): Don't use CHECK_N.
51237         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
51238         (semop): Don't use CHECK_N.
51239         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
51240         <bp-checks.h>.
51241         (semtimedop): Don't use CHECK_N.
51242         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
51243         (__libc_pread): Don't use CHECK_N.
51244         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
51245         <bp-checks.h>.
51246         (__libc_pread64): Don't use CHECK_N.
51247         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
51248         <bp-checks.h>.
51249         (__libc_pwrite): Don't use CHECK_N.
51250         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
51251         <bp-checks.h>.
51252         (__libc_pwrite64): Don't use CHECK_N.
51253         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
51254         <bp-checks.h>.
51255         (__libc_msgrcv): Don't use CHECK_N.
51256         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
51257         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
51258         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
51259         (__libc_writev): Don't use CHECK_N.
51261 2013-02-08  Roland McGrath  <roland@hack.frob.com>
51263         * string/strcpy.c: Removed unused variable.
51265         * Makeconfig (+sysdep-includes): Define with := rather than =.
51266         Use an existing include/ subdir of each sysdeps dir before it.
51268 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
51270         * nscd/connection.c (register_traced_file): Comment function.
51271         [HAVE_INOTIFY] (union __inev): Define.
51272         [HAVE_INOTIFY] (inotify_check_files): New function.
51273         [HAVE_INOTIFY] (clear_db_cache): Likewise.
51274         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
51275         clear_db_cache.
51276         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
51278 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
51280         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
51281         loaded if not already and that a failure is permanent.
51283 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
51285         [BZ #15006]
51286         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
51287         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
51289 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
51291         [BZ #13550]
51292         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
51293         (CHECK_1_NULL_OK): Likewise.
51294         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
51295         (__fxstat): Do not use CHECK_1.
51296         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
51297         <bp-checks.h>.
51298         (___fxstat64): Do not use CHECK_1.
51299         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
51300         <bp-checks.h>.
51301         (__fxstatat): Do not use CHECK_1.
51302         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
51303         <bp-checks.h>.
51304         (__fxstatat64): Do not use CHECK_1.
51305         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
51306         <bp-checks.h>.
51307         (__fxstat): Do not use CHECK_1.
51308         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
51309         <bp-checks.h>.
51310         (__fxstatat): Do not use CHECK_1.
51311         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
51312         <bp-checks.h>.
51313         (__getresgid): Do not use CHECK_1.
51314         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
51315         <bp-checks.h>.
51316         (__getresuid): Do not use CHECK_1.
51317         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
51318         <bp-checks.h>.
51319         (__lxstat): Do not use CHECK_1.
51320         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
51321         <bp-checks.h>.
51322         (__old_msgctl): Do not use CHECK_1.
51323         (__new_msgctl): Likewise.
51324         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
51325         <bp-checks.h>.
51326         (__new_setrlimit): Do not use CHECK_1.
51327         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
51328         <bp-checks.h>.
51329         (__old_shmctl): Do not use CHECK_1.
51330         (__new_shmctl): Likewise.
51331         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
51332         <bp-checks.h>.
51333         (__xstat): Do not use CHECK_1.
51334         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
51335         (__lxstat): Do not use CHECK_1.
51336         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
51337         <bp-checks.h>.
51338         (___lxstat64): Do not use CHECK_1.
51339         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
51340         (__old_msgctl): Do not use CHECK_1.
51341         (__new_msgctl): Likewise.
51342         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
51343         <bp-checks.h>.
51344         (__gettimeofday): Do not use CHECK_1.
51345         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
51346         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
51347         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
51348         <bp-checks.h>.
51349         (__gettimeofday): Do not use CHECK_1.
51350         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
51351         (__old_shmctl): Do not use CHECK_1_NULL_OK.
51352         (__new_shmctl): Do not use CHECK_1.
51353         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
51354         <bp-checks.h>.
51355         (do_sigtimedwait): Do not use CHECK_1.
51356         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
51357         <bp-checks.h>.
51358         (do_sigwaitinfo): Do not use CHECK_1.
51359         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
51360         <bp-checks.h>.
51361         (msgctl): Do not use CHECK_1.
51362         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
51363         <bp-checks.h>.
51364         (shmctl): Do not use CHECK_1.
51365         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
51366         (ustat): Do not use CHECK_1.
51367         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
51368         <bp-checks.h>.
51369         (__fxstat): Do not use CHECK_1.
51370         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
51371         <bp-checks.h>.
51372         (__fxstatat): Do not use CHECK_1.
51373         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
51374         <bp-checks.h>.
51375         (__lxstat): Do not use CHECK_1.
51376         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
51377         <bp-checks.h>.
51378         (__xstat): Do not use CHECK_1.
51379         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
51380         (__xstat): Do not use CHECK_1.
51381         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
51382         (___xstat64): Do not use CHECK_1.
51384         [BZ #13550]
51385         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
51386         definitions.
51387         (CHECK_BOUNDS_HIGH): Likewise.
51388         * string/strcpy.c: Do not include <bp-checks.h>.
51389         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
51391 2013-02-07  Roland McGrath  <roland@hack.frob.com>
51393         * nscd/nscd-client.h (__nscd_drop_map_ref):
51394         Add __attribute__ ((unused)).
51395         * nis/nss-nisplus.h (niserr2nss): Likewise.
51397         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
51398         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
51400         * csu/libc-tls.c (init_static_tls, init_slotinfo):
51401         Remove inline keyword.
51402         * include/rounding-mode.h (round_away): Likewise.
51403         * libio/wfileops.c (adjust_wide_data): Likewise.
51404         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
51405         (__m128i_strloadu_tolower): Likewise.
51406         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
51407         (__m128i_strloadu_tolower): Likewise.
51408         * time/mktime.c (ydhms_diff): Likewise.
51409         * locale/elem-hash.h (elem_hash): Likewise.
51410         * locale/setlocale.c (setdata): Likewise.
51411         * posix/regex_internal.h (re_string_char_size_at): Likewise.
51412         (re_string_wchar_at): Likewise.
51413         (bitset_not, bitset_merge, bitset_mask): Likewise.
51414         [!(__GNUC__ > 3)] (inline): Remove macro.
51415         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
51416         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
51417         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
51418         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
51419         * string/memcmp.c (memcmp_bytes): Likewise.
51420         * locale/programs/locarchive.c (compute_hashval): Likewise.
51421         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
51422         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
51423         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
51424         * nss/getent.c (print_rpc, print_protocols): Likewise.
51425         (print_passwd, print_group, print_aliases): Likewise.
51426         * nis/nss-nisplus.h (niserr2nss): Likewise.
51427         * nscd/connections.c (restart_p): Likewise.
51428         Change return type to bool.
51430 2013-02-05  Roland McGrath  <roland@hack.frob.com>
51432         * Makeconfig (all-Depend-files): Add existing
51433         $(sorted-subdirs:=/Depend) files.
51434         (all-subdirs): Remove nss.
51435         * sysdeps/unix/inet/Subdirs: Add it here instead.
51436         * hesiod/Depend: New file.
51438         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
51439         instead of calling alloca.
51441         * io/lseek.c (__lseek): Rename to __libc_lseek.
51442         Define __lseek as an alias.
51444         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
51446 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
51448         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
51449         else clause and remove check for non-standard endianness.
51451 2013-02-04  David S. Miller  <davem@davemloft.net>
51453         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51455 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
51457         [BZ #13550]
51458         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
51459         (__ubp_memchr): Remove prototype.
51460         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
51461         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
51462         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
51463         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
51464         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
51465         Remove alias.
51466         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
51467         (__ubp_memchr): Likewise.
51468         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
51469         (__ubp_memchr): Likewise.
51470         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
51471         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
51472         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
51473         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
51474         CHECK_STRING.
51475         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
51476         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
51477         (__getcwd): Do not use CHECK_STRING.
51478         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
51479         <bp-checks.h>.
51480         (__real_chown): Do not use CHECK_STRING.
51481         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
51482         <bp-checks.h>.
51483         (fchownat): Do not use CHECK_STRING.
51484         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
51485         CHECK_STRING.
51486         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
51487         <bp-checks.h>.
51488         (__lchown): Do not use CHECK_STRING.
51489         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
51490         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
51491         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
51492         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
51493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
51494         include <bp-checks.h>.
51495         (truncate64): Do not use CHECK_STRING.
51496         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
51497         <bp-checks.h>.
51498         (__real_chown): Do not use CHECK_STRING.
51499         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
51500         <bp-checks.h>.
51501         (__lchown): Do not use CHECK_STRING.
51502         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
51503         <bp-checks.h>.
51504         (__chown): Do not use CHECK_STRING.
51505         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
51506         <bp-checks.h>.
51507         (truncate64): Do not use CHECK_STRING.
51508         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
51509         Likewise.
51510         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
51511         (__xmknod): Do not use CHECK_STRING.
51512         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
51513         <bp-checks.h>.
51514         (__xmknodat): Do not use CHECK_STRING.
51515         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
51516         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
51518 2013-02-04  Andreas Schwab  <schwab@suse.de>
51520         [BZ #14142]
51521         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
51522         * include/netdb.h: Likewise for h_errno.
51523         * elf/tst-stackguard1.c: Include <tls.h>.
51525 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
51527         * elf/link.h (struct link_map): Extend the l_addr comment.
51528         * include/link.h (struct link_map): Likewise.
51530 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
51532         [BZ #13550]
51533         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
51534         (BOUNDED_1): Remove macro.
51535         * debug/backtrace.c: Don't include <bp-checks.h>.
51536         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
51537         (__backtrace): Likewise.
51538         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
51539         <bp-checks.h>.
51540         (__backtrace): Don't use BOUNDED_1.
51541         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
51542         <bp-checks.h>.
51543         (__backtrace): Don't use BOUNDED_1.
51544         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
51545         (__backtrace): Don't use BOUNDED_1.
51546         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
51547         (shmat): Don't use BOUNDED_N.
51549 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
51551         [BZ #13550]
51552         * sysdeps/generic/bp-start.h: Remove file.
51553         * csu/libc-start.c: Don't include <bp-start.h>.
51554         (LIBC_START_MAIN): Set up __environ directly instead of using
51555         INIT_ARGV_and_ENVIRON.
51556         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
51557         <bp-start.h>.
51559         [BZ #13550]
51560         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
51561         definitions.
51562         (CHECK_FCNTL): Likewise.
51563         (CHECK_N_PAGES): Likewise.
51565         [BZ #13550]
51566         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
51567         definitions.
51568         (CHECK_SIGSET_NULL_OK): Likewise.
51569         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
51570         <bp-checks.h>.
51571         (sigpending): Don't use CHECK_SIGSET.
51572         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
51573         <bp-checks.h>.
51574         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
51575         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
51576         <bp-checks.h>.
51577         (do_sigsuspend): Don't use CHECK_SIGSET.
51578         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
51579         use CHECK_SIGSET.
51580         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
51581         (do_sigwait): Don't use CHECK_SIGSET.
51582         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
51583         use CHECK_SIGSET.
51584         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
51585         include <bp-checks.h>.
51586         (sigpending): Don't use CHECK_SIGSET.
51587         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
51588         include <bp-checks.h>.
51589         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
51590         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
51591         <bp-checks.h>.
51592         (sigpending): Don't use CHECK_SIGSET.
51593         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
51594         <bp-checks.h>.
51595         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
51597         [BZ #13550]
51598         * sysdeps/generic/bp-semctl.h: Remove file.
51599         * sysdeps/unix/sysv/linux/i386/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/semctl.c: Don't include <bp-checks.h>
51604         and <bp-semctl.h>.
51605         (__old_semctl): Don't use CHECK_SEMCTL.
51606         (__new_semctl): Likewise.
51607         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
51608         <bp-checks.h> and <bp-semctl.h>.
51609         (__old_semctl): Don't use CHECK_SEMCTL.
51610         (__new_semctl): Likewise.
51611         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
51612         <bp-checks.h> and <bp-semctl.h>.
51613         (semctl): Don't use CHECK_SEMCTL.
51615         [BZ #13550]
51616         * Makerules (elide-bp-thunks): Remove variable.
51617         (elide-routines.oS): Don't use $(elide-bp-thunks).
51618         (elide-routines.os): Likewise.
51619         (elide-routines.o): Likewise.
51620         (elide-routines.op): Likewise.
51621         (elide-routines.og): Likewise.
51622         (objects): Don't use $(bp-thunks).
51623         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
51624         include.
51625         (common-generated): Do not add s-proto-bp.d.
51626         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
51627         (int): Likewise.
51628         (typ): Likewise.
51629         Do not generate makefile rules for bounded-pointer thunks.
51630         * sysdeps/generic/bp-thunks.h: Remove file.
51631         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
51632         * sysdeps/unix/s-proto-bp.S: Likewise.
51634         [BZ #15062]
51635         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
51636         parts of result separately when argument is not close to line from
51637         -i to i and one part of argument is small.
51638         * math/k_casinhf.c (__kernel_casinhf): Likewise.
51639         * math/k_casinhl.c (__kernel_casinhl): Likewise.
51640         * math/libm-test.inc (cacos_test): Add more tests.
51641         (casin_test): Likewise.
51642         (casinh_test): Likewise.
51643         * sysdeps/i386/fpu/libm-test-ulps: Update.
51644         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51646 2013-01-31  David S. Miller  <davem@davemloft.net>
51648         * po/de.po: Update from translation team.
51650 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
51652         * time/tzfile.c: Include stdint.h for SIZE_MAX.
51654 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
51656         * configure.in (_AC_PROG_CC_C89): New definition.
51657         * configure: Regenerate.
51659         * configure.in (AC_PROG_CPP): New definition.
51660         * configure: Regenerate.
51662 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
51664         * debug/tst-backtrace.h: New file.
51665         * debug/tst-backtrace2.c: Include tst-backtrace.h.
51666         (ret): Remove variable.
51667         (x): Likewise.
51668         (FAIL): Remove macro.
51669         (NO_INLINE): Likewise.
51670         (fn1): Use match function instead of strstr.
51671         * debug/tst-backtrace3.c: Include tst-backtrace.h.
51672         (ret): Remove variable.
51673         (x): Likewise.
51674         (FAIL): Remove macro.
51675         (NO_INLINE): Likewise.
51676         (fn): Use match function instead of strstr.
51677         * debug/tst-backtrace4.c: Include tst-backtrace.h.
51678         (ret): Remove variable.
51679         (x): Likewise.
51680         (FAIL): Remove macro.
51681         (NO_INLINE): Likewise.
51682         (handle_signal): Use match function instead of strstr.
51683         * debug/tst-backtrace5.c: Include tst-backtrace.h.
51684         (ret): Remove variable.
51685         (x): Likewise.
51686         (FAIL): Remove macro.
51687         (NO_INLINE): Likewise.
51688         (handle_signal): Use match function instead of strstr.
51690 2013-01-23  Roland McGrath  <roland@hack.frob.com>
51692         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
51694 2013-01-23  David S. Miller  <davem@davemloft.net>
51696         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
51697         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
51698         argument of CAS if possible.
51699         * sysdeps/sparc/sparc64/bits/atomic.h
51700         (__arch_compare_and_exchange_val_32_acq): Likewise.
51701         (__arch_compare_and_exchange_val_64_acq): Likewise.
51703 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
51705         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
51706         * sysdeps/posix/ulimit.c: ... this.
51707         Include <limits.h>.
51708         * sysdeps/unix/bsd/ulimit.c: Remove file.
51710 2013-01-23  Adam Conrad  <adconrad@0c3.net>
51712         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
51713         (LDFLAGS-tst-array5): Likewise.
51715 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
51717         [BZ #15036]
51718         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
51719         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
51720         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
51721         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
51723 2013-01-21  David S. Miller  <davem@davemloft.net>
51725         * sysdeps/sparc/backtrace.c: New file.
51726         * sysdeps/sparc/sparc32/backtrace.h: New file.
51727         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
51728         * sysdeps/sparc/sparc64/backtrace.h: New file.
51729         * sysdeps/sparc/sparc64/backtrace.c: Delete.
51730         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
51731         -funwind-tables.
51733 2013-01-21  Andreas Schwab  <schwab@suse.de>
51735         [BZ #15020]
51736         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
51737         closed its stdout.
51739 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
51741         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
51742         "mpa2.h".
51743         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
51745 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
51746             Mark Mitchell  <mark@codesourcery.com>
51747             Tom de Vries  <tom@codesourcery.com>
51748             Paul Pluzhnikov  <ppluzhnikov@google.com>
51750         * debug/tst-backtrace2.c: New file.
51751         * debug/tst-backtrace3.c: Likewise.
51752         * debug/tst-backtrace4.c: Likewise.
51753         * debug/tst-backtrace5.c: Likewise.
51754         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
51755         (CFLAGS-tst-backtrace3.c): Likewise.
51756         (CFLAGS-tst-backtrace4.c): Likewise.
51757         (CFLAGS-tst-backtrace5.c): Likewise.
51758         (LDFLAGS-tst-backtrace2): Likewise.
51759         (LDFLAGS-tst-backtrace3): Likewise.
51760         (LDFLAGS-tst-backtrace4): Likewise.
51761         (LDFLAGS-tst-backtrace5): Likewise.
51762         (tests): Add new tests tst-backtrace2, tst-backtrace3,
51763         tst-backtrace4 and tst-backtrace5.
51765 2013-01-18  Anton Blanchard  <anton@samba.org>
51766             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51768         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
51769         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
51770         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
51771         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
51772         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
51773         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
51774         "+r" and remove output regs list as redundant.  Add explicit inline
51775         asm to specify register of return val to work around compiler codegen
51776         bug.  Remove (int) cast on return value.  Add return type parameter to
51777         use in macro so that this macro does not truncate return value for
51778         64-bit values.
51779         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
51780         pass to INTERNAL_VSYSCALL_NCS.
51781         (INLINE_VSYSCALL): Add 'long int' as return type to
51782         INTERNAL_VSYSCALL_NCS macro invocation.
51783         (INTERNAL_VSYSCALL): Add 'long int' as return type to
51784         INTERNAL_VSYSCALL_NCS macro invocation.
51785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
51787 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
51789         [BZ #14496]
51790         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
51791         Fix application of SIMD FP exception mask.
51793         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
51794         mp_no from a power of two.
51795         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
51796         __mpexp_twomm1.  Use __pow_mp.
51798         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
51799         multiplication.
51801 2013-01-17  David S. Miller  <davem@davemloft.net>
51803         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51805 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
51807         [BZ #15023]
51808         * include/complex.h: Condition contents on [!_COMPLEX_H].
51809         (__kernel_casinhf): New prototype.
51810         (__kernel_casinh): Likewise.
51811         (__kernel_casinhl): Likewise.
51812         * math/Makefile (libm_calls): Add k_casinh.
51813         * math/k_casinh.c: New file.
51814         * math/k_casinhf.c: Likewise.
51815         * math/k_casinhl.c: Likewise.
51816         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
51817         finite nonzero arguments.
51818         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
51819         finite nonzero arguments.
51820         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
51821         finite nonzero arguments.
51822         * math/s_casinh.c: Do not include <float.h>.
51823         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
51824         * math/s_casinhf.c: Do not include <float.h>.
51825         (__casinhf): Move code for finite nonzero arguments to
51826         k_casinhf.c.
51827         * math/s_casinhl.c: Do not include <float.h>.
51828         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
51829         redefine.
51830         (__casinhl): Move code for finite nonzero arguments to
51831         k_casinhl.c.
51832         * math/libm-test.inc (cacos_test): Add more tests.
51833         * sysdeps/i386/fpu/libm-test-ulps: Update.
51834         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51836 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
51838         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
51839         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
51840         [!HAVE_MREMAP]: Remove [defined linux] case.
51841         * malloc/arena.c: Do not include <malloc-sysdep.h>.
51843 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
51845         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
51847 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
51849         * elf/elf.h (R_386_SIZE32): New relocation.
51850         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
51851         R_386_SIZE32.
51852         (elf_machine_rela): Likewise.
51853         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
51854         R_X86_64_SIZE64 and R_X86_64_SIZE32.
51856 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
51858         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
51859         (FP_FAST_FMA): Do not define.
51860         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
51861         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
51862         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
51863         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
51864         !_SOFT_FLOAT]: Likewise.
51865         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
51866         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
51867         value.
51868         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
51869         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
51870         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
51871         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
51872         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
51873         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
51874         file.
51876 2013-01-16  Andreas Schwab  <schwab@suse.de>
51878         [BZ #14327]
51879         * include/stdlib.h (__mktemp): Add declaration.
51880         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
51881         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
51883 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
51885         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
51886         definitions.
51887         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
51888         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
51889         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
51890         definitions here.
51891         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
51892         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
51893         definitions.
51894         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
51895         and ONE.
51896         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
51897         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
51898         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
51899         definitions.
51900         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
51901         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
51902         definitions.
51903         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
51905         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
51907 2013-01-15  David S. Miller  <davem@davemloft.net>
51909         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
51910         trunc{,f} to libm-sysdep_routes.
51911         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
51912         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
51913         file.
51914         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
51915         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
51916         file.
51917         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
51918         file.
51919         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
51920         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
51921         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
51922         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
51923         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
51924         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
51925         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
51926         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
51928         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
51929         nearbyint{,f} to libm-sysdep_routes.
51930         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
51931         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
51932         New file.
51933         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
51934         file.
51935         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
51936         New file.
51937         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
51938         file.
51939         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
51940         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
51941         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
51942         file.
51943         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
51944         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
51945         file.
51946         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
51947         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
51948         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
51950         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
51951         libc_feholdexcept and libc_fesetenv.
51953 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
51955         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
51957 2013-01-14  David S. Miller  <davem@davemloft.net>
51959         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
51960         (SPARC_ASM_VIS2_IFUNC): Likewise.
51961         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
51962         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
51963         use of 'siam' instruction.
51964         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
51965         Likewise.
51966         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
51967         Likewise.
51968         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
51969         Likewise.
51970         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
51971         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
51972         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
51973         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
51974         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
51975         file.
51976         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
51977         file.
51978         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
51979         file.
51980         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
51981         file.
51982         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
51983         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
51984         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
51985         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
51986         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
51987         new VIS2 routines.
51988         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
51989         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
51990         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
51991         Likewise.
51992         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
51993         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
51994         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
51995         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
51996         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
51997         routines to libm-sysdep_routines.
51998         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
52000         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
52001         fdim/fdimf to libm-sysdep_routines.
52002         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
52003         file.
52004         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
52005         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
52006         file.
52007         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
52008         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
52009         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
52010         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
52011         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
52012         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
52013         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
52015 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
52017         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
52018         to optimize copies.
52020         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
52021         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
52022         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
52024         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
52025         local variable MPTWO.
52026         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
52027         Likewise.
52029 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
52031         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
52032         GLOB_NOESCAPE.
52034 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
52036         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
52038 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
52040         * manual/pattern.texi (glob_t): Document gl_flags.
52041         (glob64_t): Likewise.
52043 2013-01-11  David S. Miller  <davem@davemloft.net>
52045         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
52046         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
52047         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
52048         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
52049         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
52050         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
52051         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
52052         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
52053         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
52054         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
52055         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
52056         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
52057         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
52059         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
52060         sparc V9 rather than using V8 code.
52061         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
52062         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
52064         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
52065         Move to...
52066         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
52067         Here.
52069 2013-01-11  Roland McGrath  <roland@hack.frob.com>
52071         [BZ #14941]
52072         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
52073         not in the main loop.
52074         * configure: Regenerated.
52076 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
52078         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
52079         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
52080         to just #else.
52081         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
52082         [!__GLIBC_HAVE_LONG_LONG] case.
52083         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
52084         condition to just #else.
52085         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
52086         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
52087         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
52088         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
52089         unconditional.
52090         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
52091         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
52092         #elif condition to just #else.
52093         * sysdeps/unix/sysv/linux/sys/sysmacros.h
52094         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
52095         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
52096         #elif condition to just #else.
52098 2013-01-11  Steve Ellcey  <sellcey@mips.com>
52100         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
52101         (EF_MIPS_ARCH_64): Fix value.
52102         (EF_MIPS_ARCH_32R2): New.
52103         (EF_MIPS_ARCH_64R2): New.
52105 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
52107         * Makeconfig (+link-pie-before-libc): New.
52108         (+link-pie-after-libc): Likewise.
52109         (+link-pie-tests): Likewise.
52110         (+link-pie): Rewritten.
52111         (link-before-libc): Remove $(config-LDFLAGS).
52112         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
52113         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
52114         (config-LDFLAGS): Renamed to ...
52115         (rtld-LDFLAGS): This.
52116         (rtld-tests-LDFLAGS): New macro.
52117         (link-libc-rpath-link): Likewise.
52118         (link-libc-tests-rpath-link): Likewise.
52119         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
52120         (link-libc): Prepand $(link-libc-rpath-link).
52121         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
52122         (test-program-prefix): New macro.
52123         (test-via-rtld-prefix): Likewise.
52124         (test-program-cmd): Likewise.
52125         (host-test-program-cmd): Likewise.
52126         * Makefile ($(common-objpfx)testrun.sh): Replace
52127         $(run-program-prefix) with $(test-program-prefix).
52128         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
52129         $(rtld-LDFLAGS).
52130         ($(common-objpfx)shlib.lds): Likewise.
52131         (build-module-helper): Likewise.
52132         ($(common-objpfx)format.lds): Likewise.
52133         * Rules (binaries-pie-tests): New.
52134         (binaries-pie-notests): Likewise.
52135         (binaries-pie): Rewritten.
52136         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
52137         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
52138         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
52139         (make-test-out): Replace $(host-built-program-cmd) with
52140         $(host-test-program-cmd).
52141         * config.make.in (build-hardcoded-path-in-tests): New variable.
52142         * configure.in (--enable-hardcoded-path-in-tests): New configure
52143         option.
52144         (hardcoded_path_in_tests): New AC_SUBST.
52145         * configure: Regenerated.
52146         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
52147         $(built-program-cmd) with $(test-program-cmd).
52148         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
52149         (test_program_cmd): This.
52150         * elf/Makefile ($(objpfx)order.out): Run test with
52151         $(test-program-prefix).
52152         ($(objpfx)order2.out): Likewise.
52153         ($(objpfx)tst-initorder.out): Likewise.
52154         ($(objpfx)tst-initorder2.out): Likewise.
52155         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
52156         $(test-program-cmd).
52157         ($(objpfx)tst-array1-static.out): Likewise.
52158         ($(objpfx)tst-array2.out): Likewise.
52159         ($(objpfx)tst-array3.out): Likewise.
52160         ($(objpfx)tst-array4.out): Likewise.
52161         ($(objpfx)tst-array5.out): Likewise.
52162         ($(objpfx)tst-array5-static.out): Likewise.
52163         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
52164         $(test-program-cmd).
52165         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
52166         $(run-program-prefix) with $(test-program-prefix).
52167         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
52168         (test_program_prefix): This.
52169         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
52170         $(run-program-prefix) with $(test-program-prefix).
52171         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
52172         (test_program_prefix): This.
52173         * iconvdata/tst-tables.sh: Likewise.
52174         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
52175         $(run-program-prefix) with $(test-program-prefix).
52176         ($(objpfx)tst-translit.out): Likewise.
52177         ($(objpfx)tst-gettext2.out): Likewise.
52178         ($(objpfx)tst-gettext4.out): Likewise.
52179         ($(objpfx)tst-gettext6.out): Likewise.
52180         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
52181         (test_program_prefix): This.
52182         * intl/tst-gettext2.sh: Likewise.
52183         * intl/tst-gettext4.sh  Likewise.
52184         * intl/tst-gettext6.sh: Likewise.
52185         * intl/tst-translit.sh: Likewise.
52186         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
52187         with $(test-program-cmd).
52188         * libio/Makefile ($(objpfx)test-freopen.out): Replace
52189         $(run-program-prefix) with $(test-program-prefix).
52190         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
52191         (test_program_prefix): This.
52192         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
52193         $(run-program-prefix) with $(test-program-prefix).
52194         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
52195         (test_program_prefix): This.
52196         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
52197         * posix/Makefile ($(objpfx)globtest.out): Replace
52198         $(run-via-rtld-prefix) and $(test-wrapper) with
52199         $(test-program-prefix) and $(test-via-rtld-prefix).
52200         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
52201         $(test-program-prefix).
52202         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
52203         $(host-test-program-cmd).
52204         (tst-spawn-ARGS): Likewise.
52205         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
52206         $(test-program-prefix).
52207         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
52208         (test_via_rtld_prefix): This.
52209         (test_wrapper): Renamed to ...
52210         (test_program_prefix): This.
52211         (run_program_prefix): Replaced by test_program_prefix.
52212         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
52213         (test_program_prefix): This.
52214         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
52215         with $(host-test-program-cmd).
52216         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
52217         $(run-program-prefix) with $(test-program-prefix).
52218         ($(objpfx)tst-printf.out): Likewise.
52219         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
52220         $(test-program-cmd).
52221         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
52222         (test_program_prefix): This.
52223         * stdio-common/tst-unbputc.sh: Likewise.
52224         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
52225         $(run-program-prefix) with $(test-program-prefix).
52226         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
52227         (test_program_prefix): This.
52228         * string/Makefile ($(objpfx)tst-svc.out):  Replace
52229         $(built-program-cmd) with $(test-program-cmd).
52231 2013-01-11  Andreas Jaeger  <aj@suse.de>
52233         [BZ #15003]
52234         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
52235         value. Sync with Linux 3.7.
52237 2013-01-10  David S. Miller  <davem@davemloft.net>
52239         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
52240         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
52241         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
52243 2013-01-10  Roland McGrath  <roland@hack.frob.com>
52245         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
52246         never set.
52247         * configure: Regenerated.
52249 2013-01-10  David S. Miller  <davem@davemloft.net>
52251         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
52252         sparc V9 rather than using V8 code.
52253         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
52254         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
52256 2013-01-10  Roland McGrath  <roland@hack.frob.com>
52258         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
52259         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
52260         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
52261         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
52262         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
52263         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
52264         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
52265         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
52266         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
52267         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
52268         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
52269         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
52270         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
52271         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
52272         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
52273         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
52274         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
52275         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
52276         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
52277         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
52278         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
52279         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
52280         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
52281         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
52282         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
52283         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
52284         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
52286 2013-01-10  David S. Miller  <davem@davemloft.net>
52288         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52290 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
52292         * posix/Makefile (tests-static): New variable.
52293         (tests): Add $(tests-static).
52294         (tst-exec-static-ARGS): New variable.
52295         (tst-spawn-static-ARGS): Likewise.
52296         * posix/tst-exec-static.c: New file.
52297         * posix/tst-spawn-static.c: Likewise.
52298         * posix/tst-exec.c: Support run directly.
52299         * posix/tst-spawn.c: Likewise.
52301 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
52303         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
52304         long.
52305         * math/bits/mathcalls.h (llrint): Likewise.
52306         (llround): Likewise.
52307         * stdlib/stdlib.h (struct drand48_data): Likewise.
52308         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
52309         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
52310         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
52311         Likewise.
52312         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
52313         Likewise.
52314         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
52315         (elf_greg_t): Likewise.
52316         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
52317         (__jmp_buf): Likewise.
52318         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
52319         definitions.
52320         (llrint): Likewise, for all definitions.
52321         (llrintl): Likewise.
52323         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
52324         Remove [__GNUC__] condition.
52325         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
52326         condition to just [__USE_ISOC99].
52327         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
52329 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
52331         [BZ #14200]
52332         * sysdeps/unix/sysv/linux/x86/bits/environments.h
52333         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
52334         defined.
52335         (_POSIX_V6_ILP32_OFF32): Likewise.
52336         (_XBS5_ILP32_OFF32): Likewise.
52337         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
52338         (__ILP32_OFFBIG_LDFLAGS): Likewise.
52340 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
52342         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
52344         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
52345         doubles __mpexp_twomm1.  Adjust usage.
52346         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
52347         Remove.
52349 2013-01-10  Andreas Schwab  <schwab@suse.de>
52351         [BZ #14964]
52352         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
52353         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
52355 2013-01-09  David S. Miller  <davem@davemloft.net>
52357         [BZ #15003]
52358         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
52359         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
52360         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
52361         (TCP_FASTOPEN): Define.
52362         (tcp_repair_opt): New structure.
52363         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
52364         enum values.
52365         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
52366         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
52367         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
52368         (tcp_cookie_transactions): New structure.
52370 2013-01-09  Anton Blanchard  <anton@samba.org>
52372         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
52373         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
52374         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
52375         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
52377 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
52379         * include/features.h (__USE_ANSI): Remove.
52381 2013-01-09  Roland McGrath  <roland@hack.frob.com>
52383         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
52385         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
52387 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
52389         * sysdeps/s390/fpu/libm-test-ulps: Update.
52391         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52393         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
52394         (__acr): Likewise.
52395         (__cpy): Likewise.
52396         (norm): Likewise.
52397         (denorm): Likewise.
52398         (__mp_dbl): Likewise.
52399         (__dbl_mp): Likewise.
52400         (add_magnitudes): Likewise.
52401         (sub_magnitudes): Likewise.
52402         (__add): Likewise.
52403         (__sub): Likewise.
52404         (__mul): Likewise.
52405         (__inv): Likewise.
52406         (__dvd): Likewise.
52407         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
52408         (__acr): Likewise.
52409         (__cpy): Likewise.
52410         (norm): Likewise.
52411         (denorm): Likewise.
52412         (__mp_dbl): Likewise.
52413         (__dbl_mp): Likewise.
52414         (add_magnitudes): Likewise.
52415         (sub_magnitudes): Likewise.
52416         (__add): Likewise.
52417         (__sub): Likewise.
52418         (__mul): Likewise.
52419         (__inv): Likewise.
52420         (__dvd): Likewise.
52421         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
52422         (__acr): Likewise.
52423         (__cpy): Likewise.
52424         (norm): Likewise.
52425         (denorm): Likewise.
52426         (__mp_dbl): Likewise.
52427         (__dbl_mp): Likewise.
52428         (add_magnitudes): Likewise.
52429         (sub_magnitudes): Likewise.
52430         (__add): Likewise.
52431         (__sub): Likewise.
52432         (__mul): Likewise.
52433         (__inv): Likewise.
52434         (__dvd): Likewise.
52436 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
52438         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
52439         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
52440         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
52441         2 && __USE_EXTERN_INLINES]: Likewise.
52443 2013-01-08  Andreas Jaeger  <aj@suse.de>
52445         [BZ# 14985]
52446         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
52447         Remove.
52448         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
52449         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
52451 2013-01-07  Anton Blanchard  <anton@samba.org>
52453         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
52454         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
52455         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
52456         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
52457         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
52458         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
52459         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
52460         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
52461         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
52462         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
52463         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
52464         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
52465         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
52466         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
52467         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
52468         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
52469         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
52470         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
52471         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
52472         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
52473         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
52474         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
52475         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
52476         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
52477         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
52478         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
52479         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
52480         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
52481         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
52482         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
52483         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
52484         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
52485         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
52486         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
52487         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
52488         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
52489         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
52490         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
52491         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
52492         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
52493         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
52494         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
52495         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
52497 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
52499         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
52500         (__MALLOC_PMT): Likewise.
52501         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
52502         [__GNUC__], only on [_LIBC].
52503         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
52504         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
52505         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
52506         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
52507         forward declaration.
52508         (realloc_hook_ini): Likewise.
52509         (memalign_hook_ini): Likewise.
52510         (__libc_memalign): Do not use __MALLOC_PMT in variable
52511         declaration.
52512         (__libc_valloc): Likewise.
52513         (__libc_pvalloc): Likewise.
52514         (__libc_calloc): Likewise.
52515         (__posix_memalign): Likewise.
52517         [BZ #14996]
52518         * math/s_casinh.c: Include <float.h>.
52519         (__casinh): Do not do computation with squaring and square root
52520         for large arguments.
52521         * math/s_casinhf.c: Include <float.h>.
52522         (__casinhf): Do not do computation with squaring and square root
52523         for large arguments.
52524         * math/s_casinhl.c: Include <float.h>.
52525         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
52526         (__casinhl): Do not do computation with squaring and square root
52527         for large arguments.
52528         * math/libm-test.inc (casin_test): Add more tests.
52529         (casinh_test): Likewise.
52530         * sysdeps/i386/fpu/libm-test-ulps: Update.
52531         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52533 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
52535         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
52536         (__x86_64_raw_data_cache_size): Likewise.
52537         (__x86_64_data_cache_size_half): Likewise.
52538         (__x86_64_raw_data_cache_size_half): Likewise.
52539         (__x86_64_shared_cache_size): Likewise.
52540         (__x86_64_raw_shared_cache_size): Likewise.
52541         (__x86_64_shared_cache_size_half): Likewise.
52542         (__x86_64_raw_shared_cache_size_half): Likewise.
52543         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
52544         to ...
52545         (__x86_data_cache_size): This.
52546         (__x86_64_raw_data_cache_size): Renamed to ...
52547         (__x86_raw_data_cache_size): This.
52548         (__x86_64_data_cache_size_half): Renamed to ...
52549         (__x86_data_cache_size_half): This.
52550         (__x86_64_raw_data_cache_size_half): Renamed to ...
52551         (__x86_raw_data_cache_size_half): This.
52552         (__x86_64_shared_cache_size): Renamed to ...
52553         (__x86_shared_cache_size): This.
52554         (__x86_64_raw_shared_cache_size): Renamed to ...
52555         (__x86_raw_shared_cache_size): This.
52556         (__x86_64_shared_cache_size_half): Renamed to ...
52557         (__x86_shared_cache_size_half): This.
52558         (__x86_64_raw_shared_cache_size_half): Renamed to ...
52559         (__x86_raw_shared_cache_size_half): This.
52560         * sysdeps/x86_64/memcpy.S: Updated.
52561         * sysdeps/x86_64/memset.S: Likewise.
52562         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
52563         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
52564         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
52566 2013-01-04  David S. Miller  <davem@davemloft.net>
52568         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52570 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
52572         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
52573         1 to avoid redefinition warning.
52574         (__USE_GNU): Don't define.
52575         (init_signaling_nan): Protoize.
52577         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52579 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
52581         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
52582         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
52583         (__cpymn): Likewise.
52584         (norm): Remove commented code.
52585         (denorm): Likewise.
52586         (__mp_dbl): Likewise.
52587         (__inv): Likewise.
52588         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
52589         (__cpymn): Likewise.
52590         (norm): Remove commented code.
52591         (denorm): Likewise.
52592         (__mp_dbl): Likewise.
52593         (__inv): Likewise.
52595         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
52596         mp_no value for 1.0 and 2.0.
52597         (norm): Use RADIXI instead of radixi.d.
52598         (denorm): Likewise.
52599         (__mul): Use 0.0 instead of zero.d.
52600         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
52601         mp_no value for 1.0 and 2.0.
52602         (norm): Use RADIXI instead of radixi.d.
52603         (denorm): Likewise.
52604         (__mul): Use 0.0 instead of zero.d.
52606 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
52608         [BZ #14994]
52609         * math/s_casinh.c (__casinh): Reduce finite argument to first
52610         quadrant then set signs of results at the end.
52611         * math/s_casinhf.c (__casinhf): Likewise.
52612         * math/s_casinhl.c (__casinhl): Likewise.
52613         * math/libm-test.inc (casin_test): Add more tests.
52614         (casinh_test): Likewise.
52615         * sysdeps/i386/fpu/libm-test-ulps: Update.
52616         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52618 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
52620         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
52622         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
52624         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
52625         declarations.
52626         (denorm): Likewise.
52627         (__mp_dbl): Likewise.
52628         (__inv): Likewise.
52630         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
52631         and adjust the header comment.
52633         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
52634         variable name from declaration.
52636 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
52638         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52639         Initialize COMMON_CPUID_INDEX_7 element.
52640         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
52641         (CPUID_RTM): Likewise.
52642         (HAS_RTM): Likewise.
52643         (COMMON_CPUID_INDEX_7): New enum.
52645 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
52647         [BZ #14981]
52648         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
52649         size is zero, record memory as freed.
52651 2013-01-03  Andreas Jaeger  <aj@suse.de>
52653         * po/ia.po: Add new Interlingua translation.
52655 2012-01-03  Allan McRae  <allan@archlinux.org>
52657         * locale/programs/localedef.c: Fix description of '--posix' flag.
52659 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
52661         * NEWS: Update dates in second copyright notice.
52662         * README: Update copyright dates in example.
52663         * manual/libc.texinfo: Update copyright dates.
52664         * scripts/test-installation.pl: Update copyright date in --version
52665         output.
52667         * hurd/ctty-input.c: Fix copyright notice formatting.
52668         * hurd/ctty-output.c: Likewise.
52669         * hurd/dtable.c: Likewise.
52670         * hurd/hurd-raise.c: Likewise.
52671         * hurd/hurdprio.c: Likewise.
52672         * hurd/msgportdemux.c: Likewise.
52673         * misc/sys/file.h: Likewise.
52674         * misc/sys/ioctl.h: Likewise.
52675         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
52676         * sysdeps/mach/hurd/chdir.c: Likewise.
52677         * sysdeps/mach/hurd/fchdir.c: Likewise.
52678         * sysdeps/mach/hurd/rename.c: Likewise.
52679         * sysdeps/mach/hurd/rmdir.c: Likewise.
52680         * sysdeps/mach/hurd/seekdir.c: Likewise.
52681         * sysdeps/mach/hurd/setsid.c: Likewise.
52682         * sysdeps/posix/wait3.c: Likewise.
52684         * All files with FSF copyright notices: Update copyright dates
52685         using scripts/update-copyrights.
52686         * intl/plural.c: Regenerated.
52687         * locale/programs/charmap-kw.h: Likewise.
52688         * locale/programs/locfile-kw.h: Likewise.
52690 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
52692         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
52693         four values.
52695         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
52696         calculation loop and add branch prediction.
52698         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
52699         check access beyond bounds of m1np.
52701         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
52702         MPTWO.
52703         (__inv): Remove local variable MPTWO to use the global
52704         constant.
52705         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
52706         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
52707         variable MPTWO.
52708         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
52709         MP3HALFS static const.
52711 2013-01-01  David S. Miller  <davem@davemloft.net>
52713         * po/ca.po: Update from translation team.
52715 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
52717         * scripts/update-copyrights: New file.
52718         * Makeconfig: Reformat copyright notice.
52719         * ctype/ctype.h: Likewise.
52720         * debug/swprintf_chk.c: Likewise.
52721         * elf/dl-cache.c: Likewise.
52722         * elf/dl-debug.c: Likewise.
52723         * elf/dl-object.c: Likewise.
52724         * grp/initgroups.c: Likewise.
52725         * hurd/Makefile: Likewise.
52726         * hurd/hurd/signal.h: Likewise.
52727         * hurd/hurdfault.c: Likewise.
52728         * hurd/hurdioctl.c: Likewise.
52729         * hurd/hurdlookup.c: Likewise.
52730         * hurd/intr-msg.c: Likewise.
52731         * iconv/gconv_open.c: Likewise.
52732         * libio/swprintf.c: Likewise.
52733         * locale/lc-ctype.c: Likewise.
52734         * locale/nl_langinfo.c: Likewise.
52735         * mach/Machrules: Likewise.
52736         * mach/Makefile: Likewise.
52737         * malloc/obstack.h: Likewise.
52738         * manual/Makefile: Likewise.
52739         * manual/tsort.awk: Likewise.
52740         * misc/bits/stab.def: Likewise.
52741         * nis/nis_print_group_entry.c: Likewise.
52742         * nis/nis_table.c: Likewise.
52743         * nis/nss_compat/compat-pwd.c: Likewise.
52744         * nis/nss_compat/compat-spwd.c: Likewise.
52745         * po/Makefile: Likewise.
52746         * posix/fnmatch.c: Likewise.
52747         * posix/regex.h: Likewise.
52748         * resolv/Makefile: Likewise.
52749         * resolv/nss_dns/dns-network.c: Likewise.
52750         * resolv/res_hconf.c: Likewise.
52751         * scripts/gen-sorted.awk: Likewise.
52752         * soft-fp/soft-fp.h: Likewise.
52753         * stdio-common/printf.h: Likewise.
52754         * stdlib/monetary.h: Likewise.
52755         * stdlib/random.c: Likewise.
52756         * stdlib/random_r.c: Likewise.
52757         * sysdeps/generic/Makefile: Likewise.
52758         * sysdeps/gnu/Makefile: Likewise.
52759         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
52760         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52761         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52762         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52763         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52764         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52765         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52766         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
52767         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52768         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52769         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
52770         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
52771         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
52772         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
52773         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
52774         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
52775         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
52776         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52777         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
52778         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52779         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
52780         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
52781         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
52782         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
52783         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
52784         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
52785         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
52786         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
52787         * sysdeps/mach/hurd/errnos.awk: Likewise.
52788         * sysdeps/mach/hurd/fork.c: Likewise.
52789         * sysdeps/mach/hurd/getcwd.c: Likewise.
52790         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
52791         * sysdeps/mach/hurd/mmap.c: Likewise.
52792         * sysdeps/mach/hurd/utimes.c: Likewise.
52793         * sysdeps/mach/hurd/xmknod.c: Likewise.
52794         * sysdeps/posix/profil.c: Likewise.
52795         * sysdeps/posix/readdir_r.c: Likewise.
52796         * sysdeps/powerpc/bits/mathdef.h: Likewise.
52797         * sysdeps/powerpc/bits/setjmp.h: Likewise.
52798         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
52799         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
52800         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
52801         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
52802         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
52803         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
52804         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
52805         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
52806         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
52807         * sysdeps/pthread/lio_listio.c: Likewise.
52808         * sysdeps/sparc/dl-procinfo.h: Likewise.
52809         * sysdeps/unix/i386/sysdep.S: Likewise.
52810         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
52811         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
52812         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
52813         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
52814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
52815         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
52816         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
52817         * sysdeps/unix/sysv/linux/speed.c: Likewise.
52818         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
52819         * sysdeps/wordsize-32/divdi3.c: Likewise.
52820         * time/sys/time.h: Likewise.
52821         * wcsmbs/Makefile: Likewise.
52823 2013-01-01  David S. Miller  <davem@davemloft.net>
52825         * po/fr.po: Update from translation team.
52827         * catgets/gencat.c: Update copyright year.
52828         * csu/version.c: Likewise.
52829         * debug/catchsegv.sh: Likewise.
52830         * debug/pcprofiledump.c: Likewise.
52831         * debug/xtrace.sh: Likewise.
52832         * elf/ldconfig.c: Likewise.
52833         * elf/ldd.bash.in: Likewise.
52834         * elf/pldd.c: Likewise.
52835         * elf/sotruss.ksh: Likewise.
52836         * elf/sprof.c: Likewise.
52837         * iconv/iconv_prog.c: Likewise.
52838         * iconv/iconvconfig.c: Likewise.
52839         * locale/programs/locale.c: Likewise.
52840         * locale/programs/localedef.c: Likewise.
52841         * login/programs/pt_chown.c: Likewise.
52842         * malloc/memusage.sh: Likewise.
52843         * malloc/memusagestat.c: Likewise.
52844         * malloc/mtrace.pl: Likewise.
52845         * nscd/nscd.c: Likewise.
52846         * nss/getent.c: Likewise.
52847         * nss/makedb.c: Likewise.
52848         * posix/getconf.c: Likewise.
52850 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
52852         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
52853         numbers.
52855 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
52857         * math/bits/mathcalls.h (modf): Use __nonnull.
52859 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
52861         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
52862         (split): Use macro CN instead of the bare value.
52863         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
52864         could be used.
52865         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
52866         instead of the bare value.
52867         (power1): Likewise.
52869 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52871         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
52872         __ATAN_TWOM.
52873         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
52875         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
52876         their values.
52877         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
52878         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
52879         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
52880         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
52882 2012-12-28  Andreas Jaeger  <aj@suse.de>
52884         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
52885         values are from Linux 3.7.
52887         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
52888         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
52890 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52892         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
52893         TRUE case.
52895         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
52896         (norm): Likewise.
52897         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
52898         variables with preprocessor constants.
52899         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
52900         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
52901         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
52903 2012-12-27  Bruno Haible  <bruno@clisp.org>
52905         [BZ #14317]
52906         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
52907         only if needed.
52909 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
52911         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
52912         and use variable directly.
52913         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
52915         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
52916         MPONE.
52917         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
52918         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
52919         variable MPONE.
52920         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
52921         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
52922         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
52923         include directive.  Remove local variable MPONE.
52924         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
52925         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
52926         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
52928 2012-12-25  David S. Miller  <davem@davemloft.net>
52930         * version.h (RELEASE): Set to "development".
52931         (VERSION): Set to "2.17.90".
52932         * NEWS: Add 2.18 section.
52934 2012-12-21  David S. Miller  <davem@davemloft.net>
52936         * po/hr.po: Update from translation team.
52938 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52940         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
52942 2012-12-19  Steve Ellcey  <sellcey@mips.com>
52944         * NEWS:  Mention new memcpy for MIPS.
52946 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52948         * manual/contrib.texi (Contributors): Spelling correction.
52950 2012-12-15  David S. Miller  <davem@davemloft.net>
52952         * po/ru.po: Update from translation team.
52954 2012-12-13  David S. Miller  <davem@davemloft.net>
52956         * NEWS: Mention IFUNC testsuite enhancements.
52958         * po/pl.po: Update from translation team.
52959         * po/bg.po: Likewise.
52961         * manual/contrib.texi (Contributors): Update entries for Hongjiu
52962         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
52964 2012-12-11  David S. Miller  <davem@davemloft.net>
52966         * po/sv.po: Update from translation team.
52968         * po/vi.po: Update from translation team.
52970         * po/cs.po: Update from translation team.
52972         * po/de.po: Update from translation team.
52973         * po/eo.po: Likewise.
52974         * po/nl.po: Likewise.
52976 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
52978         [BZ #14246]
52979         * manual/argp.texi (Argp Helper Functions): Move node to follow
52980         Argp Parsing State.
52982         [BZ #14872]
52983         * manual/conf.texi (Limits on File System Capacity): Mention if
52984         terminating null is included in the max size.
52986 2012-12-10  Andreas Jaeger  <aj@suse.de>
52988         * po/cs.po: Update from translation team.
52990 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
52992         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
52993         void pointer and cast to uintptr_t.
52994         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
52995         path.
52996         * sysdeps/s390/s390-64/memcpy.S: Likewise.
52997         * sysdeps/s390/s390-64/memset.S: Likewise.
52999 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
53001         [BZ #14833]
53002         * menual/message.texi (Message Translation): Fix typos.
53003         (Helper programs for gettext): Likewise.
53005 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
53007         [BZ #14898]
53008         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
53009         Change to -1.
53011 2012-12-07  David S. Miller  <davem@davemloft.net>
53013         * po/libc.pot: Update.
53015 2012-12-07  Richard Henderson  <rth@redhat.com>
53017         [BZ #10114]
53018         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
53019         normal/normal case to before the switch.
53020         (_FP_DIV): Likewise.
53022 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
53023             Mike Frysinger  <vapier@gentoo.org>
53025         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
53026         check for __NR_fadvise64_64.
53028 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
53030         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
53031         0, not just to plain "0" as a statement.
53032         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
53033         with cw.
53035 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
53037         * NEWS: Use sourceware.org in Bugzilla URL.
53039 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
53041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
53042         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
53044         * stdio-common/tst-put-error.c (do_test): Add newline to the
53045         padded test to ensure flush.
53047 2012-12-05  Jeff Law  <law@redhat.com>
53049         * sunrpc/etc.rpc (fedfs_admin): Add entry.
53051 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
53053         * README: Don't refer to ports add-on as distributed separately.
53054         Mention AArch64 in list of systems supported in the ports add-on.
53056         * LICENSES: Add more non-FSF copyright and license notices.
53058         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
53059         ((unused)).
53061         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
53063         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
53064         10000 as width of padded output.
53066 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
53068         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
53070         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
53071         variable LX with __attribute__ ((unused)).
53072         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
53073         Likewise.
53074         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
53075         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
53076         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
53077         with __attribute__ ((unused)).
53079 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
53081         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
53083 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
53085         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
53086         (CFLAGS-nldbl-acos.c): New variable.
53087         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
53088         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
53089         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
53090         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
53091         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
53092         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
53093         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
53094         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
53095         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
53096         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
53097         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
53098         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
53099         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
53100         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
53101         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
53102         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
53103         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
53104         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
53105         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
53106         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
53107         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
53108         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
53109         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
53110         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
53111         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
53112         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
53113         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
53114         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
53115         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
53116         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
53117         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
53118         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
53119         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
53120         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
53121         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
53122         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
53123         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
53124         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
53125         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
53126         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
53127         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
53128         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
53129         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
53130         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
53131         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
53132         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
53133         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
53134         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
53135         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
53136         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
53137         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
53138         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
53139         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
53140         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
53141         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
53142         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
53143         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
53144         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
53145         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
53146         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
53147         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
53148         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
53149         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
53150         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
53151         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
53152         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
53153         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
53154         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
53155         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
53156         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
53157         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
53158         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
53159         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
53160         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
53161         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
53162         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
53163         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
53164         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
53165         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
53166         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
53167         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
53168         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
53169         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
53170         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
53171         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
53172         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
53173         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
53174         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
53175         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
53176         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
53177         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
53178         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
53179         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
53180         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
53181         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
53182         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
53183         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
53185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
53186         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
53188         [BZ #14914]
53189         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
53190         whole low double instead of just low 47 bits when splitting values
53191         into two parts.
53193 2012-12-03  Allan McRae  <allan@archlinux.org>
53195         * manual/stdio.texi (Predefined Printf Handlers): Remove
53196         @hsep and @vsep usage.
53198 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
53200         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
53201         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
53203 2012-12-03  Jeff Law  <law@redhat.com>
53205         * time/sys/time.h (settimeofday): Do not mark TV argument
53206         as __nonnull.
53208 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
53210         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
53211         when currently writing and seek to current position when not.
53212         * libio/Makefile (tests): Remove bug-fclose1.
53213         * libio/bug-fclose1.c: Delete.
53215 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
53217         * manual/arith.texi (feenableexcept): Fix typo.
53218         (fedisableexcept): Likewise.
53220 2012-11-30  Roland McGrath  <roland@hack.frob.com>
53222         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
53223         second, differently-typed declaration, rather than a cast.
53225 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
53227         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
53228         * include/rpc/svc.h: ... here.
53230 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
53232         [BZ #13013]
53233         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
53234         depending n and resplen2 to catch cases where answer
53235         equals answerp2.
53237 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
53239         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
53240         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
53242 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
53244         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
53246 2012-11-29  Roland McGrath  <roland@hack.frob.com>
53248         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
53250 2012-11-28  Jeff Law  <law@redhat.com>
53252         [BZ #13761]
53253         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
53254         dataset_temporary.  Track alloca usage into alloca_used.
53255         If dataset is large allocate and release it via malloc/free.
53257 2012-06-04  Florian Weimer  <fweimer@redhat.com>
53259         [BZ #14197]
53260         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
53262 2012-11-28  David S. Miller  <davem@davemloft.net>
53264         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53266 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
53268         [BZ #14803]
53269         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
53270         of pi/2 rounded to nearest to 64 bits.
53271         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
53272         nearest to 64 bits.
53273         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
53274         bits.
53276 2012-11-28  Jeff Law <law@redhat.com>
53277             Martin Osvald <mosvald@redhat.com>
53279         [BZ #14889]
53280         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
53281         * sunrpc/svc.c: Include time.h.
53282         (__svc_accept_failed): New function.
53283         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
53284         any reason other than EINTR, call __svc_accept_failed.
53285         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
53286         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
53288 2012-11-28  Andreas Schwab  <schwab@suse.de>
53290         * scripts/abilist.awk: Also handle indirect functions in .opd
53291         section.
53293 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
53295         [BZ #13881]
53296         * sysdeps/x86/fpu/powl_helper.c: New file.
53297         * sysdeps/x86/fpu/Makefile: Likewise.
53298         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
53299         (p3): New object.
53300         (__ieee754_powl): Use __powl_helper for finite arguments except
53301         integer exponents below 8.
53302         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
53303         (p3): New object.
53304         (__ieee754_powl): Use __powl_helper for finite arguments except
53305         integer exponents below 8.
53306         * math/libm-test.inc (pow_test): Add more tests and enable some
53307         previously disabled tests.
53308         * sysdeps/i386/fpu/libm-test-ulps: Update.
53309         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53311 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53312             Carlos O'Donell  <carlos_odonell@mentor.com>
53314         * nss/makedb.c (is_prime): Assert that input is odd and greater
53315         than 4.  Note that fact in a comment too.
53316         (next_prime): Add 4 to input.
53318 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
53320         [BZ #11741]
53321         * libio/Makefile (tests): Add test case tst-fwrite-error.
53322         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
53323         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
53324         * libio/tst-fwrite-error.c: New test case.
53326 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
53328         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
53329         before casting to void *.
53330         * include/libc-internal.h (__pointer_type): New macro.
53331         (__integer_if_pointer_type_sub): Likewise.
53332         (__integer_if_pointer_type): Likewise.
53333         (cast_to_integer): Likewise.
53334         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
53335         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
53336         before casting to atomic64_t.
53337         (atomic_exchange_acq): Likewise.
53338         (__arch_exchange_and_add_body): Likewise.
53339         (__arch_add_body): Likewise.
53340         (atomic_add_negative): Likewise.
53341         (atomic_add_zero): Likewise.
53343 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
53345         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
53346         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
53347         (add_fdes): Likewise.
53348         (linear_search_fdes): Likewise.
53349         (binary_search_unencoded_fdes): Likewise.
53351 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
53353         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
53355 2012-11-24  Adam Conrad  <adconrad@0c3.net>
53357         * configure.in: Autodetect C++ header directories.
53358         * configure: Regenerated.
53360 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
53362         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
53364 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
53366         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53368 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
53370         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
53371         LDBL_MANT_DIG == 106]: Disable some tests.
53372         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
53373         Likewise.
53374         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
53375         Likewise.
53377         [BZ #14871]
53378         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
53379         input for small inputs.  Return +/- pi/2 for large inputs.
53380         * math/libm-test.inc (atan_test): Add more tests.
53382         * sysdeps/generic/unwind-dw2-fde-glibc.c
53383         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
53384         __attribute__ ((unused)).
53386         [BZ #14645]
53387         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
53388         x * y if x and y are nonzero and z is zero.
53390         [BZ #14811]
53391         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
53392         nonzero exponents with absolute value below 0x1p-117 to +/-
53393         0x1p-117.
53395         [BZ #14869]
53396         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
53397         up arguments below 2**-450, not just those below 2**-500.
53398         * math/libm-test.inc (hypot_test): Add another test.
53400         [BZ #14868]
53401         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
53402         Return a+b for ratio over 2**120, not 2**60.
53403         * math/libm-test.inc (hypot_test): Add another test.
53405         * math/libm-test.inc (clog_test): Use
53406         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
53407         (clog10_test): Likewise.
53409         [BZ #6778]
53410         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
53412 2012-11-22  Andreas Schwab  <schwab@suse.de>
53414         * sysdeps/i386/fpu/libm-test-ulps: Update.
53416 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
53418         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
53419         printf output with newline.
53421 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
53423         [BZ #14865]
53424         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
53425         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
53426         -z nodlopen, -z initfirst and -z execstack support.
53427         * configure: Regenerated.
53429         * elf/elf.h (DF_1_NODIRECT): New macro.
53430         (DF_1_IGNMULDEF): Likewise.
53431         (DF_1_NOKSYMS): Likewise.
53432         (DF_1_NOHDR): Likewise.
53433         (DF_1_EDITED): Likewise.
53434         (DF_1_NORELOC): Likewise.
53435         (DF_1_SYMINTPOSE): Likewise.
53436         (DF_1_GLOBAUDIT): Likewise.
53437         (DF_1_SINGLETON): Likewise.
53438         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
53439         DT_1_SUPPORTED_MASK bits.
53440         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
53442 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
53444         * sysdeps/unix/make-syscalls.sh: Document prefixes.
53446 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
53448         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
53449         macro.
53451         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
53452         (sendmmsg): Move declarations...
53453         * socket/sys/socket.h: ... here.
53454         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
53455         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
53456         include it from...
53457         * socket/recvmmsg.c: ... this new file.
53458         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
53459         (sendmmsg): Rename to __sendmmsg, create weak alias and make
53460         definition of __sendmmsg hidden.
53461         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
53462         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
53463         Move ENOSYS stub into and include it from...
53464         * socket/sendmmsg.c: ... this new file.
53465         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
53466         (sysdep_routines): Move recvmmsg and sendmmsg...
53467         * socket/Makefile (routines): ... here.
53468         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
53469         (GLIBC_PRIVATE): Add __sendmmsg.
53470         * include/sys/socket.h (__sendmmsg): Add declarations.
53471         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
53472         sendmmsg.
53474 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
53476         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
53477         variable I1 with __attribute__ ((unused)).
53478         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
53480 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
53482         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
53483         DUMMY variables with __attribute__ ((unused)).
53485         * bits/byteswap.h: Include <bits/types.h>.
53486         (__bswap_64): Use __uint64_t instead of unsigned long long int.
53488 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
53490         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
53491         string_t.  Do not manually set errno.
53492         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
53493         length with __strnlen.  Make sure to both set errno and return it on
53494         failure.
53496 2012-11-19  David S. Miller  <davem@davemloft.net>
53498         With help from Joseph Myers.
53499         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
53500         very large arguments properly.
53501         * math/libm-test.inc (atan_test): New tests.
53502         (atan2_test): New tests.
53503         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53504         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53506 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
53508         [BZ #14856]
53509         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
53510         Define to 3.
53512         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
53513         [POSIX] (EADDRNOTAVAIL): Likewise.
53514         [POSIX] (EAFNOSUPPORT): Likewise.
53515         [POSIX] (EALREADY): Likewise.
53516         [POSIX] (ECONNABORTED): Likewise.
53517         [POSIX] (ECONNREFUSED): Likewise.
53518         [POSIX] (ECONNRESET): Likewise.
53519         [POSIX] (EDESTADDRREQ): Likewise.
53520         [POSIX] (EDQUOT): Likewise.
53521         [POSIX] (EHOSTUNREACH): Likewise.
53522         [POSIX] (EIDRM): Likewise.
53523         [POSIX] (EISCONN): Likewise.
53524         [POSIX] (ELOOP): Likewise.
53525         [POSIX] (EMULTIHOP): Likewise.
53526         [POSIX] (ENETDOWN): Likewise.
53527         [POSIX] (ENETUNREACH): Likewise.
53528         [POSIX] (ENOBUFS): Likewise.
53529         [POSIX] (ENODATA): Likewise.
53530         [POSIX] (ENOLINK): Likewise.
53531         [POSIX] (ENOMSG): Likewise.
53532         [POSIX] (ENOPROTOOPT): Likewise.
53533         [POSIX] (ENOSR): Likewise.
53534         [POSIX] (ENOSTR): Likewise.
53535         [POSIX] (ENOTCONN): Likewise.
53536         [POSIX] (ENOTSOCK): Likewise.
53537         [POSIX] (EOPNOTSUPP): Likewise.
53538         [POSIX] (EOVERFLOW): Likewise.
53539         [POSIX] (EPROTO): Likewise.
53540         [POSIX] (EPROTONOSUPPORT): Likewise.
53541         [POSIX] (EPROTOTYPE): Likewise.
53542         [POSIX] (ESTALE): Likewise.
53543         [POSIX] (ETIME): Likewise.
53544         [POSIX] (ETXTBSY): Likewise.
53545         [POSIX] (EWOULDBLOCK): Likewise.
53546         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
53547         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
53548         [POSIX] (SEEK_CUR): Likewise.
53549         [POSIX] (SEEK_END): Likewise.
53550         [POSIX || UNIX98] (mode_t): Do not require.
53551         [POSIX] (off_t): Likewise.
53552         [POSIX] (pid_t): Likewise.
53553         [POSIX] (sys/stat.h): Do not allow header.
53554         [POSIX] (unistd.h): Likewise.
53555         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
53556         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
53557         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
53558         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
53559         require.
53560         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
53561         sigevent): Specify elements.
53562         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
53563         entry.
53564         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
53565         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
53567         * conform/data/cpio.h-data [POSIX]: Disable whole file.
53568         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
53569         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
53570         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
53571         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
53572         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
53573         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
53574         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
53575         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
53576         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
53577         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
53578         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
53579         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
53580         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
53581         Likewise.
53582         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
53583         Likewise.
53584         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
53585         Likewise.
53586         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
53587         Likewise.
53588         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
53589         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
53590         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
53591         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
53592         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
53593         Specify lower bound on value.
53594         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
53595         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
53596         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
53597         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
53598         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
53599         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
53600         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
53601         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
53602         value.
53603         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
53604         as optional.
53605         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
53606         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
53607         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
53608         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
53609         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
53610         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
53611         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
53612         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
53613         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
53614         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
53615         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
53616         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
53617         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
53618         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
53619         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
53620         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
53621         entry.
53622         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
53623         optional.
53624         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
53625         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
53626         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
53627         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
53628         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
53629         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
53630         Likewise.
53631         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
53632         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
53633         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
53634         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
53635         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
53636         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
53637         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
53638         as optional.
53639         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
53640         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
53641         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
53642         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
53643         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
53644         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
53645         specify as optional.
53646         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
53647         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
53648         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
53649         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
53650         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
53651         [XPG3] (NL_LANGMAX): Likewise.
53652         [POSIX || XPG3] (NL_MSGMAX): Likewise.
53653         [POSIX || XPG3] (NL_NMAX): Likewise.
53654         [POSIX || XPG3] (NL_SETMAX): Likewise.
53655         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
53656         [XPG3] (NZERO): Likewise.
53657         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
53658         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
53659         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
53660         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
53661         (REG_ERANGE): Expect.
53662         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
53663         optional-constant.
53664         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
53665         Use (void) in prototype.
53666         [POSIX] (*_t): Allow.
53667         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
53668         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
53669         (WRDE_BADVAL): Expect.
53671         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
53672         expect.
53673         [XPG3 || XPG4] (O_RSYNC): Likewise.
53674         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
53675         Likewise.
53676         [XPG3 || XPG4] (pthread_sigmask): Likewise.
53677         [XPG3 || XPG4] (sigqueue): Likewise.
53678         [XPG3 || XPG4] (sigtimedwait): Likewise.
53679         [XPG3 || XPG4] (sigwaitinfo): Likewise.
53680         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
53681         [XPG3 || XPG4] (vsnprintf): Likewise.
53682         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
53683         Likewise.
53684         [XPG3 || XPG4] (blksize_t): Likewise.
53685         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
53686         Likewise.
53687         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
53688         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
53689         [XPG3 || XPG4] (struct itimerspec): Likewise.
53690         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
53691         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
53692         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
53693         [XPG3 || XPG4] (clockid_t): Likewise.
53694         [XPG3 || XPG4] (timer_t): Likewise.
53695         [XPG3 || XPG4] (clock_getres): Likewise.
53696         [XPG3 || XPG4] (clock_gettime): Likewise.
53697         [XPG3 || XPG4] (clock_settime): Likewise.
53698         [XPG3 || XPG4] (nanosleep): Likewise.
53699         [XPG3 || XPG4] (timer_create): Likewise.
53700         [XPG3 || XPG4] (timer_delete): Likewise.
53701         [XPG3 || XPG4] (timer_gettime): Likewise.
53702         [XPG3 || XPG4] (timer_getoverrun): Likewise.
53703         [XPG3 || XPG4] (timer_settime): Likewise.
53704         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
53705         [XPG3 || XPG4] (getlogin_r): Likewise.
53706         [XPG3 || XPG4] (pread): Likewise.
53707         [XPG3 || XPG4] (pthread_atfork): Likewise.
53708         [XPG3 || XPG4] (pwrite): Likewise.
53710         [BZ #14835]
53711         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
53712         <bits/siginfo.h>.
53714 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
53716         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
53717         finalizing MALLSTREAM.
53719         * sysdeps/mach/hurd/syncfs.c: New file.
53721 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
53723         [BZ #14719]
53724         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
53725         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
53726         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
53727         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
53728         (_nss_dns_gethostbyname4_r): Likewise.
53729         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
53730         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
53732 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
53734         [BZ #13763]
53735         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
53737 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
53739         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
53740         * elf/cache.c (print_entry): Print ",AArch64" for
53741         FLAG_AARCH64_LIB64
53743         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
53744         * elf/cache.c (print_entry): Print ",hard-float" for
53745         FLAG_ARM_LIBHF.
53747 2012-11-18  David S. Miller  <davem@davemloft.net>
53749         With help from Joseph Myers.
53750         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
53751         cutoff to 2**-13.
53752         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
53753         cutoff to 2**-25.
53754         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
53755         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
53756         small.
53757         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
53758         * math/libm-test.inc (y0_test): New tests.
53759         (y1_test): New tests.
53760         * sysdeps/i386/fpu/libm-test-ulps: Update.
53761         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53762         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53764 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
53766         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
53767         64-bit targets.
53768         * configure: Regenerated.
53770 2012-11-17  David S. Miller  <davem@davemloft.net>
53772         [BZ #14811]
53773         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
53774         nonzero exponents with absolute value below 0x1p-128 to +/-
53775         0x1p-128.
53777 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
53779         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
53781         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
53783         * posix/getconf-speclist.c: New file.
53784         * posix/posix-envs.def: Likewise.
53785         * posix/confstr.c (START_ENV_GROUP): New macro.
53786         (END_ENV_GROUP): Likewise.
53787         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
53788         (KNOWN_PRESENT_ENV_STRING): Likewise.
53789         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
53790         (UNKNOWN_ENVIRONMENT): Likewise.
53791         (confstr): Include posix-envs.def instead of handling
53792         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
53793         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
53794         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
53795         (END_ENV_GROUP): Likewise.
53796         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
53797         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
53798         (UNKNOWN_ENVIRONMENT): Likewise.
53799         (__sysconf): Include posix-envs.def instead of handling associated
53800         cases directly here.
53801         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
53802         preprocessing getconf-speclist.c rather than running getconf or
53803         generating empty file.
53805 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
53807         * scripts/check-local-headers.sh: Ignore 'mach' headers.
53809 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
53811         [BZ #14672]
53812         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
53814 2012-11-16  David S. Miller  <davem@davemloft.net>
53816         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
53817         smaller than LDBL_EPSILON/2.0L, just return xm1.
53819 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
53821         * elf/tst-array1.c (init): Set constructor priority to 1000.
53822         (fini): Set destructor priority to 1000.
53823         * elf/tst-array2dep.c: Likewise.
53825 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
53827         [BZ #11741]
53828         * libio/fileops.c (_IO_new_file_write): Correctly return error.
53829         (_IO_new_file_xsputn): Also return EOF if none of the input
53830         data was written when overflow failed.
53831         * libio/iopadn.c (_IO_padn): Likewise.
53832         * libio/iowpadn.c (_IO_wpadn): Likewise.
53833         * stdio-common/tst-put-error.c: Add copyright notice.
53834         (do_test): Add case for printing padded string.
53835         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
53836         _IO_padn returned error.
53837         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
53838         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
53839         return EOF.
53841 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
53843         * libio/libioP.h: Add comment note that the references to C++
53844         bits are now obsolete.
53846 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53848         * math/libm-test.inc (check_complex): Use asprintf.
53850 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
53852         * debug/pcprofiledump.c (print_version): Update copyright year.
53853         * malloc/memusagestat.c (print_version): Likewise.
53855 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
53857         [BZ #14831]
53858         * elf/Makefile (tests): Add tst-audit8.
53859         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
53860         ($(objpfx)tst-audit8.out): New target.
53861         (tst-audit8-ENV): New variable.
53862         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
53863         audit if l_reloc_result is NULL.
53864         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
53865         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
53866         * elf/tst-audit8.c: New file.
53868 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53870         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
53871         * misc/Makefile (CFLAGS-select.c): Define.
53872         * posix/Makefile (CFLAGS-pause.c): Define.
53874 2012-11-13  David S. Miller  <davem@davemloft.net>
53876         * crypt/Makefile: Move test targets after toplevel Rules
53877         inclusion.  Grab any necessary sysdep routines when linking.
53878         * crypt/md5.c (md5_process_block): Remove define, we will always
53879         name it __md5_process_block.
53880         (md5_finish_ctx): Update md5_process_block call.
53881         (md5_stream): Likewise.
53882         (md5_process_bytes): Likewise.
53883         (md5_process_block): Rename to __md5_process_block and move to ...
53884         * crypt/md5-block.c: ... here.
53885         * crypt/sha256.c (sha256_process_block): Move to ...
53886         * crypt/sha256-block.c: ... here.
53887         * crypt/sha512.c (sha512_process_block): Move to ...
53888         * crypt/sha512-block.c: ... here.
53889         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
53890         path.
53891         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
53892         * sysdeps/sparc/sparc64/multiarch/Makefile
53893         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
53894         crypt subdir.
53895         (localedef-aux): Add md5 crypto assembler when in locale subdir.
53896         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
53897         multiarch changes.
53898         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
53899         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
53900         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
53901         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
53902         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
53903         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
53904         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
53905         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
53906         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
53907         file.
53908         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
53909         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
53910         file.
53911         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
53913 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
53915         * timezone/tzselect.ksh: Update from tzcode git revision
53916         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
53917         * timezone/zdump.c: Likewise.
53918         * timezone/zic.c: Likewise.
53919         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
53920         in TZVERSION setting, not $(PKGVERSION).
53921         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
53922         REPORT_BUGS_TO settings.
53924         [BZ #14838]
53925         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
53926         macro.
53928 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53930         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
53931         detection to immediately after _FP_ROUND().
53932         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
53933         bits are 0.
53935 2012-11-11  David S. Miller  <davem@davemloft.net>
53937         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
53938         inttypes.h
53939         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
53940         __close rather than their public counterparts.
53942 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
53944         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
53945         file.
53946         [UNIX98] (sem_timedwait): Do not expect.
53947         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
53948         [XPG4 || UNIX98] (sockatmark): Do not expect.
53949         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
53950         (clock_getcpuclockid): Do not expect.
53951         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
53952         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
53953         Do not expect.
53954         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
53955         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
53956         [UNIX98] (vwscanf): Likewise.
53957         [UNIX98] (vswscanf): Likewise.
53959 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
53961         * timezone/version.h: Remove file.
53962         * timezone/README: Do not refer to version.h.
53963         * timezone/Makefile ($(objpfx)zic.o): New dependency on
53964         $(objpfx)version.h.
53965         ($(objpfx)zdump.o): Likewise.
53966         ($(objpfx)version.h): New target.
53968         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
53969         2012i.
53970         * timezone/README: Don't mention modification to tzselect.ksh.
53971         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
53972         work on unmodified tzselect.ksh.  Substitute version numbers in
53973         tzselect.ksh.
53975         * Makefile (format-me): Remove.
53976         (INSTALL): Adjust indentation.  Use commands directly instead of
53977         using $(format-me).
53979         * aclocal.m4 (ACX_PKGVERSION): New macro.
53980         (ACX_BUGURL): Likewise.
53981         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
53982         (PKGVERSION): New AC_DEFINE_UNQUOTED.
53983         (REPORT_BUGS_TO): Likewise.
53984         * configure: Regenerated.
53985         * config.h.in (PKGVERSION): New macro.
53986         (REPORT_BUGS_TO): Likewise.
53987         * config.make.in (PKGVERSION): New variable.
53988         (PKGVERSION_TEXI): Likewise.
53989         (REPORT_BUGS_TO): Likewise.
53990         (REPORT_BUGS_TEXI): Likewise.
53991         * Makefile (format-me): Use -I$(common-objpfx)manual.
53992         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
53993         ($(common-objpfx)manual/%): New target.
53994         (manual/%): Remove target.
53995         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
53996         (print_version): Use PKGVERSION.
53997         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
53998         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
53999         and REPORT_BUGS_TO.
54000         ($(objpfx)xtrace): Likewise.
54001         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
54002         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
54003         (print_version): Use PKGVERSION.
54004         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
54005         (do_version): Use PKGVERSION.
54006         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
54007         REPORT_BUGS_TO.
54008         (common-ldd-rewrite): Likewise.
54009         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
54010         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
54011         (print_version): Use PKGVERSION.
54012         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
54013         * elf/pldd.c (argp_program_bug_address): Remove variable.
54014         (more_help): New function.
54015         (argp): Use more_help.
54016         (print_version): Use PKGVERSION.
54017         * elf/sln.c (main): Use PKGVERSION.
54018         (usage): Use REPORT_BUGS_TO.
54019         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
54020         (top level): Use PKGVERSION.
54021         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
54022         (print_version): Use PKGVERSION.
54023         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
54024         (print_version): Use PKGVERSION.
54025         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
54026         (print_version): Use PKGVERSION.
54027         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
54028         (print_version): Use PKGVERSION.
54029         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
54030         (print_version): Use PKGVERSION.
54031         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
54032         (print_version): Use PKGVERSION.
54033         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
54034         and BUGURL.
54035         ($(objpfx)memusage): Likewise.
54036         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
54037         (do_version): Use PKGVERSION.
54038         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
54039         (print_version): Use PKGVERSION.
54040         * malloc/mtrace.pl ($PACKAGE): Remove variable.
54041         ($PKGVERSION): New variable.
54042         ($REPORT_BUGS_TO): Likewise.
54043         (usage): Use $REPORT_BUGS_TO.
54044         (top level): Use $PKGVERSION.
54045         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
54046         ($(objpfx)pkgvers.texi): New rule.
54047         ($(objpfx)stamp-pkgvers): Likewise.
54048         * manual/install.texi: Include pkgvers.texi.
54049         (--with-pkgversion): Document new configure option.
54050         (--with-bugurl): Likewise.
54051         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
54052         than necessarily for this particular distribution.  Use
54053         REPORT_BUGS_TO for where to report bugs.
54054         * INSTALL: Regenerated.
54055         * manual/libc.texinfo: Include pkgvers.texi.
54056         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
54057         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
54058         (print_version): Use PKGVERSION.
54059         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
54060         (print_version): Use PKGVERSION.
54061         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
54062         (print_version): Use PKGVERSION.
54063         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
54064         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
54065         macro.
54066         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
54067         (print_version): Use PKGVERSION.
54068         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
54069         (print_version): Use PKGVERSION.
54070         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
54071         and PKGVERSION.
54073         * timezone/checktab.awk: Update from tzcode 2012i.
54074         * timezone/ialloc.c: Likewise.
54075         * timezone/private.h: Likewise.
54076         * timezone/scheck.c: Likewise.
54077         * timezone/tzfile.h: Likewise.
54078         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
54079         (TZVERSION): Hardcode tzcode version number.
54080         * timezone/zdump.c: Update from tzcode 2012i.
54081         * timezone/zic.c: Likewise.
54082         * timezone/version.h: New file.
54083         * timezone/README: Describe version.h.  Update upstream location.
54085         [BZ #14824]
54086         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
54087         (mktemp): Enable declaration.
54088         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
54089         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
54090         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
54091         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
54092         Likewise.
54093         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
54094         Likewise.
54095         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
54096         Likewise.
54097         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
54098         Likewise.
54099         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
54100         Likewise.
54101         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
54102         Likewise.
54104         [BZ #14821]
54105         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
54106         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
54107         for copies of such integer values.
54108         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
54109         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
54111 2012-11-09  Andreas Jaeger  <aj@suse.de>
54113         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
54114         definitions and declarations that are provided by
54115         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
54117 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54119         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
54120         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
54121         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
54122         definition.
54124 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54126         * elf/elf.h: Update comment before AArch64 relocations.
54128 2012-11-07  David S. Miller  <davem@davemloft.net>
54130         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
54131         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
54132         (__start_context): Declare.
54133         (__makecontext_ret): Delete.
54134         (__makecontext): Hook up __start_context instead of
54135         __makecontext_ret.
54136         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
54137         (sysdep_routines): Add __start_context when in stdlib.
54139 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
54141         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
54142         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
54143         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
54144         hardcoded "nm".
54145         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
54146         (READELF): New variable.  Use it instead of hardcoded "readelf".
54148 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
54150         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
54151         * sysdeps/x86/Makefile: Here.
54152         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
54153         * sysdeps/x86/tst-xmmymm.sh: This.
54155 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
54157         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
54158         expectations.
54159         [UNIX98] (pthread_barrier_t): Do not expect.
54160         [UNIX98] (pthread_barrierattr_t): Likewise.
54161         [UNIX98] (pthread_spinlock_t): Likewise.
54162         [UNIX98] (pthread_barrier_destroy): Likewise.
54163         [UNIX98] (pthread_barrier_init): Likewise.
54164         [UNIX98] (pthread_barrier_wait): Likewise.
54165         [UNIX98] (pthread_barrierattr_destroy): Likewise.
54166         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
54167         [UNIX98] (pthread_barrierattr_init): Likewise.
54168         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
54169         [UNIX98] (pthread_getcpuclockid): Likewise.
54170         [UNIX98] (pthread_mutex_timedlock): Likewise.
54171         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
54172         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
54173         [UNIX98] (pthread_sigmask): Likewise.
54174         [UNIX98] (pthread_spin_destroy): Likewise.
54175         [UNIX98] (pthread_spin_init): Likewise.
54176         [UNIX98] (pthread_spin_lock): Likewise.
54177         [UNIX98] (pthread_spin_trylock): Likewise.
54178         [UNIX98] (pthread_spin_unlock): Likewise.
54179         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
54180         Do not expect.
54181         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
54182         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
54183         [XPG3 || XPG4] (pthread_cond_t): Likewise.
54184         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
54185         [XPG3 || XPG4] (pthread_key_t): Likewise.
54186         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
54187         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
54188         [XPG3 || XPG4] (pthread_once_t): Likewise.
54189         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
54190         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
54191         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
54192         [XPG3 || XPG4] (pthread_t): Likewise.
54194         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
54195         not expect.
54196         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
54198         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
54199         Change function return type to int.
54201         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
54202         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
54203         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
54204         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
54205         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
54206         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
54207         [!POSIX] (posix_madvise): Likewise.
54208         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
54209         && !UNIX98].
54210         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
54211         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
54212         (mode_t): Likewise.
54213         (posix_mem_offset): Likewise.
54214         (posix_typed_mem_get_info): Likewise.
54215         (posix_typed_mem_open): Likewise.
54217         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
54218         Change condition to [XOPEN2K8].
54220         * conform/conformtest.pl: Preprocess allow-header data with -x c
54221         instead of from stdin.
54222         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
54223         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
54224         [C99-based standards] (cerfc): Likewise.
54225         [C99-based standards] (cexp2): Likewise.
54226         [C99-based standards] (cexpm1): Likewise.
54227         [C99-based standards] (clog10): Likewise.
54228         [C99-based standards] (clog1p): Likewise.
54229         [C99-based standards] (clog2): Likewise.
54230         [C99-based standards] (clgamma): Likewise.
54231         [C99-based standards] (ctgamma): Likewise.
54232         [C99-based standards] (cerff): Likewise.
54233         [C99-based standards] (cerfcf): Likewise.
54234         [C99-based standards] (cexp2f): Likewise.
54235         [C99-based standards] (cexpm1f): Likewise.
54236         [C99-based standards] (clog10f): Likewise.
54237         [C99-based standards] (clog1pf): Likewise.
54238         [C99-based standards] (clog2f): Likewise.
54239         [C99-based standards] (clgammaf): Likewise.
54240         [C99-based standards] (ctgammaf): Likewise.
54241         [C99-based standards] (cerfl): Likewise.
54242         [C99-based standards] (cerfcl): Likewise.
54243         [C99-based standards] (cexp2l): Likewise.
54244         [C99-based standards] (cexpm1l): Likewise.
54245         [C99-based standards] (clog10l): Likewise.
54246         [C99-based standards] (clog1pl): Likewise.
54247         [C99-based standards] (clog2l): Likewise.
54248         [C99-based standards] (clgammal): Likewise.
54249         [C99-based standards] (ctgammal): Likewise.
54250         * conform/data/inttypes.h-data [C99-based standards]: Include
54251         stdint.h-data.  Remove all expectations for stdint.h contents.
54252         [C99-based standards] (PRI*): Do not allow.
54253         [C99-based standards] (SCN*): Likewise.
54254         [C99-based standards] (*_t): Likewise.
54255         [C99-based-standards] (PRId8): Expect macro.
54256         [C99-based-standards] (PRIi8): Likewise.
54257         [C99-based-standards] (PRIo8): Likewise.
54258         [C99-based-standards] (PRIu8): Likewise.
54259         [C99-based-standards] (PRIx8): Likewise.
54260         [C99-based-standards] (PRIX8): Likewise.
54261         [C99-based-standards] (SCNd8): Likewise.
54262         [C99-based-standards] (SCNi8): Likewise.
54263         [C99-based-standards] (SCNo8): Likewise.
54264         [C99-based-standards] (SCNu8): Likewise.
54265         [C99-based-standards] (SCNx8): Likewise.
54266         [C99-based-standards] (PRIdLEAST8): Likewise.
54267         [C99-based-standards] (PRIiLEAST8): Likewise.
54268         [C99-based-standards] (PRIoLEAST8): Likewise.
54269         [C99-based-standards] (PRIuLEAST8): Likewise.
54270         [C99-based-standards] (PRIxLEAST8): Likewise.
54271         [C99-based-standards] (PRIXLEAST8): Likewise.
54272         [C99-based-standards] (SCNdLEAST8): Likewise.
54273         [C99-based-standards] (SCNiLEAST8): Likewise.
54274         [C99-based-standards] (SCNoLEAST8): Likewise.
54275         [C99-based-standards] (SCNuLEAST8): Likewise.
54276         [C99-based-standards] (SCNxLEAST8): Likewise.
54277         [C99-based-standards] (PRIdFAST8): Likewise.
54278         [C99-based-standards] (PRIiFAST8): Likewise.
54279         [C99-based-standards] (PRIoFAST8): Likewise.
54280         [C99-based-standards] (PRIuFAST8): Likewise.
54281         [C99-based-standards] (PRIxFAST8): Likewise.
54282         [C99-based-standards] (PRIXFAST8): Likewise.
54283         [C99-based-standards] (SCNdFAST8): Likewise.
54284         [C99-based-standards] (SCNiFAST8): Likewise.
54285         [C99-based-standards] (SCNoFAST8): Likewise.
54286         [C99-based-standards] (SCNuFAST8): Likewise.
54287         [C99-based-standards] (SCNxFAST8): Likewise.
54288         [C99-based-standards] (PRId16): Likewise.
54289         [C99-based-standards] (PRIi16): Likewise.
54290         [C99-based-standards] (PRIo16): Likewise.
54291         [C99-based-standards] (PRIu16): Likewise.
54292         [C99-based-standards] (PRIx16): Likewise.
54293         [C99-based-standards] (PRIX16): Likewise.
54294         [C99-based-standards] (SCNd16): Likewise.
54295         [C99-based-standards] (SCNi16): Likewise.
54296         [C99-based-standards] (SCNo16): Likewise.
54297         [C99-based-standards] (SCNu16): Likewise.
54298         [C99-based-standards] (SCNx16): Likewise.
54299         [C99-based-standards] (PRIdLEAST16): Likewise.
54300         [C99-based-standards] (PRIiLEAST16): Likewise.
54301         [C99-based-standards] (PRIoLEAST16): Likewise.
54302         [C99-based-standards] (PRIuLEAST16): Likewise.
54303         [C99-based-standards] (PRIxLEAST16): Likewise.
54304         [C99-based-standards] (PRIXLEAST16): Likewise.
54305         [C99-based-standards] (SCNdLEAST16): Likewise.
54306         [C99-based-standards] (SCNiLEAST16): Likewise.
54307         [C99-based-standards] (SCNoLEAST16): Likewise.
54308         [C99-based-standards] (SCNuLEAST16): Likewise.
54309         [C99-based-standards] (SCNxLEAST16): Likewise.
54310         [C99-based-standards] (PRIdFAST16): Likewise.
54311         [C99-based-standards] (PRIiFAST16): Likewise.
54312         [C99-based-standards] (PRIoFAST16): Likewise.
54313         [C99-based-standards] (PRIuFAST16): Likewise.
54314         [C99-based-standards] (PRIxFAST16): Likewise.
54315         [C99-based-standards] (PRIXFAST16): Likewise.
54316         [C99-based-standards] (SCNdFAST16): Likewise.
54317         [C99-based-standards] (SCNiFAST16): Likewise.
54318         [C99-based-standards] (SCNoFAST16): Likewise.
54319         [C99-based-standards] (SCNuFAST16): Likewise.
54320         [C99-based-standards] (SCNxFAST16): Likewise.
54321         [C99-based-standards] (PRId32): Likewise.
54322         [C99-based-standards] (PRIi32): Likewise.
54323         [C99-based-standards] (PRIo32): Likewise.
54324         [C99-based-standards] (PRIu32): Likewise.
54325         [C99-based-standards] (PRIx32): Likewise.
54326         [C99-based-standards] (PRIX32): Likewise.
54327         [C99-based-standards] (SCNd32): Likewise.
54328         [C99-based-standards] (SCNi32): Likewise.
54329         [C99-based-standards] (SCNo32): Likewise.
54330         [C99-based-standards] (SCNu32): Likewise.
54331         [C99-based-standards] (SCNx32): Likewise.
54332         [C99-based-standards] (PRIdLEAST32): Likewise.
54333         [C99-based-standards] (PRIiLEAST32): Likewise.
54334         [C99-based-standards] (PRIoLEAST32): Likewise.
54335         [C99-based-standards] (PRIuLEAST32): Likewise.
54336         [C99-based-standards] (PRIxLEAST32): Likewise.
54337         [C99-based-standards] (PRIXLEAST32): Likewise.
54338         [C99-based-standards] (SCNdLEAST32): Likewise.
54339         [C99-based-standards] (SCNiLEAST32): Likewise.
54340         [C99-based-standards] (SCNoLEAST32): Likewise.
54341         [C99-based-standards] (SCNuLEAST32): Likewise.
54342         [C99-based-standards] (SCNxLEAST32): Likewise.
54343         [C99-based-standards] (PRIdFAST32): Likewise.
54344         [C99-based-standards] (PRIiFAST32): Likewise.
54345         [C99-based-standards] (PRIoFAST32): Likewise.
54346         [C99-based-standards] (PRIuFAST32): Likewise.
54347         [C99-based-standards] (PRIxFAST32): Likewise.
54348         [C99-based-standards] (PRIXFAST32): Likewise.
54349         [C99-based-standards] (SCNdFAST32): Likewise.
54350         [C99-based-standards] (SCNiFAST32): Likewise.
54351         [C99-based-standards] (SCNoFAST32): Likewise.
54352         [C99-based-standards] (SCNuFAST32): Likewise.
54353         [C99-based-standards] (SCNxFAST32): Likewise.
54354         [C99-based-standards] (PRId64): Likewise.
54355         [C99-based-standards] (PRIi64): Likewise.
54356         [C99-based-standards] (PRIo64): Likewise.
54357         [C99-based-standards] (PRIu64): Likewise.
54358         [C99-based-standards] (PRIx64): Likewise.
54359         [C99-based-standards] (PRIX64): Likewise.
54360         [C99-based-standards] (SCNd64): Likewise.
54361         [C99-based-standards] (SCNi64): Likewise.
54362         [C99-based-standards] (SCNo64): Likewise.
54363         [C99-based-standards] (SCNu64): Likewise.
54364         [C99-based-standards] (SCNx64): Likewise.
54365         [C99-based-standards] (PRIdLEAST64): Likewise.
54366         [C99-based-standards] (PRIiLEAST64): Likewise.
54367         [C99-based-standards] (PRIoLEAST64): Likewise.
54368         [C99-based-standards] (PRIuLEAST64): Likewise.
54369         [C99-based-standards] (PRIxLEAST64): Likewise.
54370         [C99-based-standards] (PRIXLEAST64): Likewise.
54371         [C99-based-standards] (SCNdLEAST64): Likewise.
54372         [C99-based-standards] (SCNiLEAST64): Likewise.
54373         [C99-based-standards] (SCNoLEAST64): Likewise.
54374         [C99-based-standards] (SCNuLEAST64): Likewise.
54375         [C99-based-standards] (SCNxLEAST64): Likewise.
54376         [C99-based-standards] (PRIdFAST64): Likewise.
54377         [C99-based-standards] (PRIiFAST64): Likewise.
54378         [C99-based-standards] (PRIoFAST64): Likewise.
54379         [C99-based-standards] (PRIuFAST64): Likewise.
54380         [C99-based-standards] (PRIxFAST64): Likewise.
54381         [C99-based-standards] (PRIXFAST64): Likewise.
54382         [C99-based-standards] (SCNdFAST64): Likewise.
54383         [C99-based-standards] (SCNiFAST64): Likewise.
54384         [C99-based-standards] (SCNoFAST64): Likewise.
54385         [C99-based-standards] (SCNuFAST64): Likewise.
54386         [C99-based-standards] (SCNxFAST64): Likewise.
54387         [C99-based-standards] (PRIdMAX): Likewise.
54388         [C99-based-standards] (PRIiMAX): Likewise.
54389         [C99-based-standards] (PRIoMAX): Likewise.
54390         [C99-based-standards] (PRIuMAX): Likewise.
54391         [C99-based-standards] (PRIxMAX): Likewise.
54392         [C99-based-standards] (PRIXMAX): Likewise.
54393         [C99-based-standards] (SCNdMAX): Likewise.
54394         [C99-based-standards] (SCNiMAX): Likewise.
54395         [C99-based-standards] (SCNoMAX): Likewise.
54396         [C99-based-standards] (SCNuMAX): Likewise.
54397         [C99-based-standards] (SCNxMAX): Likewise.
54398         [C99-based-standards] (PRIdPTR): Likewise.
54399         [C99-based-standards] (PRIiPTR): Likewise.
54400         [C99-based-standards] (PRIoPTR): Likewise.
54401         [C99-based-standards] (PRIuPTR): Likewise.
54402         [C99-based-standards] (PRIxPTR): Likewise.
54403         [C99-based-standards] (PRIXPTR): Likewise.
54404         [C99-based-standards] (SCNdPTR): Likewise.
54405         [C99-based-standards] (SCNiPTR): Likewise.
54406         [C99-based-standards] (SCNoPTR): Likewise.
54407         [C99-based-standards] (SCNuPTR): Likewise.
54408         [C99-based-standards] (SCNxPTR): Likewise.
54409         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
54410         allow.
54411         * conform/data/stdint.h-data: Update comments to clarify
54412         requirements.
54413         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
54414         type.
54415         [C99-based standards] (INT8_MAX): Likewise.
54416         [C99-based standards] (INT16_MIN): Likewise.
54417         [C99-based standards] (INT16_MAX): Likewise.
54418         [C99-based standards] (INT32_MIN): Likewise.
54419         [C99-based standards] (INT32_MAX): Likewise.
54420         [C99-based standards] (INT64_MIN): Likewise.
54421         [C99-based standards] (INT64_MAX): Likewise.
54422         [C99-based standards] (UINT8_MAX): Likewise.
54423         [C99-based standards] (UINT16_MAX): Likewise.
54424         [C99-based standards] (UINT32_MAX): Likewise.
54425         [C99-based standards] (UINT64_MAX): Likewise.
54426         [C99-based standards] (INT_LEAST8_MIN): Likewise.
54427         [C99-based standards] (INT_LEAST8_MAX): Likewise.
54428         [C99-based standards] (INT_LEAST16_MIN): Likewise.
54429         [C99-based standards] (INT_LEAST16_MAX): Likewise.
54430         [C99-based standards] (INT_LEAST32_MIN): Likewise.
54431         [C99-based standards] (INT_LEAST32_MAX): Likewise.
54432         [C99-based standards] (INT_LEAST64_MIN): Likewise.
54433         [C99-based standards] (INT_LEAST64_MAX): Likewise.
54434         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
54435         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
54436         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
54437         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
54438         [C99-based standards] (INT_FAST8_MIN): Likewise.
54439         [C99-based standards] (INT_FAST8_MAX): Likewise.
54440         [C99-based standards] (INT_FAST16_MIN): Likewise.
54441         [C99-based standards] (INT_FAST16_MAX): Likewise.
54442         [C99-based standards] (INT_FAST32_MIN): Likewise.
54443         [C99-based standards] (INT_FAST32_MAX): Likewise.
54444         [C99-based standards] (INT_FAST64_MIN): Likewise.
54445         [C99-based standards] (INT_FAST64_MAX): Likewise.
54446         [C99-based standards] (UINT_FAST8_MAX): Likewise.
54447         [C99-based standards] (UINT_FAST16_MAX): Likewise.
54448         [C99-based standards] (UINT_FAST32_MAX): Likewise.
54449         [C99-based standards] (UINT_FAST64_MAX): Likewise.
54450         [C99-based standards] (INTPTR_MIN): Likewise.
54451         [C99-based standards] (INTPTR_MAX): Likewise.
54452         [C99-based standards] (UINTPTR_MAX): Likewise.
54453         [C99-based standards] (INTMAX_MIN): Likewise.
54454         [C99-based standards] (INTMAX_MAX): Likewise.
54455         [C99-based standards] (UINTMAX_MAX): Likewise.
54456         [C99-based standards] (PTRDIFF_MIN): Likewise.
54457         [C99-based standards] (PTRDIFF_MAX): Likewise.
54458         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
54459         [C99-based standards] (SIZE_MAX): Likewise.
54460         [C99-based standards] (WCHAR_MAX): Likewise.
54461         [C99-based standards] (WINT_MAX): Likewise.
54462         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
54463         constraint on value.
54464         [C99-based standards] (WCHAR_MIN): Likewise.
54465         [C99-based standards] (WINT_MIN): Likewise.
54466         [C99-based standards] (*_t): Allow.
54467         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
54468         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
54469         Include math.h-data and complex.h-data.  Remove all expectations
54470         of math.h and complex.h contents.
54471         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
54472         at end of line.
54473         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
54474         (struct tm): Expect tag.
54475         [C99-based-standards] (wcstof): Expect function.
54476         [C99-based-standards] (wcstold): Likewise.
54477         [C99-based-standards] (wcstoll): Likewise.
54478         [C99-based-standards] (wcstoull): Likewise.
54479         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
54480         macro-int-constant.  Specify type.
54481         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
54482         constraint on value.
54483         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
54484         Specify type.
54485         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
54486         Specify value.
54487         [ISO C standards]: Do not allow headers.
54488         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
54489         wcs[abcdefghijklmnopqrstuvwxyz]*.
54490         [ISO C standards] (*_t): Do not allow.
54491         * conform/data/wctype.h-data [C99-based standards] (iswblank):
54492         Expect function.
54493         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
54494         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
54495         Specify type.
54496         [ISO C standards]: Do not allow headers.
54497         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
54498         is[abcdefghijklmnopqrstuvwxyz]*.
54499         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
54500         to[abcdefghijklmnopqrstuvwxyz]*.
54501         [ISO C standards] (*_t): Do not allow.
54502         * conform/data/stdalign.h-data: New file.
54503         * conform/data/stdbool.h-data: Likewise.
54504         * conform/data/stdnoreturn.h-data: Likewise.
54506 2012-11-07  Roland McGrath  <roland@hack.frob.com>
54508         [BZ #14815]
54509         * manual/filesys.texi (Directory Entries): Typo fix.
54510         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
54512 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54514         * elf/elf.h (EM_AARCH64): New macro.
54515         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
54516         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
54517         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
54518         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
54519         (R_AARCH64_TLSDESC): Likewise.
54520         (NT_ARM_TLS): Likewise.
54521         (NT_ARM_HW_BREAK): Likewise.
54522         (NT_ARM_HW_WATCH): Likewise.
54524 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
54526         [BZ #14811]
54527         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
54528         (__ieee754_powl): Saturate nonzero exponents with absolute value
54529         below 0x1p-79 to +/- 0x1p-79.
54530         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
54531         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
54532         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
54533         nonzero exponents with absolute value below 0x1p-32 to +/-
54534         0x1p-32.
54535         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
54536         (__ieee754_powl): Saturate nonzero exponents with absolute value
54537         below 0x1p-79 to +/- 0x1p-79.
54538         * math/libm-test.inc (pow_test): Add more tests.
54540 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54542         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
54543         _dl_s390_cap_flags with kernel. Increase string length.
54544         (_dl_s390_platforms): Add z196 and zEC12.
54546 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
54548         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
54549         Change XOPEN21K to XOPEN2K.
54551 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
54553         * string/memmove.c: Use memcpy when possible.
54555 2012-11-06  Andreas Jaeger  <aj@suse.de>
54557         * po/eo.po: Update from translation team.
54559 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
54561         [BZ #14793]
54562         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
54563         exponent and small x and y exponents, scale x or y up.  Increase
54564         by 2 the exponent used in scaling up.
54565         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
54566         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
54567         * math/libm-test.inc (fma_test): Add more tests.
54568         (fma_test_towardzero): Likewise.
54569         (fma_test_downward): Likewise.
54570         (fma_test_upward): Likewise.
54572 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
54574         [BZ #14805]
54575         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
54576         fenv_t *.
54578         [BZ #14801]
54579         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
54580         namespace for names of struct fields.
54581         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
54582         fenv_t fields.
54583         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
54584         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
54586 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54588         [BZ #3665]
54589         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
54591 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
54593         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
54594         PTR_DEMANGLE.
54596         [BZ #5246]
54597         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
54598         PTR_DEMANGLE.
54600 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
54602         [BZ #14797]
54603         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
54604         definitely overflow as x * y not x * y + z.
54605         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
54606         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
54607         * math/libm-test.inc (fma_test): Add more tests.
54608         (fma_test_towardzero): Likewise.
54609         (fma_test_downward): Likewise.
54610         (fma_test_upward): Likewise.
54612 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
54614         [BZ #157]
54616         * include/stub-tag.h: Remove file.
54617         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
54618         '#include' of it.
54619         * manual/maint.texi (Porting): Don't reference it.
54620         * Makerules ($(objpfx)stubs): Likewise.
54621         * dirent/closedir.c: Don't include <stub-tag.h>.
54622         * dirent/dirfd.c: Likewise.
54623         * dirent/fdopendir.c: Likewise.
54624         * dirent/getdents.c: Likewise.
54625         * dirent/getdents64.c: Likewise.
54626         * dirent/opendir.c: Likewise.
54627         * dirent/readdir.c: Likewise.
54628         * dirent/readdir64.c: Likewise.
54629         * dirent/readdir64_r.c: Likewise.
54630         * dirent/readdir_r.c: Likewise.
54631         * dirent/rewinddir.c: Likewise.
54632         * dirent/seekdir.c: Likewise.
54633         * dirent/telldir.c: Likewise.
54634         * gmon/profil.c: Likewise.
54635         * grp/setgroups.c: Likewise.
54636         * inet/if_index.c: Likewise.
54637         * io/access.c: Likewise.
54638         * io/chdir.c: Likewise.
54639         * io/chmod.c: Likewise.
54640         * io/chown.c: Likewise.
54641         * io/close.c: Likewise.
54642         * io/dup.c: Likewise.
54643         * io/dup2.c: Likewise.
54644         * io/dup3.c: Likewise.
54645         * io/euidaccess.c: Likewise.
54646         * io/faccessat.c: Likewise.
54647         * io/fchdir.c: Likewise.
54648         * io/fchmod.c: Likewise.
54649         * io/fchmodat.c: Likewise.
54650         * io/fchown.c: Likewise.
54651         * io/fchownat.c: Likewise.
54652         * io/fcntl.c: Likewise.
54653         * io/flock.c: Likewise.
54654         * io/fstatfs.c: Likewise.
54655         * io/fstatfs64.c: Likewise.
54656         * io/fstatvfs.c: Likewise.
54657         * io/fstatvfs64.c: Likewise.
54658         * io/futimens.c: Likewise.
54659         * io/fxstat.c: Likewise.
54660         * io/fxstat64.c: Likewise.
54661         * io/fxstatat.c: Likewise.
54662         * io/fxstatat64.c: Likewise.
54663         * io/getcwd.c: Likewise.
54664         * io/isatty.c: Likewise.
54665         * io/lchmod.c: Likewise.
54666         * io/lchown.c: Likewise.
54667         * io/link.c: Likewise.
54668         * io/linkat.c: Likewise.
54669         * io/lseek.c: Likewise.
54670         * io/lseek64.c: Likewise.
54671         * io/lxstat64.c: Likewise.
54672         * io/mkdir.c: Likewise.
54673         * io/mkdirat.c: Likewise.
54674         * io/mkfifo.c: Likewise.
54675         * io/mkfifoat.c: Likewise.
54676         * io/open.c: Likewise.
54677         * io/open64.c: Likewise.
54678         * io/openat.c: Likewise.
54679         * io/openat64.c: Likewise.
54680         * io/pipe.c: Likewise.
54681         * io/pipe2.c: Likewise.
54682         * io/poll.c: Likewise.
54683         * io/posix_fadvise.c: Likewise.
54684         * io/posix_fadvise64.c: Likewise.
54685         * io/posix_fallocate.c: Likewise.
54686         * io/posix_fallocate64.c: Likewise.
54687         * io/read.c: Likewise.
54688         * io/readlink.c: Likewise.
54689         * io/readlinkat.c: Likewise.
54690         * io/rmdir.c: Likewise.
54691         * io/sendfile.c: Likewise.
54692         * io/sendfile64.c: Likewise.
54693         * io/statfs.c: Likewise.
54694         * io/statfs64.c: Likewise.
54695         * io/statvfs.c: Likewise.
54696         * io/statvfs64.c: Likewise.
54697         * io/symlink.c: Likewise.
54698         * io/symlinkat.c: Likewise.
54699         * io/ttyname.c: Likewise.
54700         * io/ttyname_r.c: Likewise.
54701         * io/umask.c: Likewise.
54702         * io/unlink.c: Likewise.
54703         * io/unlinkat.c: Likewise.
54704         * io/utime.c: Likewise.
54705         * io/utimensat.c: Likewise.
54706         * io/write.c: Likewise.
54707         * io/xmknod.c: Likewise.
54708         * io/xmknodat.c: Likewise.
54709         * io/xstat.c: Likewise.
54710         * io/xstat64.c: Likewise.
54711         * login/getpt.c: Likewise.
54712         * login/grantpt.c: Likewise.
54713         * login/unlockpt.c: Likewise.
54714         * math/e_acoshl.c: Likewise.
54715         * math/e_acosl.c: Likewise.
54716         * math/e_asinl.c: Likewise.
54717         * math/e_atan2l.c: Likewise.
54718         * math/e_atanhl.c: Likewise.
54719         * math/e_coshl.c: Likewise.
54720         * math/e_expl.c: Likewise.
54721         * math/e_fmodl.c: Likewise.
54722         * math/e_gammal_r.c: Likewise.
54723         * math/e_hypotl.c: Likewise.
54724         * math/e_j0l.c: Likewise.
54725         * math/e_j1l.c: Likewise.
54726         * math/e_jnl.c: Likewise.
54727         * math/e_lgammal_r.c: Likewise.
54728         * math/e_log10l.c: Likewise.
54729         * math/e_log2l.c: Likewise.
54730         * math/e_logl.c: Likewise.
54731         * math/e_powl.c: Likewise.
54732         * math/e_rem_pio2l.c: Likewise.
54733         * math/e_sinhl.c: Likewise.
54734         * math/e_sqrtl.c: Likewise.
54735         * math/fclrexcpt.c: Likewise.
54736         * math/fedisblxcpt.c: Likewise.
54737         * math/feenablxcpt.c: Likewise.
54738         * math/fegetenv.c: Likewise.
54739         * math/fegetexcept.c: Likewise.
54740         * math/fegetround.c: Likewise.
54741         * math/feholdexcpt.c: Likewise.
54742         * math/fesetenv.c: Likewise.
54743         * math/fesetround.c: Likewise.
54744         * math/feupdateenv.c: Likewise.
54745         * math/fgetexcptflg.c: Likewise.
54746         * math/fraiseexcpt.c: Likewise.
54747         * math/fsetexcptflg.c: Likewise.
54748         * math/ftestexcept.c: Likewise.
54749         * math/k_cosl.c: Likewise.
54750         * math/k_rem_pio2l.c: Likewise.
54751         * math/k_sinl.c: Likewise.
54752         * math/k_tanl.c: Likewise.
54753         * math/s_asinhl.c: Likewise.
54754         * math/s_atanl.c: Likewise.
54755         * math/s_cbrtl.c: Likewise.
54756         * math/s_erfl.c: Likewise.
54757         * math/s_expm1l.c: Likewise.
54758         * math/s_log1pl.c: Likewise.
54759         * math/s_tanhl.c: Likewise.
54760         * misc/acct.c: Likewise.
54761         * misc/brk.c: Likewise.
54762         * misc/chflags.c: Likewise.
54763         * misc/chroot.c: Likewise.
54764         * misc/fchflags.c: Likewise.
54765         * misc/fgetxattr.c: Likewise.
54766         * misc/flistxattr.c: Likewise.
54767         * misc/fremovexattr.c: Likewise.
54768         * misc/fsetxattr.c: Likewise.
54769         * misc/fsync.c: Likewise.
54770         * misc/ftruncate.c: Likewise.
54771         * misc/futimes.c: Likewise.
54772         * misc/futimesat.c: Likewise.
54773         * misc/getdomain.c: Likewise.
54774         * misc/getdtsz.c: Likewise.
54775         * misc/gethostid.c: Likewise.
54776         * misc/gethostname.c: Likewise.
54777         * misc/getloadavg.c: Likewise.
54778         * misc/getpagesize.c: Likewise.
54779         * misc/getsysstats.c: Likewise.
54780         * misc/getxattr.c: Likewise.
54781         * misc/gtty.c: Likewise.
54782         * misc/ioctl.c: Likewise.
54783         * misc/lgetxattr.c: Likewise.
54784         * misc/listxattr.c: Likewise.
54785         * misc/llistxattr.c: Likewise.
54786         * misc/lremovexattr.c: Likewise.
54787         * misc/lsetxattr.c: Likewise.
54788         * misc/lutimes.c: Likewise.
54789         * misc/madvise.c: Likewise.
54790         * misc/mincore.c: Likewise.
54791         * misc/mlock.c: Likewise.
54792         * misc/mlockall.c: Likewise.
54793         * misc/mmap.c: Likewise.
54794         * misc/mprotect.c: Likewise.
54795         * misc/msync.c: Likewise.
54796         * misc/munlock.c: Likewise.
54797         * misc/munlockall.c: Likewise.
54798         * misc/munmap.c: Likewise.
54799         * misc/preadv.c: Likewise.
54800         * misc/preadv64.c: Likewise.
54801         * misc/ptrace.c: Likewise.
54802         * misc/pwritev.c: Likewise.
54803         * misc/pwritev64.c: Likewise.
54804         * misc/readv.c: Likewise.
54805         * misc/reboot.c: Likewise.
54806         * misc/remap_file_pages.c: Likewise.
54807         * misc/removexattr.c: Likewise.
54808         * misc/revoke.c: Likewise.
54809         * misc/select.c: Likewise.
54810         * misc/setdomain.c: Likewise.
54811         * misc/setegid.c: Likewise.
54812         * misc/seteuid.c: Likewise.
54813         * misc/sethostid.c: Likewise.
54814         * misc/sethostname.c: Likewise.
54815         * misc/setregid.c: Likewise.
54816         * misc/setreuid.c: Likewise.
54817         * misc/setxattr.c: Likewise.
54818         * misc/sstk.c: Likewise.
54819         * misc/stty.c: Likewise.
54820         * misc/swapoff.c: Likewise.
54821         * misc/swapon.c: Likewise.
54822         * misc/sync.c: Likewise.
54823         * misc/syncfs.c: Likewise.
54824         * misc/syscall.c: Likewise.
54825         * misc/truncate.c: Likewise.
54826         * misc/ualarm.c: Likewise.
54827         * misc/usleep.c: Likewise.
54828         * misc/ustat.c: Likewise.
54829         * misc/utimes.c: Likewise.
54830         * misc/vhangup.c: Likewise.
54831         * misc/writev.c: Likewise.
54832         * posix/_exit.c: Likewise.
54833         * posix/alarm.c: Likewise.
54834         * posix/execve.c: Likewise.
54835         * posix/fexecve.c: Likewise.
54836         * posix/fork.c: Likewise.
54837         * posix/fpathconf.c: Likewise.
54838         * posix/getaddrinfo.c: Likewise.
54839         * posix/getegid.c: Likewise.
54840         * posix/geteuid.c: Likewise.
54841         * posix/getgid.c: Likewise.
54842         * posix/getgroups.c: Likewise.
54843         * posix/getlogin.c: Likewise.
54844         * posix/getlogin_r.c: Likewise.
54845         * posix/getpgid.c: Likewise.
54846         * posix/getpid.c: Likewise.
54847         * posix/getppid.c: Likewise.
54848         * posix/getresgid.c: Likewise.
54849         * posix/getresuid.c: Likewise.
54850         * posix/getsid.c: Likewise.
54851         * posix/getuid.c: Likewise.
54852         * posix/glob64.c: Likewise.
54853         * posix/nanosleep.c: Likewise.
54854         * posix/pathconf.c: Likewise.
54855         * posix/pause.c: Likewise.
54856         * posix/posix_madvise.c: Likewise.
54857         * posix/pread.c: Likewise.
54858         * posix/pread64.c: Likewise.
54859         * posix/pwrite.c: Likewise.
54860         * posix/pwrite64.c: Likewise.
54861         * posix/sched_getaffinity.c: Likewise.
54862         * posix/sched_getp.c: Likewise.
54863         * posix/sched_gets.c: Likewise.
54864         * posix/sched_primax.c: Likewise.
54865         * posix/sched_primin.c: Likewise.
54866         * posix/sched_rr_gi.c: Likewise.
54867         * posix/sched_setaffinity.c: Likewise.
54868         * posix/sched_setp.c: Likewise.
54869         * posix/sched_sets.c: Likewise.
54870         * posix/sched_yield.c: Likewise.
54871         * posix/setgid.c: Likewise.
54872         * posix/setlogin.c: Likewise.
54873         * posix/setpgid.c: Likewise.
54874         * posix/setresgid.c: Likewise.
54875         * posix/setresuid.c: Likewise.
54876         * posix/setsid.c: Likewise.
54877         * posix/setuid.c: Likewise.
54878         * posix/sleep.c: Likewise.
54879         * posix/spawni.c: Likewise.
54880         * posix/sysconf.c: Likewise.
54881         * posix/times.c: Likewise.
54882         * posix/wait.c: Likewise.
54883         * posix/wait3.c: Likewise.
54884         * posix/wait4.c: Likewise.
54885         * posix/waitpid.c: Likewise.
54886         * resolv/gai_sigqueue.c: Likewise.
54887         * resource/getpriority.c: Likewise.
54888         * resource/getrlimit.c: Likewise.
54889         * resource/getrusage.c: Likewise.
54890         * resource/nice.c: Likewise.
54891         * resource/setpriority.c: Likewise.
54892         * resource/setrlimit.c: Likewise.
54893         * resource/ulimit.c: Likewise.
54894         * rt/aio_cancel.c: Likewise.
54895         * rt/aio_fsync.c: Likewise.
54896         * rt/aio_read.c: Likewise.
54897         * rt/aio_sigqueue.c: Likewise.
54898         * rt/aio_suspend.c: Likewise.
54899         * rt/aio_write.c: Likewise.
54900         * rt/clock_getres.c: Likewise.
54901         * rt/clock_gettime.c: Likewise.
54902         * rt/clock_nanosleep.c: Likewise.
54903         * rt/clock_settime.c: Likewise.
54904         * rt/lio_listio.c: Likewise.
54905         * rt/mq_close.c: Likewise.
54906         * rt/mq_getattr.c: Likewise.
54907         * rt/mq_notify.c: Likewise.
54908         * rt/mq_open.c: Likewise.
54909         * rt/mq_receive.c: Likewise.
54910         * rt/mq_send.c: Likewise.
54911         * rt/mq_setattr.c: Likewise.
54912         * rt/mq_timedreceive.c: Likewise.
54913         * rt/mq_timedsend.c: Likewise.
54914         * rt/mq_unlink.c: Likewise.
54915         * rt/shm_open.c: Likewise.
54916         * rt/shm_unlink.c: Likewise.
54917         * rt/timer_create.c: Likewise.
54918         * rt/timer_delete.c: Likewise.
54919         * rt/timer_getoverr.c: Likewise.
54920         * rt/timer_gettime.c: Likewise.
54921         * rt/timer_settime.c: Likewise.
54922         * setjmp/__longjmp.c: Likewise.
54923         * setjmp/setjmp.c: Likewise.
54924         * signal/kill.c: Likewise.
54925         * signal/killpg.c: Likewise.
54926         * signal/raise.c: Likewise.
54927         * signal/sigaction.c: Likewise.
54928         * signal/sigaltstack.c: Likewise.
54929         * signal/sigblock.c: Likewise.
54930         * signal/sigignore.c: Likewise.
54931         * signal/sigintr.c: Likewise.
54932         * signal/signal.c: Likewise.
54933         * signal/sigpause.c: Likewise.
54934         * signal/sigpending.c: Likewise.
54935         * signal/sigqueue.c: Likewise.
54936         * signal/sigreturn.c: Likewise.
54937         * signal/sigset.c: Likewise.
54938         * signal/sigsetmask.c: Likewise.
54939         * signal/sigstack.c: Likewise.
54940         * signal/sigsuspend.c: Likewise.
54941         * signal/sigtimedwait.c: Likewise.
54942         * signal/sigvec.c: Likewise.
54943         * signal/sigwait.c: Likewise.
54944         * signal/sigwaitinfo.c: Likewise.
54945         * signal/sysv_signal.c: Likewise.
54946         * socket/accept.c: Likewise.
54947         * socket/accept4.c: Likewise.
54948         * socket/bind.c: Likewise.
54949         * socket/connect.c: Likewise.
54950         * socket/getpeername.c: Likewise.
54951         * socket/getsockname.c: Likewise.
54952         * socket/getsockopt.c: Likewise.
54953         * socket/isfdtype.c: Likewise.
54954         * socket/listen.c: Likewise.
54955         * socket/recv.c: Likewise.
54956         * socket/recvfrom.c: Likewise.
54957         * socket/recvmsg.c: Likewise.
54958         * socket/send.c: Likewise.
54959         * socket/sendmsg.c: Likewise.
54960         * socket/sendto.c: Likewise.
54961         * socket/setsockopt.c: Likewise.
54962         * socket/shutdown.c: Likewise.
54963         * socket/sockatmark.c: Likewise.
54964         * socket/socket.c: Likewise.
54965         * socket/socketpair.c: Likewise.
54966         * stdio-common/ctermid.c: Likewise.
54967         * stdio-common/cuserid.c: Likewise.
54968         * stdio-common/remove.c: Likewise.
54969         * stdio-common/rename.c: Likewise.
54970         * stdio-common/renameat.c: Likewise.
54971         * stdio-common/tempname.c: Likewise.
54972         * stdlib/getcontext.c: Likewise.
54973         * stdlib/makecontext.c: Likewise.
54974         * stdlib/setcontext.c: Likewise.
54975         * stdlib/swapcontext.c: Likewise.
54976         * stdlib/system.c: Likewise.
54977         * streams/fattach.c: Likewise.
54978         * streams/fdetach.c: Likewise.
54979         * streams/getmsg.c: Likewise.
54980         * streams/getpmsg.c: Likewise.
54981         * streams/putmsg.c: Likewise.
54982         * streams/putpmsg.c: Likewise.
54983         * sysdeps/unix/bsd/getpt.c: Likewise.
54984         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
54985         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
54986         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
54987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
54988         Likewise.
54989         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
54990         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
54991         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
54992         * sysvipc/msgctl.c: Likewise.
54993         * sysvipc/msgget.c: Likewise.
54994         * sysvipc/msgrcv.c: Likewise.
54995         * sysvipc/msgsnd.c: Likewise.
54996         * sysvipc/semctl.c: Likewise.
54997         * sysvipc/semget.c: Likewise.
54998         * sysvipc/semop.c: Likewise.
54999         * sysvipc/semtimedop.c: Likewise.
55000         * sysvipc/shmat.c: Likewise.
55001         * sysvipc/shmctl.c: Likewise.
55002         * sysvipc/shmdt.c: Likewise.
55003         * sysvipc/shmget.c: Likewise.
55004         * termios/tcdrain.c: Likewise.
55005         * termios/tcflow.c: Likewise.
55006         * termios/tcflush.c: Likewise.
55007         * termios/tcgetattr.c: Likewise.
55008         * termios/tcgetpgrp.c: Likewise.
55009         * termios/tcsendbrk.c: Likewise.
55010         * termios/tcsetattr.c: Likewise.
55011         * termios/tcsetpgrp.c: Likewise.
55012         * time/adjtime.c: Likewise.
55013         * time/clock.c: Likewise.
55014         * time/getitimer.c: Likewise.
55015         * time/gettimeofday.c: Likewise.
55016         * time/setitimer.c: Likewise.
55017         * time/settimeofday.c: Likewise.
55018         * time/stime.c: Likewise.
55019         * time/time.c: Likewise.
55021 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
55023         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
55024         /usr/old/bin.
55026         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
55027         instead of spaces.
55028         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
55030 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
55032         [BZ #14796]
55033         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
55034         FE_TONEAREST before applying Dekker multiplication and Knuth
55035         addition.  Clear inexact exceptions and check for exact zero
55036         results afterwards.
55037         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
55038         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
55039         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
55040         * math/libm-test.inc (fma_test): Add more tests.
55041         (fma_test_towardzero): Likewise.
55042         (fma_test_downward): Likewise.
55043         (fma_test_upward): Likewise.
55044         * sysdeps/generic/math_private.h (default_libc_fesetround): New
55045         function.
55046         (libc_fesetround): New macro.
55047         (libc_fesetroundf): Likewise.
55048         (libc_fesetroundl): Likewise.
55049         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
55050         function.
55051         (libc_fesetround_387): Likewise.
55052         (libc_fesetroundf): New macro.
55053         (libc_fesetround): Likewise.
55054         (libc_fesetroundl): Likewise.
55055         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
55056         function.
55057         (libc_fesetroundf): New macro.
55058         (libc_fesetround): Likewise.
55059         (libc_fesetroundl): Likewise.
55060         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
55061         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
55062         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
55063         libm_hidden_ver.
55064         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
55065         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
55066         libm_hidden_def.
55067         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
55068         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
55069         libm_hidden_ver.
55070         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
55071         libm_hidden_def.
55073         [BZ #3439]
55074         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
55075         integer constant usable in #if and use that to give value to enum
55076         constant.
55077         (FE_DIVBYZERO): Likewise.
55078         (FE_UNDERFLOW): Likewise.
55079         (FE_OVERFLOW): Likewise.
55080         (FE_INVALID): Likewise.
55081         (FE_INVALID_SNAN): Likewise.
55082         (FE_INVALID_ISI): Likewise.
55083         (FE_INVALID_IDI): Likewise.
55084         (FE_INVALID_ZDZ): Likewise.
55085         (FE_INVALID_IMZ): Likewise.
55086         (FE_INVALID_COMPARE): Likewise.
55087         (FE_INVALID_SOFTWARE): Likewise.
55088         (FE_INVALID_SQRT): Likewise.
55089         (FE_INVALID_INTEGER_CONVERSION): Likewise.
55090         (FE_TONEAREST): Likewise.
55091         (FE_TOWARDZERO): Likewise.
55092         (FE_UPWARD): Likewise.
55093         (FE_DOWNWARD): Likewise.
55094         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
55095         (FE_DIVBYZERO): Likewise.
55096         (FE_OVERFLOW): Likewise.
55097         (FE_UNDERFLOW): Likewise.
55098         (FE_INEXACT): Likewise.
55099         (FE_TONEAREST): Likewise.
55100         (FE_DOWNWARD): Likewise.
55101         (FE_UPWARD): Likewise.
55102         (FE_TOWARDZERO): Likewise.
55103         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
55104         (FE_UNDERFLOW): Likewise.
55105         (FE_OVERFLOW): Likewise.
55106         (FE_DIVBYZERO): Likewise.
55107         (FE_INVALID): Likewise.
55108         (FE_TONEAREST): Likewise.
55109         (FE_TOWARDZERO): Likewise.
55110         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
55111         (FE_OVERFLOW): Likewise.
55112         (FE_UNDERFLOW): Likewise.
55113         (FE_DIVBYZERO): Likewise.
55114         (FE_INEXACT): Likewise.
55115         (FE_TONEAREST): Likewise.
55116         (FE_TOWARDZERO): Likewise.
55117         (FE_UPWARD): Likewise.
55118         (FE_DOWNWARD): Likewise.
55119         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
55120         (FE_DIVBYZERO): Likewise.
55121         (FE_OVERFLOW): Likewise.
55122         (FE_UNDERFLOW): Likewise.
55123         (FE_INEXACT): Likewise.
55124         (FE_TONEAREST): Likewise.
55125         (FE_DOWNWARD): Likewise.
55126         (FE_UPWARD): Likewise.
55127         (FE_TOWARDZERO): Likewise.
55129 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
55131         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
55133 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
55135         * scripts/cross-test-ssh.sh (command): Use newlines to separate
55136         commands.  Quote $PWD.
55137         (blacklist_exports): Don't use remove_newlines.  Replace "declare
55138         -x" by "export".
55139         (remove_newlines): Remove.
55141 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
55143         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
55144         * stdlib/stdlib.h (atof): Moved to ...
55145         * include/bits/stdlib-float.h: Here.  New file.
55146         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
55147         * stdlib/bits/stdlib-float.h: New file.
55148         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
55149         -mno-sse -mno-mmx.
55150         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
55151         <xmmintrin.h>.
55153 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
55155         * conform/conformtest.pl (@headers): Add fenv.h.
55156         * conform/data/fenv.h-data: New file.
55157         * include/fenv.h [_ISOMAC]: Disable all contents of file except
55158         include of <math/fenv.h>.
55160         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
55161         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
55162         && !UNIX98].  Enables tests for XOPEN2K8.
55163         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
55164         POSIX2008]: Likewise.
55166         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
55167         (struct rusage): Do not expect type or its members.
55169         [BZ #3439]
55170         * math/math.h (FP_NAN): Define macro to integer constant usable in
55171         #if and use that to give value to enum constant.
55172         (FP_INFINITE): Likewise.
55173         (FP_ZERO): Likewise.
55174         (FP_SUBNORMAL): Likewise.
55175         (FP_NORMAL): Likewise.
55177 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
55179         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
55180         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
55181         arguments.
55183 2012-11-02  Roland McGrath  <roland@hack.frob.com>
55185         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
55186         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
55187         autoconf-time if not.
55188         * configure.in: Remove AC_PREREQ.
55190 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
55192         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
55193         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
55194         of the internal implementation.
55196 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
55198         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
55199         except include of <misc/sys/syslog.h>.
55201 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
55203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
55204         function returns with a NULL context exit with zero.
55206 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
55208         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
55210 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
55212         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
55213         (run_program_cmd): This.
55214         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
55215         (tst_langinfo): New variable.  Use it.
55217 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
55219         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
55220         floating point opcodes.
55222 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
55224         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
55225         variable.
55227         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
55229         * sysdeps/mach/hurd/powerpc: Remove directory.
55230         * sysdeps/mach/powerpc: Likewise.
55232 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
55234         * scripts/check-local-headers.sh: Ignore c++ headers.
55236 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
55238         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
55239         __libc_cleanup_region_start argument.
55241 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
55243         [BZ #14784]
55244         [BZ #14785]
55245         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
55246         x * y using scaling, not as x * y + z.
55247         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
55248         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
55249         * math/libm-test.inc (fma_test): Add more tests.
55250         (fma_test_towardzero): Likewise.
55251         (fma_test_downward): Likewise.
55252         (fma_test_upward): Likewise.
55254 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
55256         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
55258 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
55260         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
55261         New variable.
55263 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
55265         * rt/tst-shm.c (worker): Correct checking for mmap failure.
55267 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
55269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
55270         Fix sort order.
55271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
55272         Likewise.
55274 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
55276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
55277         Fix the order of the list for glibc 2.17.
55278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
55279         Likewise.
55281 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
55283         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55285 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
55287         [BZ #14610]
55288         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
55289         for low part of x being zero before using __atanl (y).
55290         * math/libm-test.inc (atan2_test): Add another test.
55292         * manual/install.texi (Configuring and compiling): Document
55293         general use of test-wrapper and test-wrapper-env.
55294         * INSTALL: Regenerated.
55296         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
55297         (__fma): 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         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
55301         (__fmal): Do not extract and scale down low bits on after-rounding
55302         systems when result rounded to normal precision would have normal
55303         exponent.
55304         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
55305         (__fmal): Do not extract and scale down low bits on after-rounding
55306         systems when result rounded to normal precision would have normal
55307         exponent.
55308         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
55309         macro.
55310         (fma_test): Add more tests.
55311         (fma_test_towardzero): Likewise.
55312         (fma_test_downward): Likewise.
55313         (fma_test_upward): Likewise.
55315 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
55317         * sysdeps/i386/tininess.h: Renamed to ...
55318         * sysdeps/x86/tininess.h: This.
55319         * sysdeps/x86_64/tininess.h: Removed.
55321 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
55323         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
55324         input.  Use $(build-program-cmd).
55325         ($(objpfx)tst-array1-static.out): Likewise.
55326         ($(objpfx)tst-array2.out): Likewise.
55327         ($(objpfx)tst-array3.out): Likewise.
55328         ($(objpfx)tst-array4.out): Likewise.
55329         ($(objpfx)tst-array5.out): Likewise.
55330         ($(objpfx)tst-array5-static.out): Likewise.
55332 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
55334         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
55335         if defined.
55337         * nss/nsswitch.h (nss_interface_function): Provide new
55338         macro for use with NSS functions.
55339         * grp/initgroups.c: Use new macro.
55340         * nss/getXXbyYY.c: Likewise.
55341         * nss/getXXbyYY_r.c: Likewise.
55342         * nss/getXXent.c: Likewise.
55343         * nss/getXXent_r.c: Likewise.
55344         * sysdeps/posix/getaddrinfo.c: Likewise.
55346 2012-10-30  Andreas Jaeger  <aj@suse.de>
55348         * po/ru.po: Update Russion translation from translation project.
55350 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
55352         [BZ #14152]
55353         [BZ #14783]
55354         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
55355         result and shift together with sticky bit instead of replicating
55356         round-to-nearest rounding.
55357         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
55358         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
55359         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
55360         missing underflow exceptions.
55361         (fma_test_towardzero): Add more tests.
55362         (fma_test_downward): Likewise.
55363         (fma_test_upward): Likewise.
55365         [BZ #14047]
55366         * sysdeps/generic/tininess.h: New file.
55367         * sysdeps/i386/tininess.h: Likewise.
55368         * sysdeps/sh/tininess.h: Likewise.
55369         * sysdeps/x86_64/tininess.h: Likewise.
55370         * stdlib/tst-strtod-underflow.c: Likewise.
55371         * stdlib/tst-tininess.c: Likewise.
55372         * stdlib/strtod_l.c: Include <tininess.h>.
55373         (round_and_return): Do not set errno for exact underflow cases.
55374         Force an underflow exception when setting errno for underflow.
55375         Determine underflow based on rounding to normal precision if
55376         TININESS_AFTER_ROUNDING.
55377         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
55378         ERANGE for exact underflow cases.
55379         * stdlib/Makefile (tests): Add tst-tininess and
55380         tst-strtod-underflow.
55381         ($(objpfx)tst-tininess): Use $(link-libm).
55382         ($(objpfx)tst-strtod-underflow): Likewise.
55384 2012-10-30  Andreas Jaeger  <aj@suse.de>
55386         [BZ#14767]
55387         * elf/Makefile (tests): Remove conditional for have-initfini-array
55388         since this is now always required and the variable does not exist
55389         anymore.
55390         (tests-static): Likewise.
55391         (modules-names): Likewise.
55393         * po/eo.po: Add Esperanto translation from translation project.
55395         * elf/tst-array1.c (fini_array): Make writeable so that it can be
55396         merged with constructor/destructor.
55397         (init_array): Likewise.
55398         * elf/tst-array2dep.c (fini_array): Likewise.
55399         (init_array): Likewise.
55401 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
55403         * manual/message.texi: Delete @cartouche tags.
55405 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
55407         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
55408         EOPNOTSUPP.
55409         * sysdeps/mach/hurd/fsync.c: Likewise.
55411         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
55412         [_POSIX_REALTIME_SIGNALS]: Change condition to
55413         [_POSIX_REALTIME_SIGNALS > 0].
55415 2012-10-27  Andreas Jaeger  <aj@suse.de>
55417         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
55418         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
55419         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
55420         [__WORDSIZE != 64]: Likewise.
55422 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
55424         *  iconvdata/tst-table.sh: Remove ${SHELL}.
55425         *  iconvdata/tst-tables.sh: Likewise.
55427 2012-10-25  David S. Miller  <davem@davemloft.net>
55429         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
55430         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
55431         of strtoull.
55433         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
55434         ifunc-impl-list.c
55435         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
55436         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
55437         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
55438         file.
55440 2012-10-25  Roland McGrath  <roland@hack.frob.com>
55442         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
55443         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
55444         __getdirentries.
55446 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
55447             Jim Blandy  <jimb@codesourcery.com>
55449         * scripts/cross-test-ssh.sh: New file.
55450         * manual/install.texi (Configuring and compiling): Document use of
55451         cross-test-ssh.sh.
55452         * INSTALL: Regenerated.
55454 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
55456         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
55457         EOPNOTSUPP.
55459 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
55461         * Makeconfig (run-program-prefix): Fix comment.
55463 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
55464             Jim Blandy  <jimb@codesourcery.com>
55466         * Makeconfig (test-wrapper): New variable,
55467         (test-wrapper-env): Likewise.
55468         [$(cross-compiling) = yes && $(test-wrapper) != ""]
55469         (run-built-tests): Define to yes.
55470         (run-program-prefix): Use $(test-wrapper).
55471         (built-program-cmd): Likewise.
55472         * Rules (make-test-out): Use $(test-wrapper-env) and
55473         $(host-built-program-cmd).
55474         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
55475         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
55476         tst-pathopt.sh.
55477         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
55478         $(test-wrapper-env) to tst-rtld-load-self.sh.
55479         ($(objpfx)order2.out): Use $(test-wrapper).
55480         ($(objpfx)tst-initorder.out): Likewise.
55481         ($(objpfx)tst-initorder2.out): Likewise.
55482         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
55483         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
55484         (test_wrapper_env): New variable.  Use it to run ld.so.
55485         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
55486         Use it to run ld.so.
55487         (test_wrapper_env): Likewise.
55488         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
55489         $(test-wrapper) to run-iconv-test.sh.
55490         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
55491         (ICONV): Use $test_wrapper.
55492         * posix/Makefile ($(objpfx)globtest.out): Pass
55493         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
55494         globtest.sh, not $(run-program-prefix).
55495         * posix/globtest.sh (run_via_rtld_prefix): New variable.
55496         (test_wrapper): Likewise.
55497         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
55498         set together with run_via_rtld_prefix.
55499         (run_program_prefix): Define in terms of test_wrapper and
55500         run_via_rtld_prefix.
55502 2012-10-24  Roland McGrath  <roland@hack.frob.com>
55504         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
55505         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
55506         Targets removed.
55508         [BZ #14743]
55509         * include/time.h: Remove librt_hidden_proto (clock_gettime).
55510         Declare __clock_getres, __clock_gettime, __clock_settime,
55511         __clock_nanosleep, and __clock_getcpuclockid.
55512         * rt/clock_gettime.c: Define __clock_gettime as an alias.
55513         Remove librt_hidden_def (clock_gettime).
55514         * sysdeps/unix/clock_gettime.c: Likewise.
55515         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
55516         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
55517         * rt/clock_getres.c: Define __clock_getres as an alias.
55518         * sysdeps/posix/clock_getres.c: Likewise.
55519         * rt/clock_settime.c: Define __clock_settime as an alias.
55520         * sysdeps/unix/clock_settime.c: Likewise.
55521         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
55522         * sysdeps/unix/clock_nanosleep.c: Likewise.
55523         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
55524         * rt/clock-compat.c: New file.
55525         * rt/Makefile (librt-routines): Add clock-compat and move
55526         $(clock-routines) to ...
55527         (routines): ... here, new variable.
55528         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
55529         Don't add get_clockfreq here.
55530         * rt/Versions (libc: GLIBC_2.17): New version set.
55531         Add clock_* symbols here.
55532         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
55533         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
55534         (GLIBC_2.17): Add clock_* symbols.
55535         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
55536         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
55537         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
55538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
55539         Likewise.
55540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
55541         Likewise.
55542         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
55543         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
55544         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
55545         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
55546         * NEWS: Mention the move.
55548         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
55549         Use __open, __read, __close rather than their public counterparts.
55550         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
55551         (__get_clockfreq_via_cpuinfo): Likewise.
55552         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
55553         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
55555         * config.h.in (HAVE_IFUNC): New #undef.
55556         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
55557         was successful.
55558         * configure: Regenerated.
55560 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
55562         * configure.in: Move READELF check to start of file.
55563         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
55564         libc_cv_asm_gnu_indirect_function in the process.
55565         * configure: Regenerated.
55567 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
55569         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
55570         send the output to /dev/null.
55571         (libc_cv_cc_with_libunwind): Likewise.
55572         (libc_cv_as_noexecstack): Likewise.
55573         * configure: Regenerate.
55575 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
55577         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
55579         * posix/globtest.sh (TMPDIR): Do not set.
55580         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
55581         (testout): Likewise.
55583 2012-10-24  Andreas Jaeger  <aj@suse.de>
55585         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
55586         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
55587         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
55588         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
55589         posix_fadvise64, posix_fallocate64.
55591         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
55592         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
55593         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
55594         Likewise.
55595         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
55596         Likewise.
55597         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
55599         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
55600         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
55601         <bits/fcntl-linux.h>.
55602         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
55604         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
55605         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
55606         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
55607         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
55608         [__WORDSIZE != 64]: Likewise.
55610 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
55612         * Makeconfig (run-built-tests): New variable.
55613         * Rules [$(cross-compiling) = yes]: Change condition to
55614         [$(run-built-tests) = no].
55615         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
55616         to [$(run-built-tests) = yes].
55617         * elf/Makefile [$(cross-compiling) = no]: Likewise.
55618         * grp/Makefile [$(cross-compiling) = no]: Likewise.
55619         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
55620         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
55621         * intl/Makefile [$(cross-compiling) = no]: Likewise.
55622         * io/Makefile [$(cross-compiling) = no]: Likewise.
55623         * libio/Makefile [$(cross-compiling) = no]: Likewise.
55624         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
55625         * misc/Makefile [$(cross-compiling) = no]: Likewise.
55626         * posix/Makefile [$(cross-compiling) = no]: Likewise.
55627         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
55628         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
55629         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
55630         * string/Makefile [$(cross-compiling) = no]: Likewise.
55632         * posix/Makefile ($(objpfx)globtest.out): Pass
55633         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
55634         $(rtld-installed-name).
55635         * posix/globtest.sh (elf_objpfx): Remove variable.
55636         (rtld_installed_name): Likewise.
55637         (library_path): Likewise.
55638         (run_program_prefix): New variable.  Use for running globtest
55639         binary.
55641 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
55642             Joseph Myers  <joseph@codesourcery.com>
55644         * Makeconfig (host-built-program-cmd): New variable.
55645         * elf/Makefile (tst-stackguard1-ARGS): Use
55646         $(host-built-program-cmd).
55647         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
55648         (tst-spawn-ARGS): Likewise.
55649         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
55651 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
55652             Jim Blandy  <jimb@codesourcery.com>
55654         * Makeconfig (run-via-rtld-prefix): New variable.
55655         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
55656         (built-program-cmd): Likewise.
55658 2012-10-22  Andreas Jaeger  <aj@suse.de>
55660         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
55661         __O_RSYNC if it exists, otherwise to O_SYNC.
55663 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
55664             Joseph Myers  <joseph@codesourcery.com>
55666         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
55667         /dev/null.
55668         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
55669         from /dev/null
55670         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
55671         /dev/null.
55673 2012-10-22  Andreas Jaeger  <aj@suse.de>
55675         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
55676         Define always.
55677         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
55679         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55680         bits/fcntl-linux.h.
55682         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
55683         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
55685         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
55686         to __O_LARGEFILE.
55687         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
55688         to __O_LARGEFILE.
55690 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
55691             Joseph Myers  <joseph@codesourcery.com>
55693         * config.make.in (NM): New variable.
55695 2012-10-21  Andreas Jaeger  <aj@suse.de>
55697         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
55698         definitions and declarations that are provided by
55699         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
55701 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
55703         [BZ #14683]
55704         * elf/Makefile (tests-static): Add tst-leaks1-static.
55705         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
55706         ($(objpfx)tst-leaks1-static): New rule.
55707         ($(objpfx)tst-leaks1-static-mem): Likewise.
55708         (tst-leaks1-static-ENV): New macro.
55709         * elf/dl-open.c (dl_open_worker): Check the main application
55710         only if SHARED is defined.
55711         * elf/tst-leaks1-static.c: New file.
55713 2012-10-20  Andreas Jaeger  <aj@suse.de>
55715         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
55716         generic values for Linux.
55717         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
55718         and declarations that are provided by <bits/fcntl-linux.h> and
55719         include <bits/fcntl-linux.h>.
55720         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55721         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55723 2012-10-20  Roland McGrath  <roland@hack.frob.com>
55725         * io/fcntl.h: Move include of <bits/types.h> to the top and
55726         include it unconditionally.
55728 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
55730         * wcsmbs/Makefile (tests-ifunc): New variable.
55731         (tests): Add $(tests-ifunc).
55732         * wcsmbs/test-wcschr-ifunc.c: New file.
55733         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
55734         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
55735         * wcsmbs/test-wcslen-ifunc.c: Likewise.
55736         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
55737         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
55739         * string/Makefile (tests-ifunc): New variable.
55740         (tests): Add $(tests-ifunc).
55741         * string/test-memccpy.c (TEST_NAME): New macro.
55742         * string/test-memchr.c (TEST_NAME): Likewise.
55743         * string/test-memcmp.c (TEST_NAME): Likewise.
55744         * string/test-memcpy.c (TEST_NAME): Likewise.
55745         * string/test-memmem.c (TEST_NAME): Likewise.
55746         * string/test-memmove.c (TEST_NAME): Likewise.
55747         * string/test-memset.c (TEST_NAME): Likewise.
55748         * string/test-rawmemchr.c (TEST_NAME): Likewise.
55749         * string/test-stpcpy.c (TEST_NAME): Likewise.
55750         * string/test-stpncpy.c (TEST_NAME): Likewise.
55751         * string/test-strcasecmp.c (TEST_NAME): Likewise.
55752         * string/test-strcasestr.c (TEST_NAME): Likewise.
55753         * string/test-strcat.c (TEST_NAME): Likewise.
55754         * string/test-strchr.c (TEST_NAME): Likewise.
55755         * string/test-strcmp.c(TEST_NAME): Likewise.
55756         * string/test-strcpy.c (TEST_NAME): Likewise.
55757         * string/test-strcspn.c (TEST_NAME): Likewise.
55758         * string/test-strlen.c (TEST_NAME): Likewise.
55759         * string/test-strncasecmp.c (TEST_NAME): Likewise.
55760         * string/test-strncmp.c (TEST_NAME): Likewise.
55761         * string/test-strncpy.c (TEST_NAME): Likewise.
55762         * string/test-strnlen.c (TEST_NAME): Likewise.
55763         * string/test-strpbrk.c (TEST_NAME): Likewise.
55764         * string/test-strrchr.c (TEST_NAME): Likewise.
55765         * string/test-strspn.c (TEST_NAME): Likewise.
55766         * string/test-strstr.c (TEST_NAME): Likewise.
55767         * string/test-bcopy-ifunc.c: New file.
55768         * string/test-bzero-ifunc.c: Likewise.
55769         * string/test-memccpy-ifunc.c: Likewise.
55770         * string/test-memchr-ifunc.c: Likewise.
55771         * string/test-memcmp-ifunc.c: Likewise.
55772         * string/test-memcpy-ifunc.c: Likewise.
55773         * string/test-memmem-ifunc.c: Likewise.
55774         * string/test-memmove-ifunc.c: Likewise.
55775         * string/test-mempcpy-ifunc.c: Likewise.
55776         * string/test-memset-ifunc.c: Likewise.
55777         * string/test-rawmemchr-ifunc.c: Likewise.
55778         * string/test-stpcpy-ifunc.c: Likewise.
55779         * string/test-stpncpy-ifunc.c: Likewise.
55780         * string/test-strcasecmp-ifunc.c: Likewise.
55781         * string/test-strcasestr-ifunc.c: Likewise.
55782         * string/test-strcat-ifunc.c: Likewise.
55783         * string/test-strchr-ifunc.c: Likewise.
55784         * string/test-strchrnul-ifunc.c: Likewise.
55785         * string/test-strcmp-ifunc.c: Likewise.
55786         * string/test-strcpy-ifunc.c: Likewise.
55787         * string/test-strcspn-ifunc.c: Likewise.
55788         * string/test-strlen-ifunc.c: Likewise.
55789         * string/test-strncasecmp-ifunc.c: Likewise.
55790         * string/test-strncat-ifunc.c: Likewise.
55791         * string/test-strncmp-ifunc.c: Likewise.
55792         * string/test-strncpy-ifunc.c: Likewise.
55793         * string/test-strnlen-ifunc.c: Likewise.
55794         * string/test-strpbrk-ifunc.c: Likewise.
55795         * string/test-strrchr-ifunc.c: Likewise.
55796         * string/test-strspn-ifunc.c: Likewise.
55797         * string/test-strstr-ifunc.c: Likewise.
55799         * debug/Makefile (tests-ifunc): New variable.
55800         (tests): Add $(tests-ifunc).
55801         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
55802         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
55803         * debug/test-stpcpy_chk-ifunc.c: New file.
55804         * debug/test-strcpy_chk-ifunc.c: Likewise.
55806 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
55808         [BZ #13601]
55809         * elf/dl-load.c (open_verify): Retry read if the entire ELF
55810         header is not read in.
55812 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
55814         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
55815         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
55816         directly.  Pass built executable to script as
55817         $(built-program-cmd).
55818         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
55819         $testprogram without using LD_LIBRARY_PATH and $ldso.
55821         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
55822         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
55823         $(rtld-installed-name).
55824         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
55825         (rtld_installed_name): Likewise.
55826         (library_path): Likewise.
55827         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
55828         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
55829         $(run-program-prefix) to tst-tables.sh.
55830         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
55831         it to run tst-table-from and tst-table-to.
55832         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
55833         Pass it to tst-table.sh.
55834         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
55835         $(run-program-prefix) to tst-gettext.sh.
55836         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
55837         tst-translit.sh.
55838         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
55839         tst-gettext2.sh.
55840         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
55841         to run tst-gettext.
55842         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
55843         to run tst-gettext2.
55844         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
55845         to run tst-translit.
55846         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
55847         $(run-program-prefix) to tst-mtrace.sh.
55848         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
55849         to run tst-mtrace.
55850         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
55851         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
55852         $(rtld-installed-name).
55853         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
55854         (rtld_installed_name): Likewise.
55855         (run_program_prefix): New variable.  Use it to run wordexp-test.
55857         * Makeconfig (ARCH): Remove all definitions.
55858         (machine): Likewise.
55859         [ARCH]: Remove conditional code.
55860         [!objdir]: Give error.
55861         [!objdir] (objpfx): Remove.
55862         [!objdir] (common-objpfx): Likewise.
55863         [!objdir] (common-objdir): Likewise.
55864         * configure.in (config_makefile): Remove.  Hardcode Makefile in
55865         AC_CONFIG_FILES call.
55866         * configure: Regenerated.
55868         [BZ #13888]
55869         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
55870         or TMPDIR.
55871         (testout): Likewise.
55873         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
55874         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
55875         $(rtld-installed-name).
55876         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
55877         (rtld_installed_name): Likwise.
55878         (runit): Remove function.
55879         (run_getconf): New variable,  Use it for running getconf binary.
55881 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
55883         [BZ #14716]
55884         * string/test-memmem.c (check_result): New function.
55885         (do_one_test): Use it.
55886         (check1): New function.
55887         (test_main): Use it.
55889 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
55891         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
55893 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
55895         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
55896         (_G_LSEEK64): Likewise.
55897         (_G_MMAP64): Likewise.
55898         (_G_FSTAT64): Likewise.
55899         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
55900         (_G_LSEEK64): Likewise.
55901         (_G_MMAP64): Likewise.
55902         (_G_FSTAT64): Likewise.
55903         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
55904         unconditional.  Call __mmap64 directly.
55905         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
55906         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
55907         __lseek64 directly.
55908         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
55909         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
55910         __mmap64 directly.
55911         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
55912         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
55913         __lseek64 directly.
55914         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
55915         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
55916         __lseek64 directly.
55917         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
55918         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
55919         __lseek64 directly.
55920         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
55921         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
55922         __fxstat64 directly.
55923         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
55924         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
55925         unconditional.
55926         (freopen64) [!_G_OPEN64]: Remove conditional code.
55927         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
55928         unconditional.
55929         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
55930         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
55931         unconditional.
55932         (ftello64) [!_G_LSEEK64]: Remove conditional code.
55933         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
55934         unconditional.
55935         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
55936         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
55937         unconditional.
55938         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
55939         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
55940         unconditional.
55941         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
55942         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
55943         unconditional.
55944         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
55945         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
55946         unconditional.
55947         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
55949 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
55951         [BZ #12140]
55952         * manual/memory.texi (Malloc Tunable Parameters): Add note
55953         about free list pointers overwriting some perturb bytes.
55954         Wording suggested by Roland McGrath.
55956 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
55958         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
55959         (lgamma_test): Likewise.
55960         (tgamma_test): Likewise.
55962 2012-10-16  Florian Weimer  <fweimer@redhat.com>
55964         [BZ #14700]
55965         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
55966         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
55968 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
55970         * NEWS: Mention BZ #14716.
55971         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
55972         when removing AVAILABLE1_USES_J macro.
55974 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
55976         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
55977         (__bswap_64): __uint64_t for unsigned 64-bit int.
55979 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
55981         * include/string.h (memmem): Declare libc hidden alias.
55982         * string/memmem.c (memmem): Define libc hidden alias.
55983         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
55984         __read, __close instead of open, read, close.
55986 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
55988         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
55989         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
55990         global and hidden.
55991         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
55992         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
55993         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
55994         Likewise.
55995         (__rawmemchr_sse2): Likewise.
55996         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
55997         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
55998         (__strchr_sse2): Likewise.
55999         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
56000         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
56001         (__strcasecmp_sse2): Likewise.
56002         (__strncasecmp_sse2): Likewise.
56003         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
56004         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
56005         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
56006         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
56007         (__strrchr_sse2): Likewise.
56008         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
56009         ifunc-impl-list.c.
56010         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
56011         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
56012         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
56013         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
56014         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
56015         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
56016         * sysdeps/x86_64/multiarch/memset.S: Likewise.
56017         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
56018         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
56019         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
56020         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
56021         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
56022         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
56023         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
56024         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
56025         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
56026         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
56027         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
56028         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
56029         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
56030         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
56031         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
56032         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
56033         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
56034         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
56035         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
56036         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
56037         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
56038         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
56039         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
56041         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
56042         global and hidden.
56043         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
56044         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
56045         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
56046         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
56047         Likewise.
56048         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
56049         Likewise.
56050         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
56051         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
56052         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
56053         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
56054         ifunc-impl-list.c.
56055         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
56056         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
56057         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
56058         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
56059         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
56060         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
56061         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
56062         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
56063         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
56064         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
56065         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
56066         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
56067         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
56068         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
56069         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
56070         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
56071         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
56072         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
56073         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
56074         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
56075         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
56076         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
56077         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
56078         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
56079         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
56080         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
56081         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
56082         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
56083         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
56084         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
56085         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
56086         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
56087         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
56088         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
56089         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
56090         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
56091         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
56092         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
56093         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
56094         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
56095         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
56097         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
56098         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
56099         * include/ifunc-impl-list.h: New file.
56100         * misc/ifunc-impl-list.c: Likewise.
56101         * misc/Makefile (routines): Add ifunc-impl-list.
56102         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
56103         * string/test-string.h: Include <ifunc-impl-list.h>.
56104         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
56105         TEST_NAME]: New variables.
56106         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
56107         are defined.
56108         (test_init): Call __libc_ifunc_impl_list to initialize
56109         func_list if TEST_IFUNC and TEST_NAME are defined.
56111         * string/Makefile (strop-tests): Add bcopy and bzero.
56112         * string/test-bcopy.c: New file.
56113         * string/test-bzero.c: Likewise.
56114         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
56115         defined.
56116         * string/test-memset.c: Support bzero test if TEST_BZERO is
56117         defined.
56118         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
56119         __libc_memmove.
56120         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
56121         __libc_memset.
56122         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
56123         of memset.
56125 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
56127         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
56128         * configure: Regenerated.
56130         * Makeconfig (+link-static-before-libc): Don't include
56131         $(link-static-libc).
56133         * libio/libio.h (_IO_pos_t): Remove.
56135 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
56137         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
56138         McGrath.
56140 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
56142         * crypt/crypt-entry.c: Include fips-private.h.
56143         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
56144         * crypt/md5c-test.c (main): Tolerate disabled MD5.
56145         * sysdeps/unix/sysv/linux/fips-private.h: New file.
56146         * sysdeps/generic/fips-private.h: New file, dummy fallback.
56148 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
56150         * crypt/crypt-private.h: Include stdbool.h.
56151         (_ufc_setup_salt_r): Return bool.
56152         * crypt/crypt-entry.c: Include errno.h.
56153         (__crypt_r): Return NULL with EINVAL for bad salt.
56154         * crypt/crypt_util.c (bad_for_salt): New.
56155         (_ufc_setup_salt_r): Check that salt is long enough and within
56156         the specified alphabet.
56157         * crypt/badsalttest.c: New file.
56158         * crypt/Makefile (tests): Add it.
56159         ($(objpfx)badsalttest): New.
56161 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
56163         * NEWS: Add entry for BZ #14602.
56165 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
56167         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
56168         type-generic.
56169         * math/libm-test.inc: Update comment listing what functions and
56170         macros are tested.
56171         (isgreater_test): New function.
56172         (isgreaterequal_test): Likewise.
56173         (isless_test): Likewise.
56174         (islessequal_test): Likewise.
56175         (islessgreater_test): Likewise.
56176         (isunordered_test): Likewise.
56177         (main): Call the new functions.
56179 2012-10-09  Roland McGrath  <roland@hack.frob.com>
56181         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
56182         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
56183         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
56184         * sysdeps/i386/configure: Regenerated.
56185         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
56186         * sysdeps/mach/configure: Regenerated.
56187         * sysdeps/mach/hurd/configure: Regenerated.
56188         * sysdeps/powerpc/configure: Regenerated.
56189         * sysdeps/powerpc/powerpc32/configure: Regenerated.
56190         * sysdeps/powerpc/powerpc64/configure: Regenerated.
56191         * sysdeps/s390/s390-32/configure: Regenerated.
56192         * sysdeps/s390/s390-64/configure: Regenerated.
56193         * sysdeps/sh/configure: Regenerated.
56194         * sysdeps/sparc/configure: Regenerated.
56195         * sysdeps/unix/sysv/linux/configure: Regenerated.
56196         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
56197         * sysdeps/x86_64/configure: Regenerated.
56199         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
56200         defined.  Don't check if MAP is NULL.
56202 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
56204         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
56205         (_G_stat64): Likewise.
56206         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
56207         (_G_stat64): Likewise.
56208         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
56209         instead of struct _G_stat64.
56210         * libio/fileops.c (mmap_remap_check): Likewise.
56211         (decide_maybe_mmap): Likewise.
56212         (_IO_new_file_seekoff): Likewise.
56213         (_IO_file_stat): Likewise.
56214         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
56215         _G_off64_t.
56216         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
56217         instead of struct _G_stat64.
56218         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
56220 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
56222         [BZ #14602]
56223         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
56224         Replace with ...
56225         (CHECK_EOL): New macro.
56226         (two_way_short_needle): Check beginning of haystack for EOL.  Use
56227         CHECK_EOL.
56228         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
56229         Replace with CHECK_EOL.
56230         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
56231         Replace with CHECK_EOL.
56233 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
56235         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
56236         type-generic.
56237         * math/libm-test.inc: Update comment listing what functions and
56238         macros are tested.
56239         (finite_test): New function.
56240         (isinf_test): Likewise.
56241         (isnan_test): Likewise.
56242         (fpclassify_test): Test subnormal input.
56243         (isfinite_test): Likewise.
56244         (isnormal_test): Likewise.
56245         (main): Call the new functions.
56247 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
56249         [BZ #14660]
56250         * Makerules (%.dynsym): Force C locale when running
56251         $(OBJDUMP) --dynamic-syms.
56253 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
56255         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
56256         <stdint.h>.
56258 2012-10-06  David S. Miller  <davem@davemloft.net>
56260         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
56261         upper 32-bits of the length value in %o2 since we use branch-on-register
56262         tests which consider the entire 64-bit register.
56264 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
56266         * string/test-strstr.c (check2): Add a test for page boundary.
56268 2012-10-05  David S. Miller  <davem@davemloft.net>
56270         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
56271         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
56272         file.
56273         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
56274         sysdep_routines.
56275         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
56276         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
56277         and bzero when HWCAP_SPARC_CRYPTO is present.
56279 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
56281         [BZ #14602]
56282         * string/test-strstr.c (check2): New function.
56283         (test_main): Call check2.
56285         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
56286         and bug-strchr1.
56287         * string/bug-strcasestr1.c (do_test): Moved to ...
56288         * string/test-strcasestr.c (check1): Here.  New function.
56289         (do_one_test): Break out result checking code into ...
56290         (check_result): This.  New function.
56291         (do_one_test): Call check_result.
56292         (test_main): Call check1.
56293         * string/bug-strchr1.c (do_test): Moved to ...
56294         * string/test-strchr.c (check1): Here.  New function.
56295         (do_one_test): Break out result checking code into ...
56296         (check_result): This.  New function.
56297         (do_one_test): Call check_result.
56298         (test_main): Call check1.
56299         * string/bug-strstr1.c (main): Moved to ...
56300         * string/test-strstr.c (check1): Here.  New function.
56301         (do_one_test): Break out result checking code into ...
56302         (check_result): This.  New function.
56303         (do_one_test): Call check_result.
56304         (test_main): Call check1.
56305         * string/bug-strcasestr1.c: Removed.
56306         * string/bug-strchr1.c: Likewise.
56307         * string/bug-strstr1.c: Likewise.
56309         * elf/Makefile (dl-routines): Add hwcaps.
56310         * elf/dl-support.c (_dl_important_hwcaps): Removed.
56311         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
56312         (_dl_important_hwcaps): Moved to ...
56313         * elf/dl-hwcaps.c: Here.  New file.
56314         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
56316         [BZ #14557]
56317         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
56318         if IS_IN_rtld isn't defined.
56320         * elf/dl-support.c (_dl_sysinfo_map): New.
56321         Include "get-dynamic-info.h" and "setup-vdso.h".
56322         (_dl_non_dynamic_init): Call setup_vdso.
56323         * elf/dynamic-link.h: Don't include <assert.h>.
56324         (elf_get_dynamic_info): Moved to ...
56325         * elf/get-dynamic-info.h: Here.  New file.
56326         * elf/dynamic-link.h: Include "get-dynamic-info.h".
56327         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
56328         * elf/setup-vdso.h: Here.  New file.
56329         * elf/rtld.c: Include "setup-vdso.h".
56330         (dl_main): Call setup_vdso.
56332 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
56334         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
56335         creal in comment listing functions tested.  List finite, isinf,
56336         isnan, isless, islessequal, isgreater, isgreaterequal,
56337         islessgreater, isunordered, lgamma_r and pow10 as functions and
56338         macros not tested.  Mention which functions not tested are aliases
56339         for other functions.  Fix typo.  Note that signs of NaNs are not
56340         tested.
56342         * scripts/config.guess: Update from config.git.
56343         * scripts/config.sub: Likewise.
56345 2012-10-04  Roland McGrath  <roland@hack.frob.com>
56347         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
56348         * misc/madvise.c (madvise): Renamed to __madvise.
56349         Make madvise a weak alias.
56350         * include/sys/mman.h: Declare __madvise.
56351         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
56352         * sysdeps/unix/syscalls.list
56353         (madvise): Make __madvise the strong name, and madvise a weak alias.
56354         * sysdeps/unix/sysv/linux/syscalls.list
56355         (madvise, mmap): Remove redundant entries.
56356         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
56357         * malloc/malloc.c (mtrim): Likewise.
56358         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
56360 2012-10-03  Roland McGrath  <roland@hack.frob.com>
56362         * sysdeps/mach/hurd/dl-cache.c: File removed.
56363         * config.h.in (USE_LDCONFIG): New #undef.
56364         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
56365         * configure: Regenerated.
56366         * elf/Makefile (dl-routines): Add dl-cache only under
56367         [$(use-ldconfig) = yes].
56368         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
56369         cache on [USE_LDCONFIG].
56370         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
56371         [USE_LDCONFIG].
56372         * elf/rtld.c (dl_main): Likewise.
56374 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
56376         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
56377         _SC_LEVEL4_CACHE_LINESIZE.
56379 2012-10-03  Roland McGrath  <roland@hack.frob.com>
56381         * sysdeps/unix/bsd/confstr.h: File removed.
56383 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
56385         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
56386         sys/sdt-config.h.
56388 2012-10-02  Roland McGrath  <roland@hack.frob.com>
56390         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
56391         Make 'mapoff' field ElfW(Off) rather than off_t.
56393 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
56395         * nscd/Makefile: Remove nscd-cflags and all its users.
56396         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
56397         (CFLAGS-nonlib): Add compiler flags for nscd modules.
56399         [BZ #10631]
56400         * malloc.c (malloc_printerr): Clarify error message.
56402 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
56404         [BZ #14648]
56405         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56406         Set bit_FMA_Usable if FMA is supported.
56407         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
56408         macro.
56409         (bit_FMA4_Usable): Updated.
56410         (index_FMA_Usable): New macro.
56411         (CPUID_FMA): Likewise.
56412         (HAS_FMA): Defined with bit_FMA_Usable.
56414 2012-10-01  Roland McGrath  <roland@hack.frob.com>
56416         * bits/types.h (__swblk_t): Type removed.
56417         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
56418         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
56419         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
56420         (__SWBLK_T_TYPE): Likewise.
56421         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
56422         (__SWBLK_T_TYPE): Likewise.
56423         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
56424         (__SWBLK_T_TYPE): Likewise.
56425         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
56426         (__SWBLK_T_TYPE): Likewise.
56428 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
56429             Honza Horak <hhorak@redhat.com>
56431         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
56432         (xdr_mapname): Use YPMAXMAP as maxsize.
56433         (xdr_peername): Use YPMAXPEER as maxsize.
56434         (xdr_keydat): Use YPAXRECORD as maxsize.
56435         (xdr_valdat): Use YPMAXRECORD as maxsize.
56437 2012-10-01  Roland McGrath  <roland@hack.frob.com>
56439         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
56441         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
56442         * csu/init-first.c: ... here.
56443         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
56444         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
56445         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
56446         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
56447         * sysdeps/i386/init-first.c: File removed.
56448         * sysdeps/sh/init-first.c: File removed.
56450 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
56452         [BZ #14645]
56453         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
56454         if x * y might underflow to zero and z is zero.
56455         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56456         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56457         * math/libm-test.inc (min_subnorm_value): New variable.
56458         (fma_test): Add more tests.
56459         (fma_test_towardzero): Likewise.
56460         (fma_test_downward): Likewise.
56461         (fma_test_upward): Likewise.
56462         (initialize): Set min_subnorm_value.
56464 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
56466         [BZ #14638]
56467         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
56468         0 + 0.
56469         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
56470         mode for addition resulting in exact zero.
56471         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
56472         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
56473         exact 0 + 0.
56474         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
56475         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56476         * math/libm-test.inc (fma_test): Add more tests.
56477         (fma_test_towardzero): New function.
56478         (fma_test_downward): Likewise.
56479         (fma_test_upward): Likewise.
56480         (main): Call the new functions.
56482 2012-09-28  David S. Miller  <davem@davemloft.net>
56484         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
56486 2012-09-28  Roland McGrath  <roland@hack.frob.com>
56488         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
56489         instead of SIGALRM.
56491         * sysdeps/gnu/_G_config.h: Moved to ...
56492         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
56493         * sysdeps/mach/hurd/_G_config.h: Moved to ...
56494         * sysdeps/generic/_G_config.h: ... here.
56496         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
56498         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
56500         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
56501         Conditionalize target on [libnss_test1.so-version].
56503         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
56505         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
56506         (elfobjdir): Move out of conditionals.
56508         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
56509         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
56510         (__nss_lookup_function): Conditionalize label remove_from_tree on
56511         [!DO_STATIC_NSS || SHARED], matching its only use.
56513 2012-09-28  David S. Miller  <davem@davemloft.net>
56515         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
56516         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
56517         file.
56518         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
56519         sysdep_routines.
56520         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
56521         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
56522         when HWCAP_SPARC_CRYPTO is present.
56524 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
56526         * io/tst-mknodat.c: Create a FIFO instead of a socket.
56528 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
56530         [BZ #6530]
56531         * stdio-common/vfprintf.c (process_string_arg): Revert
56532         2000-07-22 change.
56534 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
56536         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
56537         for testcase.
56538         * stdio-common/tst-sprintf.c: Include <locale.h>
56539         (main): Test sprintf's handling of incomplete multibyte
56540         characters.
56542 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
56544         * elf/dl-runtime.c (VERSYMIDX): Removed.
56545         * elf/dl-version.c (VERSYMIDX): Likewise.
56546         * elf/do-rel.h (VERSYMIDX): Likewise.
56547         (VALIDX): Likewise.
56548         * elf/dynamic-link.h (VERSYMIDX): Likewise.
56549         * elf/rtld.c (VALIDX): Likewise.
56550         (ADDRIDX): Likewise.
56551         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
56552         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
56553         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
56554         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
56555         (VALIDX): Likewise.
56556         (ADDRIDX): Likewise.
56558 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
56560         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
56562 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
56564         [BZ #11438]
56565         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
56566         to global scope.
56567         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
56568         addresses are in the same scope as 192.0.2/24.
56569         * posix/gai.conf: Document new scope table defaults.
56571 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56573         [BZ #5298]
56574         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
56575         for ftell.  Compute offsets from write pointers instead.
56576         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
56578 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56580         [BZ #14543]
56581         * libio/Makefile (tests): New test case tst-fseek.
56582         * libio/tst-fseek.c: New test case to verify that fseek/ftell
56583         combination works in wide mode.
56584         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
56585         state when the external buffer state changes.
56587 2012-09-27  David S. Miller  <davem@davemloft.net>
56589         [BZ #14376]
56590         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
56591         pass reloc->r_addend in as the 'high' argument to
56592         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
56594         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56596 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
56598         * rt/tst-aio2.c: Include <pthread.h>.
56599         * rt/tst-aio3.c: Likewise.
56601 2012-09-27  Steve Ellcey  <sellcey@mips.com>
56603         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
56605 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
56607         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
56608         contents on [SHARED].
56610 2012-09-26  Marek Polacek  <polacek@redhat.com>
56612         [BZ #14530]
56613         [BZ #13741]
56614         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
56615         for C++ and GCC <4.3 as well as for non GCC compilers.
56617 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
56619         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56621 2012-09-25  Roland McGrath  <roland@hack.frob.com>
56623         * Makefile.in (all, install): Declare with .PHONY.
56624         Reported by Michael Hope <michael.hope@linaro.org>.
56626 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
56628         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
56629         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
56630         system header.
56631         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
56632         Likewise.
56633         (sydep_routines): Add the new and the internal functions.
56634         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
56635         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
56636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
56637         (GLIBC_2.17): Add the new function.
56638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
56639         (GLIBC_2.17): Likewise.
56640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
56641         (GLIBC_2.17): Likewise.
56642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
56643         (GLIBC_2.17): Likewise.
56644         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
56646 2012-09-25  Alan Modra  <amodra@gmail.com>
56648         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
56649         Add release barrier before setting once_control to say
56650         initialisation is done.  Add hints on lwarx.  Use macro in
56651         place of isync.
56652         (clear_once_control): Add release barrier.
56654 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
56656         [BZ #13629]
56657         * math/s_clog.c (__clog): Handle more values close to |z| = 1
56658         specially.
56659         * math/s_clog10.c (__clog10): Likewise.
56660         * math/s_clog10f.c (__clog10f): Likewise.
56661         * math/s_clog10l.c (__clog10l): Likewise.
56662         * math/s_clogf.c (__clogf): Likewise.
56663         * math/s_clogl.c (__clogl): Likewise.
56664         * math/Makefile (libm-calls): Add x2y2m1.
56665         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
56666         (__x2y2m1): Likewise.
56667         (__x2y2m1l): Likewise.
56668         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
56669         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
56670         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
56671         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
56672         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
56673         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
56674         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
56675         * sysdeps/i386/fpu/libm-test-ulps: Update.
56676         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56678         [BZ #14621]
56679         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
56680         int as type of variable DEPTH.
56681         (glob): Use size_t instead of int as type of variables NEWCOUNT
56682         and OLD_PATHC.
56684 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56686         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
56687         Add s_sincosf-sse2.
56688         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
56689         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
56690         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
56691         macros for using routine as __sincosf_ia32.
56692         Use macro for function declaration and weak_alias.
56693         * sysdeps/i386/fpu/libm-test-ulps: Update.
56695         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
56696         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56698         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
56699         subnormal argument.
56700         * math/s_cexpf.c (__cexpf): Likewise.
56701         * math/s_csinf.c (__csinf): Likewise.
56702         * math/s_csinhf.c (__csinhf): Likewise.
56703         * math/s_ctanf.c (__ctanf): Likewise.
56704         * math/s_ctanhf.c (__ctanhf): Likewise.
56705         * math/s_ccosh.c (__ccoshf): Likewise.
56706         * math/s_cexp.c (__cexpl): Likewise.
56707         * math/s_csin.c (__csin): Likewise.
56708         * math/s_csinh.c (__csinh): Likewise.
56709         * math/s_ctan.c (__ctan): Likewise.
56710         * math/s_ctanh.c (ctanh): Likewise.
56711         * math/s_ccoshl.c (__ccoshl): Likewise.
56712         * math/s_cexpl.c (__cexpl): Likewise.
56713         * math/s_csinl.c (__csinl): Likewise.
56714         * math/s_csinhl.c (__csinhl): Likewise.
56715         * math/s_ctanl.c (__ctanl): Likewise.
56716         * math/s_ctanhl.c (__ctanhl): Likewise.
56718 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
56720         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
56721         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
56722         (_IO_off_t): Define to __off_t, not _G_off_t.
56723         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
56724         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
56725         (_IO_wint_t): Define to wint_t, not _G_wint_t.
56726         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
56727         type of __dummy and __dummy2 fields.
56728         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
56729         (_G_ssize_t): Likewise.
56730         (_G_off_t): Likewise.
56731         (_G_pid_t): Likewise.
56732         (_G_uid_t): Likewise.
56733         (_G_wchar_t): Likewise.
56734         (_G_wint_t): Likewise.
56735         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
56736         (_G_ssize_t): Likewise.
56737         (_G_off_t): Likewise.
56738         (_G_pid_t): Likewise.
56739         (_G_uid_t): Likewise.
56740         (_G_wchar_t): Likewise.
56741         (_G_wint_t): Likewise.
56742         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
56743         (_G_ssize_t): Likewise.
56744         (_G_off_t): Likewise.
56745         (_G_pid_t): Likewise.
56746         (_G_uid_t): Likewise.
56747         (_G_wchar_t): Likewise.
56748         (_G_wint_t): Likewise.
56750 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
56752         * malloc/arena.c: Include malloc-sysdep.h.
56753         (shrink_heap): Use check_may_shrink_heap to decide if madvise
56754         is sufficient to shrink the heap or an unmap is needed.
56755         * sysdeps/generic/malloc-sysdep.h: New file.  Define
56756         new function check_may_shrink_heap.
56757         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
56758         new function check_may_shrink_heap.
56760 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
56762         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
56763         comments.
56765 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
56767         * catgets/test-gencat.sh: Add "set -e".
56768         * elf/tst-pathopt.sh: Likewise.
56769         * grp/tst_fgetgrent.sh: Likewise.
56770         * iconvdata/run-iconv-test.sh: Likewise.
56771         * intl/tst-gettext.sh: Likewise.
56772         * intl/tst-gettext2.sh: Likewise.
56773         * intl/tst-gettext4.sh: Likewise.
56774         * intl/tst-gettext6.sh: Likewise.
56775         * intl/tst-translit.sh: Likewise.
56776         * io/ftwtest-sh: Likewise.
56777         * libio/test-freopen.sh: Likewise.
56778         * malloc/tst-mtrace.sh: Likewise.
56779         * posix/globtest.sh: Likewise.
56780         * posix/tst-getconf.sh: Likewise.
56781         * posix/wordexp-tst.sh: Likewise.
56782         * stdio-common/tst-printf.sh: Likewise.
56783         * stdio-common/tst-unbputc.sh: Likewise.
56784         * stdlib/tst-fmtmsg.sh: Likewise.
56785         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
56786         * catgets/Makefile: Do not specify -e option when running
56787         testsuite shell scripts.
56788         * elf/Makefile: Likewise.
56789         * grp/Makefile: Likewise.
56790         * iconvdata/Makefile: Likewise.
56791         * intl/Makefile: Likewise.
56792         * io/Makefile: Likewise.
56793         * libio/Makefile: Likewise.
56794         * malloc/Makefile: Likewise.
56795         * posix/Makefile: Likewise.
56796         * stdio-common/Makefile: Likewise.
56797         * stdlib/Makefile: Likewise.
56798         * sysdeps/x86_64/Makefile: Likewise.
56800         * io/ftwtest-sh: Add copyright header.
56801         * posix/globtest.sh: Likewise.
56802         * posix/tst-getconf.sh: Likewise.
56803         * posix/wordexp-tst.sh: Likewise.
56804         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
56806 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
56808         [BZ #13679]
56809         * Makeconfig (+link): Defined as $(+link-static) if
56810         $(build-shared) isn't yes.
56811         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
56812         isn't yes.
56813         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
56815         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
56817         [BZ #14562]
56818         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
56819         new chunk size with MALLOC_ALIGN_MASK.
56821 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
56823         [BZ #5044]
56824         * stdio-common/printf_fphex.c: Include <stdbool.h> and
56825         <rounding-mode.h>.
56826         (__printf_fphex): Determine rounding using get_rounding_mode and
56827         round_away.
56828         * stdio-common/tst-printf-round.c (struct hex_test): New
56829         structure.
56830         (hex_tests): New variable.
56831         (test_hex_in_one_mode): New function.
56832         (do_test): Also run tests for hex float output.
56834 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
56836         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
56837         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
56838         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
56839         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
56840         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
56841         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
56842         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
56843         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
56845 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
56847         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
56848         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
56849         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
56850         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
56852 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
56854         [BZ #14579]
56855         * elf/rtld.c (dl_main): Limit the check for self loading to normal
56856         mode only.
56857         * elf/tst-rtld-load-self.sh: New test.
56858         * elf/Makefile: Run it.
56860 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
56862         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
56863         (tst-writev-ENV): Remove.
56864         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
56866 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
56868         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
56870 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
56872         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
56873         unconditional.
56874         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
56875         Likewise.
56876         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
56877         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
56878         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
56879         Likewise.
56881 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
56883         [BZ #14587]
56884         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
56885         * config.make.in (have-cpp-asm-debuginfo): Removed.
56886         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
56887         * configure: Regenerated.
56889 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
56891         [BZ #5044]
56892         * stdio-common/printf_fp.c: Include <stdbool.h> and
56893         <rounding-mode.h>.
56894         (___printf_fp): Determine rounding using get_rounding_mode and
56895         round_away.
56896         * stdio-common/tst-printf-round.c: New file.
56897         * stdio-common/Makefile (tests): Add tst-printf-round.
56898         (link-libm): New variable.
56899         ($(objpfx)tst-printf-round): Depend in $(link-libm).
56901 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
56903         [BZ #14576]
56904         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
56905         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
56906         Likewise.
56907         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
56908         Likewise.
56910 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
56912         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
56913         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
56914         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
56915         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
56917 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
56919         [BZ #14518]
56920         * include/rounding-mode.h: New file.
56921         * sysdeps/generic/get-rounding-mode.h: Likewise.
56922         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
56923         * stdlib/strtod_l.c: Include <rounding-mode.h>.
56924         (MAX_VALUE): New macro.
56925         (MIN_VALUE): Likewise.
56926         (overflow_value): New function.
56927         (underflow_value): Likewise.
56928         (round_and_return): Use overflow_value and underflow_value to
56929         determine return values in overflow and underflow cases.  Use
56930         round_away to determine rounding depending on rounding mode.
56931         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
56932         determine return values in overflow and underflow cases.
56933         * stdlib/tst-strtod-round.c: Include <fenv.h>.
56934         (struct test_results): New structure.
56935         (struct test): Use struct test_results to store expected results
56936         for all rounding modes.
56937         (TEST): Include expected results for all rounding modes.
56938         (test_in_one_mode): New function.
56939         (do_test): Use test_in_one_mode to compute and check results.
56940         Check results for all rounding modes.
56941         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
56942         $(link-libm).
56944 2012-12-09  Allan McRae  <allan@archlinux.org>
56946         * sysdeps/i386/fpu/libm-test-ulps: Update
56948 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
56950         * sysdeps/generic/_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/gnu/_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.
56966         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
56967         (_G_int32_t): Likewise.
56968         (_G_uint16_t): Likewise.
56969         (_G_uint32_t): Likewise.
56970         (_G_HAVE_BOOL): Likewise.
56971         (_G_HAVE_ATEXIT): Likewise.
56972         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
56973         (_G_HAVE_IO_FILE_OPEN): Likewise.
56975 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
56977         * csu/libc-tls.c: Update copyright years.
56979 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
56981         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
56982         [!_G_USING_THUNKS]: Remove conditional code.
56983         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
56984         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
56986         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
56987         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
56988         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
56989         (_G_VTABLE_LABEL_PREFIX): Likewise.
56990         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
56991         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
56992         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
56993         (_G_VTABLE_LABEL_PREFIX): Likewise.
56994         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
56995         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
56996         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
56997         (_G_VTABLE_LABEL_PREFIX): Likewise.
56998         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
57000 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
57002         * libio/Makefile: Include ../Makeconfig before tests.
57003         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
57004         only if $(build-shared) is yes.
57006         * iconv/gconv_db.c: Update copyright years.
57008 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57010         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
57011         unwind info if defined PIC. Fix special cases description.
57012         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
57014         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
57015         DP_HI_MASK entry.
57016         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
57018 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
57020         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
57022         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
57023         is NULL.
57025         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
57026         (LDLIBS-tst-chk4): This.
57027         (LDFLAGS-tst-chk5): Renamed to ...
57028         (LDLIBS-tst-chk5): This.
57029         (LDFLAGS-tst-chk6): Renamed to ...
57030         (LDLIBS-tst-chk6): This.
57031         (LDFLAGS-tst-lfschk4): Renamed to ...
57032         (LDLIBS-tst-lfschk4): This.
57033         (LDFLAGS-tst-lfschk5): Renamed to ...
57034         (LDLIBS-tst-lfschk5): This.
57035         (LDFLAGS-tst-lfschk6): Renamed to ...
57036         (LDLIBS-tst-lfschk6): This.
57038         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
57039         on $(common-objpfx)soversions.mk.
57041 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
57043         [BZ #10014]
57044         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
57045         example host name.
57047 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
57049         * malloc/arena.c (arena_get_retry): New function that gets
57050         another arena for the caller to try its request on.
57051         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
57052         current arena cannot fulfill the request.
57053         (__libc_memalign): Likewise.
57054         (__libc_memalign): Likewise.
57055         (__libc_pvalloc): Likewise.
57056         (__libc_calloc): Likewise.
57058 2012-09-05  John Tobey  <john.tobey@gmail.com>
57060         [BZ #13542]
57061         * manual/arith.texi (Operations on Complex): Fix description
57062         of carg branch cut.
57064 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
57066         [BZ #10014]
57067         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
57068         host name.
57070         [BZ #10038]
57071         * manual/memory.texi (Memory): Make order of menu items match
57072         order of sections.
57074 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
57076         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
57077         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
57078         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
57080 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
57082         * csu/libc-tls.c (static_dtv): Renamed to ...
57083         (_dl_static_dtv): This.  Make it global.
57084         (_dl_initial_dtv): Removed.
57085         (__libc_setup_tls): Updated.
57086         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
57087         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
57088         DL_INITIAL_DTV.
57090 2012-09-06  Petr Machata  <pmachata@redhat.com>
57092         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
57093         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
57094         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
57095         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
57097 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
57099         [BZ #14545]
57100         * csu/libc-tls.c (_dl_initial_dtv): New variable.
57101         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
57102         freeing dtv[-1].
57104 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
57106         [BZ #14544]
57107         * Makeconfig (link-static-before-libc): Replace $(+prector)
57108         with $(+prectorT).
57109         (link-static-after-libc): Replace $(+postctor) with
57110         $(+postctorT).
57111         (link-bounded): Replace $(+prector)/$(+postctor) with
57112         $(+prectorT)/$(+postctorT).
57113         (+prectorT): New macro.
57114         (+postctorT): Likewise.
57116 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
57118         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
57119         (round_str): Handle values above the maximum for IBM long double
57120         as inexact.
57121         * stdlib/tst-strtod-round.c (tests): Regenerated.
57123 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57125         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
57126         assembler flag.
57127         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
57128         zarch_nohighgprs around the zarch optimized routines.
57129         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
57130         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
57131         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
57132         for zarch.
57134 2012-09-05  David S. Miller  <davem@davemloft.net>
57136         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57138         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
57139         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
57140         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
57141         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
57142         entries.
57144 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
57146         * malloc/arena.c: Fold copyright years.
57147         * malloc/mcheck.c, malloc/memusage.c: Likewise.
57149 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
57151         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
57153 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
57155         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
57157 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
57159         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
57160         change internal state upon failure.
57162 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
57164         * malloc/mcheck.c (mcheck_check_all): Fix typo.
57165         * malloc/memusage.c (mmap): Likewise.
57166         (mmap64, mremap): Likewise.  Adjust name in comment.
57168 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
57170         * libio/fileops.c: Fix typos in comments.
57171         * libio/oldfileops.c: Likewise.
57172         * libio/wfileops.c: Likewise.
57174 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
57176         [BZ #1349]
57177         * malloc/Makefile (tests): Add tst-malloc-usable test case.
57178         (tst-malloc-usable-ENV): Set environment for test case.
57179         * malloc/hooks.c (malloc_check_get_size): New function to get
57180         requested size.
57181         * malloc/malloc.c (musable): Use malloc_check_get_size.
57182         * malloc/tst-malloc-usable.c: New test case.
57184 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
57186         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
57188 2012-09-05  Allan McRae  <allan@archlinux.org>
57190         [BZ #13966]
57191         * configure.in (CXX_SYSINCLUDES): Use compiler output to
57192         determine header location.
57193         * configure: Regenerated.
57195 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
57197         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
57198         float format.
57199         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
57200         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
57201         format.
57202         (test): Regenerate.
57204 2012-09-04  David S. Miller  <davem@davemloft.net>
57206         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
57207         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
57208         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
57210 2012-09-04  Florian Weimer  <fweimer@redhat.com>
57212         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
57213         failures.
57215         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
57217 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
57219         [BZ #9914]
57220         * libio/iogetdelim.c: Include <limits.h>.
57221         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
57222         + len + 1 would overflow.
57224 2012-09-03  Andreas Jaeger  <aj@suse.de>
57226         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57227         * sysdeps/i386/fpu/libm-test-ulps: Update.
57229 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57231         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
57232         Add s_sinf-sse2, s_conf-sse2.
57234         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
57235         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
57236         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
57237         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
57239         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
57240         for using routine as __sinf_ia32.
57241         Use macro for function declaration and weak_alias.
57242         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
57243         for using routine as __cosf_ia32.
57244         Use macro for function declaration and weak_alias.
57246         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
57247         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
57249         * sysdeps/x86_64/fpu/s_sinf.S: New file.
57250         * sysdeps/x86_64/fpu/s_cosf.S: New file.
57251         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57253         * math/libm-test.inc (cos_test): Add more test cases.
57254         (sin_test): Likewise.
57255         (sincos_test): Likewise.
57257 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57259         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
57260         (IFUNC_RESOLVE): Make pointers to the specialized implementations
57261         hidden.
57262         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
57264 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
57266         [BZ #14538]
57267         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
57268         first element of the GOT.
57269         (elf_machine_load_address): Return the difference between
57270         the runtime address of _DYNAMIC and elf_machine_dynamic ().
57272 2012-09-01  Allan McRae  <allan@archlinux.org>
57274         [BZ #13412]
57275         * configure.in (AWK): Require gawk version 3.0 or later.
57276         * configure: Regenerated.
57278 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
57280         * sysdeps/unix/sysv/linux/kernel-features.h
57281         (__ASSUME_POSIX_CPU_TIMERS): Remove.
57282         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
57283         [__NR_clock_getres]: Make code unconditional.
57284         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
57285         (clock_getcpuclockid): Remove code left unreachable by removal of
57286         conditionals.
57287         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
57288         code unconditional.
57289         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
57290         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
57291         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
57292         Make code unconditional.
57293         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
57294         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
57295         * sysdeps/unix/sysv/linux/clock_settime.c
57296         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
57297         conditional code.
57298         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
57299         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
57301 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
57303         [BZ #14476]
57304         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
57305         scripts/test-installation.pl.
57307         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
57308         and $ld_so_version if it is set.
57310 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
57312         [BZ #14516]
57313         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
57314         failure if reading from procfs failed.
57315         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
57317 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
57319         * sysdeps/unix/sysv/linux/kernel-features.h
57320         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
57321         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
57322         Remove conditional code.
57323         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
57324         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
57325         Remove conditional code.
57326         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
57327         * sysdeps/unix/sysv/linux/i386/fxstat.c
57328         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
57329         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
57330         * sysdeps/unix/sysv/linux/i386/fxstatat.c
57331         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
57332         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
57333         * sysdeps/unix/sysv/linux/i386/lxstat.c
57334         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
57335         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
57336         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
57337         Remove conditional code.
57338         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
57339         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
57340         Remove conditional code.
57341         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
57342         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
57343         <kernel-features.h>.
57344         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
57345         Remove.
57346         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
57347         Remove conditional code.
57348         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
57349         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
57350         Remove conditional.
57352 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
57354         [BZ #5400]
57355         * NEWS: Add fixed bug number.
57357 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
57359         [BZ #14519]
57360         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
57361         underflowing exponent in case of negative sign.
57362         * stdlib/tst-strtod-round-data: Add more tests.
57363         * stdlib/tst-strtod-round.c (tests): Regenerated.
57365         [BZ #3479]
57366         * stdlib/strtod_l.c (NDIG): Remove.
57367         (HEXNDIG): Likewise.
57368         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
57369         smallest representable value.
57370         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
57371         lie within an exact representation of 1/2 ulp of the result.
57372         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
57373         unconditionally.
57374         (TENS_P9_IDX): Define unconditionally.
57375         (TENS_P9_SIZE): Likewise.
57376         (TENS_P10_IDX): Likewise.
57377         (TENS_P10_SIZE): Likewise.
57378         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
57379         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
57380         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
57381         entries for 10^2^13 and 10^2^14.
57382         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
57383         (TENS_P13_IDX): Define.
57384         (TENS_P13_SIZE): Likewise.
57385         (TENS_P14_IDX): Likewise.
57386         (TENS_P14_SIZE): Likewise.
57387         (_fpioconst_pow10): Change array size to
57388         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
57389         unconditional.
57390         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
57391         1024]: Add entries for 10^2^13 and 10^2^14.
57392         [LAST_POW10 > _LAST_POW10]: Remove #error.
57393         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
57394         (_fpioconst_pow10): Change array size to
57395         FPIOCONST_POW10_ARRAY_SIZE.
57396         * stdlib/gen-fpioconst.c: New file.
57397         * stdlib/gen-tst-strtod-round.c: Likewise.
57398         * stdlib/tst-strtod-round-data: Likewise.
57399         * stdlib/tst-strtod-round.c: Likewise.
57400         * stdlib/Makefile (tests): Add tst-strtod-round.
57402         [BZ #14459]
57403         * stdlib/strtod_l.c: Include <stdint.h>.
57404         (NDEBUG): Do not define.
57405         (round_and_return): Change EXPONENT parameter to type intmax_t.
57406         Rearrange calculations to avoid internal overflow possibilities.
57407         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
57408         Rearrange calculations to avoid internal overflow possibilities.
57409         Assert that number fits inside MPNSIZE limbs.
57410         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
57411         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
57412         calculations and add assertions to avoid internal overflow
57413         possibilities.  Add casts to avoid signed/unsigned operations.
57414         * stdlib/tst-strtod-overflow.c: New file.
57415         * stdlib/Makefile (tests): Add tst-strtod-overflow.
57417 2012-08-25  Marek Polacek  <polacek@redhat.com>
57419         * time/time.h: Fix some typos in comments.
57421 2012-08-23  Roland McGrath  <roland@hack.frob.com>
57423         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
57424         * posix/tst-rfc3484-2.c: Likewise.
57425         * posix/tst-rfc3484-3.c: Likewise.
57427 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
57429         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
57430         (EF_ARM_ABI_FLOAT_HARD): Likewise.
57432 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
57434         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
57435         #include of fxstatat64.c.
57437 2012-08-22  Roland McGrath  <roland@hack.frob.com>
57439         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
57440         * shadow/getspent_r.c: Likewise.
57441         * shadow/getspnam.c: Likewise.
57442         * shadow/getspnam_r.c: Likewise.
57443         * gshadow/getsgent.c: Likewise.
57444         * gshadow/getsgent_r.c: Likewise.
57445         * gshadow/getsgnam.c: Likewise.
57446         * gshadow/getsgnam_r.c: Likewise.
57447         * inet/getnetbyad.c: Likewise.
57448         * inet/getnetbyad_r.c: Likewise.
57449         * inet/getnetbynm.c: Likewise.
57450         * inet/getnetbynm_r.c: Likewise.
57451         * inet/getnetent.c: Likewise.
57452         * inet/getnetent_r.c: Likewise.
57453         * inet/getproto.c: Likewise.
57454         * inet/getproto_r.c: Likewise.
57455         * inet/getprtent.c: Likewise.
57456         * inet/getprtent_r.c: Likewise.
57457         * inet/getprtname.c: Likewise.
57458         * inet/getprtname_r.c: Likewise.
57459         * inet/getrpcbyname.c: Likewise.
57460         * inet/getrpcbyname_r.c: Likewise.
57461         * inet/getrpcbynumber.c: Likewise.
57462         * inet/getrpcbynumber_r.c: Likewise.
57463         * inet/getrpcent.c: Likewise.
57464         * inet/getrpcent_r.c: Likewise.
57465         * inet/getaliasent.c: Likewise.
57466         * inet/getaliasent_r.c: Likewise.
57467         * inet/getaliasname.c: Likewise.
57468         * inet/getaliasname_r.c: Likewise.
57469         * nscd/getgrgid_r.c: Likewise.
57470         * nscd/getgrnam_r.c: Likewise.
57471         * nscd/gethstbyad_r.c: Likewise.
57472         * nscd/gethstbynm3_r.c: Likewise.
57473         * nscd/getpwnam_r.c: Likewise.
57474         * nscd/getpwuid_r.c: Likewise.
57475         * nscd/getsrvbynm_r.c: Likewise.
57476         * nscd/getsrvbypt_r.c: Likewise.
57477         * nscd/gai.c: Likewise.
57479         * configure.in (build_nscd): New substituted variable, set
57480         by --disable-build-nscd and defaults to $use_nscd.
57481         * configure: Regenerated.
57482         * config.make.in (build-nscd): New substituted variable.
57483         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
57484         Change conditional to require [$(build-nscd) = yes] as well.
57485         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
57487         [BZ# 13696]
57488         * configure.in (use_nscd): New substituted variable, set by
57489         --disable-nscd.  If enabled, define USE_NSCD.
57490         * configure: Regenerated.
57491         * config.h.in: Add USE_NSCD.
57492         * config.make.in (use-nscd): New substituted variable.
57493         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
57494         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
57495         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
57496         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
57497         (CFLAGS-getgrnam_r.c): Likewise.
57498         (CFLAGS-initgroups.c): Likewise.
57499         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
57500         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
57501         Variables removed.
57502         * inet/getnetgrent_r.c
57503         (nscd_setnetgrent): New function, broken out of ...
57504         (setnetgrent): ... here.  Call it.
57505         (innetgr): Conditionalize nscd bits on [USE_NSCD].
57506         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
57507         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
57508         * nscd/Makefile (routines, aux): Move definitions after include of
57509         Makeconfig.  Conditionalize on [$(use-nscd) != no].
57510         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
57511         Conditionalize on [USE_NSCD].
57512         (is_nscd, nscd_init_cb): Likewise.
57513         (nss_load_library): Conditionalize init callback on [USE_NSCD].
57514         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
57515         * nss/nss_db/db-init.c: Likewise.
57516         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
57517         [USE_NSCD].
57518         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
57519         (make_request): Use it.
57520         (cache_valid_p): New function.
57521         (__check_pf): Use it.
57522         * NEWS: Add item for --disable-nscd.
57524 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
57526         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
57527         to support sed >= 4.2.1-20-ga9bf076.
57528         * configure: Regenerated.
57530 2012-08-22  Roland McGrath  <roland@hack.frob.com>
57532         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
57533         Conditionalize whole body on [IREL].
57535 2012-08-22  Jeff Law <law@redhat.com>
57537         [BZ #14505]
57538         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
57539         if the family is PF_UNSPEC.
57541 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
57543         * Makerules (lib-version): Rename from V.
57544         (install-lib-nosubdir): Change V to lib-version.
57546 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
57548         [BZ #14252]
57549         * powerpc32/power6/wcschr.c: New file.
57550         * powerpc32/power6/wcscpy.c: New file.
57551         * powerpc32/power6/wcsrchr.c: New file.
57552         * powerpc64/power6/wcschr.c: New file.
57553         * powerpc64/power6/wcscpy.c: New file.
57554         * powerpc64/power6/wcsrchr.c: New file.
57556 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
57558         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
57559         (two_way_short_needle): Use it.
57560         * string/strstr.c (AVAILABLE1_USES_J): Define.
57561         * string/strcasestr.c: Likewise.
57563         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
57564         array references.
57565         * string/strcasestr.c (TOLOWER): Make side-effect safe.
57567         [BZ #11607]
57568         * NEWS: Add an entry.
57569         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
57570         define their defaults.
57571         (two_way_short_needle): Detect end-of-string on-the-fly.
57572         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
57573         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
57574         * string/bug-strcasestr1.c: New test.
57575         * string/Makefile: Run it.
57577 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
57579         [BZ #11607]
57580         * string/str-two-way.h (two_way_short_needle): Optimize matching of
57581         the first character.
57583 2012-08-21  Roland McGrath  <roland@hack.frob.com>
57585         * csu/elf-init.c (__libc_csu_irel): Function removed.
57586         * csu/libc-start.c (apply_irel): New function.
57587         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
57589 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
57591         * sysdeps/unix/sysv/linux/kernel-features.h
57592         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
57593         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
57594         <kernel-features.h>.
57595         [__NR_fadvise64_64]: Make code unconditional.
57596         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
57597         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
57598         !__NR_fadvise64_64)]: Likewise.
57599         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
57600         !__NR_fadvise64_64))]: Likewise.
57601         [__NR_fadvise64]: Make code unconditional.
57602         [!__NR_fadvise64]: Remove conditional code.
57603         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
57604         <kernel-features.h>.
57605         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
57606         unconditional.
57607         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
57608         conditional code.
57609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
57610         not include <kernel-features.h>.
57611         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
57612         unconditional.
57613         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
57614         conditional code.
57615         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
57616         include <kernel-features.h>.
57617         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
57618         unconditional.
57619         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
57620         conditional code.
57622 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
57624         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
57625         slight instruction rearrangements per scrollpipe analysis.
57626         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
57628 2012-08-20  Roland McGrath  <roland@hack.frob.com>
57630         * manual/syslog.texi (syslog; vsyslog, closelog):
57631         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
57632         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
57634         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
57635         DSOCAPS to match condition on defining it.
57637 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
57639         * sysdeps/unix/sysv/linux/kernel-features.h
57640         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
57641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
57642         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
57643         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
57644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
57645         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
57646         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
57647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
57648         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
57649         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
57651         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
57652         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
57654         * sysdeps/unix/sysv/linux/kernel-features.h
57655         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
57656         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
57657         unconditional.
57658         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
57659         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
57660         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
57661         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
57662         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
57663         Make code unconditional.
57664         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
57665         (__mmap64) [!__NR_mmap2]: Likewise.
57666         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
57667         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
57668         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
57669         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
57670         [__NR_mmap2]: Make code unconditional.
57671         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
57672         (__mmap64) [!__NR_mmap2]: Likewise.
57674 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57676         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
57678 2012-08-18  Andreas Jaeger  <aj@suse.de>
57680         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
57682 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
57684         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
57685         * include/unistd.h (__have_sock_cloexec): Likewise.
57686         (__have_pipe2): Likewise.
57687         (__have_dup3): Likewise.
57689 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
57691         [BZ #9685]
57692         * include/unistd.h (__have_pipe2): Change define into an extern int.
57693         (__have_dup3): Likewise.
57694         * socket/have_sock_cloexec.c: Include fcntl.h.
57695         (__have_pipe2): New variable.
57696         (__have_dup3): Likewise.
57698 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
57700         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
57702 2012-08-17  Marek Polacek  <polacek@redhat.com>
57704         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
57705         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
57707 2012-08-17  Roland McGrath  <roland@hack.frob.com>
57709         * configure.in: Add AC_SUBST for sysheaders.
57710         * configure: Regenerated.
57711         * config.make.in (sysheaders): New substituted variable.
57713         * sysdeps/unix/mkfifo.c: Moved ...
57714         * sysdeps/posix/mkfifo.c: ... here.
57715         * sysdeps/unix/mkfifoat.c: Moved ...
57716         * sysdeps/posix/mkfifoat.c: ... here.
57718         * sysdeps/unix/utime.c: Moved ...
57719         * sysdeps/posix/utime.c: ... here.
57721         * sysdeps/unix/time.c: Moved ...
57722         * sysdeps/posix/time.c: ... here.
57723         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
57724         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
57726         * sysdeps/unix/nice.c: Moved ...
57727         * sysdeps/posix/nice.c: ... here.
57729         * sysdeps/unix/alarm.c: Moved ...
57730         * sysdeps/posix/alarm.c: ... here.
57732         * intl/Makefile ($(codeset_mo)): Depend on the input file.
57734 2012-08-17  Jeff Law <law@redhat.com>
57736         * intl/Makefile (codeset_mo): New variable.
57737         ($(codeset_mo)): New target.
57738         (tst-codeset.out): Depend on that.  Remove explicit rule.
57739         (tst-gettext3.out, tst-gettext5.out): Likewise.
57740         (LOCPATH-ENV, tst-codeset-ENV): New variables.
57741         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
57742         * intl/tst-codeset.sh: Remove.
57743         * intl/tst-gettext3.sh: Likewise.
57744         * intl/tst-gettext5.sh: Likewise.
57746 2012-08-17  Roland McGrath  <roland@hack.frob.com>
57748         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
57749         * sysdeps/unix/syscalls.list: ... here.
57751         * sysdeps/posix/getaddrinfo.c
57752         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
57753         (gaiconf_init, gaiconf_reload): Use them.
57754         [!_STATBUF_ST_NSEC]
57755         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
57756         Define using time_t rather than struct timespec.
57758         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
57759         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
57760         Macros removed.
57761         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
57762         [!NO_THREADS].
57763         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
57764         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
57765         Likewise.
57767         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
57768         __libc_cleanup_push argument.
57770         * bits/param.h: New file.
57771         * misc/sys/param.h: New file.
57772         * include/sys/param.h: New file.
57773         * misc/Makefile (headers): Add bits/param.h.
57774         * sysdeps/generic/sys/param.h: File removed.
57775         * sysdeps/unix/sysv/linux/bits/param.h: New file.
57776         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
57777         * sysdeps/mach/hurd/bits/param.h: New file.
57778         * sysdeps/mach/hurd/sys/param.h: File removed.
57780         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
57781         last change.
57783         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
57784         [_IO_MTSAFE_IO].
57785         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
57786         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
57787         New macros.
57789         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
57790         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
57791         rather than -D_IO_MTSAFE_IO conditionally.
57792         * stdio-common/Makefile (CPPFLAGS): Likewise.
57793         * wcsmbs/Makefile (CPPFLAGS): Likewise.
57794         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
57795         Use $(libio-mtsafe).
57796         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
57797         of -D_IO_MTSAFE_IO.
57798         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
57799         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
57800         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
57801         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
57802         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
57803         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
57804         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
57805         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
57806         (CFLAGS-fread_u_chk.c): Likewise.
57807         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
57808         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
57809         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
57810         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
57811         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
57812         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
57813         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
57814         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
57815         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
57817         * libio/Makefile: Test [$(libc-reentrant) = yes]
57818         instead of [$(filter %REENTRANT, $(defines)) nonempty].
57820         * Makeconfig
57821         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
57822         * sysdeps/pthread/configure: File removed.
57823         * sysdeps/pthread/Makeconfig: New file.
57824         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
57825         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
57827 2012-08-16  Gary Benson  <gbenson@redhat.com>
57829         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
57830         unmapping the first object in a namespace.
57832 2012-08-16  Roland McGrath  <roland@hack.frob.com>
57834         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
57835         (__internal_setnetgrent): ... this.  Add internal_function to
57836         definition.  Add libc_hidden_def.
57837         (setnetgrent): Update caller.
57838         (internal_endnetgrent): Renamed to ...
57839         (__internal_endnetgrent): ... this.  Add internal_function to
57840         definition.  Add libc_hidden_def.
57841         (endnetgrent): Update caller.
57842         (internal_getnetgrent_r): Renamed to ...
57843         (__internal_getnetgrent_r): ... this.  Add internal_function to
57844         definition.  Add libc_hidden_def.
57845         (__getnetgrent_r): Update caller.
57846         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
57848 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
57850         * stdlib/longlong.h: Update from GCC.
57852 2012-08-16  Roland McGrath  <roland@hack.frob.com>
57854         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
57855         on _QL, which is set by umul_ppmm but never used.
57856         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
57857         variables, which are set by GMP macros but never used.
57858         * stdio-common/_itowa.c (_itowa): Likewise.
57859         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
57860         * stdlib/mod_1.c (mpn_mod_1): Likewise.
57862 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
57864         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
57865         struct La_sh_regs is not constant.
57866         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
57867         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
57868         and struct La_sparc64_regs are not constant.
57870 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
57872         * sysdeps/unix/sysv/linux/kernel-features.h
57873         (__ASSUME_POSIX_TIMERS): Remove.
57874         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
57875         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
57876         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
57877         Make code unconditional.
57878         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
57879         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
57880         Make code unconditional.
57881         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
57882         * sysdeps/unix/sysv/linux/clock_nanosleep.c
57883         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
57884         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
57885         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
57886         Make code unconditional.
57887         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
57888         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
57889         (__libc_missing_posix_timers): Remove.
57891 2012-08-15  Roland McGrath  <roland@hack.frob.com>
57893         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
57894         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
57896         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
57898         * elf/dl-sym.c: Include <stdlib.h>.
57900         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
57901         constants, which avoids warnings in 32-bit builds.
57903         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
57904         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
57906         * misc/lseek.c: File moved to ...
57907         * io/lseek.c: ... here.
57909         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
57911         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
57912         shifting LEN more than 31 bits at once.
57914 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57916         [BZ #14195]
57917         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
57918         segmentation fault for a case of two empty input strings.
57919         * string/test-strncasecmp.c (check1): Renamed to...
57920         (bz12205): ...this.
57921         (bz14195): Add new testcase for two empty input strings and N > 0.
57922         (test_main): Call new testcase, adapt for renamed function.
57924 2012-08-15  Andreas Jaeger  <aj@suse.de>
57926         [BZ #14090]
57927         * crypt/md5test2.c: New test, based on test supplied by Serge
57928         Belyshev <belyshev@depni.sinp.msu.ru>.
57929         * crypt/Makefile (xtests): Add md5test-giant..
57930         * crypt/Makefile ($(objpfx)md5test-giant): Add.
57932 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
57934         [BZ #14090]
57935         * crypt/md5.c (md5_process_block): Don't assume the buffer
57936         length is less than 2**32.
57937         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
57938         length is less than 2**64.
57940 2012-08-15  Roland McGrath  <roland@hack.frob.com>
57942         * string/str-two-way.h: Include <sys/param.h>.
57943         (MAX): Macro removed.
57945         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
57946         Move #define and #undef of memmove to just before and after
57947         including <string.h>.
57949         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
57950         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
57951         and after including <string.h>.  Move declarations of
57952         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
57953         to before #include "string/memmove.c".
57955         * include/dirent.h: Declare __getdirentries.
57957         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
57958         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
57960 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
57962         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
57963         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
57964         * sysdeps/i386/configure: Regenerated.
57965         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
57966         STABS_CURRENT_FILE, and STABS_FUN.
57967         (END): Remove call to STABS_FUN_END.
57968         (STABS_CURRENT_FILE1): Delete.
57969         (STABS_CURRENT_FILE): Likewise.
57970         (STABS_FUN): Likewise.
57971         (STABS_FUN_END): Likewise.
57972         (STABS_FUN2): Likewise.
57973         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
57974         * sysdeps/x86_64/configure: Regenerated.
57976 2012-08-14  Roland McGrath  <roland@hack.frob.com>
57978         * elf/dl-open.c: Include <atomic.h>.
57979         * elf/dl-lookup.c: Likewise.
57981 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
57983         * sysdeps/unix/sysv/linux/kernel-features.h
57984         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
57985         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
57986         unconditionally.
57987         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
57988         unconditionally.
57989         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
57990         condition on __ASSUME_CLONE_THREAD_FLAGS.
57992 2012-08-14  Andreas Jaeger  <aj@suse.de>
57994         * sysdeps/i386/fpu/libm-test-ulps: Update.
57996 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
57998         * include/atomic.h (atomic_exchange_and_add): Split into ...
57999         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
58000         New atomic macros.
58002 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
58004         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58006 2012-08-13  Jeff Law <law@redhat.com>
58008         * manual/stdio.texi (snprintf): Clarify handling of the trailing
58009         null byte in the output string.
58011 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
58013         * sysdeps/unix/sysv/linux/kernel-features.h
58014         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
58015         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
58016         (__ASSUME_ARG_MAX_STACK_BASED): Define.
58017         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
58018         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
58019         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
58020         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
58022 2012-08-09  Jeff Law <law@redhat.com>
58024         [BZ #13939]
58025         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
58026         When avoid_arena is set, don't retry in the that arena.  Pick the
58027         next one, whatever it might be.
58028         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
58029         (arena_lock): Pass in new parameter to arena_get2.
58030         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
58031         arena_get2.
58032         (__libc_malloc): Unify retrying after main arena failure with
58033         __libc_memalign version.
58034         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
58036 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
58038         [BZ #14166]
58039         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
58040         to __redirect_strstr.
58041         (__strstr_sse42): Use typeof __redirect_strstr.
58042         (__strstr_ia32): Likewise.
58043         (__libc_strstr): New prototype.
58044         (strstr): Renamed to ...
58045         (__libc_strstr): This.
58046         (strstr): New strong alias of __libc_strstr.
58047         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
58048         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
58049         __redirect_time.
58050         Include <time.h>.
58051         (__libc_time): New prototype.
58052         (time_ifunc): Replace time with __libc_time.
58053         (time): New strong alias and hidden definition of __libc_time.
58054         (__GI_time): Remove strong alias.
58055         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
58056         Include <stddef.h>.
58057         (memmove): Redefined to __redirect_memmove.
58058         (__memmove_sse2): Use typeof __redirect_memmove.
58059         (__memmove_ssse3): Likewise.
58060         (__memmove_ssse3_back): Likewise.
58061         (__libc_memmove): New prototype.
58062         (memmove): Renamed to ...
58063         (__libc_memmove): This.
58064         (memmove): New strong alias of __libc_memmove.
58066 2012-08-08  Mark Salter  <msalter@redhat.com>
58068         * elf/elf.h
58069         (R_MN10300_TLS_GD): Define.
58070         (R_MN10300_TLS_LD): Likewise.
58071         (R_MN10300_TLS_LDO): Likewise.
58072         (R_MN10300_TLS_GOTIE): Likewise.
58073         (R_MN10300_TLS_IE): Likewise.
58074         (R_MN10300_TLS_LE): Likewise.
58075         (R_MN10300_TLS_DTPMOD): Likewise.
58076         (R_MN10300_TLS_DTPOFF): Likewise.
58077         (R_MN10300_TLS_TPOFF): Likewise.
58078         (R_MN10300_SYM_DIFF): Likewise.
58079         (R_MN10300_ALIGN): Likewise.
58080         (R_MN10300_NUM): Update.
58082 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
58084         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
58085         Remove.
58087 2012-08-08  Roland McGrath  <roland@hack.frob.com>
58089         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
58091         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
58092         sysdeps/unix -> sysdeps/posix move.
58093         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
58095 2012-08-07      Allan McRae     <allan@archlinux.org>
58097         [BZ #14303]
58098         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
58099         (SUNOS_CPP): Likewise.
58100         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
58101         not found.
58102         (open_input): Call CPP using execvp.
58104 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
58106         * sysdeps/unix/sysv/linux/kernel-features.h
58107         (__ASSUME_PROT_GROWSUPDOWN): Remove.
58108         (__ASSUME_NO_CLONE_DETACHED): Likewise.
58109         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
58110         (__ASSUME_WAITID_SYSCALL): Likewise.
58111         * sysdeps/unix/sysv/linux/dl-execstack.c
58112         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
58113         code unconditional.
58114         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
58115         conditional code.
58116         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
58117         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
58118         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
58119         code.
58120         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
58121         unconditional.
58122         [__ASSUME_WAITID_SYSCALL]: Likewise.
58123         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
58125 2012-08-07  Roland McGrath  <roland@hack.frob.com>
58127         * sysdeps/unix/closedir.c: Renamed to ...
58128         * sysdeps/posix/closedir.c: ... here.
58129         * sysdeps/unix/dirfd.c: Renamed to ...
58130         * sysdeps/posix/dirfd.c: ... here.
58131         * sysdeps/unix/dirstream.h: Renamed to ...
58132         * sysdeps/posix/dirstream.h: ... here.
58133         * sysdeps/unix/fdopendir.c: Renamed to ...
58134         * sysdeps/posix/fdopendir.c: ... here.
58135         * sysdeps/unix/opendir.c: Renamed to ...
58136         * sysdeps/posix/opendir.c: ... here.
58137         * sysdeps/unix/readdir.c: Renamed to ...
58138         * sysdeps/posix/readdir.c: ... here.
58139         * sysdeps/unix/readdir_r.c: Renamed to ...
58140         * sysdeps/posix/readdir_r.c: ... here.
58141         * sysdeps/unix/rewinddir.c: Renamed to ...
58142         * sysdeps/posix/rewinddir.c: ... here.
58143         * sysdeps/unix/seekdir.c: Renamed to ...
58144         * sysdeps/posix/seekdir.c: ... here.
58145         * sysdeps/unix/telldir.c: Renamed to ...
58146         * sysdeps/posix/telldir.c: ... here.
58147         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
58148         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
58149         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
58150         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
58152         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
58153         * bits/fcntl.h: ... here.
58155         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
58156         not 0.
58157         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
58158         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
58159         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
58160         (struct flock): Move l_start, l_len to the beginning.
58161         Use __pid_t for l_pid.
58162         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
58163         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
58164         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
58165         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
58166         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
58167         [__USE_LARGEFILE64] (struct flock64): New type.
58168         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
58170         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
58171         * bits/dirent.h: ... here.
58173         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
58174         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
58176 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
58178         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
58179         Change from 2.6.0 to 2.6.16.
58180         * sysdeps/unix/sysv/linux/configure: Regenerated.
58181         * sysdeps/unix/sysv/linux/kernel-features.h
58182         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
58183         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
58184         version.
58185         (__ASSUME_UTIMES): Likewise.
58186         (__ASSUME_CLONE_STOPPED): Remove.
58187         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
58188         architectures, not kernel version.
58189         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
58190         (__ASSUME_NO_CLONE_DETACHED): Likewise.
58191         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
58192         (__ASSUME_WAITID_SYSCALL): Likewise.
58193         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
58194         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
58195         * README: State 2.6.16 as minimum Linux kernel version.  Do not
58196         refer to older versions.
58198 2012-08-06  Roland McGrath  <roland@hack.frob.com>
58200         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
58201         Define alphasort64 as an alias.
58202         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
58203         Define versionsort64 as an alias.
58204         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
58205         Define scandir64 as an alias.
58206         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
58207         Define scandirat64 as an alias.
58208         * dirent/alphasort64.c (alphasort64):
58209         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
58210         * dirent/versionsort64.c: Likewise.
58211         * dirent/scandir64.c: Likewise.
58212         * dirent/scandirat64.c: Likewise.
58213         * sysdeps/wordsize-64/alphasort.c: File removed.
58214         * sysdeps/wordsize-64/alphasort64.c: File removed.
58215         * sysdeps/wordsize-64/scandir.c: File removed.
58216         * sysdeps/wordsize-64/scandir64.c: File removed.
58217         * sysdeps/wordsize-64/scandirat.c: File removed.
58218         * sysdeps/wordsize-64/scandirat64.c: File removed.
58219         * sysdeps/wordsize-64/versionsort.c: File removed.
58220         * sysdeps/wordsize-64/versionsort64.c: File removed.
58221         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
58222         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
58223         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
58224         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
58225         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
58226         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
58227         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
58228         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
58230         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
58231         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
58232         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
58233         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
58234         [defined __arch64__ || defined __sparcv9]
58235         (__INO_T_MATCHES_INO64_T): New macro.
58236         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
58237         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
58238         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
58239         * sysdeps/unix/sysv/linux/bits/dirent.h
58240         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
58241         (_DIRENT_MATCHES_DIRENT64): New macro.
58243         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
58244         Define lockf64 as an alias.
58245         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
58246         Define fseeko64 as an alias.
58247         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
58248         Define ftello64 as an alias.
58249         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
58250         Define _IO_fgetpos64 and fgetpos64 as aliases.
58251         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
58252         Define _IO_fsetpos64 and fsetpos64 as aliases.
58253         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
58254         Conditionalize body on this.
58255         * libio/fseeko64.c: Likewise.
58256         * libio/ftello64.c: Likewise.
58257         * libio/iofgetpos64.c: Likewise.
58258         * libio/iofsetpos64.c: Likewise.
58259         * sysdeps/wordsize-64/lockf.c: File removed.
58260         * sysdeps/wordsize-64/lockf64.c: File removed.
58261         * sysdeps/wordsize-64/fseeko.c: File removed.
58262         * sysdeps/wordsize-64/fseeko64.c: File removed.
58263         * sysdeps/wordsize-64/ftello.c: File removed.
58264         * sysdeps/wordsize-64/ftello64.c: File removed.
58265         * sysdeps/wordsize-64/iofgetpos.c: File removed.
58266         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
58267         * sysdeps/wordsize-64/iofsetpos.c: File removed.
58268         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
58269         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
58270         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
58271         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
58272         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
58273         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
58274         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
58275         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
58276         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
58277         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
58278         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
58280         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
58281         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
58282         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
58283         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
58284         [defined __arch64__ || defined __sparcv9]
58285         (__OFF_T_MATCHES_OFF64_T): New macro.
58286         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
58287         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
58288         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
58289         (__OFF_T_MATCHES_OFF64_T): New macro.
58291 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
58293         * stdlib/secure-getenv.c (__secure_getenv): Replace
58294         GLIBC_2_16 with GLIBC_2_17.
58296 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
58298         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
58299         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
58301 2012-08-03  David S. Miller  <davem@davemloft.net>
58303         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58305 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
58307         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
58308         Remove.
58309         (__ASSUME_CORRECT_SI_PID): Likewise.
58310         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
58311         (__ASSUME_TMPFS_NAME): Likewise.
58312         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
58313         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
58314         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
58315         (HAVE_AUX_SECURE): Make definition unconditional.
58316         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
58317         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
58319 2012-08-03  Roland McGrath  <roland@hack.frob.com>
58321         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
58322         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
58323         * sysdeps/mach/hurd/eloop-threshold.h: New file.
58324         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
58325         __eloop_threshold instead of SYMLOOP_MAX.
58327         * sysdeps/generic/eloop-threshold.h: New file.
58328         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
58329         of MAXSYMLINKS.
58330         * elf/chroot_canon.c (chroot_canon): Likewise.
58332 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
58334         [BZ #13717]
58335         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
58336         Change to 2.6.0 everywhere.
58337         * sysdeps/unix/sysv/linux/configure: Regenerated.
58338         * sysdeps/unix/sysv/linux/kernel-features.h
58339         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
58340         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
58341         kernel versions.
58342         (__ASSUME_POSIX_TIMERS): Define unconditionally.
58343         (__ASSUME_FUTEX_REQUEUE): Remove.
58344         (__ASSUME_STATFS64): Define unconditionally.
58345         (__ASSUME_AT_SECURE): Likewise.
58346         (__ASSUME_CORRECT_SI_PID): Likewise.
58347         (__ASSUME_TGKILL): Define without depending on kernel version for
58348         i386.
58349         (__ASSUME_UTIMES): Likewise.
58350         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
58351         kernel version.
58352         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
58353         (__ASSUME_TMPFS_NAME): Likewise.
58354         * README: Update reference to Linux kernel versions.
58356 2012-08-02  Marek Polacek  <polacek@redhat.com>
58358         [BZ# 14150]
58359         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
58360         libc_cv_asm_type_prefix with %.
58361         * configure: Regenerated.
58362         * include/libc-symbols.h: Remove comment about
58363         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
58364         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
58365         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
58366         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
58367         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
58368         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
58369         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
58370         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
58371         * elf/tst-unique2mod1.c: Likewise.
58372         * elf/tst-unique1mod2.c: Likewise.
58373         * elf/tst-unique1mod1.c: Likewise.
58374         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
58375         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
58376         Replace ASM_TYPE_DIRECTIVE with .type.
58377         * sysdeps/s390/s390-64/sysdep.h: Likewise.
58378         * sysdeps/i386/sysdep.h: Likewise.
58379         * sysdeps/x86_64/sysdep.h: Likewise.
58380         * sysdeps/sh/sysdep.h: Likewise.
58381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
58382         Do not define ASM_TYPE_DIRECTIVE.
58383         * sysdeps/powerpc/sysdep.h: Likewise.
58384         * sysdeps/powerpc/powerpc32/sysdep.h:
58385         Replace ASM_TYPE_DIRECTIVE with .type.
58386         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
58387         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
58388         * sysdeps/i386/fpu/e_powf.S: Likewise.
58389         * sysdeps/i386/fpu/e_expl.S: Likewise.
58390         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
58391         * sysdeps/i386/fpu/e_acosh.S: Likewise.
58392         * sysdeps/i386/fpu/e_pow.S: Likewise.
58393         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
58394         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
58395         * sysdeps/i386/fpu/s_expm1.S: Likewise.
58396         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
58397         * sysdeps/i386/fpu/e_log2.S: Likewise.
58398         * sysdeps/i386/fpu/e_log2l.S: Likewise.
58399         * sysdeps/i386/fpu/e_scalb.S: Likewise.
58400         * sysdeps/i386/fpu/e_powl.S: Likewise.
58401         * sysdeps/i386/fpu/e_log10f.S: Likewise.
58402         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
58403         * sysdeps/i386/fpu/e_logl.S: Likewise.
58404         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
58405         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
58406         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
58407         * sysdeps/i386/fpu/e_log2f.S: Likewise.
58408         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
58409         * sysdeps/i386/fpu/e_log.S: Likewise.
58410         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
58411         * sysdeps/i386/fpu/e_logf.S: Likewise.
58412         * sysdeps/i386/fpu/e_log10l.S: Likewise.
58413         * sysdeps/i386/fpu/e_atanh.S: Likewise.
58414         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
58415         * sysdeps/i386/fpu/e_log10.S: Likewise.
58416         * sysdeps/i386/fpu/s_frexp.S: Likewise.
58417         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
58418         * sysdeps/i386/fpu/s_asinh.S: Likewise.
58419         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
58420         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
58421         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
58422         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
58423         * sysdeps/i386/i686/strtok.S: Likewise.
58424         * sysdeps/i386/i386-mcount.S: Likewise.
58425         * sysdeps/i386/strtok.S: Likewise.
58426         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
58427         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
58428         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
58429         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
58430         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
58431         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
58432         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
58433         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
58434         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
58435         * sysdeps/x86_64/_mcount.S: Likewise.
58436         * sysdeps/x86_64/strtok.S: Likewise.
58437         * sysdeps/sh/_mcount.S: Likewise.
58439 2012-08-01  Roland McGrath  <roland@hack.frob.com>
58441         * libio/iofopen.c: Include <fcntl.h>.
58442         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
58443         (_IO_fopen64, fopen64): Define as aliases.
58444         * libio/iofopen64.c: Include <fcntl.h>.
58445         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
58446         Conditionalize body on this.
58447         * sysdeps/wordsize-64/iofopen.c: File removed.
58448         * sysdeps/wordsize-64/iofopen64.c: File removed.
58450 2012-08-01  Marek Polacek  <polacek@redhat.com>
58452         * libc/Makeconfig: Use elf in place of binfmt-subdir.
58453         Use dlfcn directly instead of a variable.
58454         (binfmt-subdir): Do not define.
58455         (dlfcn): Likewise.
58457 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
58459         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
58460         Remove all definitions.
58461         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
58462         <kernel-features.h>.
58463         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
58464         (miss_F_GETOWN_EX): Remove all definitions.
58465         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
58466         macro definition.
58467         [!__ASSUME_FCNTL64]: Remove conditional code.
58468         [__ASSUME_FCNTL64]: Make code unconditional.
58469         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
58470         <kernel-features.h>.
58471         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
58472         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
58473         (lockf64) [__NR_fcntl64]: Make code unconditional.
58474         (lockf64) [__ASSUME_FCNTL64]: Likewise.
58476         * sysdeps/unix/sysv/linux/kernel-features.h
58477         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
58478         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
58479         Make code unconditional.
58480         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
58481         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
58482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
58483         [__NR_vfork]: Make code unconditional.
58484         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
58485         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
58486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
58487         [__NR_vfork]: Make code unconditional.
58488         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
58489         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
58491 2012-08-01  Roland McGrath  <roland@hack.frob.com>
58493         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
58494         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
58496         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
58497         Define mkstemp64 as an alias.
58498         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
58499         Define mkstemps64 as an alias.
58500         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
58501         Define mkostemp64 as an alias.
58502         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
58503         Define mkostemps64 as an alias.
58504         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
58505         Conditionalize body on this.
58506         * misc/mkostemp64.c: Likewise.
58507         * misc/mkostemps64.c: Likewise.
58508         * misc/mkstemps64.c: Likewise.
58509         * sysdeps/wordsize-64/mkstemp64.c: File removed.
58510         * sysdeps/wordsize-64/mkostemp64.c: File removed.
58511         * sysdeps/wordsize-64/mkostemp.c: File removed.
58512         * sysdeps/wordsize-64/mkstemp.c: File removed.
58513         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
58514         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
58515         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
58516         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
58518         [BZ #14138]
58519         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
58520         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
58521         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
58522         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
58524         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
58525         compat_symbol macros from <shlib-compat.h> rather than the underlying
58526         default_symbol_version and symbol_version macros, so that DEFAULT
58527         lines in shlib-versions are respected.
58528         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
58530 2012-08-01  Florian Weimer  <fweimer@redhat.com>
58532         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
58533         Declare with warn_unused_result.
58534         (setgid, setregid, setegid, setresgid): Likewise.
58535         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
58536         Likewise.
58537         * WUR-REPORT: Remove set*id functions.
58539 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
58541         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
58543 2012-07-31  Roland McGrath  <roland@hack.frob.com>
58545         [BZ #10191]
58546         * include/sys/socket.h (__libc_accept, __libc_accept4):
58547         Add attribute_hidden.
58548         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
58550         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
58551         use of PTR_MANGLE.
58552         * inet/getnetgrent_r.c (setup): Likewise.
58554         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
58556 2012-07-31  David S. Miller  <davem@davemloft.net>
58558         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58560 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
58562         [BZ #13629]
58563         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
58564         value between 1.0 and 2.0 and smaller part has absolute value less
58565         than 1.0.
58566         * math/s_clog10.c (__clog10): Likewise.
58567         * math/s_clog10f.c (__clog10f): Likewise.
58568         * math/s_clog10l.c (__clog10l): Likewise.
58569         * math/s_clogf.c (__clogf): Likewise.
58570         * math/s_clogl.c (__clogl): Likewise.
58571         * math/libm-test.inc (clog_test): Add more tests.
58572         (clog10_test): Likewise.
58573         * sysdeps/i386/fpu/libm-test-ulps: Update.
58574         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58576 2012-07-31  Florian Weimer  <fweimer@redhat.com>
58578         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
58579         Exit with zero in case no suitable GID is found, and write a
58580         message to standard error.
58582 2012-07-30  Roland McGrath  <roland@hack.frob.com>
58584         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
58585         rather than to 1.
58586         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
58587         (MAXPATHLEN): Removed.
58588         (NOGROUP, NODEV): New macros.
58589         (setbit, clrbit, isset, isclr): New macros.
58590         (howmany, roundup, powerof2): New macros.
58591         (DEV_BSIZE): New macro.
58593         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
58594         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
58596         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
58597         definition on [!__NO_LONG_DOUBLE_MATH].
58599         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
58600         PTR_MANGLE and PTR_DEMANGLE.
58602         * socket/accept4.c (accept4): Rename to __libc_accept4.
58603         Define accept4 as a weak alias.
58605         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
58606         on [_DIRENT_HAVE_D_TYPE].
58607         * io/ftw.c (ftw_dir): Likewise.
58609         * io/xmknod.c (__xmknod): Don't check PATH for being null.
58611         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
58613         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
58614         Use the BSD numbers rather than the arbitrary ones we had.
58615         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
58616         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
58617         (SIGXCPU, SIGXFSZ): New macros.
58618         (_NSIG): Now 32.
58620         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
58621         initializer on [_LIBC_REENTRANT].
58623         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
58624         definitions inside [_POSIX_MAPPED_FILES].
58626         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
58628         * dirent/opendir.c: Include <fcntl.h>.
58630         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
58631         (__libc_getspecific): Likewise.
58632         (__libc_key_create): Likewise.
58634         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
58635         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
58636         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
58637         (tmpfile64): Define as alias.
58638         * sysdeps/wordsize-64/tmpfile.c: File removed.
58639         * sysdeps/wordsize-64/tmpfile64.c: File removed.
58640         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
58641         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
58643         * stdio-common/vfscanf.c: Include <stdbool.h>.
58644         * nss/makedb.c: Likewise.
58645         * stdio-common/_i18n_number.h: Likewise.
58646         * argp/argp-help.c: Likewise.
58647         * posix/wordexp.c: Likewise.
58648         * sysdeps/posix/spawni.c: Likewise.
58649         * nss/nss_files/files-initgroups.c: Likewise.
58650         * stdio-common/reg-modifier.c: Include <stdlib.h>.
58651         * nss/nss_files/files-initgroups.c: Likewise.
58652         * nss/nss_db/db-netgrp.c: Likewise.
58653         * nss/nss_db/db-initgroups.c: Likewise.
58654         * io/fchmodat.c: Include <sys/stat.h>.
58656         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
58657         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
58659         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
58660         [HAVE_MMAP].
58662         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
58663         Add multiple inclusion protection.
58665 2012-07-27  David S. Miller  <davem@davemloft.net>
58667         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58669 2012-07-27  Gary Benson  <gbenson@redhat.com>
58671         [BZ #14298]
58672         * elf/rtld.c: Include <stap-probe.h>.
58673         (dl_main): Added static probes "init_start" and "init_complete".
58674         * elf/dl-load.c: Include <stap-probe.h>.
58675         (lose): Take new parameter "nsid".
58676         Added static probe "map_failed".
58677         (_dl_map_object_from_fd): Pass namespace id to lose.
58678         Added static probe "map_start".
58679         (open_verify): Pass namespace id to lose.
58680         * elf/dl-open.c: Include <stap-probe.h>.
58681         (dl_open_worker) Added static probes "map_complete", "reloc_start"
58682         and "reloc_complete".
58683         * elf/dl-close.c: Include <stap-probe.h>.
58684         (_dl_close_worker): Added static probes "unmap_start" and
58685         "unmap_complete".
58686         * elf/rtld-debugger-interface.txt: New file documenting the above.
58688 2012-07-26  Roland McGrath  <roland@hack.frob.com>
58690         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
58691         rather than a string variable.
58692         * sunrpc/rpc_main.c (h_output): Likewise.
58693         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
58695 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
58697         * inet/check_native.c: New file.
58699 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
58701         [BZ #13629]
58702         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
58703         if larger part has absolute value 1.0.
58704         * math/s_clog10.c (__clog10): Likewise.
58705         * math/s_clog10f.c (__clog10f): Likewise.
58706         * math/s_clog10l.c (__clog10l): Likewise.
58707         * math/s_clogf.c (__clogf): Likewise.
58708         * math/s_clogl.c (__clogl): Likewise.
58709         * math/libm-test.inc (clog_test): Add more tests.
58710         (clog10_test): Likewise.
58711         * sysdeps/i386/fpu/libm-test-ulps: Update.
58712         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58714         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
58715         (pltexit): Likewise.
58716         (La_regs): Likewise.
58717         (La_retval): Likewise.
58718         (int_retval): Likewise.
58719         Update #error for removed macros to refer only to definitions in
58720         tst-audit.h.
58721         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
58722         macro.
58723         (pltexit): Likewise.
58724         (La_regs): Likewise.
58725         (La_retval): Likewise.
58726         (int_retval): Likewise.
58727         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
58728         macro.
58729         (pltexit): Likewise.
58730         (La_regs): Likewise.
58731         (La_retval): Likewise.
58732         (int_retval): Likewise.
58733         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
58734         macro.
58735         (pltexit): Likewise.
58736         (La_regs): Likewise.
58737         (La_retval): Likewise.
58738         (int_retval): Likewise.
58739         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
58740         macro.
58741         (pltexit): Likewise.
58742         (La_regs): Likewise.
58743         (La_retval): Likewise.
58744         (int_retval): Likewise.
58745         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
58746         macro.
58747         (pltexit): Likewise.
58748         (La_regs): Likewise.
58749         (La_retval): Likewise.
58750         (int_retval): Likewise.
58751         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
58752         macro.
58753         (pltexit): Likewise.
58754         (La_regs): Likewise.
58755         (La_retval): Likewise.
58756         (int_retval): Likewise.
58757         * sysdeps/generic/tst-audit.h: Update comment to refer only to
58758         macro definitions in tst-audit.h.
58759         * sysdeps/i386/tst-audit.h: New file.
58760         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
58761         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
58762         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
58763         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
58764         * sysdeps/sh/tst-audit.h: Likewise.
58765         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
58766         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
58767         * sysdeps/x86_64/tst-audit.h: Likewise.
58769 2012-07-26  Andreas Jaeger  <aj@suse.de>
58771         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
58772         ptrace.
58774         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
58775         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
58776         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
58777         PTRACE_O_MASK.
58778         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
58779         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
58780         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
58782         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
58783         value.
58785         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
58786         _sigsys.
58787         (si_call_addr, si_syscall, si_arch): Define new macro.
58788         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
58789         _sigsys.
58790         (si_call_addr, si_syscall, si_arch): Define new marcro.
58791         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
58792         _sigsys.
58793         (si_call_addr, si_syscall, si_arch): Define new macro.
58794         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
58795         _sigsys.
58796         (si_call_addr, si_syscall, si_arch): Define new macro.
58798 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
58800         [BZ #13717]
58801         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
58802         Change to 2.4.21 where previously 2.4.1.
58803         * sysdeps/unix/sysv/linux/configure: Regenerated.
58804         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
58805         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
58806         Linux kernel version.
58807         (__ASSUME_STD_AUXV): Remove.
58808         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
58809         kernel version.
58810         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
58811         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
58812         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
58813         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
58814         (__ASSUME_NETLINK_SUPPORT): Likewise.
58815         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
58816         (__no_netlink_support): Remove conditional definition.
58817         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
58818         Remove.
58819         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
58820         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
58821         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
58822         (if_nameindex_ioctl): Remove.
58823         (if_nameindex_netlink): Do not handle __no_netlink_support.
58824         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
58825         code.
58826         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
58827         Remove conditional code.
58828         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
58829         code.
58830         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
58831         unconditional.
58832         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
58833         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
58834         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
58835         Remove.
58836         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
58837         [!__ASSUME_STD_AUXV]: Remove conditional code.
58838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
58839         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
58840         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
58841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
58842         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
58843         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
58844         code.
58845         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
58846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
58847         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
58848         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
58849         conditional code.
58850         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
58851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
58852         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
58853         code.
58854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
58855         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
58856         conditional code.
58857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
58858         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
58859         code unconditional.
58860         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
58861         conditional code.
58862         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
58863         unconditional.
58864         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
58865         conditional code.
58866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
58867         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
58868         unconditional.
58869         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
58870         conditional code.
58871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
58872         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
58873         code unconditional.
58874         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
58875         conditional code.
58876         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
58877         unconditional.
58878         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
58879         conditional code.
58880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
58881         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
58882         code unconditional.
58883         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
58884         conditional code.
58885         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
58886         unconditional.
58887         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
58888         conditional code.
58890 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
58892         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
58893         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
58894         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
58895         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
58896         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
58897         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
58898         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
58899         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
58900         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
58901         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
58902         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
58903         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
58904         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
58905         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
58906         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
58907         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
58908         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
58909         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
58910         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
58911         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
58912         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
58913         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
58914         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
58916 2012-07-25  Florian Weimer  <fweimer@redhat.com>
58918         * Versions.def: Add GLIBC_2.17.
58919         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
58920         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
58921         Introduce __libc_secure_getenv.
58922         * stdlib/Versions (2.17): Add secure_getenv
58923         (GLIBC_PRIVATE): Add __libc_secure_getenv.
58924         * stdlib/secure-getenv.c: Rename __secure_getenv to
58925         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
58926         symbol __secure_getenv for GLIBC_2.0.
58927         * stdlib/tst-secure-getenv.c: New.
58928         * stdlib/Makefile (tests): Add testcase.
58929         * manual/startup.texi (Environment Access): Document
58930         secure_getenv.
58931         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
58932         __libc_secure_getenv.
58933         * inet/ruserpass.c (ruserpass): Likewise.
58934         * malloc/mtrace.c (mtrace): Likewise.
58935         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
58936         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
58937         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
58938         * sysdeps/posix/tempname.c: Likewise.  Evaluate
58939         HAVE_SECURE_GETENV.
58940         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
58941         __secure_getenv to __libc_secure_getenv.
58942         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
58943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
58944         Likewise.
58945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
58946         Likewise.
58947         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
58948         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
58949         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
58950         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
58951         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
58952         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
58953         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
58955 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
58957         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
58958         (struct La_i86_retval): Likewise.
58959         (struct La_x86_64_regs): Likewise.
58960         (struct La_x86_64_retval): Likewise.
58961         (struct La_x32_regs): Likewise.
58962         (struct La_x32_retval): Likewise.
58963         (struct La_ppc32_regs): Likewise.
58964         (struct La_ppc32_retval): Likewise.
58965         (struct La_ppc64_regs): Likewise.
58966         (struct La_ppc64_retval): Likewise.
58967         (struct La_sh_regs): Likewise.
58968         (struct La_sh_retval): Likewise.
58969         (struct La_s390_32_regs): Likewise.
58970         (struct La_s390_32_retval): Likewise.
58971         (struct La_s390_64_regs): Likewise.
58972         (struct La_s390_64_retval): Likewise.
58973         (struct La_sparc32_regs): Likewise.
58974         (struct La_sparc32_retval): Likewise.
58975         (struct La_sparc64_regs): Likewise.
58976         (struct La_sparc64_retval): Likewise.
58977         (struct audit_ifaces): Remove architecture-specific pltenter and
58978         pltexit members.
58979         * sysdeps/i386/ldsodefs.h: New file.
58980         * sysdeps/powerpc/ldsodefs.h: Likewise.
58981         * sysdeps/s390/ldsodefs.h: Likewise.
58982         * sysdeps/sh/ldsodefs.h: Likewise.
58983         * sysdeps/sparc/ldsodefs.h: Likewise.
58984         * sysdeps/x86_64/ldsodefs.h: Likewise.
58986 2012-07-25  Marek Polacek  <polacek@redhat.com>
58988         [BZ #6808]
58989         * math/libm-test.inc (yn_test): Add another test.
58990         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
58991         to ERANGE when the result is +-Inf.
58992         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
58993         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
58994         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
58995         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
58997 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
58999         * conform/data/time.h-data (NULL): Use macro-constant.  Require
59000         equal to 0.
59001         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
59002         clock_t.
59003         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
59005 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
59007         * configure.in <sysdeps resolving>: Correct printing
59008         Implies_before.
59009         * configure: Regenerate.
59011 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
59013         * math/w_ilogb.c: Include <limits.h>.
59014         * math/w_ilogbl.c: Likewise.
59016 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
59018         * manual/lang.texi (__va_copy): Document primarily as ISO C99
59019         va_copy.  Document allowing for unavailable va_copy only as
59020         pre-C99 compatibility.
59021         * manual/string.texi (Copying and Concatenation): Use va_copy
59022         instead of __va_copy in concat example.
59024 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
59026         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
59027         (__sendto): Use create_address_port.  Initialize APORT and deallocate
59028         it if not null.
59030         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
59031         with O_NOLINK passed to __file_name_lookup.
59033         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
59034         with O_NOLINK passed to __file_name_lookup.
59036         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
59037         negative N or less than NGIDS.
59039         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
59040         type to string_t.  Set ERANGE as errno and return it if NAME is not big
59041         enough.  Use memcpy instead of strncpy.
59043 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
59045         * elf/Makefile (check-data): Remove.
59046         (localplt.data): New vpath directive.
59047         ($(objpfx)check-localplt.out): Use localplt.data from vpath
59048         instead of $(check-data).
59049         * scripts/data/localplt-generic.data: Move to ...
59050         * sysdeps/generic/localplt.data: ... here.
59051         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
59052         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
59053         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
59054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
59055         ... here.
59056         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
59057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
59058         ... here.
59059         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
59060         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
59061         ... here.
59062         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
59063         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
59064         ... here.
59065         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
59066         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
59067         ... here.
59068         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
59069         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
59070         ... here.
59072 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59074         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
59075         PPC32 and PPC64 files.
59076         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
59077         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
59079 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59081         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
59082         __makecontext_ret to ...
59083         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
59084         ... here and call exit if uc_link is NULL.  New file.
59085         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
59086         __makecontext_ret.S.
59087         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
59088         __makecontext_ret to ...
59089         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
59090         ... here and call exit if uc_link is NULL.  New file.
59091         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
59092         __makecontext_ret.S.
59094 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59096         * elf/elf.h (R_390_IRELATIVE): New definition.
59097         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
59098         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
59099         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
59100         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
59101         (elf_machine_lazy_rel): Likewise.
59102         * sysdeps/s390/dl-irel.h: New file.
59103         * sysdeps/s390/s390-64/memcpy.S: New asm code.
59104         * sysdeps/s390/s390-64/memset.S: New asm code.
59105         * sysdeps/s390/s390-64/memcmp.S: New asm code.
59106         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
59107         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
59108         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
59109         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
59110         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
59111         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
59112         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
59113         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
59114         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
59115         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
59116         * sysdeps/s390/s390-32/memcpy.S: New asm code.
59117         * sysdeps/s390/s390-32/memset.S: New asm code.
59118         * sysdeps/s390/s390-32/memcmp.S: New asm code.
59120 2012-07-17  Marek Polacek  <polacek@redhat.com>
59122         [BZ #14349]
59123         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
59124         * sysdeps/s390/s390-64/configure.in: Likewise.
59125         * sysdeps/sparc/configure.in: Likewise.
59126         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
59127         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
59128         * sysdeps/i386/configure.in: Likewise.
59129         * sysdeps/x86_64/configure.in: Likewise.
59130         * sysdeps/sh/configure.in: Likewise.
59131         * sysdeps/s390/s390-32/configure: Regenerated.
59132         * sysdeps/s390/s390-64/configure: Likewise.
59133         * sysdeps/x86_64/configure: Likewise.
59134         * sysdeps/sh/configure: Likewise.
59135         * sysdeps/powerpc/powerpc64/configure: Likewise.
59136         * sysdeps/powerpc/powerpc32/configure: Likewise.
59137         * sysdeps/sparc/configure: Likwise.
59138         * sysdeps/i386/configure: Likewise.
59140         * elf/dl-open.c: Comment fixes.
59142 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
59144         * Makefile [CXX] (check-data): Remove.
59145         [CXX] (c++-types.data): New vpath directive.
59146         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
59147         vpath.  Do not allow for C++ type data being missing.
59148         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
59149         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
59150         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
59151         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
59152         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
59153         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
59154         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
59155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
59156         ... here.
59157         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
59158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
59159         ... here.
59160         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
59161         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
59162         ... here.
59163         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
59164         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
59165         ... here.
59166         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
59167         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
59168         ... here.
59169         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
59170         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
59171         ... here.
59172         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
59173         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
59174         ... here.
59175         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
59176         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
59178         * elf/tls-macros.h (TLS_LE): Move architecture-specific
59179         definitions to architecture-specific files.
59180         (TLS_IE): Likewise.
59181         (TLS_LD): Likewise.
59182         (TLS_GD): Likewise.
59183         * sysdeps/i386/tls-macros.h: New file.
59184         * sysdeps/powerpc/tls-macros.h: Likewise.
59185         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
59186         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
59187         * sysdeps/sh/tls-macros.h: Likewise.
59188         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
59189         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
59190         * sysdeps/x86_64/tls-macros.h: Likewise.
59192 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
59194         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
59195         zero value for regular exit case.
59197         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
59198         (__start_context): Preserve zero value for regular exit case.
59200 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
59201             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59203         * manual/setjmp.texi (setcontext): Clarify normal process
59204         termination when uc_link is the null pointer.
59205         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
59206         exit call.
59208 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
59210         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
59211         preprocessor.  Test for each exception mask separately.
59213 2012-07-16  Andreas Jaeger  <aj@suse.de>
59215         * po/ru.po: Update from translation team.
59217 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
59219         * conform/data/string.h-data (NULL): Use macro-constant.  Require
59220         equal to 0.
59221         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
59222         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
59223         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
59224         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
59225         [ISO || ISO99 || ISO11] (*_t): Do not allow.
59227 2012-07-13  Andreas Jaeger  <aj@suse.de>
59229         * po/fr.po: Update from translation team.
59231 2012-07-12  Marek Polacek  <polacek@redhat.com>
59233         [BZ #14173]
59234         * math/libm-test.inc (yn_test): Add test for BZ #14173.
59235         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
59236         loop condition.
59238 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
59240         [BZ #13717]
59241         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
59242         Change to 2.4.1 where previously 2.4.0.
59243         * sysdeps/unix/sysv/linux/configure: Regenerated.
59244         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
59245         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
59246         version.
59247         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
59248         (__ASSUME_AT_CLKTCK): Remove.
59249         (__ASSUME_AT_PAGESIZE): Likewise.
59250         (__ASSUME_AT_XID): Likewise.
59251         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
59252         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
59253         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
59254         unconditionally.
59255         (HAVE_AUX_PAGESIZE): Likewise.
59256         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
59257         [__ASSUME_AT_CLKTCK]: Make code unconditional.
59258         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
59260 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
59262         [BZ #14307]
59263         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
59264         the temporary buffer used to invoke __gethostbyname2_r,
59265         __gethostbyaddr_r and gethostbyname4_r to make room for struct
59266         host_data / struct gaih_addrtuple.
59267         * resolv/nss_dns/dns-host.c (global scope): Move definition of
59268         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
59269         header file nss/nsswitch.h.
59270         * nss/nsswitch.h (global scope): Add definition of implementation
59271         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
59272         resolv/nss_dns/dns-host.c).
59274 2012-07-11  Andreas Jaeger  <aj@suse.de>
59276         * po/fr.po: Update from translation team.
59278         * po/sv.po: Update from translation team
59279         * po/fr.po: Another update from translation team.
59281 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59283         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
59284         for subnormals or multiply small sinh result by itself.
59285         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
59286         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59288 2012-07-11  David S. Miller  <davem@davemloft.net>
59290         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59292 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
59294         [BZ #14347]
59295         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
59296         (INTERNAL_MARK): Shift it here.
59298 2012-07-10  Marek Polacek  <polacek@redhat.com>
59300         [BZ #14151]
59301         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
59302         libc_cv_asm_global_directive with .globl.
59303         * configure: Regenerated.
59304         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
59305         with .globl.
59306         * sysdeps/i386/configure: Regenerated.
59307         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
59308         with .globl.
59309         * sysdeps/x86_64/configure: Regenerated.
59310         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
59311         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
59312         * elf/tst-unique2mod2.c: Likewise.
59313         * elf/tst-unique2mod1.c: Likewise.
59314         * elf/tst-unique1mod2.c: Likewise.
59315         * elf/tst-unique1mod1.c: Likewise.
59316         * sysdeps/s390/s390-32/sysdep.h: Likewise.
59317         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
59318         * sysdeps/s390/s390-64/sysdep.h: Likewise.
59319         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
59320         * sysdeps/mach/sysdep.h: Likewise.
59321         * sysdeps/i386/sysdep.h: Likewise.
59322         * sysdeps/i386/i386-mcount.S: Likewise.
59323         * sysdeps/x86_64/_mcount.S: Likewise.
59324         * sysdeps/x86_64/sysdep.h: Likewise.
59325         * sysdeps/sh/_mcount.S: Likewise.
59326         * sysdeps/sh/sysdep.h: Likewise.
59327         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
59328         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
59329         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
59330         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
59331         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
59332         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
59333         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
59334         * locale/localeinfo.h: Likewise.
59335         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
59336         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
59338 2012-07-09  Roland McGrath  <roland@hack.frob.com>
59340         [BZ #14336]
59341         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
59342         system".
59343         * manual/message.texi (The Uniforum approach): Likewise.
59344         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
59345         (glibc iconv Implementation): Likewise.
59347 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
59349         [BZ #14337]
59350         * math/s_clog.c (__clog): Avoid scaling a value down where that
59351         could result in underflow.
59352         * math/s_clog10.c (__clog10): Likewise.
59353         * math/s_clog10f.c (__clog10f): Likewise.
59354         * math/s_clog10l.c (__clog10l): Likewise.
59355         * math/s_clogf.c (__clogf): Likewise.
59356         * math/s_clogl.c (__clogl): Likewise.
59357         * math/libm-test.inc (clog_test): Add more tests.
59358         (clog10_test): Likewise.
59359         * sysdeps/i386/fpu/libm-test-ulps: Update.
59360         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59362 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
59364         [BZ #14283]
59365         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
59366         by 7 not 8 to examine high bit of fractional part.
59368         [BZ #14042]
59369         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
59370         for call to __mcount_internal.
59371         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
59372         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
59373         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
59375 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
59377         [BZ #14154]
59378         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
59379         approximation for values within 0x1p-13f of an odd multiple of
59380         pi/4.
59381         * math/libm-test.inc (tan_test): Do not allow spurious underflow
59382         exception.  Add more tests.
59383         * sysdeps/i386/fpu/libm-test-ulps: Update.
59385         [BZ #6778]
59386         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
59387         inputs and return -1 for them.  Do not check for +Inf in case not
59388         reachable for +Inf.
59389         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
59390         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
59391         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
59392         and return -1 for them.  Do not check for +Inf in case not
59393         reachable for +Inf.
59394         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
59395         define.
59396         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
59397         and return -1 for them.  Do not check for +Inf in case not
59398         reachable for +Inf.
59399         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
59400         spurious underflow.
59401         * sysdeps/i386/fpu/libm-test-ulps: Update.
59402         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59404 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
59406         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
59408 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
59410         [BZ #14157]
59411         [BZ #14331]
59412         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
59413         could result in spurious underflow.  Scale down values above
59414         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
59415         * math/s_csqrtf.c (__csqrtf): Likewise.
59416         * math/s_csqrtl.c (__csqrtl): Likewise.
59417         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
59418         spurious underflow.
59419         * sysdeps/i386/fpu/libm-test-ulps: Update.
59420         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59422 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
59424         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
59425         xopen-msg.sed.
59426         * catgets/xopen-msg.awk: New file.
59427         * catgets/xopen-msg.sed: Removed.
59429         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
59430         po2text.sed.
59431         * intl/po2test.awk: New file.
59432         * intl/po2test.sed: Removed.
59434 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
59436         [BZ #14328]
59437         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
59438         or multiply small sinh result by itself.
59439         * math/s_ctanf.c (__ctanf): Likewise.
59440         * math/s_ctanh.c (__ctanh): Likewise.
59441         * math/s_ctanhf.c (__ctanhf): Likewise.
59442         * math/s_ctanhl.c (__ctanhl): Likewise.
59443         * math/s_ctanl.c (__ctanl): Likewise.
59444         * math/libm-test.inc (ctan_test_tonearest): New function.
59445         (ctan_test_towardzero): Likewise.
59446         (ctan_test_downward): Likewise.
59447         (ctan_test_upward): Likewise.
59448         (ctanh_test_tonearest): Likewise.
59449         (ctanh_test_towardzero): Likewise.
59450         (ctanh_test_downward): Likewise.
59451         (ctanh_test_upward): Likewise.
59452         (main): Call these new functions.
59453         * sysdeps/i386/fpu/libm-test-ulps: Update.
59454         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59456 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
59458         * .gitignore: Delete /ports entry.
59460 2012-07-03  Andreas Jaeger  <aj@suse.de>
59462         * po/bg.po: Update from translation team.
59463         * po/cs.po: Likewise.
59464         * po/de.po: Likewise.
59465         * po/hr.po: Likewise.
59466         * po/nl.pl: Likewise.
59467         * po/pl.po: Likewise.
59468         * po/vi.po: Likewise.
59470 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
59472         * Makeconfig [!+link] (+link-before-libc): New variable.
59473         [!+link] (+link-after-libc): Likewise.
59474         [!+link] (+link-tests): Likewise.
59475         [!+link] (+link): Define in terms of $(+link-before-libc) and
59476         $(+link-after-libc).
59477         [!+link-static] (+link-static-before-libc): New variable.
59478         [!+link-static] (+link-static-after-libc): Likewise.
59479         [!+link-static] (+link-static-tests): Likewise.
59480         [!+link-static] (+link-static): Define in terms of
59481         $(+link-static-before-libc) and $(+link-static-after-libc).
59482         [build-shared] (link-libc-before-gnulib): New variable.
59483         [build-shared] (link-libc-tests): Likewise.
59484         [build-shared] (link-libc): Define in terms of
59485         $(link-libc-before-gnulib).
59486         [!build-shared] (link-libc-tests): New variable.
59487         (link-libc-static-tests): New variable.
59488         [!gnulib] (gnulib-arch): New variable.
59489         [!gnulib] (gnulib-tests): Likewise.
59490         [!gnulib] (static-gnulib-arch): Likewise.
59491         [!gnulib] (static-gnulib-tests): Likewise.
59492         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
59493         Define with "=" instead of ":=".
59494         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
59495         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
59496         * Rules (binaries-all-notests): New variable.
59497         (binaries-all-tests): Likewise.
59498         (binaries-static-notests): Likewise.
59499         (binaries-static-tests): Likewise.
59500         (binaries-all): Define using $(binaries-all-notests) and
59501         $(binaries-all-tests).
59502         (binaries-static): Define using $(binaries-static-notests) and
59503         $(binaries-static-tests).
59504         (binaries-shared-tests): New variable.
59505         (binaries-shared-notests): Likewise.
59506         (binaries-shared): Remove variable.
59507         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
59508         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
59509         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
59510         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
59511         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
59512         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
59513         * elf/Makefile (sln-modules): New variable.
59514         (extra-objs): Add $(sln-modules:=.o).
59515         (ldconfig-modules): Add static-stubs.
59516         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
59517         * elf/static-stubs.c: New file.
59519         [BZ #14283]
59520         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
59521         by 7 not 8 to examine high bit of fractional part.  Use volatile
59522         variables when splitting into final array of floats if
59523         __FLT_EVAL_METHOD__ != 0.
59524         * math/libm-test.inc (cos_test): Add another test.
59525         (sin_test): Likewise.
59526         * sysdeps/i386/fpu/libm-test-ulps: Update.
59528         [BZ #14273]
59529         * math/libm-test.inc (cosh_test): Add more tests.
59531         * version.h (RELEASE): Set to "development".
59532         (VERSION): Set to "2.16.90".
59534 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
59536         * NEWS: Update copyright. Remove last-updated date.
59537         Mention math library bug fixes and timezone data changes.
59538         * README: Mention GNU/Hurd, x32, and HPPA support status.
59540 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
59542         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
59544 2012-06-27  Andreas Jaeger  <aj@suse.de>
59546         * manual/contrib.texi (Contributors): Add Samuel Thibault.
59548 2012-06-25  Andreas Jaeger  <aj@suse.de>
59550         * sysdeps/s390/fpu/libm-test-ulps: Update.
59552 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
59553             Thomas Schwinge  <thomas@codesourcery.com>
59555         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
59556         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
59557         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
59558         fanotify_mark.
59560 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
59562         * sysdeps/mach/start.c: Remove file.
59563         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
59564         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
59565         * sysdeps/sh/init-first.c: Likewise.
59567         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
59568         registers for frame unwinding purposes, add CFI directives.
59569         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
59570         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
59571         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
59572         Likewise.
59574         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
59575         __fortify_fail returning.
59576         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
59578         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
59579         sysdeps/sh/____longjmp_chk.S.
59580         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
59581         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
59582         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
59583         (gen-as-const-headers): Append sigaltstack-offsets.sym.
59585         * sysdeps/sh/abort-instr.h: New file.
59586         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
59587         process in case exit returns.
59589         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
59590         initialize the GOT register before use.
59592         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
59593         calculation of ARGC > 4.
59595         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
59596         meaningful names to some local labels.
59598 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
59599             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
59601         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
59602         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
59603         (__arch_compare_and_exchange_val_16_acq): Likewise.
59604         (__arch_compare_and_exchange_val_32_acq): Likewise.
59605         (atomic_exchange_and_add): Fix gUSA sequence.
59606         (atomic_add): Likewise.
59607         (atomic_add_negative): Likewise.
59608         (atomic_add_zero): Likewise.
59609         (atomic_bit_test_set): Likewise.
59611 2012-06-22  Andreas Schwab  <schwab@redhat.com>
59613         [BZ #13579]
59614         * include/link.h (struct link_map): Add l_free_initfini.
59615         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
59616         l_initfini.
59617         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
59618         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
59619         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
59620         set.
59622 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
59624         * configure.in: Use AC_LANG_SOURCE.
59625         * configure: Regenerate.
59627 2012-06-22  Roland McGrath  <roland@hack.frob.com>
59629         * configure.in (libc_cv_localstatedir): New substituted variable.
59630         * configure: Regenerated.
59631         * config.make.in (localstatedir): New variable, substituted from
59632         libc_cv_localstatedir.
59633         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
59634         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
59635         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
59636         * sysdeps/gnu/configure: Regenerated.
59638 2012-06-21  Jeff Law  <law@redhat.com>
59640         [BZ #14277]
59641         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
59642         free.  Simplify list management for _LIBC case.
59644 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
59646         [BZ #14273]
59647         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
59648         Clear sign bit of 64-bit integer value before comparing against
59649         overflow value.
59651         * sysdeps/mach/configure: Regenerated.
59653 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
59655         [BZ #14278]
59656         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
59658 2012-06-21  Jeff Law  <law@redhat.com>
59660         [BZ #13882]
59661         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
59662         uint16_t for elements in the "seen" array to avoid char overflows.
59663         * elf/dl-fini.c (_dl_sort_fini): Likewise.
59664         * elf/dl-open.c (dl_open_worker): Likewise.
59666 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
59668         * scripts/list-sources.sh: Scan PORTS for translations.
59669         * po/libc.pot: Regenerated.
59671 2012-06-21  Andreas Jaeger  <aj@suse.de>
59673         [BZ #12194]
59674         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
59675         warning.
59676         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
59677         * bits/byteswap-16.h (__bswap_16): Likewise.
59678         * bits/byteswap.h (__bswap_constant_16): Likewise.
59680 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
59682         [BZ #14117]
59683         * sysdeps/i386/fpu_control.h: Removed.
59684         * sysdeps/x86_64/fpu_control.h: Moved to ...
59685         * sysdeps/x86/fpu_control.h: Here.
59687         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
59688         (_FPU_SETCW): Likewise.
59690 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
59692         [BZ #14117]
59693         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
59694         * sysdeps/x86/fpu/bits/mathinline.h: This.
59695         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
59697         [BZ #14050]
59698         [BZ #14117]
59699         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
59700         functions if __x86_64__ is defined.
59702 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
59704         * string/endian.h: Add !__ASSEMBLER__ condition for including
59705         conversion interfaces.
59707 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
59709         [BZ #14241]
59710         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
59711         of ABS(x) in calculating zero to negative powers other than odd
59712         integers.
59713         * math/libm-test.inc (pow_test): Add more tests.
59715 2012-06-15  Andreas Jaeger  <aj@suse.de>
59717         * manual/contrib.texi (Contributors): Update entry of Liubov
59718         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
59719         Machado Filho.
59721 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
59723         * string/string.h: Add __wur to GNU version of strerror_r.
59725 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
59727         [BZ #14229]
59728         * string/Makefile (tests): Add tst-strtok_r.
59729         * string/tst-strtok_r.c: New file.
59730         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
59731         RAX_LP/RDX_LP on SAVE_PTR.
59733 2012-06-14  Roland McGrath  <roland@hack.frob.com>
59735         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
59737 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
59739         * libm_test.inc (csqrt_test): Allow more spurious underflow
59740         exceptions.
59741         (j0_test): Likewise.
59742         (j1_test): Likewise.
59743         (y0_test): Likewise.
59744         (y1_test): Likewise.
59746 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
59748         * po/Makefile (libc.pot): Use UTF-8 charset.
59750 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
59752         [BZ #14210]
59753         Suppress sign-conversion warning from FD_SET.
59754         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
59755         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
59756         not unsigned long int.
59757         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
59759 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
59761         [BZ #14050]
59762         [BZ #14117]
59763         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
59764         __extern_always_inline instead of __extern_inline.
59765         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
59766         (__signbit): Likewise.
59767         (__signbitl): Support C++ namespace.
59768         (lrintf): New inline function.
59769         (lrint): Likewise.
59770         (llrintf): Likewise.
59771         (llrint): Likewise.
59772         (fmaxf): Likewise.
59773         (fmax): Likewise.
59774         (fminf): Likewise.
59775         (fmin): Likewise.
59776         (rint): Likewise.
59777         (rintf): Likewise.
59778         (ceil): Likewise.
59779         (ceilf): Likewise.
59780         (floor): Likewise.
59781         (floorf): Likewise.
59782         (nearbyint): Likewise.
59783         (nearbyintf): Likewise.
59785 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
59787         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
59788         non-default versions.
59790 2012-06-11  Roland McGrath  <roland@hack.frob.com>
59792         [BZ #14218]
59793         * manual/argp.texi (Argp): Reword argp_parse description slightly.
59795 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
59797         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
59798         (FE_UPWARD, FE_DOWNWARD): Don't define.
59799         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
59800         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
59802         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
59803         reading it.
59804         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
59805         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
59807 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
59809         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
59810         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
59811         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
59812         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
59814 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
59816         [BZ #14117]
59817         * sysdeps/i386/fpu/bits/fenv.h: Removed.
59818         * sysdeps/i386/fpu/Implies: New file.
59819         * sysdeps/x86_64/fpu/Implies: Likewise.
59820         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
59821         * sysdeps/x86/fpu/bits/fenv.h: This.
59823         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
59824         __SSE_MATH__.
59826 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
59828         [BZ #14134]
59829         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
59830         character 0xffff that matches the last element of the
59831         conversion table.
59833 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59835         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
59836         fmodl commit.
59838 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59840         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
59841         values higher than 25.6283.
59843 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59845         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
59846         subnormal exponent extraction and add some __builtin_expect.
59847         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
59848         Fix for subnormal mantissa calculation.
59850 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
59852         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
59853         cpu2 is -1 and errno is not ENOSYS.
59855 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
59857         [BZ #14117]
59858         * sysdeps/i386/i486/bits/string.h: Renamed to ...
59859         * sysdeps/x86/bits/string.h: This.
59860         * sysdeps/x86_64/bits/string.h: Removed.
59862         * sysdeps/i386/i486/bits/string.h: Define inline functions only
59863         if not compiling for x86-64, but compiling for >= i486.
59865         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
59866         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
59868         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
59869         New macro from Linux kernel 3.4.0.
59870         (FP_XSTATE_MAGIC2): Likewise.
59871         (FP_XSTATE_MAGIC2_SIZE): Likewise.
59872         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
59873         (struct _fpx_sw_bytes): New struct.
59874         (struct _xsave_hdr): Likewise.
59875         (struct _ymmh_state): Likewise.
59876         (struct _xstate): Likewise.
59878         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
59879         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
59880         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
59881         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
59882         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
59883         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
59885         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
59886         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
59887         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
59888         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
59889         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
59890         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
59892 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59894         [BZ #13743]
59895         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
59896         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
59897         (sysdep_headers): Include sys/platform/ppc.h.
59898         * sysdeps/powerpc/test-gettimebase.c: Test for
59899         __ppc_get_timebase() to catch future ISA opcode/insn changes.
59900         * manual/Makefile (appendices): Include platform.texi.
59901         * manual/contrib.texi (Contributors): Update @node pointers.
59902         * manual/maint.texi (Maintenance): Likewise.
59903         (Platform): New node.
59904         * manual/platform.texi: New file.  Document the new features.
59906 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
59907             Jakub Jelinek  <jakub@redhat.com>
59909         [BZ #14188]
59910         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
59911         where __builtin_expect is unavailable.
59913 2012-06-03  David S. Miller  <davem@davemloft.net>
59915         * stdlib/longlong.h: Updated from GCC.
59917 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
59919         [BZ #14042]
59920         * sysdeps/powerpc/powerpc32/mcount.c: New file.
59921         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
59922         __mcount_internal.
59923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
59924         (GLIBC_2.16): Likewise.
59926 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
59928         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
59930 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
59932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
59933         (default-abi): New variable.
59934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
59935         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
59936         variable.
59937         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
59938         Likewise.
59939         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
59940         Likewise.
59941         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
59942         Likewise.
59944         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
59945         definition.  Document in comment.
59947 2012-06-01  David S. Miller  <davem@davemloft.net>
59949         * stdlib/longlong.h: Updated from GCC.
59951 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
59953         [BZ #14117]
59954         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
59955         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
59956         sys/debugreg.h sys/io.h here.
59957         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
59958         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
59959         sys/io.h.
59960         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
59961         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
59962         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
59963         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
59964         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
59965         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
59967         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
59968         Define only if __x86_64__ is defined.
59970 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
59972         [BZ #14048]
59973         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
59974         Use int64_t for variable i.
59975         * math/libm-test.inc (fmod_test): Add more tests.
59977         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
59978         z computation is not scheduled after fetestexcept.
59979         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
59980         Use math_force_eval instead of asm to ensure calculation scheduled
59981         before exception test.
59982         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
59983         Ensure a1 + u.d computation is not scheduled after fetestexcept.
59985 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
59987         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
59988         computation is not scheduled after fetestexcept.
59990 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
59992         [BZ #14117]
59993         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
59994         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
59996 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59998         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
59999         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
60001 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
60003         [BZ #14117]
60004         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
60005         <bits/wordsize.h>.
60006         (__WCHAR_MIN): Support __WORDSIZE == 64.
60007         (__WCHAR_MAX): Likewise.
60009         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
60010         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
60012         [BZ #14183]
60013         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
60014         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
60016         [BZ #14117]
60017         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
60018         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
60020         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
60021         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
60023         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
60024         Defined to 1 if __x86_64__ isn't defined.
60025         (_STAT_VER_LINUX_OLD): New.
60026         (st_atime): Remove duplicate.
60027         (st_mtime): Likewise.
60028         (st_ctime): Likewise.
60030 2012-05-31  David S. Miller  <davem@davemloft.net>
60032         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
60033         entries.
60035 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
60037         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
60038         gen-libm-test.pl.
60040         [BZ #14132]
60041         * elf/dl-reloc.c: Include <_itoa.h>.
60042         (_dl_reloc_bad_type): Remove use of INTUSE.
60043         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
60044         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
60045         * stdio-common/psiginfo.c (psiginfo): Likewise.
60046         * stdio-common/psignal.c (psignal): Likewise.
60047         * string/strsignal.c (strsignal): Likewise.
60048         * include/signal.h (_sys_siglist): Declare hidden proto.
60049         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
60050         INTVARDEF with libc_hidden_data_def.
60051         * stdio-common/itoa-udigits.c: Likewise.
60052         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
60053         (_itoa_lower_digits_internal): Remove declaration.
60054         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
60055         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
60056         (_sys_sigabbrev_internal): Remove aliases.
60057         (_sys_siglist): Define hidden alias.
60059 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
60061         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60062         bits/sysctl.h.
60064 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
60066         [BZ #14117]
60067         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
60068         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
60070         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
60071         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
60072         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
60073         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
60074         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
60075         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
60077         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
60078         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
60079         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
60081         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
60082         with __addr.
60083         (insw): Likewise.
60084         (insl): Likewise.
60085         (outsb): Likewise.
60086         (outsw): Likewise.
60087         (outsl): Likewise.
60089         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
60090         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
60091         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
60093         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
60094         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
60095         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
60096         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
60097         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
60098         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
60100         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
60101         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
60103         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
60104         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
60106         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
60107         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
60108         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
60110         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
60111         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
60112         to ...
60113         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
60115         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
60116         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
60117         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
60119         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
60120         for x86-64.
60121         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
60123 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
60125         * math/math.h (M_El): Use two more decimal places.
60126         (M_LOG2El): Likewise.
60127         (M_LOG10El): Likewise.
60128         (M_LN2l): Likewise.
60129         (M_LN10l): Likewise.
60130         (M_PIl): Likewise.
60131         (M_PI_2l): Likewise.
60132         (M_PI_4l): Likewise.
60133         (M_1_PIl): Likewise.
60134         (M_2_PIl): Likewise.
60135         (M_2_SQRTPIl): Likewise.
60136         (M_SQRT2l): Likewise.
60137         (M_SQRT1_2l): Likewise.
60139 2012-05-31  David S. Miller  <davem@davemloft.net>
60141         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
60142         values between float registers.
60143         * sysdeps/sparc/sparc64/memset.S: Likewise.
60144         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
60146 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
60148         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
60149         -D_FORTIFY_SOURCE=1.
60150         (CPPFLAGS-tst-longjmp_chk.c): Define.
60151         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
60152         (CPPFLAGS-tst-longjmp_chk2.c): Define.
60153         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
60154         CFLAGS-tst-wchar-h.c.
60156 2012-05-31  Marek Polacek  <polacek@redhat.com>
60158         [BZ #14132]
60159         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
60160         __endmntent_internal): Remove declaration.
60161         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
60162         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
60163         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
60165 2012-05-30  David S. Miller  <davem@davemloft.net>
60167         * sysdeps/sparc/sparc32/soft-fp/q_util.c
60168         (___Q_simulate_exceptions): Use real FP ops rather than writing
60169         into the %fsr.
60170         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
60171         Likewise.
60173 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
60175         [BZ #14117]
60176         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
60177         * sysdeps/x86/bits/xtitypes.h: This.
60179         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
60180         * sysdeps/x86/bits/wordsize.h: This.
60182         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
60183         * sysdeps/x86/bits/huge_vall.h: This.
60185         * sysdeps/i386/bits/select.h: Removed.
60186         * sysdeps/x86_64/bits/select.h: Renamed to ...
60187         * sysdeps/x86/bits/select.h: This.
60189         * sysdeps/i386/bits/setjmp.h: Removed.
60190         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
60191         * sysdeps/x86/bits/setjmp.h: This.
60193         * sysdeps/i386/bits/mathdef.h: Removed.
60194         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
60195         * sysdeps/x86/bits/mathdef.h: This.
60197 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
60199         [BZ #14132]
60200         * include/sys/socket.h (__connect_internal)
60201         (__libc_sa_len_internal): Remove declaration.
60202         (__connect, __libc_sa_len): Declare hidden_proto.
60203         (SA_LEN): Remove use of INTUSE.
60204         * socket/connect.c: Add libc_hidden_def.
60205         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
60206         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
60207         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
60208         alias.
60209         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
60210         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
60211         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
60212         of adding _internal alias.
60214 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
60216         [BZ #14117]
60217         * sysdeps/i386/bits/link.h: Removed.
60218         * sysdeps/i386/bits/linkmap.h: Likewise.
60219         * sysdeps/x86_64/bits/link.h: Renamed to ...
60220         * sysdeps/x86/bits/link.h: This.
60221         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
60222         * sysdeps/x86/bits/linkmap.h: This.
60224         * sysdeps/i386/bits/endian.h: Removed.
60225         * sysdeps/x86_64/bits/endian.h: Renamed to ...
60226         * sysdeps/x86/bits/endian.h: This.
60228         * sysdeps/i386/bits/byteswap.h: Removed.
60229         * sysdeps/i386/bits/byteswap-16.h: Likewise.
60230         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
60231         * sysdeps/x86/bits/byteswap.h: This.
60232         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
60233         * sysdeps/x86/bits/byteswap-16.h: This.
60234         * sysdeps/i386/Implies: Add x86.
60235         * sysdeps/x86_64/Implies: Likewise.
60237 2012-05-30  David S. Miller  <davem@davemloft.net>
60239         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
60240         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
60241         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
60242         (FP_TRAPPING_EXCEPTIONS): Define.
60243         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
60244         (FP_TRAPPING_EXCEPTIONS): Define.
60245         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
60246         subnormals only when inexact has been signalled or underflow
60247         exceptions are enabled.
60248         (_FP_PACK_CANONICAL): Likewise.
60250 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
60252         [BZ #14183]
60253         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
60254         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
60256 2012-05-30  Richard Henderson  <rth@twiddle.net>
60258         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
60259         with #ifndef NOT_IN_libc.
60261         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
60262         marked to avoid plt entry.
60264 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
60266         [BZ #14112]
60267         * Makeconfig (default-abi): New macro.
60268         (abi-includes): Likewise.
60269         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
60270         $(abi-$(default-abi)-lib-soname) for soname if defined.
60271         ($(common-objpfx)gnu/lib-names.stmp): Generate from
60272         abi-variants.
60273         * Makefile (installed-stubs): Likewise.
60274         * include/stubs-biarch.h: Removed.
60275         * scripts/lib-names.awk: Only handle one library at a time.
60276         * scripts/soversions.awk: Remove WORDSIZE support.
60277         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
60278         entries.
60279         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
60280         Removed.
60281         (syscall-list-default-condition): Likewise.
60282         (syscall-list-default-condition): Likewise.
60283         (syscall-list-includes): Likewise.
60284         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
60285         syscall-list-* with abi-*.  Handle undefined abi-variants.
60286         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
60287         * sysdeps/unix/sysv/linux/i386/Implies: New file.
60288         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
60289         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
60290         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
60291         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
60292         Removed.
60293         (syscall-list-32-options): Likewise.
60294         (syscall-list-32-condition): Likewise.
60295         (syscall-list-64-options): Likewise.
60296         (syscall-list-64-condition): Likewise.
60297         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
60298         macro.
60299         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
60300         Renamed to ...
60301         (abi-*): This.
60302         (abi-64-ld-soname): New macro.
60303         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
60304         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
60305         Renamed to ...
60306         (abi-*): This.
60307         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
60308         * sysdeps/x86_64/x32/shlib-versions: Likewise.
60310 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
60312         * sysdeps/unix/sysv/linux/kernel-features.h
60313         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
60314         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
60315         include <kernel-features.h>.
60316         [!__NR_ftruncate64]: Remove conditional code.
60317         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
60318         [__NR_ftruncate64]: Make code unconditional.
60319         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
60320         * sysdeps/unix/sysv/linux/truncate64.c: Do not
60321         include <kernel-features.h>.
60322         [!__NR_ftruncate64]: Remove conditional code.
60323         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
60324         [__NR_ftruncate64]: Make code unconditional.
60325         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
60326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
60327         include <kernel-features.h>.
60328         [!__NR_ftruncate64]: Remove conditional code.
60329         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
60330         [__NR_ftruncate64]: Make code unconditional.
60331         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
60332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
60333         include <kernel-features.h>.
60334         [!__NR_ftruncate64]: Remove conditional code.
60335         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
60336         [__NR_ftruncate64]: Make code unconditional.
60337         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
60339         * configure.in (libc_cv_fpie): Weaken to a compile test using
60340         LIBC_TRY_CC_OPTION.
60341         * configure: Regenerated.
60343 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60345         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
60346         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
60347         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
60348         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
60349         Refreshed.
60350         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
60351         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
60352         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
60353         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
60354         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
60355         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
60356         Refreshed.
60358 2012-05-27  David S. Miller  <davem@davemloft.net>
60360         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
60361         (___Q_zero): New.
60362         (__Q_simulate_exceptions): Return void.  Change to simulate
60363         exceptions by writing into the %fsr.
60364         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
60365         (__Qp_handle_exceptions): Likewise.
60366         (numbers): Delete.
60367         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
60368         __Qp_handle_exceptions.
60369         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
60370         __Qp_handle_exceptions.
60371         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
60372         as unused and give dummy FP_RND_NEAREST initializer.
60373         (FP_INHIBIT_RESULTS): Define.
60374         (___Q_simulate_exceptions): Update declaration.
60375         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
60376         formatting.
60377         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
60378         as unused and give dummy FP_RND_NEAREST initializer.
60379         (__Qp_handle_exceptions): Update declaration.
60380         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
60381         formatting.
60383 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
60385         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
60386         the temporary FPU control word.
60387         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
60388         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
60389         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
60390         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
60391         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
60392         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
60393         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
60394         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
60395         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
60396         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
60397         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
60399 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
60401         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
60402         fields.
60404 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
60406         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
60407         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
60408         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
60409         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
60410         Likewise.
60411         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
60412         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
60413         Likewise.
60415 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
60417         * po/h.po: Update from translation team.
60419 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
60421         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
60423         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
60424         handling of denormals.
60425         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
60426         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
60427         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
60428         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
60429         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
60430         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
60431         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
60432         Likewise.
60434 2012-05-26  Marek Polacek  <polacek@redhat.com>
60436         [BZ #14152]
60437         * math/libm-test.inc (fma_test): Don't always expect underflow
60438         exception.
60440 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
60442         [BZ #12416]
60443         * elf/tst-execstack.c: Include stackinfo.h.
60444         (do_test): Adjust test case to ensure that pthread_getattr_np
60445         behaviour remains the same after marking stack executable.
60447 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
60449         * sysdeps/unix/sysv/linux/kernel-features.h
60450         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
60451         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
60452         kernel-features.h.
60453         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
60454         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
60455         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
60456         kernel-features.h.
60457         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
60458         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
60460 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
60462         * configure.in: Define the default includes to being none.
60463         * configure: Regenerated.
60465 2012-05-25  Roland McGrath  <roland@hack.frob.com>
60467         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
60468         * sysdeps/x86_64/setjmp.S: Likewise.
60469         * sysdeps/i386/bsd-setjmp.S: Likewise.
60470         * sysdeps/i386/bsd-_setjmp.S: Likewise.
60471         * sysdeps/i386/setjmp.S: Likewise.
60472         * sysdeps/i386/__longjmp.S: Likewise.
60473         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
60474         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
60476         * include/stap-probe.h: New file.
60477         * configure.in: Handle --enable-systemtap.
60478         * configure: Regenerated.
60479         * config.h.in (USE_STAP_PROBE): New #undef.
60480         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
60481         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
60482         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
60484 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
60486         [BZ #13717]
60487         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
60488         to 2.4.0 where earlier.
60489         * sysdeps/unix/sysv/linux/configure: Regenerated.
60490         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
60491         <kernel-features.h>.
60492         [__ASSUME_32BITUIDS]: Make code unconditional.
60493         [!__ASSUME_32BITUIDS]: Remove conditional code.
60494         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
60495         <kernel-features.h>.
60496         [__ASSUME_32BITUIDS]: Make code unconditional.
60497         [!__ASSUME_32BITUIDS]: Remove conditional code.
60498         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
60499         [__ASSUME_32BITUIDS]: Make code unconditional.
60500         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
60501         * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.c: Do not include
60534         <kernel-features.h>.
60535         [__ASSUME_32BITUIDS]: Make code unconditional.
60536         [!__ASSUME_32BITUIDS]: Remove conditional code.
60537         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
60538         <kernel-features.h>.
60539         [__ASSUME_32BITUIDS]: Make code unconditional.
60540         [!__ASSUME_32BITUIDS]: Remove conditional code.
60541         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
60542         <kernel-features.h>.
60543         [__NR_setresgid] (__setresgid): Do not declare.
60544         [__ASSUME_32BITUIDS]: Make code unconditional.
60545         [!__ASSUME_32BITUIDS]: Remove conditional code.
60546         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
60547         <kernel-features.h>.
60548         [__NR_setresuid] (__setresuid): Do not declare.
60549         [__ASSUME_32BITUIDS]: Make code unconditional.
60550         [!__ASSUME_32BITUIDS]: Remove conditional code.
60551         * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.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/i386/setuid.c: Do not include
60584         <kernel-features.h>.
60585         [__ASSUME_32BITUIDS]: Make code unconditional.
60586         [!__ASSUME_32BITUIDS]: Remove conditional code.
60587         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
60588         <kernel-features.h>.
60589         [__ASSUME_32BITUIDS]: Make code unconditional.
60590         [!__ASSUME_32BITUIDS]: Remove conditional code.
60591         * sysdeps/unix/sysv/linux/kernel-features.h
60592         (__ASSUME_SETRESUID_SYSCALL): Remove.
60593         (__ASSUME_SETRESGID_SYSCALL): Likewise.
60594         (__ASSUME_32BITUIDS): Likewise.
60595         (__ASSUME_LDT_WORKS): Likewise.
60596         (__ASSUME_O_DIRECTORY): Likewise.
60597         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
60598         architecture but not kernel version.
60599         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
60600         (__ASSUME_MMAP2_SYSCALL): Likewise.
60601         (__ASSUME_STAT64_SYSCALL): Likewise.
60602         (__ASSUME_IPC64): Likewise.
60603         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
60604         <kernel-features.h>.
60605         [__ASSUME_32BITUIDS]: Make code unconditional.
60606         [!__ASSUME_32BITUIDS]: Remove conditional code.
60607         * sysdeps/unix/sysv/linux/opendir.c: Do not include
60608         <kernel-features.h>.
60609         [__ASSUME_O_DIRECTORY]: Make code unconditional.
60610         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
60611         132096]: Remove conditional code.
60612         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
60613         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
60614         <kernel-features.h>.
60615         [__ASSUME_32BITUIDS]: Make code unconditional.
60616         [!__ASSUME_32BITUIDS]: Remove conditional code.
60617         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
60618         <kernel-features.h>.
60619         [__ASSUME_32BITUIDS]: Make code unconditional.
60620         [!__ASSUME_32BITUIDS]: Remove conditional code.
60621         * sysdeps/unix/sysv/linux/setegid.c: Do not include
60622         <kernel-features.h>.
60623         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
60624         unconditional.
60625         (__setresgid): Do not declare.
60626         [__ASSUME_32BITUIDS]: Make code unconditional.
60627         [!__ASSUME_32BITUIDS]: Remove conditional code.
60628         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
60629         <kernel-features.h>.
60630         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
60631         unconditional.
60632         (__setresuid): Do not declare.
60633         [__ASSUME_32BITUIDS]: Make code unconditional.
60634         [!__ASSUME_32BITUIDS]: Remove conditional code.
60635         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
60636         <kernel-features.h>.
60637         [__ASSUME_32BITUIDS]: Make code unconditional.
60638         [!__ASSUME_32BITUIDS]: Remove conditional code.
60639         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
60640         <kernel-features.h>.
60641         [__ASSUME_32BITUIDS]: Make code unconditional.
60642         [!__ASSUME_32BITUIDS]: Remove conditional code.
60644 2012-05-25  Richard Henderson  <rth@twiddle.net>
60646         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
60647         dl_hwcap to ifunc resolver.
60648         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
60649         elf_ifunc_invoke.
60650         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
60651         dl_hwcap to ifunc resolver.
60652         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
60654 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
60656         [BZ #14153]
60657         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
60658         for |x| <= 2**-26, not 2**-57.
60659         * math/libm-test.inc (acos_test): Do not allow spurious underflow
60660         exception.
60662 2012-05-24  Jeff Law  <law@redhat.com>
60664         * stdio-common/Makefile (tests): Add bug25.
60665         * stdio-common/bug25.c: New test.
60667 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
60669         [BZ #13576]
60670         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
60671         multiple of MALLOC_ALIGNMENT in size.
60672         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
60674 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
60676         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
60677         Require >= 256.
60678         (FILENAME_MAX): Use macro-int-constant.
60679         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
60680         (_IOFBF): Use macro-int-constant.
60681         (_IOLBF): Likewise.
60682         (_IONBF): Likewise.
60683         (SEEK_CUR): Likewise.
60684         (SEEK_END): Likewise.
60685         (SEEK_SET): Likewise.
60686         (TMP_MAX): Likewise.
60687         (EOF): Use macro-int-constant.  Require < 0.
60688         (NULL): Use macro-constant.  Require == 0.
60689         (stdin): Require type to be FILE *.
60690         (stdout): Likewise.
60691         (stderr): Likewise.
60692         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
60693         macro-int-constant.
60694         (EXIT_SUCCESS): Likewise.
60695         (NULL): Use macro-constant.  Require == 0.
60696         (RAND_MAX): Use macro-int-constant.
60697         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
60698         [C99-based standards] (strtof): Require function.
60699         [C99-based standards] (strtold): Likewise.
60700         [C99-based standards] (strtoll): Likewise.
60701         [C99-based standards] (strtoull): Likewise.
60702         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
60703         [ISO || ISO99 || ISO11] (limits.h): Likewise.
60704         [ISO || ISO99 || ISO11] (math.h): Likewise.
60705         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
60706         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
60707         [ISO || ISO99 || ISO11] (*_t): Do not allow.
60709 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
60711         [BZ #14132]
60712         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
60713         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
60714         * intl/dgettext.c (DCGETTEXT): Likewise.
60715         * intl/gettext.c (DCGETTEXT): Likewise.
60716         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
60717         * posix/regex_internal.h (gettext): Likewise.
60718         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
60719         Remove declaration.
60720         * include/argz.h (__argz_count_internal)
60721         (__argz_stringify_internal): Remove declaration.
60722         (__argz_count, __argz_stringify): Declare hidden proto.
60723         * intl/dcgettext.c: Remove use of INTDEF.
60724         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
60725         * string/argz-stringify.c: Likewise.
60726         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
60727         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
60728         Declare hidden proto.
60729         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
60730         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
60731         Declare hidden proto.
60732         * include/stdio.h (__asprintf_internal): Don't declare.
60733         (__asprintf): Don't define as macro.  Declare hidden proto.
60734         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
60735         (__fsetlocking): Declare hidden proto.
60736         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
60737         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
60738         hidden proto.
60739         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
60740         (_IO_setlinebuf): Remove use of INTUSE.
60741         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
60742         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
60743         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
60744         Remove declaration.
60745         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
60746         (_IO_do_flush): Remove use of INTUSE.
60747         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
60748         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
60749         (_IO_adjust_column, _IO_least_wmarker)
60750         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
60751         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
60752         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
60753         (_IO_default_doallocate, _IO_wdefault_doallocate)
60754         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
60755         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
60756         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
60757         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
60758         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
60759         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
60760         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
60761         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
60762         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
60763         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
60764         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
60765         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
60766         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
60767         proto.
60768         (_IO_flush_all_internal, _IO_adjust_column_internal)
60769         (_IO_default_uflow_internal, _IO_default_finish_internal)
60770         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
60771         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
60772         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
60773         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
60774         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
60775         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
60776         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
60777         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
60778         (_IO_file_close_internal, _IO_file_close_it_internal)
60779         (_IO_file_underflow_internal, _IO_file_overflow_internal)
60780         (_IO_file_init_internal, _IO_file_attach_internal)
60781         (_IO_file_fopen_internal, _IO_file_read_internal)
60782         (_IO_file_sync_internal, _IO_file_seek_internal)
60783         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
60784         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
60785         (_IO_str_underflow_internal, _IO_str_overflow_internal)
60786         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
60787         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
60788         (_IO_list_all_internal, _IO_link_in_internal)
60789         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
60790         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
60791         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
60792         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
60793         (_IO_do_write_internal, _IO_padn_internal)
60794         (_IO_getline_info_internal, _IO_getline_internal)
60795         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
60796         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
60797         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
60798         (_IO_vfscanf_internal, _IO_vfprintf_internal)
60799         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
60800         (_IO_init_internal, _IO_un_link_internal): Don't declare.
60801         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
60802         with libc_hidden_ver, remove use of INTUSE.
60803         * libio/genops.c: Likewise.
60804         * libio/freopen.c: Likewise.
60805         * libio/freopen64.c: Likewise.
60806         * libio/iofclose.c: Likewise.
60807         * libio/iofdopen.c: Likewise.
60808         * libio/iofflush.c: Likewise.
60809         * libio/iofflush_u.c: Likewise.
60810         * libio/iofgets.c: Likewise.
60811         * libio/iofgets_u.c: Likewise.
60812         * libio/iofopen.c: Likewise.
60813         * libio/iofopncook.c: Likewise.
60814         * libio/iofread.c: Likewise.
60815         * libio/iofread_u.c: Likewise.
60816         * libio/ioftell.c: Likewise.
60817         * libio/iofwrite.c: Likewise.
60818         * libio/iogetline.c: Likewise.
60819         * libio/iogets.c: Likewise.
60820         * libio/iogetwline.c: Likewise.
60821         * libio/iopadn.c: Likewise.
60822         * libio/iopopen.c: Likewise.
60823         * libio/ioseekoff.c: Likewise.
60824         * libio/ioseekpos.c: Likewise.
60825         * libio/iosetbuffer.c: Likewise.
60826         * libio/iosetvbuf.c: Likewise.
60827         * libio/ioungetc.c: Likewise.
60828         * libio/ioungetwc.c: Likewise.
60829         * libio/iovdprintf.c: Likewise.
60830         * libio/iovsprintf.c: Likewise.
60831         * libio/iovsscanf.c: Likewise.
60832         * libio/memstream.c: Likewise.
60833         * libio/obprintf.c: Likewise.
60834         * libio/oldfileops.c: Likewise.
60835         * libio/oldiofclose.c: Likewise.
60836         * libio/oldiofdopen.c: Likewise.
60837         * libio/oldiofopen.c: Likewise.
60838         * libio/oldiopopen.c: Likewise.
60839         * libio/oldstdfiles.c: Likewise.
60840         * libio/putc.c: Likewise.
60841         * libio/setbuf.c: Likewise.
60842         * libio/setlinebuf.c: Likewise.
60843         * libio/stdfiles.c: Likewise.
60844         * libio/strops.c: Likewise.
60845         * libio/vasprintf.c: Likewise.
60846         * libio/vscanf.c: Likewise.
60847         * libio/vsnprintf.c: Likewise.
60848         * libio/vswprintf.c: Likewise.
60849         * libio/wfiledoalloc.c: Likewise.
60850         * libio/wfileops.c: Likewise.
60851         * libio/wgenops.c: Likewise.
60852         * libio/wmemstream.c: Likewise.
60853         * libio/wstrops.c: Likewise.
60854         * libio/__fpurge.c: Likewise.
60855         * libio/__fsetlocking.c: Likewise.
60856         * assert/assert.c: Likewise.
60857         * debug/fgets_chk.c: Likewise.
60858         * debug/fgets_u_chk.c: Likewise.
60859         * debug/fread_chk.c: Likewise.
60860         * debug/fread_u_chk.c: Likewise.
60861         * debug/gets_chk.c: Likewise.
60862         * debug/obprintf_chk.c: Likewise.
60863         * debug/vasprintf_chk.c: Likewise.
60864         * debug/vdprintf_chk.c: Likewise.
60865         * debug/vsnprintf_chk.c: Likewise.
60866         * debug/vsprintf_chk.c: Likewise.
60867         * malloc/mtrace.c: Likewise.
60868         * misc/error.c: Likewise.
60869         * misc/syslog.c: Likewise.
60870         * stdio-common/asprintf.c: Likewise.
60871         * stdio-common/fxprintf.c: Likewise.
60872         * stdio-common/getw.c: Likewise.
60873         * stdio-common/isoc99_fscanf.c: Likewise.
60874         * stdio-common/isoc99_scanf.c: Likewise.
60875         * stdio-common/isoc99_vfscanf.c: Likewise.
60876         * stdio-common/isoc99_vscanf.c: Likewise.
60877         * stdio-common/isoc99_vsscanf.c: Likewise.
60878         * stdio-common/printf-prs.c: Likewise.
60879         * stdio-common/printf_fp.c: Likewise.
60880         * stdio-common/printf_fphex.c: Likewise.
60881         * stdio-common/printf_size.c: Likewise.
60882         * stdio-common/putw.c: Likewise.
60883         * stdio-common/scanf.c: Likewise.
60884         * stdio-common/sprintf.c: Likewise.
60885         * stdio-common/tmpfile.c: Likewise.
60886         * stdio-common/vfprintf.c: Likewise.
60887         * stdio-common/vfscanf.c: Likewise.
60888         * stdlib/strfmon_l.c: Likewise.
60889         * sunrpc/openchild.c: Likewise.
60890         * sunrpc/xdr_stdio.c: Likewise.
60891         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
60892         * sysdeps/mach/hurd/tmpfile.c: Likewise.
60894 2012-05-24  Roland McGrath  <roland@hack.frob.com>
60896         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
60898         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
60899         in the third column, to generate for the shared library an IFUNC
60900         that uses _dl_vdso_vsym.
60901         * Makerules (COMPILE.c, compile-stdin.c): New variables.
60902         * Makeconfig (object-suffixes-noshared): New variable.
60904         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
60905         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
60906         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
60907         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
60909         [BZ #14132]
60910         * include/sys/time.h (__gettimeofday): Remove macro.
60911         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
60912         * time/gettimeofday.c (__gettimeofday): Remove #undef.
60913         Remove INTDEF.
60914         (__gettimeofday): Add libc_hidden_def.
60915         (gettimeofday): Add libc_hidden_weak.
60916         * sysdeps/mach/gettimeofday.c: Likewise.
60917         * sysdeps/posix/gettimeofday.c: Likewise.
60918         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
60919         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
60920         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
60921         (__gettimeofday_internal): Remove strong_alias.
60922         (__gettimeofday): Add libc_hidden_def.
60923         (gettimeofday): Add libc_hidden_weak.
60924         * sysdeps/unix/syscalls.list (gettimeofday):
60925         Remove __gettimeofday_internal alias.
60927 2012-05-24  Daniel Jacobowitz  <drow@false.org>
60928             H.J. Lu  <hongjiu.lu@intel.com>
60930         [BZ #12495]
60931         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
60932         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
60933         (largebin_index_32_big): New.
60934         (largebin_index): Use it for 16-byte alignment.
60935         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
60936         correction with front_misalign.
60938 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
60940         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
60941         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
60942         Likewise.
60943         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
60944         Likewise.
60945         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
60946         Likewise.
60947         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
60948         Likewise.
60949         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
60950         Likewise.
60951         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
60952         Likewise.
60953         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
60954         Likewise.
60955         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
60956         Likewise.
60957         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
60958         Likewise.
60959         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
60960         Likewise.
60961         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
60962         Likewise.
60963         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
60964         Likewise.
60966         * scripts/data/c++-types-x32-linux-gnu.data: New file.
60967         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
60969 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
60971         [BZ #10846]
60972         [BZ #14036]
60973         * math/libm-test.inc (exp_test): Add test from bug 14036.
60974         (pow_test): Add test from bug 10846.
60976         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
60977         and other flags.
60978         (special_function): Do not include flags in test name.
60979         (parse_args): Likewise.
60980         * sysdeps/i386/fpu/libm-test-ulps: Update.
60981         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
60982         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
60983         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
60984         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60986         * math/gen-libm-test.pl (%beautify): Add entries for underflow
60987         exceptions.
60988         * math/libm-test.inc ("Philosophy"): Update comment about
60989         exception testing.
60990         (UNDERFLOW_EXCEPTION): New macro.
60991         (UNDERFLOW_EXCEPTION_OK): Likewise.
60992         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
60993         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
60994         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
60995         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
60996         (INVALID_EXCEPTION_OK): Update value.
60997         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
60998         (OVERFLOW_EXCEPTION_OK): Likewise.
60999         (IGNORE_ZERO_INF_SIGN): Likewise.
61000         (test_exceptions): Handle underflow exceptions.
61001         (acos_test): Update for underflow exception expectations.
61002         (cexp_test): Likewise.
61003         (clog_test): Likewise.
61004         (clog10_test): Likewise.
61005         (csqrt_test): Likewise.
61006         (ctan_test): Likewise.
61007         (ctanh_test): Likewise.
61008         (exp_test): Likewise.
61009         (exp10_test): Likewise.
61010         (exp2_test): Likewise.
61011         (expm1_test): Likewise.
61012         (fma_test): Likewise.
61013         (j0_test): Likewise.
61014         (jn_test): Likewise.
61015         (nexttoward_test): Likewise.
61016         (pow_test): Likewise.
61017         (scalbn_test): Likewise.
61018         (scalbln_test): Likewise.
61019         (tan_test): Likewise.
61020         (y1_test): Likewise.
61021         * sysdeps/i386/fpu/libm-test-ulps: Update.
61022         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61024 2012-05-23  David S. Miller  <davem@davemloft.net>
61026         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
61027         (__libc_sigaction): Remove unused local variables.
61029 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
61031         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
61033 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
61035         mktime: avoid signed integer overflow
61036         * time/mktime.c (__mktime_internal): Do not mishandle the case
61037         where diff == INT_MIN.
61039         mktime: simplify computation of average
61040         * time/mktime.c (ranged_convert): Use new time_t_avg function
61041         instead of rolling our own (probably-slower) code.
61043         mktime: do not assume signed right shift propagates sign bit
61044         * time/mktime.c (isdst_differ): New static function.
61045         (__mktime_internal): No need to normalize tm_isdst now.
61046         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
61047         tm_isdst values.
61049         mktime: merge another wrapv change from gnulib
61050         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
61051         from some compilers.
61053         mktime: remove incorrect attempt at unusual arithmetics
61054         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
61055         The code didn't really work on such machines anyway.
61056         (TYPE_MINIMUM): Assume two's complement.
61057         (twos_complement_arithmetic): Verify that long_int and time_t
61058         are two's complement (or unsigned, in the latter case).
61060         mktime: check signed shifts on long_int and time_t, too
61061         * time/mktime.c (SHR): Check that shifts work as desired
61062         on the types long_int and time_t too, as SHR is used on
61063         such types.
61065         mktime: do not assume 'long' is wide enough
61066         * time/mktime.c (verify): Move decl up.
61067         (long_int): New type.
61068         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
61069         to remove assumption in the code that 'long' is wide enough to
61070         store year values.  This assumption is not true on x32 and on
61071         some non-glibc platforms.
61073         mktime: merge wrapv change from gnulib
61074         * time/mktime.c (WRAPV): New macro.
61075         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
61076         (guess_time_tm, __mktime_internal): Do not assume that signed
61077         integer overflow wraps around; modern compilers generate code
61078         where this assumption is no longer valid.
61080 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
61082         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
61083         Replace "jmp L(pseudo_end)" with "ret".
61084         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
61085         Likewise.
61087 2012-05-23  Andreas Jaeger  <aj@suse.de>
61089         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
61090         * sysdeps/unix/sysv/linux/poll.c: Remove file.
61092 2012-05-23  Andreas Jaeger  <aj@suse.de>
61093             Maximilian Attems  <max@stro.at>
61095         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
61096         New macros.
61098 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
61100         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
61101         code so that pseudo_end is just ret and the stack pointer is
61102         correct also for static library in error case.
61104 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
61106         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
61107         move to syscalls.list.
61108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
61109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
61110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
61111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
61113         * manual/install.texi (Running make install): Do not mention Linux
61114         kernel version for which pt_chown is not needed.
61115         (Linux): Do not mention problems with nscd with 2.0 kernels.
61116         * INSTALL: Regenerated.
61118 2012-05-23  Andreas Jaeger  <aj@suse.de>
61120         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
61121         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
61122         macro.
61123         * sysdeps/unix/sysv/linux/s390/bits/mman.h
61124         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
61125         * sysdeps/unix/sysv/linux/sh/bits/mman.h
61126         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
61127         * sysdeps/unix/sysv/linux/i386/bits/mman.h
61128         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
61129         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
61130         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
61131         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
61132         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
61133         * sysdeps/unix/sysv/linux/bits/in.h
61134         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
61136 2012-05-22  Roland McGrath  <roland@hack.frob.com>
61138         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
61139         (PREPARE_VERSION): Just use assert instead, it will be elided
61140         under [NDEBUG] anyway.
61142 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
61144         * sysdeps/unix/sysv/linux/Makefile: Include
61145         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
61146         (sysdep_routines): Remove sysctl.
61147         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
61148         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
61149         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
61150         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
61151         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
61153 2012-05-22  Andreas Jaeger  <aj@suse.de>
61155         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
61156         that pseudo_end is just ret and the stack pointer is correct also
61157         for static library in error case.
61159 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
61161         [BZ #14122]
61162         * nss/nsswitch.c (defconfig_entries): New variable.
61163         (__nss_database_lookup): Don't leak defconfig entries.
61164         (nss_parse_service_list): Don't leak on error paths.
61165         (free_database_entries): New function.
61166         (free_defconfig): New function.
61167         (free_mem): Move common code to free_database_entries.
61169 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
61171         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
61172         Add arch_prctl.
61173         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
61175         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
61176         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
61177         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
61178         New macro.
61179         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
61180         (INTERNAL_SYSCALL_TYPES): Likewise.
61181         (LOAD_ARGS_TYPES_[1-6]): Likewise.
61182         (LOAD_REGS_TYPES_[1-6]): Likewise.
61183         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
61184         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
61186 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61188         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
61189         copysignl for GLIBC_2_0.
61190         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
61191         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
61192         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
61193         logbl for GLIBC_2_0.
61194         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
61195         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
61197 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
61199         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
61200         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
61202         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
61203         Use "neg %eax".
61205         * time/mktime.c: Update copyright years.
61207 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
61209         mktime: merge comment-quoting-style change from gnulib
61210         * time/mktime.c: Quote 'like this' in comments.
61211         The GNU coding standards suggest that we no longer quote `like this',
61212         as "`" and "'" are typically rendered asymmetrically nowadays.
61213         The typical gnulib style is to quote 'like this' when quoting
61214         code, and "like this" when quoting English.
61216         * time/mktime.c (compile-command): Add "-I.".
61218         mktime: merge mktime-internal.h change from gnulib
61219         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
61221         mktime: merge time_r change from gnulib
61222         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
61224         mktime: merge DEBUG change from gnulib
61225         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
61226         case system <time.h> has a #define.
61228         mktime: merge <sys/types.h> change from gnulib
61229         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
61230         since <time.t> is now guaranteed to define time_t.
61232         mktime: merge HAVE_CONFIG_H change from gnulib
61233         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
61235 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
61237         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
61238         Use "neg %eax".
61240         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
61241         __rlim_t cast.
61242         (struct rusage): Use anonymous union to pad each field to
61243         __syscall_slong_t.
61245 2012-05-21  David S. Miller  <davem@davemloft.net>
61247         * Makefules (o-iterator): Remove .s cases.
61248         (compile-command.s): Delete.
61249         (COMPILE.s): Delete.
61250         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
61252 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
61254         * configure.in (libc_cv_predef_stack_protector): Only consider
61255         "foobar" and "__stack_chk_fail" lines in libc_undefs.
61256         * configure: Regenerated.
61258 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
61260         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
61261         New macro.  Use R*LP on int and pointer.
61262         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
61263         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
61264         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
61265         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
61267         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
61268         [__WORDSIZE_TIME64_COMPAT32] instead of
61269         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
61270         (struct utmp): Likewise.
61271         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
61272         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
61273         Renamed to ...
61274         (__WORDSIZE_TIME64_COMPAT32): This.
61275         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
61276         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
61277         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
61278         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
61279         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
61280         (__WORDSIZE_TIME64_COMPAT32): New macro.
61282 2012-05-21  Andreas Jaeger  <aj@suse.de>
61284         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
61285         only if [SHARED]. Add prototype for __wcschr_ia32.
61287 2012-05-21  Roland McGrath  <roland@hack.frob.com>
61289         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
61290         of %rbp unmolested in the jmp_buf while mangling the low bits.
61291         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
61292         unmolested high bits of %rbp while demangling the low bits.
61293         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
61295 2012-05-21  Andreas Jaeger  <aj@suse.de>
61297         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
61298         * sunrpc/svc_simple.c: Use it for registerrpc.
61299         * sunrpc/xcrypt.c: Use it for passwd2des.
61301         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
61303 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
61305         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
61306         Don't define if [__SYSCALL_WORDSIZE != 32].
61307         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
61308         New macro.
61310 2012-05-21  Bruno Haible  <bruno@clisp.org>
61311             Andreas Jaeger  <aj@suse.de>
61313         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
61314         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
61315         inptr and inend for must_buffer_ch.
61316         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
61317         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
61318         * stdio-common/Makefile (tests): Remove bug15.
61319         (bug15-ENV): Remove macro.
61320         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
61321         anymore.
61323 2012-05-19  Andreas Jaeger  <aj@suse.de>
61324             Roland McGrath  <roland@hack.frob.com>
61326         * manual/contrib.texi: Completely rewritten. It contains now an
61327         alphabetical list of contributors and their contributions.
61329 2012-05-21  Richard Henderson  <rth@twiddle.net>
61331         * misc/getauxval.c (__getauxval): Use unsigned long int.
61332         * misc/sys/auxv.h: Include <sys/cdefs.h>.
61333         (getauxval): Use unsigned long int.
61335 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
61337         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
61339 2012-05-21  Roland McGrath  <roland@hack.frob.com>
61341         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
61342         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
61343         __alignof__ (long double).
61345 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61347         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61349 2012-05-20  Richard Henderson  <rth@twiddle.net>
61351         * misc/getauxval.c: New file.
61352         * misc/sys/auxv.h: New file.
61353         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
61354         (routines): Add getauxval.
61355         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
61356         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
61357         * elf/dl-sysdep.c (_dl_auxv): Remove.
61358         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
61359         * elf/dl-support.c (_dl_auxv): New variable.
61360         (_dl_aux_init): Initialize it.
61361         * manual/startup.texi (Auxiliary Vector): New node.
61362         * sysdeps/generic/bits/hwcap.h: New file.
61363         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
61364         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
61365         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
61366         * sysdeps/sparc/sysdep.h: ... here.  Include it.
61367         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
61368         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
61369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
61370         Update.
61371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
61372         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
61373         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
61374         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
61375         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
61376         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
61377         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
61378         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
61380 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61382         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61384 2012-05-19  David S. Miller  <davem@davemloft.net>
61386         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61388 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
61390         [BZ #14123]
61391         * math/s_ccosh.c: Include <float.h>
61392         (__ccosh): Avoid internal overflow calculating sinh and cosh
61393         values before multiplying by sin and cos values.
61394         * math/s_ccoshf.c: Likewise.
61395         * math/s_ccoshl.c: Likewise.
61396         * math/s_csin.c: Likewise.
61397         * math/s_csinf.c: Likewise.
61398         * math/s_csinl.c: Likewise.
61399         * math/s_csinh.c: Likewise.
61400         * math/s_csinhf.c: Likewise.
61401         * math/s_csinhl.c: Likewise.
61402         * math/libm-test.inc (ccos_test): Add more tests.
61403         (ccosh_test): Likewise.
61404         (csin_test): Likewise.
61405         (csinh_test): Likewise.
61406         * sysdeps/i386/fpu/libm-test-ulps: Update.
61407         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61409 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
61411         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
61412         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
61414         * sysdeps/x86_64/x32/_itoa.h: Add comment.
61416 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
61418         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
61419         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
61420         * sysdeps/powerpc/soft-fp/Versions: Likewise.
61421         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
61422         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
61423         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
61424         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
61425         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
61426         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
61427         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
61428         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
61429         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
61430         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
61431         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
61432         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
61433         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
61434         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
61435         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
61436         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
61437         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
61438         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
61439         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
61440         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
61441         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
61442         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
61443         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
61444         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
61445         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
61446         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
61447         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
61448         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
61450 2012-05-18  Andreas Jaeger  <aj@suse.de>
61452         * csu/.gitignore: Delete.
61454 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
61456         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
61457         (timex): Use __syscall_slong_t.
61459 2012-05-18  Andreas Jaeger  <aj@suse.de>
61460             Carlos O'Donell  <carlos_odonell@mentor.com>
61462         * manual/install.texi (Configuring and compiling): Update
61463         description about files modified in the source directory.
61464         * INSTALL: Regenerated.
61466 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
61468         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
61469         value.  Use "or" to set return value to -1.
61470         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
61471         negate return value.
61473 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
61475         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
61476         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
61477         failure if the compiler has Graphite support disabled.
61478         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
61479         Likewise.
61480         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
61481         (CFLAGS-memmove.c): Likewise.
61482         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
61483         Likewise.
61485 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
61487         * sysdeps/x86_64/x32/_itoa.h: New file.
61489         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
61490         getdents system call only if kernel and user dirents have the
61491         same d_ino and d_off.
61493         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
61494         LLONG_MAX != LONG_MAX.
61495         (_itoa_word): Use _ITOA_WORD_TYPE on value.
61496         (_fitoa_word): Likewise.
61498         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
61499         years.
61500         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
61501         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
61502         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
61504         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
61505         include <bits/wordsize.h>.  Check __x86_64__ instead of
61506         __WORDSIZE.
61507         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
61508         if __x86_64__ is defined.  Use anonymous union on fpstate.
61510         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
61511         anonymous union.
61513 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
61515         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
61516         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
61517         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
61518         Refer to _rtld_local_ro instead of _rtld_global_ro.
61519         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
61520         Likewise.
61521         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
61522         Likewise.
61523         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
61524         Likewise.
61525         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
61526         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
61527         of _rtld_global, and rtld_progname instead of _dl_argv[0].
61529         [BZ #10882]
61530         * sysdeps/powerpc/powerpc32/dl-machine.c
61531         (__elf_machine_runtime_setup) [PROF]: Don't reference
61532         _dl_prof_resolve.
61534 2012-05-18  Andreas Jaeger  <aj@suse.de>
61536         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
61537         function only available for GCCs before 3.4 since GCC 3.4
61538         introduced a builtin.
61539         (lrint): Likewise.
61540         (llrintf): Likewise.
61541         (llrint): Likewise.
61542         (fmaxf): Likewise.
61543         (fmax): Likewise.
61544         (fminf): Likewise.
61545         (fmin): Likewise.
61546         (rint): Likewise.
61547         (rintf): Likewise.
61548         (nearbyint): Likewise.
61549         (nearbyintf): Likewise.
61550         (ceil): Likewise.
61551         (ceilf): Likewise.
61552         (floor): Likewise.
61553         (floorf): Likewise.
61555 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
61557         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
61558         on both fields and cast pointer to __syscall_ulong_t.
61560         * bits/types.h (__fsword_t): New type.
61561         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
61562         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
61563         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
61564         (__FSWORD_T_TYPE): Likewise.
61565         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
61566         (__FSWORD_T_TYPE): Likewise.
61567         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
61568         (__FSWORD_T_TYPE): Likewise.
61569         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
61570         (__FSWORD_T_TYPE): Likewise.
61571         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
61572         __SWORD_TYPE with __fsword_t.
61573         (statfs64): Likewise.
61575 2012-05-17  David S. Miller  <davem@davemloft.net>
61577         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
61579 2012-05-17  Andreas Jaeger  <aj@suse.de>
61581         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
61582         warning.
61584 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
61586         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
61588 2012-05-17  Andreas Jaeger  <aj@suse.de>
61590         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
61591         when it is used.
61593 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
61595         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
61597 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
61599         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
61600         * sysdeps/x86_64/tst-mallocalign1.c: New file.
61602 2012-05-17  Andreas Jaeger  <aj@suse.de>
61603             Carlos O'Donell  <carlos_odonell@mentor.com>
61605         [BZ #14059]
61606         * sysdeps/x86_64/multiarch/init-arch.h
61607         (bit_YMM_Usable): Rename to...
61608         (bit_AVX_Usable): ... this.
61609         (bit_FMA4_Usable): New macro.
61610         (bit_XMM_state): New macro.
61611         (bit_YMM_state): New macro.
61612         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
61613         [__ASSEMBLER__] (index_AVX_Usable): ... this.
61614         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
61615         (CPUID_OSXSAVE): New macro.
61616         (CPUID_AVX): New macro.
61617         (CPUID_FMA4): New macro.
61618         (index_YMM_Usable): Rename to...
61619         (index_AVX_Usable): ... this.
61620         (HAS_AVX): Use HAS_ARCH_FEATURE.
61621         (HAS_FMA4): Likewise.
61622         (HAS_YMM_USABLE): Remove.
61623         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61624         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
61625         are present.
61626         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
61627         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
61628         * sysdeps/x86_64/multiarch/Makefile: Likewise.
61629         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
61630         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
61632 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
61634         * math/libm-test.c: Support platforms without multiple rounding modes.
61635         * math/bug-nextafter.c: Support platforms without FP exceptions.
61636         * math/bug-nexttoward.c: Likewise.
61637         * math/test-fenv.c: Likewise.
61638         * math/test-misc.c: Likewise.
61639         * stdlib/bug-getcontext.c: Likewise.
61641 2012-05-17  Andreas Jaeger  <aj@suse.de>
61643         * manual/examples/search.c (critter_cmp): Change signature to
61644         avoid warnings.
61645         * manual/string.texi (Collation Functions): Likewise.
61647 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61649         * bits/types.h: Fold copyright years.
61650         * bits/typesizes.h: Likewise.
61651         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
61652         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
61653         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
61654         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
61655         * time/time.h: Likewise.
61657 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
61659         [BZ #208]
61660         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
61661         in instead of returning them.  Return void.
61662         (__libc_mallinfo): Accumulate over all arenas.
61663         (__malloc_stats): Adjust for change in int_mallinfo interface.
61665 2012-05-16  Roland McGrath  <roland@hack.frob.com>
61667         [BZ #10375]
61668         * configure.in (NM): Add AC_CHECK_TOOL for it.
61669         (libc_extra_cflags): New substituted variable.
61670         Check for -fstack-protector being used implicitly.
61671         * configure: Regenerated.
61672         * config.make.in (config-extra-cflags): New variable,
61673         gets @libc_extra_cflags@.
61674         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
61676         [BZ #10375]
61677         * configure.in: Check for _FORTIFY_SOURCE being predefined.
61678         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
61679         * configure: Regenerated.
61680         * config.make.in (CPPUNDEFS): New substituted variable.
61681         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
61682         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
61683         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
61685 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61687         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
61688         (mq_attr): Use __syscall_slong_t.
61690 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61692         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
61693         Check __x86_64__ instead of __WORDSIZE.
61694         (_STAT_VER_LINUX): Likewise.
61695         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
61696         __syscall_ulong_t and __syscall_slong_t.
61697         (stat64): Likewise.
61699 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61701         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
61703 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61705         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
61707 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61709         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
61710         __syscall_ulong_t.
61712         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
61713         include <bits/wordsize.h>.  Check __x86_64__ instead of
61714         __WORDSIZE.
61715         (greg_t): Use "__extension__ long long int" if __x86_64__ is
61716         defined.
61717         (mcontext_t): Replace "unsigned long" with "unsigned long long".
61719         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
61720         include <bits/wordsize.h>.  Check __x86_64__ instead of
61721         __WORDSIZE.
61722         (user_regs_struct): Use "__extension__ unsigned long long"
61723         instead of "unsigned long" if __x86_64__ is defined.
61724         (user): Likewise.  Pad after pointer field if __ILP32__ is
61725         defined.
61727 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
61729         * configure.in (makeinfo): Require version 4.5 or later.  Allow
61730         versions 5 to 9.
61731         * configure: Regenerated.
61732         * manual/install.texi (texinfo): Increase version requirement to
61733         4.5 or later.
61734         * INSTALL: Regenerated.
61736         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
61738 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61740         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
61742         * sysdeps/x86_64/x32/ffs.c: New file.
61744         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
61745         __syscall_ulong_t.
61746         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
61747         defined.  Use __syscall_ulong_t.
61748         (shminfo): Use __syscall_ulong_t.
61749         (shm_info): Likewise.
61751         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
61752         __syscall_ulong_t.
61754         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
61755         <bits/wordsize.h>.
61756         (msgqnum_t): Use __syscall_ulong_t.
61757         (msglen_t): Likewise.
61758         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
61759         __syscall_ulong_t.
61761         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
61762         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
61764         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
61766         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
61767         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
61769         * sysvipc/sys/msg.h (msgbuf): Replace long int with
61770         __syscall_slong_t.
61772         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
61773         include <bits/wordsize.h>.  Check __x86_64__ instead of
61774         __WORDSIZE.
61776         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
61777         "unsigned long long int" if __x86_64__ is defined.
61778         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
61780         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
61781         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
61782         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
61784         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
61785         <stdint.h>.
61786         (GET_PC): Cast to uintptr_t first.
61787         (GET_FRAME): Likewise.
61788         (GET_STACK): Likewise.
61790         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
61791         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
61792         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
61793         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
61794         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
61795         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
61796         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
61797         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
61798         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
61799         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
61800         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
61801         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
61802         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
61803         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
61804         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
61805         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
61806         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
61807         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
61808         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
61809         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
61810         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
61811         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
61812         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
61813         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
61814         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
61815         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
61816         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
61817         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
61818         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
61820 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
61822         * Makerules (+depfiles): Also collect depfiles from .oS in
61823         $(extra-objs).
61824         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
61825         .oS, $(libnldbl-routines)).
61827         * Makerules (native-compile-mkdep-flags): Define.
61828         * sunrpc/Makefile (extra-objs): Add $(addprefix
61829         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
61830         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
61831         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
61832         calling $(make-target-directory).
61834 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61836         * bits/types.h (__snseconds_t): Removed.
61837         * time/time.h (struct timespec): Replace __snseconds_t with
61838         __syscall_slong_t.
61839         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
61840         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
61841         Likewise.
61842         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
61843         (__SNSECONDS_T_TYPE): Likewise.
61844         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
61845         (__SNSECONDS_T_TYPE): Likewise.
61846         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
61847         (__SNSECONDS_T_TYPE): Likewise.
61849 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61851         * sysdeps/mach/hurd/bits/typesizes.h
61852         (__SYSCALL_SLONG_TYPE): New macro.
61853         (__SYSCALL_ULONG_TYPE): Likewise.
61855 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61857         * bits/types.h (__syscall_slong_t): New type.
61858         (__syscall_ulong_t): Likewise.
61860         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
61861         (__SYSCALL_ULONG_TYPE): Likewise.
61862         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
61863         (__SYSCALL_SLONG_TYPE): Likewise.
61864         (__SYSCALL_ULONG_TYPE): Likewise.
61865         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
61866         (__SYSCALL_SLONG_TYPE): Likewise.
61867         (__SYSCALL_ULONG_TYPE): Likewise.
61868         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
61869         (__SYSCALL_SLONG_TYPE): Likewise.
61870         (__SYSCALL_ULONG_TYPE): Likewise.
61872 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61874         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
61875         Add sigaltstack-offsets.sym.
61876         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
61877         <sigaltstack-offsets.h>.
61878         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
61879         longjmp_msg pointer.
61880         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
61881         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
61882         signal stack.
61883         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
61885 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
61887         * elf/stackguard-macros.h: Remove file.
61888         * sysdeps/generic/stackguard-macros.h: New file.
61889         * sysdeps/i386/stackguard-macros.h: Likewise.
61890         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
61891         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
61892         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
61893         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
61894         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
61895         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
61896         * sysdeps/x86_64/stackguard-macros.h: Likewise.
61897         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
61898         <elf/stackguard-macros.h>.
61900         [BZ #14109]
61901         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
61902         __aligned__ in attribute.
61903         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
61904         (gregset_t): Likewise.
61906 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61908         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
61909         * sysdeps/x86_64/64/Implies-after: Here.  New file.
61910         * sysdeps/x86_64/x32/Implies-after: New file.
61912 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61914         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
61915         and access return value for _dl_profile_fixup.  Use R10_LP to
61916         load frame size.
61918 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61920         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
61922 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61924         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
61925         * sysdeps/x86_64/x32/sysdep.h: New file.
61927 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61929         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
61930         * sysdeps/x86_64/setjmp.S: Likewise.
61932 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61934         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
61935         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
61936         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
61937         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
61938         remove unused global constant.
61940 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
61942         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
61943         include of <not-cancel.h>.
61945 2012-05-15  Roland McGrath  <roland@hack.frob.com>
61947         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
61949 2012-05-15  Jeff Law  <law@redhat.com>
61950             Andreas Jaeger  <aj@suse.de>
61952         [BZ #13594]
61953         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
61954         out from...
61955         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
61956         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
61957         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
61958         code changing __hst_map_handle.map.
61960 2012-05-15  Roland McGrath  <roland@hack.frob.com>
61962         * configure.in (sysnames): Look for Implies-before and Implies-after
61963         files.
61964         * configure: Regenerated.
61966 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61968         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
61969         8-byte data alignment with LP_SIZE alignment.
61971 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61973         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
61974         into R10_LP.
61976 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61978         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
61980 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61982         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
61983         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
61984         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
61985         Likewise.
61986         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
61988 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61990         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
61991         (stackinfo_sub_sp): Likewise.
61993 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61995         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
61996         RAX_LP.
61998 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62000         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
62001         into R*_LP.
62003 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62005         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
62006         sizes into R*_LP.
62008 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62010         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
62012 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62014         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
62015         into R11_LP and load __x86_64_shared_cache_size_half into
62016         R8_LP.
62018 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62020         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
62021         R8_LP.
62023 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62025         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
62026         logb for POWER7.
62027         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
62028         logbf for POWER7.
62029         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
62030         logbl for POWER7.
62031         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
62032         powerpc32/power7/fpu/s_logb.c via #include.
62033         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
62034         powerpc32/power7/fpu/s_logbf.c via #include.
62035         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
62036         powerpc32/power7/fpu/s_logbl.c via #include.
62038 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
62040         * README.libm: Remove file.
62042 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
62044         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
62045         count for x32.  Use R*_LP and omit operand-size suffix.
62047 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
62049         * shlib-versions: Move x86_64-.*-linux.* entries to ...
62050         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
62051         * sysdeps/x86_64/x32/shlib-versions: New file.
62053 2012-05-14  Roland McGrath  <roland@hack.frob.com>
62055         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
62056         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
62057         Use _dl_fatal_printf instead.
62059 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
62061         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
62062         set if not set by the user.  Do not allow for being unset.
62063         * sysdeps/unix/sysv/linux/configure: Regenerated.
62065 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
62067         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
62068         the `q' suffix from lea and replace .quad with ASM_ADDR.
62070 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
62072         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
62073         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
62074         instead of $17.
62075         (PTR_DEMANGLE): Likewise.
62077 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
62079         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
62080         (LP_OP): Likewise.
62081         (ASM_ADDR): Likewise.
62082         (RAX_LP): Likewise.
62083         (RBP_LP): Likewise.
62084         (RBX_LP): Likewise.
62085         (RCX_LP): Likewise.
62086         (RDI_LP): Likewise.
62087         (RSI_LP): Likewise.
62088         (RSP_LP): Likewise.
62089         (R8_LP): Likewise.
62090         (R9_LP): Likewise.
62091         (R10_LP): Likewise.
62092         (R10_LP): Likewise.
62093         (R11_LP): Likewise.
62094         (R12_LP): Likewise.
62095         (R13_LP): Likewise.
62096         (R14_LP): Likewise.
62097         (R15_LP): Likewise.
62099 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
62101         * sysdeps/x86_64/x32/dl-machine.h: New file.
62103 2012-05-14  Andreas Jaeger  <aj@suse.de>
62105         * manual/Makefile (subdir): Remove export of subdir.
62106         (all): Remove target.
62107         (.PHONY): Remove all from list.
62108         (mkinstalldirs): Remove.
62109         (.PHONY): Remove installdirs from list.
62110         ($(inst_infodir)/libc.info): Use make-target-directory.
62111         (installdirs): Remove.
62112         (subdir_%): Remove.
62113         (glibc-targets): Remove.
62114         (lib): Remove.
62115         (stubs): Remove.
62116         ($(objpfx)stubs ../po/manual.pot): Remove.
62117         ($(objpfx)stamp%): Remove.
62118         (make-target-directory): Remove.
62119         (subdir_install): Remove.
62120         (routines): Remove.
62121         (aux): Remove.
62122         (sources): Remove.
62123         (objects): Remove.
62124         (headers): Remove.
62126         [BZ #13750]
62127         * manual/.gitignore: Remove, it's not needed anymore.
62128         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
62129         all files in it.
62130         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
62131         directory.
62132         (texis): Renamed to $(objpfx)texis.
62133         (texis-path): New, contains path to generated files.
62134         (chapters.%): Use texis-path for complete path, add extra argument
62135         libc-texinfo.sh.
62136         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
62137         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
62138         (summary,texi, stamp-summary): Use complete path of
62139         files. Generate files in build dir.
62140         (dir-add.texi): Build in build dir.
62141         (libm-err.texi,stamp-libm-err): Likewise.
62142         (version.texi, stamp-version): Likewise.
62143         (.%c.texi): Likewise.
62144         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
62145         (mostlyclean): Remove target.
62146         (realclean): Remove target.
62147         (generated): Add new variable with contents from mostlyclean and
62148         realclean, remove entries duplicated in common-mostlyclean, add
62149         stamp-libm-err and stamp-version.
62150         (generated-dirs): Add libc directory.
62151         ($(inst_infodir)/libc.info): Install files from build dir.
62153         * manual/install.texi (Configuring and compiling): Adjust since
62154         the info files are not part of the tar ball anymore.
62156 2012-05-14  Andreas Jaeger  <aj@suse.de>
62158         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
62159         variable.
62161 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
62163         [BZ #13717]
62164         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
62165         to 2.2.0 where earlier.
62166         * sysdeps/unix/sysv/linux/configure: Regenerated.
62167         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
62168         Remove conditional code.
62169         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
62170         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
62171         Remove conditional code.
62172         [!__NR_lchown]: Likewise.
62173         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
62174         [__NR_lchown]: Likewise.
62175         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
62176         comment referencing __ASSUME_LCHOWN_SYSCALL.
62177         * sysdeps/unix/sysv/linux/i386/sigaction.c
62178         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
62179         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
62180         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
62181         Remove conditional code.
62182         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
62183         (__protocol_available): Remove #if 0 code.
62184         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
62185         conditional code.
62186         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
62187         * sysdeps/unix/sysv/linux/kernel-features.h
62188         (__ASSUME_GETCWD_SYSCALL): Don't define.
62189         (__ASSUME_REALTIME_SIGNALS): Likewise.
62190         (__ASSUME_PREAD_SYSCALL): Likewise.
62191         (__ASSUME_PWRITE_SYSCALL): Likewise.
62192         (__ASSUME_POLL_SYSCALL): Likewise.
62193         (__ASSUME_LCHOWN_SYSCALL): Likewise.
62194         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
62195         non-SPARC.
62196         (__ASSUME_SIOCGIFNAME): Don't define.
62197         (__ASSUME_MSG_NOSIGNAL): Likewise.
62198         (__ASSUME_SENDFILE): Define unconditionally.
62199         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
62200         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
62201         conditional code.
62202         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
62203         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
62204         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
62205         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
62206         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
62207         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
62208         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
62209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
62210         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
62211         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
62212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
62213         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
62214         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
62215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
62216         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
62217         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
62218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
62219         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
62220         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
62221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
62222         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
62223         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
62224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
62225         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
62226         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
62227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
62228         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
62229         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
62230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
62231         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
62232         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
62233         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
62234         Remove conditional code.
62235         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
62236         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
62237         Remove conditional code.
62238         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
62239         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
62240         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
62241         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
62242         Remove conditional code.
62243         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
62244         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
62245         Remove conditional code.
62246         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
62247         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
62248         Remove conditional code.
62249         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
62250         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
62251         Remove conditional code.
62252         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
62253         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
62254         Remove conditional code.
62255         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
62256         * sysdeps/unix/sysv/linux/sh/pwrite64.c
62257         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
62258         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
62259         * sysdeps/unix/sysv/linux/sigaction.c
62260         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
62261         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
62262         * sysdeps/unix/sysv/linux/sigpending.c
62263         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
62264         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
62265         * sysdeps/unix/sysv/linux/sigprocmask.c
62266         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
62267         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
62268         * sysdeps/unix/sysv/linux/sigsuspend.c
62269         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
62270         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
62271         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
62272         (__libc_missing_rt_sigs): Remove.
62273         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
62274         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
62275         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
62276         Remove conditional code.
62277         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
62278         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
62279         return 1.
62280         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
62281         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
62282         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
62283         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
62285 2012-05-14  Andreas Jaeger  <aj@suse.de>
62287         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
62288         it's not used in glibc.
62289         (__coshm1): Likewise.
62290         (__acosh1p): Likewise.
62291         (__sgn): Likewise.
62293         * manual/string.texi (Copying and Concatenation): Add missing
62294         variable in concat example.
62295         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
62297 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
62299         [BZ #14103]
62300         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
62301         __builtin_clzl with __builtin_clzll.
62303 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
62305         [BZ #14104]
62306         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
62307         libc_freeres_ptr.
62309 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62311         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
62312         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
62313         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
62314         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
62316 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
62318         * NEWS: Update ia64 info.
62320 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
62322         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
62323         used as bcopy.
62325 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
62327         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
62328         * sysdeps/unix/syscalls.list (dup3): Likewise.
62329         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
62330         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
62332 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
62334         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
62335         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
62337 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
62339         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
62340         thread pointer.
62341         (TLS_IE): Use mov/add instead of movq/addq to load thread
62342         pointer.
62343         (TLS_GD_PREFIX): New.
62344         (TLS_GD): Use it.
62346 2012-05-11  David S. Miller  <davem@davemloft.net>
62348         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
62349         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
62350         (_FPU_SETCW): Likewise.
62352 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
62354         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
62355         is 32-byte aligned.
62357 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
62359         [BZ #11837]
62360         * iconvdata/gb18030.c: Update tables.
62361         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
62362         characters specially.
62363         (BODY for TO_LOOP): Add encoding of missing ranges.
62365 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
62367         [BZ #13673]
62368         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
62369         * sysdeps/mach/hurd/dup3.c: Likewise.
62370         * sysdeps/mach/hurd/readlinkat.c: Likewise.
62371         * sysdeps/powerpc/memmove.c:: Likewise.
62373 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
62375         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
62376         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
62378 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
62380         * elf/elf.h (R_X86_64_RELATIVE64): New.
62381         (R_X86_64_NUM): Updated.
62382         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
62383         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
62384         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
62385         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
62386         tst-quad1pie tst-quad2pie
62387         (modules-names): Add tst-quadmod1 tst-quadmod2.
62388         ($(objpfx)tst-quad1): New dependency.
62389         ($(objpfx)tst-quad2): Likewise.
62390         ($(objpfx)tst-quad1pie): Likewise.
62391         ($(objpfx)tst-quad2pie): Likewise.
62392         * sysdeps/x86_64/tst-quad1.c: New file.
62393         * sysdeps/x86_64/tst-quad1pie.c: New file.
62394         * sysdeps/x86_64/tst-quad2.c: Likewise.
62395         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
62396         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
62397         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
62398         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
62399         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
62401 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62403         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
62404         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
62405         * streams/stropts.h (t_scalar_t): Define type.
62407         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
62408         (_PATH_PRESERVE): Set to "/var/lib".
62409         (_PATH_RWHODIR): Set to "/var/spool/rwho".
62411         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
62412         instead of int.
62414         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
62415         if __dir_mkfile succeeded.
62417         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
62418         checking for _hurd_dtablesize.  Unlock it right after having
62419         finished _hurd_dtable allocation.
62421 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62423         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
62424         * sysdeps/mach/hurd/configure: Regenerated.
62425         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
62426         special-casing to...
62427         * sysdeps/gnu/configure.in: ... this new file.
62428         * sysdeps/unix/sysv/linux/configure: Regenerated.
62429         * sysdeps/gnu/configure: New generated file.
62431         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
62432         for Linux: use nsec instead of usec, as well as:
62433         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
62434         members of type struct timespec.
62435         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
62436         New macros.
62437         (struct stat64): Likewise.
62438         (_STATBUF_ST_NSEC): New macro.
62439         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
62441         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
62442         __strtoul_internal rather than strtoul.
62444 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
62446         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
62447         and reject them.
62449 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62451         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
62452         which preserves existing values.
62453         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
62455 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
62457         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
62458         TIMEOUT values.  Return EINVAL for NFDS values either negative or
62459         greater than FD_SETSIZE.
62461 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62463         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
62464         allocated, call __vm_protect to finish enabling the existing space, and
62465         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
62466         allocate the remainder.
62468 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
62470         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
62471         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
62473 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62475         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
62476         sysdeps/mach/hurd/readlink.c.
62478         * posix/tst-sysconf.c (posix_options): Only use
62479         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
62480         _POSIX_SYNCHRONIZED_IO when they are defined
62481         * sysdeps/mach/hurd/bits/posix_opt.h:
62482         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
62483         (_XOPEN_REALTIME): Undefine macro.
62484         (_XOPEN_REALTIME_THREADS): Undefine macro.
62485         (_XOPEN_SHM): Undefine macro.
62486         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
62487         macro to -1.
62488         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
62489         macro to -1.
62490         (_POSIX_ASYNC_IO): Undefine macro.
62491         (_POSIX_PRIORITIZED_IO): Undefine macro.
62492         (_POSIX_SPIN_LOCKS): Define macro to -1.
62494         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
62495         SA_NODEFER, SA_RESETHAND.
62496         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
62497         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
62498         F_DUPFD_CLOEXEC.
62500 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62502         * elf/Makefile (pldd-modules): Define unconditionally.
62504 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62506         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
62508 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62510         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
62511         Return ENOENT when name is empty.
62512         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
62514 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62516         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
62518         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
62520 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62522         Fix mlock in all cases except non-readable pages.
62523         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
62524         instead of VM_PROT_ALL as parameter to __vm_wire function.
62526         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
62527         (__mkdir): When path is `/', just fail with EEXIST.
62528         * sysdeps/mach/hurd/mkdirat.c: Likewise.
62530 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62532         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
62533         <sys/uio.h> (for writev).
62534         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
62535         and <sys/param.h> (for MIN).
62537 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
62539         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
62540         REQUESTED_TIME.  Properly set the remaining time and return EINTR
62541         if interrupted.
62543 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62545         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
62546         Depend on against $(link-rpcuserlibs).
62548 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62550         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
62551         (__libc_stack_end): Do not use attribute_relro.
62552         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
62553         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
62554         to libthread-provided value.
62555         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
62556         attribute_relro.
62558 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62560         [BZ #3748]
62561         * bits/libc-lock.h (__libc_once_get): New macro.
62562         * sysdeps/mach/bits/libc-lock.h: Likewise.
62563         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
62564         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
62565         instead of using implementation details.
62567         * libio/fileops.c: Unconditionally include <kernel-features.h>.
62568         * libio/freopen.c: Likewise.
62569         * libio/freopen64.c: Likewise.
62570         * misc/syslog.c: Likewise.
62571         * nscd/connections.c: Likewise.
62572         * nscd/netgroupcache.c: Likewise.
62573         * sysdeps/posix/getcwd.c: Likewise.
62575 2012-05-10  Roland McGrath  <roland@hack.frob.com>
62577         * math/w_ilogbf.c: Add #include <limits.h>.
62579 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62581         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
62582         path instead of returning without unlocking.
62584         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
62585         immediate-write ioctls.
62586         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
62588 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62590         * sysdeps/mach/hurd/i386/init-first.c (init): Use
62591         __builtin_frame_address instead of making assumptions about the
62592         location of the return address relative to DATA.  Force early load of
62593         the return address.
62594         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
62595         __builtin_frame_address.
62597         dup3 for GNU Hurd.
62598         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
62599         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
62600         implement dup3 and do some further code clean-ups.
62601         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
62602         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
62604 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62606         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
62608         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
62609         HURD_CRITICAL_END around holding _hurd_dtable_lock.
62610         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
62611         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
62612         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
62613         d->port.lock.
62615         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
62616         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
62617         when handler == SIG_ERR, not when handler != SIG_ERR.
62619 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62621         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
62622         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
62623         definitions.
62625         accept4 for GNU Hurd.
62626         * include/sys/socket.h (__libc_accept4): New prototype.
62627         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
62628         to implement __libc_accept4.
62629         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
62630         __libc_accept4.
62631         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
62633         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
62634         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
62635         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
62636         signal-defines.sym.
62638 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62640         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
62642 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62644         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
62645         assertion on O_CLOEXEC flag.
62646         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
62647         * hurd/intern-fd.c: Likewise.
62648         * hurd/port2fd.c: Likewise.
62650 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62652         [BZ #3906]
62653         * bits/in.h (IPV6_PKTINFO): Define new macro.
62654         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
62656 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62658         [BZ #13954]
62659         [BZ #13955]
62660         [BZ #13956]
62661         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
62662         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
62663         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
62664         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
62665         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
62666         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
62667         * math/libm-test.inc (logb_test) : Additional logb tests.
62669 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
62670             Andreas Jaeger  <aj@suse.de>
62672         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
62673         * configure: Regenerated.
62674         * config.h.in (LINK_OBSOLETE_RPC): New macro.
62675         * config.make.in (link-obsolete-rpc): New substituted variable.
62676         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
62677         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
62678         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
62679         (shared-only-routines): Don't set it under [link-obsolete-rpc],
62680         so that libc.a contains the symbols.
62681         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
62682         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
62683         * sunrpc/auth_none.c: Likewise.
62684         * sunrpc/auth_unix.c: Likewise.
62685         * sunrpc/authdes_prot.c: Likewise.
62686         * sunrpc/authuxprot.c: Likewise.
62687         * sunrpc/clnt_gen.c: Likewise.
62688         * sunrpc/clnt_perr.c: Likewise.
62689         * sunrpc/clnt_raw.c: Likewise.
62690         * sunrpc/clnt_simp.c: Likewise.
62691         * sunrpc/clnt_tcp.c: Likewise.
62692         * sunrpc/clnt_udp.c: Likewise.
62693         * sunrpc/clnt_unix.c: Likewise.
62694         * sunrpc/des_crypt.c: Likewise.
62695         * sunrpc/des_soft.c: Likewise.
62696         * sunrpc/get_myaddr.c: Likewise.
62697         * sunrpc/key_call.c: Likewise.
62698         * sunrpc/key_prot.c: Likewise.
62699         * sunrpc/netname.c: Likewise.
62700         * sunrpc/pm_getmaps.c: Likewise.
62701         * sunrpc/pm_getport.c: Likewise.
62702         * sunrpc/pmap_clnt.c: Likewise.
62703         * sunrpc/pmap_prot.c: Likewise.
62704         * sunrpc/pmap_prot2.c: Likewise.
62705         * sunrpc/pmap_rmt.c: Likewise.
62706         * sunrpc/publickey.c: Likewise.
62707         * sunrpc/rpc_cmsg.c: Likewise.
62708         * sunrpc/rpc_common.c: Likewise.
62709         * sunrpc/rpc_dtable.c: Likewise.
62710         * sunrpc/rpc_prot.c: Likewise.
62711         * sunrpc/rpc_thread.c: Likewise.
62712         * sunrpc/rtime.c: Likewise.
62713         * sunrpc/svc.c: Likewise.
62714         * sunrpc/svc_auth.c: Likewise.
62715         * sunrpc/svc_raw.c: Likewise.
62716         * sunrpc/svc_run.c: Likewise.
62717         * sunrpc/svc_tcp.c: Likewise.
62718         * sunrpc/svc_udp.c: Likewise.
62719         * sunrpc/svc_unix.c: Likewise.
62720         * sunrpc/svcauth_des.c: Likewise.
62721         * sunrpc/xcrypt.c: Likewise.
62722         * sunrpc/xdr.c: Likewise.
62723         * sunrpc/xdr_array.c: Likewise.
62724         * sunrpc/xdr_float.c: Likewise.
62725         * sunrpc/xdr_intXX_t.c: Likewise.
62726         * sunrpc/xdr_mem.c: Likewise.
62727         * sunrpc/xdr_rec.c: Likewise.
62728         * sunrpc/xdr_ref.c: Likewise.
62729         * sunrpc/xdr_sizeof.c: Likewise.
62730         * sunrpc/xdr_stdio.c: Likewise.
62732 2012-05-10  Roland McGrath  <roland@hack.frob.com>
62734         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
62735         change.  Update copyright years.
62737 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
62739         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
62741 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
62742             Joseph Myers  <joseph@codesourcery.com>
62743             Paul Pluzhnikov  <ppluzhnikov@google.com>
62745         [BZ #14012]
62746         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
62747         requiring rpcgen.
62748         [cross-compiling] (extra-libs): Likewise.
62749         [cross-compiling] (extra-libs-others): Likewise.
62750         [cross-compiling] (librpcsvc-routines): Likewise.
62751         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
62752         [cross-compiling] (omit-deps): Likewise.
62753         (sunrpc-CPPFLAGS): New variable.
62754         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
62755         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
62756         (cross-rpcgen-objs): New variable.
62757         (extra-objs): Append $(cross-rpcgen-objs).
62758         ($(cross-rpcgen-objs)): New rule.
62759         ($(objpfx)cross-rpcgen): Likewise.
62760         (rpcgen-cmd): Define to use $(built-program-file).  Expand
62761         comment.
62762         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
62763         ($(objpfx)x%.stmp): Likewise.
62764         * sunrpc/proto.h [IS_IN_build] (_): Define.
62765         [IS_IN_build] (_libc_intl_domainname): Likewise.
62767 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
62769         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
62770         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
62771         and R_X86_64_TPOFF64.
62773 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
62775         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
62776         sysdeps/unix/sysv/syscalls.list.
62777         (stime): Likewise.
62778         (utime): Likewise.
62779         * sysdeps/unix/sysv/syscalls.list: Remove file.
62781 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
62783         [BZ #3440]
62784         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
62785         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
62786         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
62787         (__LC_IDENTIFICATION): Make these macros useful in #if
62788         expressions, as required by C99.
62790 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
62792         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
62793         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
62794         after this.
62796 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
62798         * stdlib/longlong.h: Updated from GCC.
62800 2012-05-09  Andreas Jaeger  <aj@suse.de>
62802         * nscd/nscd.c (run_modes): Make named enum, reorder so that
62803         default is first entry.
62804         (run_mode): Set type.
62805         (main): Remove informal message about syslog.
62806         (options): Fix typo.
62808         [BZ #14053]
62809         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
62810         to asm.
62811         (lrint): Likewise.
62812         (llrintf): Likewise.
62813         (llrint): Likewise.
62814         (rint): Likewise.
62815         (rintf): Likewise.
62816         (nearbyint): Likewise.
62817         (nearbyintf): Likewise.
62819 2012-05-09  Andreas Jaeger  <aj@suse.de>
62820             Pedro Alves  <palves@redhat.com>
62822         * nscd/nscd.c (run_mode): Use enum.
62823         (main): Cleanup coding style issue.
62825 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
62826             Andreas Jaeger  <aj@suse.de>
62828         * nscd/nscd.c (go_background): Replaced with...
62829         (run_mode): ... this.
62830         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
62831         (options): Add -F --foreground.
62832         (main): Implement it.
62833         (parse_opt): Parse it.
62835 2012-05-09  Andreas Jaeger  <aj@suse.de>
62837         [BZ #14083]
62838         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
62839         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
62840         -Wconversion warning.
62841         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
62842         Likewise.
62844 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
62846         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
62847         == 0.
62848         (LC_ALL): Use macro-int-constant.
62849         (LC_COLLATE): Likewise.
62850         (LC_CTYPE): Likewise.
62851         (LC_MESSAGES): Likewise.
62852         (LC_MONETARY): Likewise.
62853         (LC_NUMERIC): Likewise.
62854         (LC_TIME): Likewise.
62855         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
62856         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
62857         [ISO || ISO99 || ISO11] (*_t): Do not allow.
62858         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
62859         Specify type.
62860         [C99-based standards] (float_t): Expect type.
62861         [C99-based standards] (double_t): Expect type.
62862         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
62863         type.
62864         [C99-based standards] (HUGE_VALL): Likewise.
62865         [C99-based standards] (INFINITY): Likewise.
62866         [C99-based standards] (NAN): Likewise.
62867         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
62868         [C99-based standards] (FP_NAN): Likewise.
62869         [C99-based standards] (FP_NORMAL): Likewise.
62870         [C99-based standards] (FP_SUBNORMAL): Likewise.
62871         [C99-based standards] (FP_ZERO): Likewise.
62872         [C99-based standards] (FP_FAST_FMA): Use
62873         optional-macro-int-constant.  Specify type.  Require == 1.
62874         [C99-based standards] (FP_FAST_FMAF): Likewise.
62875         [C99-based standards] (FP_FAST_FMAL): Likewise.
62876         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
62877         [C99-based standards] (FP_ILOGBNAN): Likewise.
62878         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
62879         Specify type.
62880         [C99-based standards] (MATH_ERREXCEPT): Likewise.
62881         [C99-based standards] (math_errhandling): Specify type.
62882         [ISO99 || ISO11] (signgam): Do not allow.
62883         [non-C99-based standards] (copysignf): Do not allow.
62884         [non-C99-based standards] (exp2f): Likewise.
62885         [non-C99-based standards] (log2f): Likewise.
62886         [non-C99-based standards] (modff): Allow.
62887         [non-C99-based standards] (erff): Do not allow.
62888         [non-C99-based standards] (erfcf): Likewise.
62889         [non-C99-based standards] (gammaf): Likewise.
62890         [non-C99-based standards] (hypotf): Likewise.
62891         [non-C99-based standards] (j0f): Likewise.
62892         [non-C99-based standards] (j1f): Likewise.
62893         [non-C99-based standards] (jnf): Likewise.
62894         [non-C99-based standards] (lgammaf): Likewise.
62895         [non-C99-based standards] (tgammaf): Likewise.
62896         [non-C99-based standards] (y0f): Likewise.
62897         [non-C99-based standards] (y1f): Likewise.
62898         [non-C99-based standards] (ynf): Likewise.
62899         [non-C99-based standards] (isnanf): Likewise.
62900         [non-C99-based standards] (acoshf): Likewise.
62901         [non-C99-based standards] (asinhf): Likewise.
62902         [non-C99-based standards] (atanhf): Likewise.
62903         [non-C99-based standards] (cbrtf): Likewise.
62904         [non-C99-based standards] (expm1f): Likewise.
62905         [non-C99-based standards] (ilogbf): Likewise.
62906         [non-C99-based standards] (log1pf): Likewise.
62907         [non-C99-based standards] (logbf): Likewise.
62908         [non-C99-based standards] (nextafterf): Likewise.
62909         [non-C99-based standards] (remainderf): Likewise.
62910         [non-C99-based standards] (rintf): Likewise.
62911         [non-C99-based standards] (scalbf): Likewise.
62912         [non-C99-based standards] (copysignl): Likewise.
62913         [non-C99-based standards] (exp2l): Likewise.
62914         [non-C99-based standards] (log2l): Likewise.
62915         [non-C99-based standards] (modfl): Allow.
62916         [non-C99-based standards] (erfl): Do not allow.
62917         [non-C99-based standards] (erfcl): Likewise.
62918         [non-C99-based standards] (gammal): Likewise.
62919         [non-C99-based standards] (hypotl): Likewise.
62920         [non-C99-based standards] (j0l): Likewise.
62921         [non-C99-based standards] (j1l): Likewise.
62922         [non-C99-based standards] (jnl): Likewise.
62923         [non-C99-based standards] (lgammal): Likewise.
62924         [non-C99-based standards] (tgammal): Likewise.
62925         [non-C99-based standards] (y0l): Likewise.
62926         [non-C99-based standards] (y1l): Likewise.
62927         [non-C99-based standards] (ynl): Likewise.
62928         [non-C99-based standards] (isnanl): Likewise.
62929         [non-C99-based standards] (acoshl): Likewise.
62930         [non-C99-based standards] (asinhl): Likewise.
62931         [non-C99-based standards] (atanhl): Likewise.
62932         [non-C99-based standards] (cbrtl): Likewise.
62933         [non-C99-based standards] (expm1l): Likewise.
62934         [non-C99-based standards] (ilogbl): Likewise.
62935         [non-C99-based standards] (log1pl): Likewise.
62936         [non-C99-based standards] (logbl): Likewise.
62937         [non-C99-based standards] (nextafterl): Likewise.
62938         [non-C99-based standards] (remainderl): Likewise.
62939         [non-C99-based standards] (rintl): Likewise.
62940         [non-C99-based standards] (scalbl): Likewise.
62941         [ISO || ISO99 || ISO11] (*_t): Do not allow.
62942         [non-C99-based standards] (FP_*): Do not allow.
62943         [C99-based standards] (FP_*): Change to
62944         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
62945         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
62946         allow.
62947         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
62948         (SIG_ERR): Likewise.
62949         [X/Open-based standards] (SIG_HOLD): Likewise.
62950         (SIG_IGN): Likewise.
62951         (SIGABRT): Use macro-int-constant.  Specify type.  Require
62952         positive value.
62953         (SIGFPE): Likewise.
62954         (SIGILL): Likewise.
62955         (SIGINT): Likewise.
62956         (SIGSEGV): Likewise.
62957         (SIGTER): Likewise.
62958         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
62959         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
62960         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
62961         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
62962         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
62963         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
62964         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
62965         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
62966         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
62967         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
62968         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
62969         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
62970         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
62971         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
62972         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
62973         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
62974         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
62975         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
62976         [X/Open-based standards] (SIGTRAP): Likewise.
62977         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
62978         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
62979         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
62980         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
62981         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
62982         allow.
62984 2012-05-08  Ian Wienand  <ianw@vmware.com>
62986         [BZ #14080]
62987         * time/tzset.c (__tzset_parse_tz): Update default rules for
62988         daylight time changes in the Energy Policy Act of 2005.
62990 2012-05-09  Andreas Jaeger  <aj@suse.de>
62992         [BZ #13983]
62993         * elf/ldconfig.c (parse_conf): Change string to make clear that
62994         ldconfig only issued a warning if ld.so.conf does not exist.
62996 2012-05-08  David S. Miller  <davem@davemloft.net>
62998         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
62999         movxtod instead of popping the value on the stack.
63001         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63003 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
63005         * config.h.in: Add HAVE_ARM_PCS_VFP.
63007 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
63009         [BZ #13979]
63010         * include/features.h: Warn if user requests __FORTIFY_SOURCE
63011         checking but the checks are disabled for any reason.
63013 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
63015         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
63016         and ELF64_R_TYPE with ELFW(R_TYPE).
63018 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
63020         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
63021         (ulimit): Likewise.
63023         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
63024         (settimeofday): Likewise.
63026 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
63028         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
63029         a struct th_u2 inside the union, and move tu_block/tu_code into
63030         a new th_u3 union of tu_block/tu_code inside of that.  Move
63031         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
63032         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
63033         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
63034         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
63035         (th_stuff): Change to th_u1.tu_stuff.
63036         (th_data): Define.
63037         (th_msg): Change to th_u1.th_u2.tu_data.
63039 2012-05-07  David S. Miller  <davem@davemloft.net>
63041         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63043         [BZ #14074]
63044         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
63045         (SETUP_PIC_REG): Use it.
63046         (SETUP_PIC_REG_LEAF): Use it.
63048 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
63050         [BZ #13885]
63051         [BZ #13923]
63052         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
63053         USE_AS_EXPM1L.
63054         (EXPL_FINITE): Likewise.
63055         (FLDLOG): Likewise.
63056         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
63057         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
63058         e_expl.S.
63059         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
63060         USE_AS_EXPM1L.
63061         (EXPL_FINITE): Likewise.
63062         (FLDLOG): Likewise.
63063         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
63064         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
63065         e_expl.S.
63066         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
63067         test of -max_value argument for long double.
63068         * sysdeps/i386/fpu/libm-test-ulps: Update.
63069         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63071 2012-05-06  David S. Miller  <davem@davemloft.net>
63073         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
63074         quad soft-float symbols whose references which are compiler
63075         generated.
63076         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
63078 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
63080         [BZ #13884]
63081         [BZ #13914]
63082         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
63083         USE_AS_EXP10L.
63084         (EXPL_FINITE): Likewise.
63085         (FLDLOG): Likewise.
63086         (c0): Likewise.
63087         (c1): Likewise.
63088         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
63089         Adjust comments for base varying.
63090         (__expl_finite): Change alias to EXPL_FINITE.
63091         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
63092         e_expl.S.
63093         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
63094         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
63095         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
63096         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
63097         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
63098         USE_AS_EXP10L.
63099         (EXPL_FINITE): Likewise.
63100         (FLDLOG): Likewise.
63101         (c0): Likewise.
63102         (c1): Likewise.
63103         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
63104         Adjust comments for base varying.
63105         (__expl_finite): Change alias to EXPL_FINITE.
63106         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
63107         tests for bugs.
63108         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63110         [BZ #14064]
63111         * math/libm-test.inc (check_float_internal): Correct ulp
63112         calculation for subnormal expected results.
63114 2012-05-06  Andreas Jaeger  <aj@suse.de>
63116         * Makeconfig (+math-flags): New, set to -frounding-math.
63117         (+cflags): Add +math-flags so that all of glibc gets compiled with
63118         it.
63120         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
63122 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
63124         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
63125         Disable one test.
63127         [BZ #13787]
63128         [BZ #13922]
63129         [BZ #14036]
63130         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
63131         (__ieee754_expl): Allow for and saturate large arguments.
63132         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
63133         (u_threshold): Likewise.
63134         (__exp): Call __ieee754_exp before checking for overflow and
63135         underflow.
63136         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
63137         (u_threshold): Likewise.
63138         (__expf): Call __ieee754_expf before checking for overflow and
63139         underflow.
63140         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
63141         (u_threshold): Likewise.
63142         (__expl): Call __ieee754_expl before checking for overflow and
63143         underflow.
63144         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
63145         (__ieee754_expl): Allow for and saturate large arguments.
63146         * math/libm-test.inc (exp_test): Add another test.  Do not allow
63147         missing overflow exception on overflow.
63148         (expm1_test): Do not allow missing overflow exception on overflow.
63150         * sysdeps/i386/fpu/e_expl.c: Move to ...
63151         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
63152         rather than using inline asm.
63153         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
63154         * sysdeps/x86_64/fpu/e_expl.S: Copy from
63155         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
63157         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
63158         (nice): Likewise.
63159         (poll): Likewise.
63160         (signal): Likewise.
63161         (time): Likewise.
63162         (times): Likewise.
63164 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
63166         * sysdeps/unix/syscalls.list (adjtime): Add entry from
63167         sysdeps/unix/common/syscalls.list.
63168         (fchmod): Likewise.
63169         (fchown): Likewise.
63170         (ftruncate): Likewise.
63171         (getrusage): Likewise.
63172         (gettimeofday): Likewise.
63173         (setpgid): Likewise.
63174         (setregid): Likewise.
63175         (setreuid): Likewise.
63176         (sigaction): Likewise.
63177         (truncate): Likewise.
63178         (vhangup): Likewise.
63179         * sysdeps/unix/common/syscalls.list: Remove file.
63180         * sysdeps/unix/bsd/Implies: Don't include unix/common.
63181         * sysdeps/unix/sysv/linux/Implies: Likewise.
63183 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
63185         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
63186         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
63187         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
63188         Moved to ...
63189         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
63190         Here.
63191         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
63192         to ...
63193         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
63194         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
63195         to ...
63196         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
63197         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
63198         to ...
63199         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
63200         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
63201         to ...
63202         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
63203         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
63204         to ...
63205         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
63206         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
63207         to ...
63208         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
63209         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
63210         to ...
63211         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
63212         Here.
63213         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
63214         to ...
63215         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
63216         Here.
63217         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
63218         to ...
63219         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
63220         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
63221         Moved to ...
63222         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
63223         Here.
63224         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
63225         to ...
63226         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
63228 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
63230         * sysdeps/unix/common/bits/dirent.h: Remove file.
63231         * sysdeps/unix/common/bits/fcntl.h: Likewise.
63233         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
63234         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
63235         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
63236         * sysdeps/unix/bsd/isatty.c: Likewise.
63237         * sysdeps/unix/bsd/tcdrain.c: Likewise.
63238         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
63239         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
63241 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63243         [BZ #13563]
63244         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
63245         long double comparison inaccuracies.
63246         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
63247         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63249 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
63251         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
63252         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
63254 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
63256         [BZ #14049]
63257         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
63258         nonzero digits before rounding a hex value.
63259         * stdlib/tst-strtod.c (tests): Add another test.
63261 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63263         * sysdeps/s390/fpu/libm-test-ulps: Update.
63265 2012-05-03  Andreas Jaeger  <aj@suse.de>
63267         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
63268         does not get optimized out.
63269         (malloc_opt_barrier): New.
63271 2012-05-03  Andreas Jaeger  <aj@suse.de>
63272             Roland McGrath  <roland@hack.frob.com>
63274         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
63275         intermediate file deletion.
63276         (generated): Add .symlist files.
63278 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
63280         [BZ #13775]
63281         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
63282         Redirect under this condition.
63283         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
63284         [__USE_GNU] (__dprintf_chk): Not under this condition.
63285         [__USE_GNU] (__vdprintf_chk): Likewise.
63286         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
63287         under this condition.
63288         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
63289         [__USE_XOPEN2K8] (dprintf): Define under this condition.
63290         [__USE_XOPEN2K8] (vdprintf): Likewise.
63291         [__USE_GNU] (__dprintf_chk): Not under this condition.
63292         [__USE_GNU] (__vdprintf_chk): Likewise.
63293         [__USE_GNU] (dprintf): Likewise.
63294         [__USE_GNU] (vdprintf): Likewise.
63296 2012-05-03  Roland McGrath  <roland@hack.frob.com>
63298         * elf/Makefile (common-generated): Set this instead of generated for
63299         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
63300         $(all-built-dso)-derived lists.
63302 2012-05-03  Andreas Jaeger  <aj@suse.de>
63304         * sysdeps/i386/fpu/libm-test-ulps: Update.
63306         * FAQ: Removed.
63307         * FAQ.in: Likewise.
63308         * scripts/gen-FAQ.pl: Likewise.
63309         * manual/install.texi (Installation): Point to online location of
63310         FAQ.
63311         * Makefile (files-for-dist): Remove FAQ.
63312         (FAQ): Remove.
63314 2012-05-02  Allan McRae  <allan@archlinux.org>
63316         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
63317         (LDFLAGS-reldepmod5.so): Likewise.
63318         (LDFLAGS-reldep6mod1.so): Likewise.
63319         (LDFLAGS-reldep6mod4.so): Likewise.
63320         (LDFLAGS-reldep8mod3.so): Likewise.
63321         (LDFLAGS-unload4mod1.so): Likewise.
63322         (LDFLAGS-unload4mod2.so): Likewise.
63323         (LDFLAGS-tst-initorder): Likewise.
63324         (LDFLAGS-tst-initordera2.so): Likewise.
63325         (LDFLAGS-tst-initordera3.so): Likewise.
63326         (LDFLAGS-tst-initordera4.so): Likewise.
63327         (LDFLAGS-tst-initorderb2.so): Likewise.
63328         (LDFLAGS-noload): Likewise.
63329         (LDFLAGS-next): Likewise.
63330         (LDFLAGS-order2mod1.so): Likewise.
63331         (LDFLAGS-order2mod2.so): Likewise.
63332         (LDFLAGS-tst-initorder2): Likewise.
63333         (LDFLAGS-tst-initorder2a.so): Likewise.
63334         (LDFLAGS-tst-initorder2b.so): Likewise.
63335         (LDFLAGS-tst-initorder2c.so): Likewise.
63336         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
63338 2012-05-02  David S. Miller  <davem@davemloft.net>
63340         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63342 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
63344         [BZ #14055]
63345         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
63347 2012-05-02  Andreas Jaeger  <aj@suse.de>
63349         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
63350         since we manipulate rounding mode.
63351         (CPPFLAGS-test-idouble.c): Likewise.
63352         (CPPFLAGS-test-ifloat.c): Likewise.
63353         (CFLAGS-test-ldouble.c): Likewise.
63354         (CFLAGS-test-double.c): Likewise.
63355         (CFLAGS-test-float.c): Likewise.
63356         (CFLAGS-test-misc.c): Likewise.
63357         (CFLAGS-test-test-fenv.c): Likewise.
63359 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63361         [BZ #2550]
63362         [BZ #2570]
63363         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
63364         comparisons to determine direction to adjust input.
63366 2012-05-01  Roland McGrath  <roland@hack.frob.com>
63368         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
63369         output to the target.
63371         * scripts/localplt.awk: New file.
63372         * elf/Makefile ($(objpfx)check-localplt): Target removed.
63373         (check-localplt-CFLAGS): Variable removed.
63374         ($(all-built-dso:=.jmprel)): New static pattern rule.
63375         (generated): Add those targets.
63376         (localplt-built-dso): New variable.
63377         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
63379         * elf/check-localplt.c: File removed.
63381         * scripts/check-execstack.awk: New file.
63382         * elf/Makefile ($(objpfx)check-execstack): Target removed.
63383         (check-execstack-CFLAGS): Variable removed.
63384         ($(objpfx)check-execstack.h): Target removed.
63385         ($(objpfx)execstack-default): New target.
63386         (generated): Add that instead of check-execstack.h.
63387         ($(all-built-dso:=.phdr)): New static pattern rule.
63388         (generated): Add those targets.
63389         * elf/check-execstack.c: File removed.
63391         * scripts/check-textrel.awk: New file.
63392         * elf/Makefile ($(objpfx)check-textrel): Target removed.
63393         (check-textrel-CFLAGS): Variable removed.
63394         (all-built-dso): Use := to define.o
63395         ($(all-built-dso:=.dyn)): New static pattern rule.
63396         (generated): Add those targets.
63397         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
63398         * config.make.in (READELF): New substituted variable.
63399         * elf/check-textrel.c: File removed.
63401 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
63403         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
63404         allow.
63405         * conform/data/ctype.h-data [C99-based standards] (isblank):
63406         Expect function.
63407         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
63408         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
63409         [ISO || ISO99 || ISO11] (*_t): Do not allow.
63410         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
63411         Specify type.  Require positive value.
63412         (EILSEQ): Likewise.
63413         (ERANGE): Likewise.
63414         [ISO || POSIX] (EILSEQ): Do not expect.
63415         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
63416         Specify type.  Require positive value.
63417         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
63418         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
63419         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
63420         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
63421         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
63422         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
63423         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
63424         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
63425         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
63426         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
63427         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
63428         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
63429         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
63430         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
63431         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
63432         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
63433         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
63434         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
63435         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
63436         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
63437         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
63438         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
63439         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
63440         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
63441         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
63442         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
63443         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
63444         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
63445         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
63446         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
63447         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
63448         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
63449         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
63450         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
63451         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
63452         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
63453         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
63454         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
63455         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
63456         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
63457         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
63458         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
63459         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
63460         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
63461         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
63462         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
63463         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
63464         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
63465         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
63466         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
63467         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
63468         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
63469         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
63470         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
63471         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
63472         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
63473         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
63474         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
63475         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
63476         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
63477         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
63478         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
63479         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
63480         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
63481         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
63482         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
63483         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
63484         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
63485         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
63486         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
63487         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
63488         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
63489         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
63490         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
63491         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
63492         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
63493         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
63494         Require >= 2.
63495         (FLT_ROUNDS): Expect as macro, not constant.
63496         (FLT_MANT_DIG): Use macro-int-constant.
63497         (DBL_MANT_DIG): Likewise.
63498         (LDBL_MANT_DIG): Likewise.
63499         (FLT_DIG): Likewise.
63500         (DBL_DIG): Likewise.
63501         (LDBL_DIG): Likewise.
63502         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
63503         (DBL_MIN_EXP): Likewise.
63504         (LDBL_MIN_EXP): Likewise.
63505         (FLT_MAX_EXP): Use macro-int-constant.
63506         (DBL_MAX_EXP): Likewise.
63507         (LDBL_MAX_EXP): Likewise.
63508         (FLT_MAX_10_EXP): Likewise.
63509         (DBL_MAX_10_EXP): Likewise.
63510         (LDBL_MAX_10_EXP): Likewise.
63511         (FLT_MAX): Use macro-constant.
63512         (DBL_MAX): Likewise.
63513         (LDBL_MAX): Likewise.
63514         (FLT_EPSILON): Use macro-constant.  Give upper bound.
63515         (DBL_EPSILON): Likewise.
63516         (LDBL_EPSILON): Likewise.
63517         (FLT_MIN): Likewise.
63518         (DBL_MIN): Likewise.
63519         (LDBL_MIN): Likewise.
63520         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
63521         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
63522         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
63523         [ISO11] (FLT_HAS_SUBNORM): Likewise.
63524         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
63525         [ISO11] (DBL_DECIMAL_DIG): Likewise.
63526         [ISO11] (FLT_DECIMAL_DIG): Likewise.
63527         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
63528         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
63529         [ISO11] (FLT_TRUE_MIN): Likewise.
63530         [ISO11] (LDBL_TRUE_MIN): Likewise.
63531         [ISO || ISO99 || ISO11] (*_t): Do not allow.
63532         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
63533         (SCHAR_MIN): Use macro-int-constant.  Specify type.
63534         (SCHAR_MAX): Likewise.
63535         (UCHAR_MAX): Likewise.
63536         (CHAR_MIN): Likewise.
63537         (CHAR_MAX): Likewise.
63538         (MB_LEN_MAX): Use macro-int-constant.
63539         (SHRT_MIN): Use macro-int-constant.  Specify type.
63540         (SHRT_MAX): Likewise.
63541         (USHRT_MAX): Likewise.
63542         (INT_MAX): Likewise.
63543         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
63544         bound negative.
63545         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
63546         bound with "U".
63547         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
63548         bound with "L".
63549         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
63550         bound negative.  Suffix upper bound with "L".
63551         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
63552         bound with "UL".
63553         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
63554         Specify type.
63555         [C99-based standards] (LLONG_MAX): Likewise.
63556         [C99-based standards] (ULLONG_MAX): Likewise.
63557         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
63558         == 0.
63559         [ISO11] (max_align_t): Require type.
63560         [ISO || ISO99 || ISO11] (*_t): Do not allow.
63562         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
63563         from $CFLAGS, without defining away __attribute__ calls.
63564         (checknamespace): Use $CFLAGS_namespace.
63566         * conform/conformtest.pl (@keywords): Only include C99 keywords
63567         for standards based on C99 or C11.
63569         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
63570         Disable tests.
63571         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
63572         UNIX98]: Likewise.
63574         * conform/conformtest.pl: Handle "macro-int-constant" and test for
63575         usability of symbols in #if.
63577         * conform/conformtest.pl: If macro or constant types start
63578         "promoted:", expect the symbol to be of the following type
63579         promoted by the integer promotions.
63581         * conform/conformtest.pl: Parse all "constant" and "macro" lines
63582         in one place.  Also handle "macro-constant".
63584         * conform/conformtest.pl: Only accept expected macro values with
63585         "==".  Parse all "macro" lines in one place.
63586         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
63588         * conform/conformtest.pl: Handle braced types on "constant" lines
63589         instead of handling "typed-constant".
63590         * conform/data/signal.h-data: Use "constant" instead of
63591         "typed-constant".
63593         * conform/conformtest.pl: Handle "optional-" at start of lines in
63594         one place rather than duplicating several cases.  Handle each
63595         format of "macro" line with initial "optional-".
63597         * conform/conformtest.pl: Only accept expected constant or
63598         optional-constant values with "==".  Parse all "constant" lines in
63599         one place.  Parse all "optional-constant" lines in one place.
63600         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
63601         * conform/data/fmtmsg.h-data: Likewise.
63602         * conform/data/netinet/in.h-data: Likewise.
63603         * conform/data/tar.h-data: Likewise.
63604         * conform/data/limits.h-data: Use "==" form on "constant" and
63605         "optional-constant" lines.
63607         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
63608         Use -std=c99 for XOPEN2K.
63609         (@knownproblems): Remove.
63610         (newtoken): Don't check %isknown.
63612         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
63613         Do not expect macro.
63614         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
63615         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
63616         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
63617         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
63618         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
63619         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
63620         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
63621         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
63622         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
63623         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
63624         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
63625         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
63626         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
63627         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
63628         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
63629         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
63630         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
63631         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
63632         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
63633         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
63634         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
63635         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
63636         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
63637         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
63638         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
63639         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
63640         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
63641         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
63642         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
63643         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
63644         [XPG3] (acosh): Likewise.
63645         [XPG3] (asinh): Likewise.
63646         [XPG3] (atanh): Likewise.
63647         [XPG3] (cbrt): Likewise.
63648         [XPG3] (expm1): Likewise.
63649         [XPG3] (ilogb): Likewise.
63650         [XPG3] (log1p): Likewise.
63651         [XPG3] (logb): Likewise.
63652         [XPG3] (nextafter): Likewise.
63653         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
63654         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
63655         [XPG3] (remainder): Likewise.
63656         [XPG3] (rint): Likewise.
63657         [XPG3 || XPG4 || UNIX98] (round): Likewise.
63658         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
63659         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
63660         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
63661         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
63662         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
63663         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
63664         [UNIX98 || XOPEN2K] (scalb): Expect.
63665         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
63666         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
63667         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
63668         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
63669         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
63670         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
63671         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
63672         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
63673         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
63674         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
63675         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
63676         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
63677         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
63678         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
63679         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
63680         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
63681         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
63682         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
63683         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
63684         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
63685         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
63686         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
63687         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
63688         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
63689         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
63690         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
63691         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
63692         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
63693         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
63694         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
63695         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
63696         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
63697         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
63698         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
63699         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
63700         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
63701         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
63702         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
63703         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
63704         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
63705         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
63706         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
63707         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
63708         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
63709         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
63710         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
63711         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
63712         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
63713         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
63714         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
63715         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
63716         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
63717         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
63718         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
63719         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
63720         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
63721         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
63722         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
63723         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
63724         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
63725         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
63726         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
63727         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
63728         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
63729         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
63730         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
63731         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
63732         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
63733         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
63734         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
63735         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
63736         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
63737         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
63738         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
63739         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
63740         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
63741         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
63742         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
63743         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
63744         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
63745         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
63746         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
63747         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
63748         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
63749         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
63750         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
63751         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
63752         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
63753         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
63754         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
63755         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
63756         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
63757         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
63758         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
63759         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
63760         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
63761         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
63762         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
63763         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
63764         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
63765         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
63766         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
63767         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
63768         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
63769         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
63770         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
63771         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
63772         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
63773         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
63774         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
63775         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
63776         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
63777         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
63778         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
63779         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
63780         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
63781         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
63782         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
63783         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
63784         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
63785         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
63786         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
63787         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
63788         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
63789         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
63790         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
63791         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
63792         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
63793         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
63794         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
63795         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
63796         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
63797         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
63798         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
63799         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
63800         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
63801         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
63803         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
63804         _XOPEN_SOURCE_EXTENDED for XPG4.
63806         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
63808         * Makeconfig (localtime): Remove variable.
63809         (inst_localtime-file): Likewise.
63811 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
63813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
63814         Update.
63815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
63816         Update.
63817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
63818         Update.
63819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
63820         Update.
63821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
63822         Update.
63823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
63824         Update.
63825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
63826         Update.
63827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
63828         Update.
63829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
63830         Update.
63832 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
63834         [BZ #2550]
63835         [BZ #2570]
63836         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
63837         comparisons to determine direction to adjust input.
63838         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
63839         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
63840         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
63841         Likewise.
63842         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
63843         Likewise.
63844         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
63845         Likewise.
63846         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
63847         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
63848         Likewise.
63849         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
63850         Likewise.
63851         * math/libm-test.inc (nexttoward_test): Add more tests.
63853 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
63855         [BZ #14040]
63856         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
63857         in version GLIBC_2.1, not GLIBC_2.0.
63858         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
63859         Likewise.
63861 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
63863         [BZ #13942]
63864         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
63865         (1 - x) * (1 + x).
63866         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
63867         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
63868         * math/libm-test.inc (acos_test): Add more tests.
63869         (asin_test): Likewise.
63870         * sysdeps/i386/fpu/libm-test-ulps: Update.
63871         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63873         [BZ #14034]
63874         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
63875         of square root.
63876         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
63877         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
63878         * math/libm-test.inc (acos_test_tonearest): New function.
63879         (acos_test_towardzero): Likewise.
63880         (acos_test_downward): Likewise.
63881         (acos_test_upward): Likewise.
63882         (asin_test_tonearest): Likewise.
63883         (asin_test_towardzero): Likewise.
63884         (asin_test_downward): Likewise.
63885         (asin_test_upward): Likewise.
63886         (main): Call the new functions.
63887         * sysdeps/i386/fpu/libm-test-ulps: Update.
63888         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63890         [BZ #13884]
63891         [BZ #13924]
63892         * math/e_exp10.c: Include <float.h>.
63893         (__ieee754_exp10): Handle underflow here rather than multiplying
63894         large negative argument by M_LN10.
63895         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
63896         of __ieee754_expf.
63897         * math/e_exp10l.c: Include <float.h>.
63898         (__ieee754_exp10l): Handle underflow here rather than multiplying
63899         large negative argument by M_LN10l.
63900         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
63901         spurious overflow exception on underflow.
63903 2012-04-29  Marek Polacek  <polacek@redhat.com>
63905         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
63906         (__fortify_function): New macro.
63907         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
63908         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
63909         __extern_always_inline.
63910         * libio/bits/stdio2.h: Likewise.
63911         * libio/bits/stdio.h: Likewise.
63912         * string/string.h: Likewise.
63913         * string/bits/string3.h: Likewise.
63914         * include/stdio.h: Likewise.
63915         * stdlib/bits/stdlib.h: Likewise.
63916         * stdlib/stdlib.h: Likewise.
63917         * rt/bits/mqueue2.h: Likewise.
63918         * rt/mqueue.h: Likewise.
63919         * posix/bits/unistd.h: Likewise.
63920         * posix/unistd.h: Likewise.
63921         * io/bits/poll2.h: Likewise.
63922         * io/bits/fcntl2.h: Likewise.
63923         * io/fcntl.h: Likewise.
63924         * io/sys/poll.h: Likewise.
63925         * misc/bits/syslog.h: Likewise.
63926         * misc/bits/syslog-ldbl.h: Likewise.
63927         * misc/sys/syslog.h: Likewise.
63928         * socket/bits/socket2.h: Likewise.
63929         * socket/sys/socket.h: Likewise.
63930         * debug/tst-chk1.c: Likewise.
63931         * wcsmbs/bits/wchar2.h: Likewise.
63932         * wcsmbs/bits/wchar-ldbl.h: Likewise.
63933         * wcsmbs/wchar.h: Likewise.
63935 2012-04-29  Andreas Jaeger  <aj@suse.de>
63937         * Makerules (tests): Remove enable-check-abi protection.
63938         (check-abi-warn): Remove.
63939         (check-abi-%): Remove check-abi-warn usage.
63941         * configure.in: Remove check-abi configure option.
63942         * configure: Regenerated.
63943         * config.make.in (enable-check-abi): Remove.
63945 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
63947         [BZ #14033]
63948         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
63949         double functions to double *_finite functions.
63951         [BZ #13941]
63952         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
63953         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
63954         LDBL_MIN_EXP.
63955         * stdio-common/Makefile (tests): Add tst-sprintf3.
63956         * stdio-common/tst-sprintf3.c: New file.
63958         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
63959         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
63961 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
63963         * conform/conformtest.pl: Remove duplicate typed-constant
63964         handling.
63966 2012-04-28  David S. Miller  <davem@davemloft.net>
63968         * Makerules (%.abilist): Add vpath on sysdep_dirs.
63969         (check-abi-%): Remove AWK script prerequisite and explicit
63970         abilist directory.
63971         (check-abi): Rewrite to just diff the symlist with the abilist.
63972         (config-tls, config-abi-config): Delete, no longer used.
63973         (update-abi-%): Remove AWK script and explicit abilist directory.
63974         (update-abi): Rewrite to simply compare and conditionally copy the
63975         symlist and the sysdep abilist file.  Remove update-abi-config
63976         checks.
63977         * abilist/ld.abilist: Remove.
63978         * abilist/libBrokenLocale.abilist: Remove.
63979         * abilist/libanl.abilist: Remove.
63980         * abilist/libcrypt.abilist: Remove.
63981         * abilist/libdl.abilist: Remove.
63982         * abilist/librt.abilist: Remove.
63983         * abilist/libthread_db.abilist: Remove.
63984         * abilist/libutil.abilist: Remove.
63985         * scripts/extract-abilist.awk: Remove.
63986         * scripts/merge-abilist.awk: Remove.
63987         * sysdeps/generic/libcidn.abilist: New file.
63988         * sysdeps/generic/libnss_compat.abilist: New file.
63989         * sysdeps/generic/libnss_db.abilist: New file.
63990         * sysdeps/generic/libnss_dns.abilist: New file.
63991         * sysdeps/generic/libnss_files.abilist: New file.
63992         * sysdeps/generic/libnss_hesiod.abilist: New file.
63993         * sysdeps/generic/libnss_nis.abilist: New file.
63994         * sysdeps/generic/libnss_nisplus.abilist: New file.
63995         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
63996         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
63997         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
63998         file.
63999         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
64000         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
64001         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
64002         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
64003         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
64004         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
64005         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
64006         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
64007         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
64008         file.
64009         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
64010         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
64011         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
64012         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
64013         file.
64014         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
64015         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
64016         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
64017         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
64018         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
64019         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
64020         file.
64021         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
64022         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
64023         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
64024         file.
64025         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
64026         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
64027         New file.
64028         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
64029         New file.
64030         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
64031         New file.
64032         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
64033         New file.
64034         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
64035         New file.
64036         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
64037         New file.
64038         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
64039         New file.
64040         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
64041         New file.
64042         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
64043         New file.
64044         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
64045         New file.
64046         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
64047         New file.
64048         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
64049         New file.
64050         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
64051         New file.
64052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
64053         file.
64054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
64055         New file.
64056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
64057         New file.
64058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
64059         file.
64060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
64061         New file.
64062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
64063         New file.
64064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
64065         file.
64066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
64067         New file.
64068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
64069         New file.
64070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
64071         New file.
64072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
64073         New file.
64074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
64075         New file.
64076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
64077         New file.
64078         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
64079         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
64080         file.
64081         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
64082         New file.
64083         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
64084         file.
64085         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
64086         file.
64087         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
64088         file.
64089         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
64090         file.
64091         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
64092         file.
64093         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
64094         New file.
64095         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
64096         file.
64097         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
64098         file.
64099         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
64100         New file.
64101         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
64102         file.
64103         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
64104         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
64105         file.
64106         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
64107         New file.
64108         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
64109         file.
64110         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
64111         file.
64112         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
64113         file.
64114         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
64115         file.
64116         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
64117         file.
64118         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
64119         New file.
64120         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
64121         file.
64122         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
64123         file.
64124         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
64125         New file.
64126         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
64127         file.
64128         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
64129         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
64130         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
64131         file.
64132         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
64133         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
64134         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
64135         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
64136         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
64137         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
64138         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
64139         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
64140         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
64141         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
64142         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
64143         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
64144         file.
64145         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
64146         New file.
64147         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
64148         file.
64149         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
64150         file.
64151         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
64152         file.
64153         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
64154         file.
64155         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
64156         file.
64157         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
64158         New file.
64159         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
64160         New file.
64161         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
64162         file.
64163         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
64164         New file.
64165         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
64166         file.
64167         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
64168         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
64169         file.
64170         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
64171         New file.
64172         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
64173         file.
64174         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
64175         file.
64176         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
64177         file.
64178         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
64179         file.
64180         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
64181         file.
64182         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
64183         New file.
64184         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
64185         New file.
64186         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
64187         file.
64188         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
64189         New file.
64190         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
64191         file.
64193 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
64195         * conform/conformtest.pl: Fix typo in handling typed-constant from
64196         allow-header.
64198 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
64200         * README: Cut down references to pre-2.6 Linux kernels and
64201         Linuxthreads.  Update lists of configurations in libc and ports
64202         and sort alphabetically.  Say "or newer" with Linux kernel version
64203         requirements.
64205         * config.h.in [IS_IN_build]: Allow compiling without optimization.
64207 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
64209         [BZ #887]
64210         * math/libm-test.inc (logb_test_downward): New test to expose
64211         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
64212         rounding mode.
64214 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
64216         [BZ #14027]
64217         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
64218         to be done.
64219         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
64220         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
64222 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
64224         * sysdeps/unix/i386/brk.S: Remove file.
64225         * sysdeps/unix/i386/dl-brk.S: Likewise.
64226         * sysdeps/unix/i386/pipe.S: Likewise.
64227         * sysdeps/unix/i386/sigreturn.S: Likewise.
64228         * sysdeps/unix/i386/syscall.S: Likewise.
64229         * sysdeps/unix/i386/vfork.S: Likewise.
64230         * sysdeps/unix/i386/wait.S: Likewise.
64232         * sysdeps/unix/common/tcsendbrk.c: Move to ...
64233         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
64235         * configure.in (arm*-none*): Do not allow without
64236         --enable-hacker-mode.
64237         (netbsd*): Remove case setting base_os.
64238         (386bsd*): Likewise.
64239         (freebsd*): Likewise.
64240         (bsdi*): Likewise.
64241         (osf*): Likewise.
64242         (sunos*): Likewise.
64243         (ultrix*): Likewise.
64244         (newsos*): Likewise.
64245         (dynix*): Likewise.
64246         (*bsd*): Likewise.
64247         (sysv*): Likewise.
64248         (isc*): Likewise.
64249         (esix*): Likewise.
64250         (sco*): Likewise.
64251         (minix*): Likewise.
64252         (irix4*): Likewise.
64253         (irix6*): Likewise.
64254         (solaris[2-9]*): Likewise.
64255         (none): Likewise.
64256         * configure: Regenerated.
64258 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64260         [BZ #11521]
64261         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
64262         overflow or cancellation in calculating denominator.
64263         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
64264         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
64265         down expression to avoid unexpected rounding in newer GCCs.
64266         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
64268 2012-04-26  David S. Miller  <davem@davemloft.net>
64270         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
64271         long-double compat symbols.
64272         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
64273         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
64274         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
64275         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
64276         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
64277         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
64278         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
64279         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
64280         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
64281         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
64282         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
64283         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
64284         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
64286 2012-04-25  David S. Miller  <davem@davemloft.net>
64288         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
64289         HWCAP_* values only after the memory barriers have been defined.
64290         (atomic_full_barrier): Define.
64291         (atomic_read_barrier): Define.
64292         (atomic_write_barrier): Define.
64294 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
64296         * shlib-versions: Add libgcc_s version information.
64297         * sysdeps/generic/libgcc_s.h: Remove.
64298         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
64299         libgcc_s.h.
64300         * sysdeps/gnu/unwind-resume.c: Likewise.
64301         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
64303 2012-04-25  David S. Miller  <davem@davemloft.net>
64305         * sysdeps/unix/sparc/brk.S: Delete.
64306         * sysdeps/unix/sparc/dl-brk.S: Delete.
64307         * sysdeps/unix/sparc/pipe.S: Delete.
64308         * sysdeps/unix/sparc/sysdep.S: Delete.
64309         * sysdeps/unix/sparc/sysdep.h: Delete.
64310         * sysdeps/unix/sparc/vfork.S: Delete.
64311         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
64312         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
64313         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
64314         (ret_ERRVAL, r0, r1, MOVE): Define.
64315         (JUMPTARGET): Remove.
64316         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
64317         sysdeps/unix/sparc/sysdep.h
64318         (ENTRY, END): Remove.
64319         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
64321 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
64323         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
64324         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
64325         -DIS_IN_build.
64327         * timezone/README: Update upstream location and email address for
64328         tzcode and tzdata.
64329         * timezone/zdump.c: Update from tzcode 2012b.
64330         * timezone/zic.c: Likewise.
64332         * configure.in (libc_cv_as_needed): Remove test.
64333         * configure: Regenerated.
64334         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
64335         conditional definition.
64336         [$(have-as-needed) != yes] (no-as-needed): Likewise.
64337         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
64338         * config.make.in (have-as-needed): Remove variable.
64340 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
64341             Paul Pluzhnikov  <ppluzhnikov@google.com>
64343         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
64344         strings correctly.
64346 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
64348         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
64349         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
64350         * sysdeps/sh/strlen.S: Likewise.
64352 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
64354         * sysdeps/unix/fork.S: Remove file.
64355         * sysdeps/unix/i386/fork.S: Likewise.
64356         * sysdeps/unix/sparc/fork.S: Likewise.
64358         * sysdeps/unix/system.c: Remove file.
64359         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
64361         * sysdeps/unix/getegid.S: Remove file.
64362         * sysdeps/unix/geteuid.S: Likewise.
64364 2012-04-24  Roland McGrath  <roland@hack.frob.com>
64366         * scripts/check-localplt.awk: New file.
64367         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
64368         of diff.
64369         * scripts/data/localplt-generic.data: Add a comment.
64371         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
64372         NODE when __dir_mkfile failed.
64373         * sysdeps/mach/hurd/symlinkat.c: Likewise.
64374         Reported by Ludovic Courtès <ludo@gnu.org>.
64376 2012-04-24  Andreas Jaeger  <aj@suse.de>
64378         * Makerules (common-clean): Also remove gen-as-const-headers
64379         files.
64381 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
64383         * Makerules (native-compile): Do not change working directory for
64384         build.  Use $(OUTPUT_OPTION) in command.
64385         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
64387 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64389         [BZ #13886]
64390         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
64391         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
64392         * math/libm-test.inc (floor_test): Add more tests.
64393         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
64395 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
64397         * sysdeps/unix/getdents.c: Remove file.
64398         * sysdeps/unix/sysv/getdents.c: Likewise.
64399         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
64401         * sysdeps/unix/syscalls.list (madvise): Add syscall from
64402         sysdeps/unix/mman/syscalls.list.
64403         (mmap): Likewise.
64404         (mprotect): Likewise.
64405         (msync): Likewise.
64406         (munmap): Likewise.
64407         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
64408         * sysdeps/unix/mman/syscalls.list: Remove.
64409         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
64411         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
64412         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
64413         * configure: Regenerated.
64414         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
64415         $(libgcc_s_suffix).
64416         * config.make.in (libgcc_s_suffix): Remove variable.
64418 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
64420         * sysdeps/unix/sysv/gethostname.c: Move to ...
64421         * sysdeps/posix/gethostname.c: ... here.
64423         * sysdeps/unix/execve.S: Remove file.
64425         * sysdeps/unix/_exit.S: Remove file.
64427 2012-04-23  Andreas Jaeger  <aj@suse.de>
64429         [BZ #13739]
64430         * manual/Makefile: Remove make dist support, there's no
64431         need for a stand-alone documentation tar ball.
64432         (TEXI2DVI): Define always, it's not in Makeconfig.
64433         (dist): Removed.
64434         (tar-it): Removed.
64435         (edition): Removed.
64436         (glibc-doc-$(edition).tar): Removed
64437         (%.Z): Removed.
64438         (%.gz): Removed.
64439         (%.uu): Removed.
64440         (ETAGS): Remove, it's in Makeconfig.
64441         (move-if-change): Remove, it's in Makeconfig.
64443 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
64445         [BZ #13970]
64446         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
64447         (strtod, strtof, strtold, strtol, strtoul, strtoq)
64448         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
64449         (strtod_l, strtof_l, strtold_l): Remove __wur.
64450         It is not necessarily an error to ignore strtol's return value.
64451         One can reliably look at the stored endptr to decide whether
64452         the number had valid syntax.
64454 2012-04-21  Andreas Jaeger  <aj@suse.de>
64456         [BZ #13739]
64457         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
64459 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
64461         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
64462         * sysdeps/unix/sysv/Versions: Remove file.
64464 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
64466         [BZ #13927]
64467         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64469 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
64471         [BZ #7064]
64472         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
64473         version from __vm86.
64475 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
64477         * sysdeps/unix/common/lxstat.c: Remove file.
64478         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
64480         * sysdeps/unix/sysv/Makefile: Remove file.
64482         * sysdeps/unix/sysv/direct.h: Remove file.
64484         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
64485         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
64486         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
64487         * sysdeps/unix/sysv/bits/signum.h: Likewise.
64488         * sysdeps/unix/sysv/bits/stat.h: Likewise.
64489         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
64490         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
64492         * sysdeps/unix/sysv/setrlimit.c: Remove file.
64494         * sysdeps/unix/xmknod.c: Remove file.
64495         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
64497         * sysdeps/unix/sysv/settimeofday.c: Remove file.
64499         * sysdeps/unix/sysv/i386/time.S: Remove file.
64501         * sysdeps/unix/fxstat.c: Remove file.
64502         * sysdeps/unix/xstat.c: Likewise.
64503         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
64505         * sysdeps/unix/sysv/sigaction.c: Remove file.
64507         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
64508         (sysdep_headers): Remove variable.
64509         [termio.h not in sysdep_headers] (generated): Likewise.
64510         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
64511         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
64512         * sysdeps/unix/sysv/tcdrain.c: Likewise.
64513         * sysdeps/unix/sysv/tcflow.c: Likewise.
64514         * sysdeps/unix/sysv/tcflush.c: Likewise.
64515         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
64516         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
64517         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
64518         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
64519         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
64521         * sysdeps/unix/siglist.c: Remove file.
64523         * sysdeps/unix/getppid.S: Remove file.
64525         * sysdeps/unix/mkdir.c: Remove file.
64526         * sysdeps/unix/rmdir.c: Likewise.
64528 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
64530         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
64531         ERR_MAX value.
64532         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
64533         errlist-compat value.
64535 2012-04-18  David S. Miller  <davem@davemloft.net>
64537         * sysdeps/generic/memcopy.h (reg_char): Delete.
64538         * debug/strcat_chk.c: Use char, not reg_char.
64539         * debug/strcpy_chk.c: Likewise.
64540         * debug/strncat_chk.c: Likewise.
64541         * debug/strncpy_chk.c: Likewise.
64542         * string/memchr.c: Likewise.
64543         * string/memrchr.c: Likewise.
64544         * string/rawmemchr.c: Likewise.
64545         * string/strcat.c: Likewise.
64546         * string/strchr.c: Likewise.
64547         * string/strchrnul.c: Likewise.
64548         * string/strcmp.c: Likewise.
64549         * string/strcpy.c: Likewise.
64550         * string/strncat.c: Likewise.
64551         * string/strncmp.c: Likewise.
64552         * string/strncpy.c: Likewise.
64554 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
64556         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
64557         __builtin_memcopy is called when src and dest ranges are known to not
64558         overlap.
64560 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
64562         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
64563         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
64564         fwd_align_merge macro call.
64565         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
64566         bwd_align_merge macro call.
64567         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
64569 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
64571         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
64572         bwd_align_merge macros.
64573         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
64574         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
64575         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
64577 2012-04-18  David S. Miller  <davem@davemloft.net>
64579         * sysdeps/sparc/sparc64/memcopy.h: Delete.
64581 2012-04-18  Andreas Jaeger  <aj@suse.de>
64583         [BZ# 6794]
64584         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
64585         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
64586         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
64588         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
64589         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
64590         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
64592         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
64593         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
64594         Adjust for changed ldbl-128 files.
64596         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
64597         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
64598         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
64600 2012-04-17  David S. Miller  <davem@davemloft.net>
64602         * sysdeps/sparc/sparc32/memcopy.h: Delete.
64604 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
64606         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
64607         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
64608         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
64609         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
64610         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
64611         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
64613 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64615         [BZ #6794]
64616         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
64617         * math/libm-test.inc: Add ilogb errno and exception tests.
64618         * math/w_ilogb.c: New file: ilogb wrapper.
64619         * math/w_ilogbf.c: New file: ilogbf wrapper.
64620         * math/w_ilogbl.c: New file: ilogbl wrapper.
64621         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
64622         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
64623         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
64624         exception being thrown with 0.0 as argument.
64625         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
64626         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
64627         exception being thrown with 0.0 as argument.
64628         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
64629         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
64630         exception being thrown with 0.0 as argument.
64631         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
64632         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
64633         exception being thrown with 0.0 as argument.
64634         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
64635         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
64636         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
64637         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
64638         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
64639         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
64640         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
64641         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
64642         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
64644 2012-04-17  Petr Baudis  <pasky@ucw.cz>
64646         * include/sys/uio.h: Change __vector to __iovec to avoid clash
64647         with altivec.
64649 2012-04-16  Marek Polacek  <polacek@redhat.com>
64651         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
64653 2012-04-16  Marek Polacek  <polacek@redhat.com>
64655         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
64656         operands of fdivp instruction.
64658 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
64660         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
64661         * elf/tst-auditmod3b.c: Likewise.
64662         * elf/tst-auditmod4b.c: Likewise.
64663         * elf/tst-auditmod5b.c: Likewise.
64664         * elf/tst-auditmod6b.c: Likewise.
64665         * elf/tst-auditmod6c.c: Likewise.
64666         * elf/tst-auditmod7b.c: Likewise.
64667         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
64668         * sysdeps/x86_64/preconfigure.in: Likewise.
64669         * sysdeps/x86_64/preconfigure: Regenerated.
64671 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
64673         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
64674         __ILP32__.
64676 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
64678         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
64679         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
64681 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
64683         [BZ #13973]
64684         * locale/iso-639.def: Fix gl language name. Spotted by
64685         Yaron Shahrabani.
64687 2012-04-12  Roland McGrath  <roland@hack.frob.com>
64689         [BZ #2074]
64690         * libio/libio.h (__io_write_fn): Update comment.
64692 2012-04-12  Petr Baudis  <pasky@ucw.cz>
64694         [BZ #2074]
64695         * stdio.texi (Hook Functions): The user provided writer function
64696         is not allowed to return -1.
64698 2012-04-11  David S. Miller  <davem@davemloft.net>
64700         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64702 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
64704         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
64705         Add a leading slash to rtkaio.
64707 2012-04-11  Jim Meyering  <meyering@redhat.com>
64709         [BZ #11959]
64710         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
64711         It is not necessarily an error to ignore fwrite's return
64712         value.  One can reliably use ferror to test for errors after
64713         the fact.
64715 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
64717         * bits/types.h (__snseconds_t): New type.
64718         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
64720         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
64721         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
64722         (__SNSECONDS_T_TYPE): Likewise.
64723         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
64724         (__SNSECONDS_T_TYPE): Likewise.
64725         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
64726         (__SNSECONDS_T_TYPE): Likewise.
64728 2012-04-10  Andreas Jaeger  <aj@suse.de>
64730         [BZ #2636]
64731         * manual/time.texi (Processor Time): Return type of times is
64732         elapsed real time since an arbitrary point in the past.
64733         (CPU Time): Move CLK_TCK from here...
64734         (Processor Time): ...to here.  Correct description.
64735         * manual/conf.texi (Constants for Sysconf): Correct description of
64736         _SC_CLK_TCK.
64738 2012-04-10  David S. Miller  <davem@davemloft.net>
64740         [BZ #13967]
64741         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
64742         where the is a gap between DT_REL(A) and DT_JMPREL.
64744 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
64746         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
64747         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
64748         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
64750 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
64752         * elf/dl-support.c (_dl_inhibit_cache): New variable.
64753         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
64754         (dl_main): Handle --inhibit-cache.
64755         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
64756         _dl_inhibit_cache.
64757         * elf/dl-load.c (_dl_map_object): Use it.
64758         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
64760 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
64762         [BZ #13872]
64763         * sysdeps/i386/fpu/e_powl.S (p78): New object.
64764         (__ieee754_powl): Saturate large exponents rather than testing for
64765         overflow of y*log2(x).
64766         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
64767         * math/libm-test.inc (pow_test): Do not permit spurious overflow
64768         exceptions.
64770         [BZ #11521]
64771         * math/s_ctan.c: Include <float.h>.
64772         (__ctan): Avoid internal overflow or cancellation in calculating
64773         denominator.
64774         * math/s_ctanf.c: Likewise.
64775         * math/s_ctanl.c: Likewise.
64776         * math/s_ctanh.c: Likewise.
64777         * math/s_ctanhf.c: Likewise.
64778         * math/s_ctanhl.c: Likewise.
64779         * math/libm-test.inc (ctan_test): Add more tests.
64780         (ctanh_test): Likewise.
64781         * sysdeps/i386/fpu/libm-test-ulps: Update.
64782         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64784 2012-04-09  Andreas Jaeger  <aj@suse.de>
64786         [BZ #6894]
64787         * manual/filesys.texi (Directory Entries): Mention that d_namlen
64788         is an optional BSD extension.
64790         [BZ #10254]
64791         * manual/stdio.texi (Opening Streams): Document additional fopen
64792         parameters.
64794 2012-04-09  Roland McGrath  <roland@hack.frob.com>
64796         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
64797         %eax without telling the compiler.
64799 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
64801         [BZ # 13963]
64802         * manual/install.texi: Use sourceware.org.
64804 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
64806         [BZ #13873]
64807         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
64808         (__ieee754_pow): Generate overflow and underflow using huge*huge
64809         and tiny*tiny rather than just returning constant infinity or zero
64810         for large exponents.
64811         * math/libm-test.inc (pow_test): Require overflow exceptions for
64812         applicable cases of large exponents.
64814         [BZ #706]
64815         * sysdeps/i386/fpu/e_pow.S (p10): New object.
64816         (__ieee754_pow): Use iterative multiplication algorithm only for
64817         integer exponents with absolute value below 1024.  Check for odd
64818         integer exponents when using algorithm for real exponents.
64819         * math/libm-test.inc (pow_test): Add more tests.
64820         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64822 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
64824         [BZ #13705]
64825         * math/libm-test.inc (exp_test): Do not allow overflow exception
64826         on underflow test.
64828 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
64830         [BZ #13705]
64831         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
64832         instead of __kernel_standard_f.
64834 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
64836         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
64837         * sysdeps/x86_64/memset_chk.S: Likewise.
64839 2012-04-08  Andreas Jaeger  <aj@suse.de>
64841         [BZ #10153]
64842         * manual/startup.texi (Environment Access): Describe return value
64843         for putenv and setenv.
64845         [BZ #6895]
64846         * manual/filesys.texi (Directory Entries): Add description for
64847         DT_LNK.
64849         [BZ #6890]
64850         * manual/filesys.texi (Directory Entries): Clarify that it's file
64851         system not operating system in the description of DT_UNKNOWN.
64853         [BZ #6578]
64854         * manual/syslog.texi (closelog): Fix reference, it's openlog.
64856 2012-04-08  Stephen Compall  <s11@member.fsf.org>
64858         [BZ #6649]
64859         * manual/llio.texi (Opening and Closing Files): Add cross
64860         reference to explain mode argument.
64862 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
64864         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
64865         * sysdeps/x86_64/memset_chk.S: Likewise.
64867 2012-04-07  David S. Miller  <davem@davemloft.net>
64869         * elf/elf.h (R_SPARC_WDISP10): Define.
64870         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
64871         R_SPARC_SIZE32.
64872         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
64873         R_SPARC_SIZE64 and R_SPARC_H34.
64875 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
64877         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
64878         conditions and remove no longer applicable assertion.
64880 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
64882         * bits/byteswap.h: Include <features.h>.
64883         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
64884         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
64886 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
64888         * bits/byteswap.h (__bswap_16): Removed.
64889         Include <bits/byteswap-16.h> to get __bswap_16.
64890         * sysdeps/i386/bits/byteswap.h: Likewise.
64891         * sysdeps/s390/bits/byteswap.h: Likewise.
64892         * sysdeps/x86_64/bits/byteswap.h: Likewise.
64893         * bits/byteswap-16.h: New file.
64894         * sysdeps/i386/bits/byteswap-16.h: Likewise.
64895         * sysdeps/s390/bits/byteswap-16.h: Likewise.
64896         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
64897         * string/Makefile (headers): Add bits/byteswap-16.h.
64899 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
64901         [BZ #13895]
64902         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
64903         extra indirection.
64904         * nss/Makefile (tests-static, tests): Add tst-nss-static.
64905         * nss/tst-nss-static.c: New.
64907 2012-04-06  Robert Millan  <rmh@gnu.org>
64909         [BZ #6486]
64910         * manual/llio.texi (File Position Primitive): lseek
64911         refers to WHENCE when it really means OFFSET.
64913 2012-04-06  Andreas Jaeger  <aj@suse.de>
64915         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
64916         strncmp declarations.
64918         * abilist/libc.abilist: Add __poll and __ppoll.
64920 2012-04-05  David S. Miller  <davem@davemloft.net>
64922         * scripts/check-local-headers.sh: Accept a host triplet in the
64923         path matched by the exclude regexp.
64925         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
64926         definition.
64927         * sysdeps/powerpc/powerpc32/dl-machine.h
64928         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
64929         * sysdeps/s390/s390-32/dl-machine.h
64930         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
64931         * sysdeps/sparc/sparc32/dl-machine.h
64932         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
64933         * sysdeps/sparc/sparc64/dl-machine.h
64934         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
64936         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
64937         lazy binding.
64938         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
64939         undefined symbol errors.
64941         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
64942         DT_NEEDED entries.
64944 2012-04-05  Michael Matz  <matz@suse.de>
64946         [BZ #13592]
64947         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
64949 2012-04-05  Andreas Jaeger  <aj@suse.de>
64951         [BZ #13908]
64952         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
64953         comment.
64955 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
64957         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
64958         which ROUND is no valid rounding mode.
64960 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
64962         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
64963         read again.
64964         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
64966 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
64968         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
64969         an exception using FPU order intentionally.
64971 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
64973         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
64974         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
64975         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
64976         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
64978 2012-04-05  Simon Josefsson  <simon@josefsson.org>
64980         [BZ #12340]
64981         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
64982         EINVAL when BUFLEN is too smal.
64984 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
64986         [BZ #13553]
64987         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
64988         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
64990 2012-04-03  Andreas Jaeger  <aj@suse.de>
64992         [BZ #13938]
64993         * manual/setjmp.texi (System V contexts): Fix sentence.
64995         [BZ #13926]
64996         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
64997         New macro for this case.
64998         [!__GNUC__] (__bswap_64): New inline function for this case.
64999         * sysdeps/x86_64/bits/byteswap.h: Likewise.
65000         * bits/byteswap.h: Likewise.
65001         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
65002         ull, guard with __GLIBC_HAVE_LONG_LONG.
65004         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
65005         __GLIBC_HAVE_LONG_LONG.
65007         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
65008         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
65010 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
65012         [BZ #13691]
65013         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
65014         inptr and inend, rather than using last_ch.
65016 2012-04-02  David S. Miller  <davem@davemloft.net>
65018         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
65019         * stdio-common/printf-parse.h (read_int): Change return type to
65020         'int', return -1 on INT_MAX overflow.
65021         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
65022         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
65023         overflows INT_MAX.  Check for overflow of in-format-string precision
65024         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
65025         SIZE_MAX not INT_MAX for integer overflow test.
65026         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
65027         skip the construct in the format string but do not record anything.
65028         * stdio-common/bug22.c: Adjust to test both width/prevision
65029         INT_MAX overflow as well as total length INT_MAX overflow.  Check
65030         explicitly for proper errno values.
65032 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
65034         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
65035         CHAR_MAX.
65036         * string/test-strcmp.c [! WIDE]: Likewise.
65037         * time/tst-mktime2.c: Likewise for INT_MAX.
65038         * string/test-string.h: #include <sys/param.h> for MIN.
65040         * csu/init-first.c (__libc_init_first): Call __ctype_init.
65041         * sysdeps/i386/init-first.c (init): Likewise.
65042         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
65043         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
65044         * sysdeps/sh/init-first.c (init): Likewise.
65046 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
65048         * po/ru.po: Update from translation team.
65049         * po/vi.po: Likewise.
65051 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
65053         * resolv/nss_dns/dns-host.c: Merge copyright years.
65055 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65057         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
65058         Optimize memcpy with prefetch if
65059         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
65060         src, dst pointers have unequal 16 byte alignments.
65062 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
65064         [BZ #13928]
65065         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
65066         from a CNAME entry and return the minimum ttl for the query.
65067         (gaih_getanswer_slice): Likewise.
65069 2012-03-30  Jeff Law  <law@redhat.com>
65071         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
65072         due to long keys.
65073         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
65074         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
65076         * resolv/nss_dns/dns-host.c: Update copyright year.
65078 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
65080         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
65081         requests to save a system call.  Fix check that all bytes are sent.
65083         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
65084         comments for sendmmsg.
65086 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
65088         [BZ #13691]
65089         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
65090         with only 1 character between 0x0041 and 0x01b0.
65091         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
65092         * wcsmbs/tst-mbsnrtowcs.c: New file.
65094 2012-03-29  David S. Miller  <davem@davemloft.net>
65096         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
65097         small copies by hand.
65099 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
65101         [BZ #13761]
65102         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
65103         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
65104         group memberships.
65106 2012-03-28  David S. Miller  <davem@davemloft.net>
65108         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
65109         that branches into memcpy.
65110         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
65111         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
65112         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
65113         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
65114         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
65115         bits.
65116         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
65117         implementation too.
65118         * sysdeps/sparc/mempcpy.S: New file.
65120         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
65121         the IFUNC routine in the libc case.
65122         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
65124         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
65125         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
65126         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
65127         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
65128         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
65129         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
65130         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
65131         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
65133         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
65134         loop to 256 bytes instead of 64 bytes and fix test signedness.
65136         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
65137         * sysdeps/sparc/sparc32/Makefile: rather than here...
65138         * sysdeps/sparc/sparc64/Makefile: and here.
65140 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
65142         * malloc/mallocbug.c: Avoid warnings about unused variables.
65144 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
65146         [BZ #13760]
65147         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
65148         in the right place. Discard and retry query if response is
65149         larger than input buffer size.
65151 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
65153         [BZ #369]
65154         [BZ #2678]
65155         [BZ #3866]
65156         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
65157         x for large integer exponent.
65158         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
65159         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
65160         sign of result as needed afterwards.
65161         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
65162         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
65163         result for underflowing pow the same as for overflow.
65164         (__kernel_standard_l): Handle powl overflow and underflow here
65165         rather than calling __kernel_standard.
65166         * math/libm-test.inc (pow_test): Add more tests.
65168         [BZ #3868]
65169         [BZ #13879]
65170         [BZ #13910]
65171         [BZ #13911]
65172         [BZ #13912]
65173         [BZ #13913]
65174         [BZ #13915]
65175         [BZ #13916]
65176         [BZ #13917]
65177         [BZ #13918]
65178         [BZ #13919]
65179         [BZ #13920]
65180         [BZ #13921]
65181         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
65182         * sysdeps/ieee754/k_standard.c: Include <float.h>.
65183         (__kernel_standard_l): New function.
65184         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
65185         __kernel_standard.
65186         * math/w_acosl.c (__acosl): Likewise.
65187         * math/w_asinl.c (__asinl): Likewise.
65188         * math/w_atan2l.c (__atan2l): Likewise.
65189         * math/w_atanhl.c (__atanhl): Likewise.
65190         * math/w_coshl.c (__coshl): Likewise.
65191         * math/w_exp10l.c (__exp10l): Likewise.
65192         * math/w_exp2l.c (__exp2l): Likewise.
65193         * math/w_fmodl.c (__fmodl): Likewise.
65194         * math/w_hypotl.c (__hypotl): Likewise.
65195         * math/w_j0l.c (__j0l, __y0l): Likewise.
65196         * math/w_j1l.c (__j1l, __y1l): Likewise.
65197         * math/w_jnl.c (__jnl, __ynl): Likewise.
65198         * math/w_lgammal.c (__lgammal): Likewise.
65199         * math/w_log10l.c (__log10l): Likewise.
65200         * math/w_log2l.c (__log2l): Likewise.
65201         * math/w_logl.c (__logl): Likewise.
65202         * math/w_powl.c (__powl): Likewise.
65203         * math/w_remainderl.c (__remainderl): Likewise.
65204         * math/w_scalbl.c (sysv_scalbl): Likewise.
65205         * math/w_sinhl.c (__sinhl): Likewise.
65206         * math/w_sqrtl.c (__sqrtl): Likewise.
65207         * math/w_tgammal.c (__tgammal): Likewise.
65208         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
65209         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
65210         * math/libm-test.inc (acos_test): Add more tests.
65211         (acosh_test): Likewise.
65212         (asin_test): Likewise.
65213         (atanh_test): Likewise.
65214         (exp_test): Likewise.
65215         (exp10_test): Likewise.
65216         (exp2_test): Likewise.
65217         (expm1_test): Likewise.
65218         (lgamma_test): Likewise.
65219         (log_test): Likewise.
65220         (log10_test): Likewise.
65221         (log1p_test): Likewise.
65222         (log2_test): Likewise.
65223         (pow_test): Do not allow some spurious overflow exceptions.
65224         (sqrt_test): Add more tests.
65225         (tgamma_test): Likewise.
65226         (y0_test): Likewise.
65227         (y1_test): Likewise.
65228         (yn_test): Likewise.
65230 2012-03-27  Anton Blanchard  <anton@samba.org>
65232         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
65233         MAP_HUGETLB.
65234         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
65235         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
65236         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
65238 2012-03-27  David S. Miller  <davem@davemloft.net>
65240         * conform/Makefile: Run run-conformtest.sh using $(BASH).
65242         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
65243         have-as-vis3 check.
65245 2012-03-27  Andreas Jaeger  <aj@suse.de>
65247         * sysdeps/x86_64/elf/configure.in: Moved to ...
65248         * sysdeps/x86_64/configure.in: ... here.
65249         * sysdeps/x86_64/elf/start.S: Moved to ...
65250         * sysdeps/x86_64/start.S: ... here.
65251         * sysdeps/x86_64/elf/configure: Delete.
65253         * sysdeps/x86_64/configure.in: Merge contents from
65254         sysdeps/i386/configure.in (without i686 check).
65256         * sysdeps/i386/elf/Versions: Merge into ...
65257         * sysdeps/i386/Versions: ... this.
65258         * sysdeps/i386/elf/Versions: Delete file.
65259         * sysdeps/i386/elf/start.S: Moved to ...
65260         * sysdeps/i386/start.S: ...here.
65261         * sysdeps/i386/elf/configure.in: Merge into...
65262         * sysdeps/i386/configure.in: ...here.
65263         * sysdeps/i386/elf/configure.in: Delete file.
65264         * sysdeps/i386/elf/configure: Delete file.
65266         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
65267         * debug/backtracesyms.c: ... here.
65268         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
65269         * debug/backtracesymsfd.c: ... here.
65270         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
65271         * sysdeps/generic/ifunc-sel.h: ... here.
65273         * sysdeps/unix/i386/start.c: Delete file.
65274         * sysdeps/unix/sparc/start.c: Delete file.
65275         * sysdeps/unix/start.c: Delete file.
65277         * sysdeps/sh/elf/configure.in: Moved to ...
65278         * sysdeps/sh/configure.in: ... here.
65279         * sysdeps/sh/elf/start.S: Moved to ...
65280         * sysdeps/sh/start.S: ... here.
65281         * sysdeps/sh/elf/configure: Delete file.
65283         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
65284         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
65285         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
65286         * sysdeps/powerpc/powerpc64/entry.h: ... here.
65287         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
65288         * sysdeps/powerpc/powerpc64/start.S: here.
65289         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
65290         * sysdeps/powerpc/powerpc64/Makefile: ... this.
65291         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
65292         * sysdeps/powerpc/powerpc64/configure.in: ... this.
65293         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
65295         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
65296         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
65297         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
65298         * sysdeps/powerpc/powerpc32/start.S: ... here.
65299         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
65300         * sysdeps/powerpc/powerpc32/configure.in: ... this.
65301         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
65303         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
65304         * sysdeps/powerpc/ifunc-sel.h: ... here.
65305         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
65306         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
65308         * sysdeps/sparc/elf/configure.in: Moved to ...
65309         * sysdeps/sparc/configure.in: ... here.
65310         * sysdeps/sparc/elf/configure: Delete file.
65311         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
65312         * sysdeps/sparc/sparc32/start.S: ... here.
65313         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
65314         * sysdeps/sparc/sparc64/start.S: ... here.
65315         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
65316         * sysdeps/sparc/sparc32/Makefile: ... this.
65317         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
65318         * sysdeps/sparc/sparc64/Makefile: ... this.
65320         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
65321         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
65322         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
65323         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
65324         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
65325         * sysdeps/s390/s390-32/setjmp.S: ... here.
65326         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
65327         * sysdeps/s390/s390-32/configure.in: ... here.
65328         * sysdeps/s390/s390-32/elf/configure: Delete file.
65329         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
65330         * sysdeps/s390/s390-32/start.S: ... here.
65332         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
65333         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
65334         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
65335         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
65336         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
65337         * sysdeps/s390/s390-64/setjmp.S: ... here.
65338         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
65339         * sysdeps/s390/s390-64/configure.in: ... here
65340         * sysdeps/s390/s390-64/elf/configure: Delete file.
65341         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
65342         * sysdeps/s390/s390-64/start.S: ... here.
65343         * sysdeps/s390/s390-64/elf/configure: Delete.
65345         * configure.in: Remove support for elf directories in sysdeps.
65347         * configure: Regenerated.
65348         * sysdeps/i386/configure: Regenerated.
65349         * sysdeps/powerpc/powerpc32/configure: Regenerated.
65350         * sysdeps/powerpc/powerpc64/configure: Regenerated.
65351         * sysdeps/s390/s390-32/configure: Regenerated.
65352         * sysdeps/s390/s390-64/configure: Regenerated.
65353         * sysdeps/sh/configure: Regenerated.
65354         * sysdeps/sparc/configure: Regenerated.
65355         * sysdeps/x86_64/configure: Regenerated.
65357 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
65359         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65361         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
65362         denormal result into account.
65364 2012-03-25  Roland McGrath  <roland@hack.frob.com>
65366         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
65367         Reported by Allan McRae <allan@archlinux.org>.
65369 2012-03-23  Jeff Law  <law@redhat.com>
65371         * nss/getnssent.c (__nss_getent): Fix typo.
65373 2012-03-23  David S. Miller  <davem@davemloft.net>
65375         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65377 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
65379         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
65380         to pad to uint64_t for each field.
65381         (dl_tls_index): Replace unsigned long with uint64_t.
65383 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
65384         Paul Pluzhnikov  <ppluzhnikov@google.com>
65386         [BZ #6528]
65387         * grp/Makefile (otherlibs): Don't set it.
65388         * inet/Makefile (otherlibs): Likewise.
65389         * login/Makefile (otherlibs): Likewise.
65390         * nscd/Makefile (otherlibs): Likewise.
65391         * posix/Makefile (otherlibs): Likewise.
65392         * pwd/Makefile (otherlibs): Likewise.
65393         * rt/Makefile (otherlibs): Likewise.
65394         * sunrpc/Makefile (otherlibs): Likewise.
65395         * nss/Makefile (otherlibs): Likewise.
65396         Add libnss_files to routines and static-only-routines.
65397         ($(objpfx)getent): Remove rule.
65398         * resolv/Makefile: Add libnss_dns and libresolv to routines and
65399         static-only-routines.
65401 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
65403         [BZ #13892]
65404         * math/s_cexp.c: Include <float.h>.
65405         (__cexp): Handle exp result overflowing not necessarily
65406         overflowing both real and imaginary parts of result.
65407         * math/s_cexpf.c: Likewise.
65408         * math/s_cexpl.c: Likewise.
65409         * math/libm-test.inc (cexp_test): Add more tests.
65410         * sysdeps/i386/fpu/libm-test-ulps: Update.
65411         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65413 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
65415         * include/link.h (ELFW): New macro.
65416         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
65417         Replace ELF64_R_TYPE with ELFW(R_TYPE).
65419 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
65421         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
65422         with uint64_t.
65424 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
65426         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
65427         declaration.
65428         (struct La_x32_retval): Likewise.
65430 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
65432         * sysdeps/x86_64/preconfigure.in: New file.
65433         * sysdeps/x86_64/preconfigure: New generated file.
65435 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
65437         [BZ #13824]
65438         * math/e_exp2l.c: Include <float.h>.
65439         (__ieee754_exp2l): Handle overflow and underflow cases
65440         separately.  Only pass fractional part of argument to
65441         __ieee754_expl.
65442         * math/libm-test.inc (exp2_test): Add more tests.
65444         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
65445         negating x to take absolute value.
65446         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
65447         Likewise.
65448         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
65449         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
65450         Likewise.
65451         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
65452         computing low part if x was negated.
65453         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
65455 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
65457         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
65458         la_x32_gnu_pltexit.
65459         (pltexit): Cast int_retval to ptrdiff_t.
65460         * elf/tst-auditmod3b.c: Likewise.
65461         * elf/tst-auditmod4b.c: Likewise.
65462         * elf/tst-auditmod5b.c: Likewise.
65463         * elf/tst-auditmod6b.c: Likewise.
65464         * elf/tst-auditmod6c.c: Likewise.
65465         * elf/tst-auditmod7b.c: Likewise.
65467         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
65468         and x32_gnu_pltexit.
65470         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
65471         __ELF_NATIVE_CLASS.
65472         (La_x32_regs): New macro.
65473         (La_x32_retval): Likewise.
65474         (la_x32_gnu_pltenter): New function prototype.
65475         (la_x32_gnu_pltexit): Likewise.
65477 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
65479         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
65480         exponent.
65482         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65484         * configure.in (libc_cv_cc_nofma): Check for option to disable
65485         generation of FMA instructions.
65486         * configure: Regenerate.
65487         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
65488         * sysdeps/ieee754/dbl-64/Makefile: New file.
65489         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
65490         Remove brandred-fma4.
65491         (CFLAGS-brandred-fma4.c): Remove.
65492         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
65493         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
65494         define.
65495         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
65496         define.
65498 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
65500         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
65501         LLONG_MAX != LONG_MAX.
65502         (_itoa_word): Use _ITOA_WORD_TYPE on value.
65503         (_fitoa_word): Likewise.
65504         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
65505         LLONG_MAX != LONG_MAX.
65506         * stdio-common/_itowa.h: Include <_itoa.h>.
65507         (_itowa_word): Use _ITOA_WORD_TYPE on value.
65508         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
65509         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
65510         only if not defined.
65511         (_ITOA_WORD_TYPE): Likewise.
65512         (_itoa_word): Use _ITOA_WORD_TYPE on value.
65513         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
65515 2012-03-21  David S. Miller  <davem@davemloft.net>
65517         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65519 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
65521         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
65522         of x86_64 when setting libc_cv_slibdir, libdir and
65523         libc_cv_localedir.
65524         * sysdeps/unix/sysv/linux/configure: Regenerated.
65526 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
65528         * manual/lang.texi (Old Varargs): Remove section.
65529         (How Variadic): Update menu.
65530         (va_start): Do not mention varargs.h.
65532 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
65533             Joseph Myers  <joseph@codesourcery.com>
65535         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
65536         link test.
65537         * configure: Regenerated.
65539 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
65541         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
65542         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
65543         conformtest.pl
65545 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
65547         * NOTES: Remove.
65548         * Makefile (files-for-dist): Remove NOTES.
65549         (NOTES): Remove rule.
65550         * README: Don't refer to NOTES.
65551         * manual/creature.texi: Don't include macros.texi.
65552         * manual/intro.texi (creature.texi): Remove comment referring to
65553         NOTES.
65555         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
65556         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
65557         * configure: Regenerated.
65558         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
65559         LIBC_TRY_CC_OPTION.
65560         (libc_cv_as_i686): Likewise.
65561         (libc_cv_cc_avx): Likewise.
65562         (libc_cv_cc_sse2avx): Likewise.
65563         (libc_cv_cc_fma4): Likewise.
65564         (libc_cv_cc_novzeroupper): Likewise.
65565         * sysdeps/i386/configure: Regenerated.
65567         [BZ #13883]
65568         * sysdeps/i386/fpu/s_cexp.S: Remove.
65569         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
65570         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
65571         * math/libm-test.inc (cexp_test): Add more tests.
65572         * sysdeps/i386/fpu/libm-test-ulps: Update.
65573         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65575 2012-03-21  Allan McRae  <allan@archlinux.org>
65577         * timezone/Makefile: Do not install iso3166.tab and zone.tab
65579 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
65581         [BZ #13871]
65582         * math/w_exp2.c: Do not include <float.h>.
65583         (o_threshold, u_threshold): Remove.
65584         (__exp2): Calculate result before checking finiteness and calling
65585         __kernel_standard.
65586         * math/w_exp2f.c: Likewise.
65587         * math/w_exp2l.c: Likewise.
65588         * math/libm-test.inc (exp2_test): Require overflow exception for
65589         1e6 input.
65591         [BZ #3866]
65592         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
65593         range of signed 64-bit integers before using fistpll.  Remove
65594         checks for whether integers fit in mantissa bits.
65595         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
65596         the range of signed 32-bit integers before using fistpl.  Remove
65597         checks for whether integers fit in mantissa bits.
65598         * sysdeps/i386/fpu/e_powl.S (p64): New object.
65599         (__ieee754_powl): Test for y outside the range of signed 64-bit
65600         integers before using fistpll.  Reduce 64-bit values to 63-bit
65601         ones as needed.
65602         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
65603         divide-by-zero is raised for zero to large negative powers.
65604         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
65605         (__ieee754_powl): Test for y outside the range of signed 64-bit
65606         integers before using fistpll.  Reduce 64-bit values to 63-bit
65607         ones as needed.
65608         * math/libm-test.inc (pow_test): Add more tests.
65610 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
65612         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
65613         <stdio-common/_itoa.h>.
65614         * debug/segfault.c: Likewise.
65615         * elf/dl-cache.c: Likewise.
65616         * elf/dl-minimal.c: Likewise.
65617         * elf/dl-misc.c: Likewise.
65618         * elf/dl-sysdep.c: Likewise.
65619         * elf/dl-version.c: Likewise.
65620         * elf/rtld.c: Likewise.
65621         * hurd/hurdsock.c: Likewise.
65622         * hurd/lookup-retry.c: Likewise.
65623         * malloc/malloc.c: Likewise.
65624         * malloc/mtrace.c: Likewise.
65625         * nscd/nscd_getgr_r.c: Likewise.
65626         * nscd/nscd_getpw_r.c: Likewise.
65627         * nscd/nscd_getserv_r.c: Likewise.
65628         * posix/getopt_init.c: Likewise.
65629         * posix/wordexp.c: Likewise.
65630         * stdio-common/_itoa.c: Likewise.
65631         * stdio-common/printf_fphex.c: Likewise.
65632         * stdio-common/vfprintf.c: Likewise.
65633         * string/_strerror.c: Likewise.
65634         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
65635         * sysdeps/i386/i686/hp-timing.h: Likewise.
65636         * sysdeps/mach/_strerror.c: Likewise.
65637         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
65638         * sysdeps/mach/hurd/sethostid.c: Likewise.
65639         * sysdeps/mach/hurd/xmknodat.c: Likewise.
65640         * sysdeps/mach/xpg-strerror.c: Likewise.
65641         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
65642         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
65643         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
65644         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
65645         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
65646         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
65647         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
65648         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
65649         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
65650         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
65651         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
65652         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
65653         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
65654         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
65655         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
65656         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
65657         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
65658         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
65659         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
65660         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
65661         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
65663         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
65665         * stdio-common/_itoa.h: Moved to ...
65666         * sysdeps/generic/_itoa.h: Here.
65668         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
65670         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
65671         instead of "_itoa.h" and "_itowa.h".
65672         * stdio-common/vfprintf.: Likewise.
65674 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
65676         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
65677         <bits/wordsize.h>.
65678         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
65679         (__signbit): Likwise.
65680         (llrintf): Likwise.
65681         (llrint): Likwise.
65683 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
65685         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
65686         __WORDSIZE != 64.
65688 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
65690         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
65691         OVERFLOW_EXCEPTION_OK.
65692         * math/libm-test.inc ("Philosophy"): Update comment about
65693         exception testing.
65694         (OVERFLOW_EXCEPTION): Define.
65695         (OVERFLOW_EXCEPTION_OK): Likewise.
65696         (INVALID_EXCEPTION_OK): Renumber.
65697         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
65698         (IGNORE_ZERO_INF_SIGN): Likewise.
65699         (test_exceptions): Handle FE_OVERFLOW.
65700         (exp10_test): Expect overflow exceptions.
65701         (exp2_test): Likewise.
65702         (expm1_test): Likewise.
65703         (nextafter_test): Likewise.
65704         (pow_test): Likewise.
65705         (scalbn_test): Likewise.
65706         (scalbln_test): Likewise.
65708 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
65710         * sysdeps/x86_64/bits/atomic.h
65711         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
65712         64bit integer.
65713         (atomic_exchange_acq): Likewise.
65714         (__arch_exchange_and_add_body): Likewise.
65715         (__arch_add_body): Likewise.
65716         (atomic_add_negative): Likewise.
65717         (atomic_add_zero): Likewise.
65719 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
65721         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
65722         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
65724 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
65726         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
65727         Check __x86_64__ instead of __WORDSIZE.
65729 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
65731         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
65733 2012-03-19  David S. Miller  <davem@davemloft.net>
65735         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65737         * sysdeps/sparc/fpu/fenv_private.h: New file.
65738         * sysdeps/sparc/fpu/math_private.h: Use it.
65739         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
65740         Remove.
65741         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
65742         (libc_feholdexcept_setroundl): Remove.
65743         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
65744         Remove.
65745         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
65746         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
65748 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
65750         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
65751         int64_t instead of long int.
65752         (INSERT_WORDS64): Likwise.
65754 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
65756         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
65757         _Unwind_GetCFA return to _Unwind_Ptr first.
65759 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
65761         [BZ #13629]
65762         * math/s_clog.c: Include <float.h>.
65763         (__clog): Scale large or subnormal inputs.
65764         * math/s_clogf.c: Likewise.
65765         * math/s_clogl.c: Likewise.
65766         * math/s_clog10.c: Include <float.h>.
65767         (M_LOG10_2): Define.
65768         (__clog10): Scale large or subnormal inputs.
65769         * math/s_clog10f.c: Likewise.
65770         * math/s_clog10l.c: Likewise.
65771         * math/libm-test.inc (clog_test): Add more tests.
65772         (clog10_test): Likewise.
65773         * sysdeps/i386/fpu/libm-test-ulps: Update.
65774         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65776         [BZ #11451]
65777         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
65778         x and y.
65779         * math/libm-test.inc (atan2_test): Add another test.
65781         * Makerules (common-objdir-compile): Remove.
65782         * sysdeps/unix/Makefile (config-generated): Do not add
65783         $(unix-generated) to variable.
65784         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
65785         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
65786         Remove rule.
65787         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
65788         Likewise.
65789         [generic bits/local_lim.h] (before-compile): Do not append to
65790         variable.
65791         [generic bits/local_lim.h] (common-generated): Likewise.
65792         [generic sys/param.h] (before-compile): Do not append to variable.
65793         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
65794         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
65795         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
65796         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
65797         include.
65798         [generic sys/param.h] (sys/param.h-includes): Remove variable.
65799         [generic sys/param.h] (sys/param.h-includes): Remove rule.
65800         [generic sys/param.h] ($(addprefix
65801         $(common-objpfx),$(sys/param.h-includes))): Likewise.
65802         [generic sys/param.h] (common-generated): Do not append to
65803         variable.
65804         [generic sys/param.h] (sysdep_headers): Likewise.
65805         [generic bits/errno.h] (before-compile): Do not append to
65806         variable.
65807         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
65808         rule.
65809         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
65810         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
65811         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
65812         [generic bits/errno.h] (common-generated): Do not append to
65813         variable.
65814         [generic bits/ioctls.h] (before-compile): Do not append to
65815         variable.
65816         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
65817         rule.
65818         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
65819         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
65820         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
65821         rule.
65822         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
65823         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
65824         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
65825         [generic bits/ioctls.h] (common-generated): Do not append to
65826         variable.
65827         [generic sys/syscall.h] (syscall.h): Remove variable.
65828         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
65829         rule.
65830         [generic sys/syscall.h] (before-compile): Do not append to
65831         variable.
65832         [generic sys/syscall.h] (common-generated): Likewise.
65833         * sysdeps/unix/errnos-tmpl.c: Remove file.
65834         * sysdeps/unix/errnos.awk: Likewise.
65835         * sysdeps/unix/ioctls-tmpl.c: Likewise.
65836         * sysdeps/unix/ioctls.awk: Likewise.
65837         * sysdeps/unix/mk-local_lim.c: Likewise.
65838         * sysdeps/unix/snarf-ioctls: Likewise.
65840 2012-03-19  Richard Henderson  <rth@twiddle.net>
65842         * sysdeps/i386/fpu/fenv_private.h: New file.
65843         * sysdeps/i386/fpu/math_private.h: Use it.
65844         (math_opt_barrier, math_force_eval): Remove.
65845         (libc_feholdexcept_setround_53bit): Remove.
65846         (libc_feupdateenv_53bit): Remove.
65847         * sysdeps/x86_64/fpu/math_private.h: Likewise.
65848         (math_opt_barrier, math_force_eval): Remove.
65849         (libc_feholdexcept): Remove.
65850         (libc_feholdexcept_setround): Remove.
65851         (libc_fetestexcept, libc_fesetenv): Remove.
65852         (libc_feupdateenv_test): Remove.
65853         (libc_feupdateenv, libc_feholdsetround): Remove.
65854         (libc_feresetround): Remove.
65856         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
65857         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
65859         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
65860         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
65861         (libc_feupdateenv_testl): New.
65862         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
65863         (libc_feupdateenv_testf): New.
65864         (libc_feupdateenv): Use libc_feupdateenv_test.
65865         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
65866         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
65868         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
65869         (libc_feholdsetroundf, libc_feholdsetroundl): New.
65870         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
65871         (libc_feresetround_noex): New.
65872         (libc_feresetround_noexf): New.
65873         (libc_feresetround_noexl): New.
65874         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
65875         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
65876         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
65877         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
65878         SET_RESTORE_ROUND.
65879         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
65880         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
65881         (__cos): Likewise.
65882         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
65883         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
65884         SET_RESTORE_ROUND_NOEX.
65885         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
65886         SET_RESTORE_ROUND_NOEXF.
65887         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
65888         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
65889         (libc_feholdsetroundf): New.
65890         (libc_feresetround, libc_feresetroundf): New.
65892         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
65893         (libc_feholdexcept_setround_53bit): Convert from macro to function.
65894         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
65896         * sysdeps/generic/math_private.h: Include <fenv.h>.
65897         (default_libc_feholdexcept): New.
65898         (default_libc_feholdexcept_setround): New.
65899         (default_libc_fesetenv, default_libc_feupdateenv): New.
65900         (libc_feholdexcept): Only define if undefined.
65901         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
65902         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
65903         (libc_feholdexcept_setroundl): Likewise.
65904         (libc_feholdexcept_setround_53bit): Likewise.
65905         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
65906         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
65907         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
65908         (libc_feupdateenv_53bit): Likewise.
65909         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
65910         (libc_feholdexcept): Convert from macro to inline function.
65911         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
65912         (libc_fesetenv, libc_feupdateenv): Likewise.
65914         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
65915         not previously defined.
65916         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
65917         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
65918         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
65919         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
65920         * sysdeps/ieee754/flt-32/math_private.h: New file.
65921         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
65922         math_private.h below SET_FLOAT_WORD.
65923         (__isnan, __isinf_ns, __finite): Remove.
65924         (__isnanf, __isinf_nsf, __finitef): Remove.
65926 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
65928         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65930 2012-03-17  David S. Miller  <davem@davemloft.net>
65932         [BZ #6471]
65933         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
65934         for 2.16.
65936 2012-03-16  David S. Miller  <davem@davemloft.net>
65938         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
65939         warnings.
65941         [BZ #6471]
65942         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
65943         properly.
65944         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
65945         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
65946         sysdep_routines when subdir is sysvipc.
65947         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
65948         __getshmlba helper.
65950         * sysdeps/sparc/fpu/libm-test/ulps: Update.
65952 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
65954         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
65955         [__LP64__].
65957 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
65959         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
65960         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
65961         (__lround): Renamed to ...
65962         (__llround): This.  Replace long int with long long int.
65963         Define lround functions as aliases of llround functions.
65964         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
65966 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
65968         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
65969         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
65970         adresses to uintptr_t.  Replace "long int" and "unsigned long
65971         int" with "greg_t" on va_arg.
65973 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
65975         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
65976         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
65978         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
65979         Move e_machine check before EI_CLASS check.  Handle x32
65980         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
65981         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
65982         SKIP_EM_IA_64 and include
65983         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
65985         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
65986         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
65987         (add_system_dir): New macro.
65989         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
65990         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
65992 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
65994         [BZ #2551]
65995         [BZ #2552]
65996         [BZ #2553]
65997         [BZ #2554]
65998         [BZ #2562]
65999         [BZ #2563]
66000         [BZ #2565]
66001         [BZ #2566]
66002         [BZ #2576]
66003         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
66004         (y0): Likewise.
66005         * math/w_j0f.c (j0f): Likewise.
66006         (y0f): Likewise.
66007         * math/w_j0l.c (__j0l): Likewise.
66008         (__y0l): Likewise.
66009         * math/w_j1.c (j1): Likewise.
66010         (y1): Likewise.
66011         * math/w_j1f.c (j1f): Likewise.
66012         (y1f): Likewise.
66013         * math/w_j1l.c (__j1l): Likewise.
66014         (__y1l): Likewise.
66015         * math/w_jn.c (jn): Likewise.
66016         (yn): Likewise.
66017         * math/w_jnf.c (jnf): Likewise.
66018         (ynf): Likewise.
66019         * math/w_jnl.c (__jnl): Likewise.
66020         (__ynl): Likewise.
66021         * math/libm-test.inc (j0_test): Add more tests.
66022         (j1_test): Likewise.
66023         (jn_test): Likewise.  Add trailing semicolon to existing test.
66024         (y0_test): Likewise.
66025         (y1_test): Likewise.
66026         * sysdeps/i386/fpu/libm-test-ulps: Update.
66027         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66029         [BZ #13851]
66030         [BZ #13854]
66031         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
66032         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
66033         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
66034         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
66035         (__tanl): Set errno for infinite argument.
66036         * sysdeps/i386/fpu/mptan.c: Remove.
66037         * sysdeps/i386/fpu/s_tan.S: Likewise.
66038         * sysdeps/i386/fpu/s_tanl.S: Likewise.
66039         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
66040         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
66041         * math/libm-test.inc (tan_test): Add more tests and enable more
66042         tests for double and long double.
66043         * sysdeps/i386/fpu/libm-test-ulps: Update.
66044         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66046 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
66048         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
66049         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
66051 2012-03-16  Roland McGrath  <roland@hack.frob.com>
66053         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
66054         * configure.in: Use it for both main tree and add-ons.
66055         * configure: Regenerated.
66057 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
66059         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
66061 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
66063         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
66064         in comment.
66066         [BZ #13851]
66067         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
66068         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
66069         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
66070         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
66071         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
66072         infinite argument.
66073         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
66074         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
66075         != 0 for prec == 2.
66076         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
66077         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
66078         * sysdeps/i386/fpu/s_cosl.S: Likewise.
66079         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
66080         * sysdeps/i386/fpu/s_sinl.S: Likewise.
66081         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
66082         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
66083         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
66084         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
66085         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
66086         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
66087         * math/libm-test.inc (cos_test): Add more tests and enable more
66088         tests for long double.
66089         (sin_test): Likewise.
66090         (sincos_test): Likewise.
66091         * sysdeps/i386/fpu/libm-test-ulps: Update.
66092         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66094 2012-03-16  David S. Miller  <davem@davemloft.net>
66096         * sysdeps/sparc/fpu/math_private.h: New file.
66098 2012-03-15  David S. Miller  <davem@davemloft.net>
66100         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
66101         file.
66102         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
66103         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
66104         file.
66105         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
66106         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
66107         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
66108         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
66109         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
66110         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
66111         sysdep routines.
66112         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
66114         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
66115         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
66117         * sysdeps/sparc/sparc-ifunc.h: New file.
66118         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
66119         sparc-ifunc.h
66120         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
66121         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
66122         Likewise.
66123         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
66124         Likewise.
66125         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
66126         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
66127         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
66128         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
66129         Likewise.
66130         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
66131         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
66132         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
66133         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
66134         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
66135         Likewise.
66136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
66137         Likewise.
66138         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
66139         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
66140         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
66141         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
66142         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
66143         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
66144         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
66145         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
66146         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
66147         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
66148         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
66149         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
66150         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
66151         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
66152         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
66153         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
66154         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
66155         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
66156         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
66157         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
66158         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
66159         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
66160         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
66161         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
66163 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
66165         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
66166         scaling.
66167         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66169 2012-03-15  Andreas Jaeger  <aj@suse.de>
66171         [BZ #13852]
66172         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
66173         ieee754/flt-32 implementation for sin, cos and sincos.
66174         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
66175         * sysdeps/i386/fpu/s_cosf.S: Likewise.
66176         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
66177         * sysdeps/i386/fpu/s_sinf.S: Likewise.
66178         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
66179         ieee754/flt-32 implementation for tan.
66181         * math/libm-test.inc (cos_test): Enable some large input tests for
66182         float as well
66183         (sin_test): Likewise.
66184         (sincos_test): Likewise.
66185         (tan_test): Add tests for large input.
66187         * sysdeps/i386/fpu/libm-test-ulps: Update.
66189 2012-03-15  Andreas Jaeger  <aj@suse.de>
66191         [BZ #13658]
66192         * math/libm-test.inc (cos_test): Add more test cases.
66193         (sin_test): Likewise.
66194         (sincos_test): Likewise.
66196 2012-03-15  Andreas Jaeger  <aj@suse.de>
66198         [BZ #13837]
66199         * math/libm-test.inc (cos_test): Add a test case for large input
66200         value.
66201         (sin_test): Likewise.
66202         (sincos_test): Likewise.
66204 2012-03-15  Andreas Jaeger  <aj@suse.de>
66205             Joseph Myers  <joseph@codesourcery.com>
66207         [BZ #13658]
66208         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
66209         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
66210         * sysdeps/i386/fpu/branred.c: Likewise.
66211         * sysdeps/i386/fpu/dosincos.c: Likewise.
66212         * sysdeps/i386/fpu/mpa.c: Likewise.
66213         * sysdeps/i386/fpu/s_cos.S: Likewise.
66214         * sysdeps/i386/fpu/s_sin.S: Likewise.
66215         * sysdeps/i386/fpu/s_sincos.S: Likewise.
66216         * sysdeps/i386/fpu/sincos32.c: Likewise.
66218         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
66219         Define.
66220         (libc_feupdateenv_53bit): Define.
66221         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
66222         Define.
66223         (libc_feupdateenv_53bit): Define.
66225         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
66226         53 bit (without extend i386 double precision).
66228         * math/libm-test.inc (sincos_test): Add tests for large input.
66229         (sin): Likewise.
66230         (cos): Likewise.
66232         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
66234 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
66236         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66238 2012-03-15  David S. Miller  <davem@davemloft.net>
66240         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
66241         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
66242         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
66243         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
66244         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
66245         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
66246         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
66247         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
66248         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
66249         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
66250         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
66251         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
66252         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
66253         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
66254         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
66255         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
66256         file.
66257         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
66258         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
66259         file.
66260         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
66261         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
66262         file.
66263         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
66264         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
66265         file.
66266         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
66267         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
66268         fmin/fmax sysdep routines.
66269         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
66271 2012-03-14  David S. Miller  <davem@davemloft.net>
66273         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
66274         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
66275         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
66276         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
66277         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
66278         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
66279         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
66280         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
66281         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
66282         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
66283         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
66284         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
66285         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
66286         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
66287         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
66288         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
66289         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
66290         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
66291         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
66292         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
66293         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
66294         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
66295         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
66296         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
66297         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
66298         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
66299         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
66300         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
66301         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
66302         routines.
66303         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
66304         file.
66305         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
66306         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
66307         file.
66308         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
66309         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
66310         file.
66311         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
66312         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
66313         file.
66314         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
66315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
66316         file.
66317         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
66318         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
66319         file.
66320         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
66321         file.
66322         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
66323         file.
66324         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
66325         file.
66326         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
66327         New file.
66328         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
66329         file.
66330         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
66331         file.
66332         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
66333         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
66334         file.
66335         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
66336         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
66337         file.
66338         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
66339         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
66340         file.
66341         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
66342         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
66343         VIS3 routines.
66345         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
66346         New file.
66348         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66350         * sysdeps/sparc/configure.in: New file.
66351         * sysdeps/sparc/configure: Generate.
66352         * configure.in (libc_cv_sparc_as_vis3): Substitute.
66353         * configure: Regenerate.
66354         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
66355         * config.make.in (have-as-vis3): New.
66356         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
66357         available use -Av9d instead of -Av9a.
66358         * sysdeps/sparc/sparc64/Makefile: Likewise.
66359         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
66360         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
66361         New file.
66362         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
66363         file.
66364         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
66365         New file.
66366         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
66367         file.
66368         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
66369         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
66370         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
66371         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
66372         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
66374         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
66375         fzeros/fnegs to load 0x80000000 into a float register instead of
66376         using the stack.
66377         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
66379 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
66381         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
66382         bits/syscall.h.
66383         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
66384         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
66385         ($(inst_includedir)/bits/syscall.h): Remove rule.
66386         ($(objpfx)bits/syscall.d): Include instead of
66387         $(objpfx)syscall-list.d.
66388         (generated): Change syscall-list.h and syscall-list.d to
66389         bits/syscall.h and bits/syscall.d.
66391 2012-03-14  Roland McGrath  <roland@hack.frob.com>
66393         [BZ #13846]
66394         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
66396 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
66398         [BZ #13841]
66399         * math/s_csqrt.c: Include <float.h>.
66400         (__csqrt): Scale large or subnormal inputs.
66401         * math/s_csqrtf.c: Likewise.
66402         * math/s_csqrtl.c: Likewise.
66403         * math/libm-test.inc (csqrt_test): Add more tests.
66404         * sysdeps/i386/fpu/libm-test-ulps: Update.
66405         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66407         [BZ #13840]
66408         * math/libm-test.inc (hypot_test): Add more tests.
66410 2012-03-13  David S. Miller  <davem@davemloft.net>
66412         [BZ #13840]
66413         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
66414         double-precision for the calculation instead of scaling.
66416 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
66418         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
66419         manipulate bits before adding and subtracting TWO52[sx].
66420         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
66421         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
66422         Likewise.
66423         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
66425 2012-03-13  David S. Miller  <davem@davemloft.net>
66427         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
66428         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
66429         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
66430         rtld-global-offsets.h
66431         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
66433         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
66434         large parameters.
66436         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
66438         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
66439         'err' in the ifdef scope in which it is actually used.
66441         * nss/nss_db/db-init.c: Include string.h
66443 2012-03-12  David S. Miller  <davem@davemloft.net>
66445         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
66446         masking out of the most significant byte of random value used.
66447         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
66448         Fix coding style in previous change.
66450         * sysdeps/unix/sysv/linux/kernel-features.h
66451         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
66452         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
66453         expression.
66454         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
66455         later.
66457 2012-03-11  David S. Miller  <davem@davemloft.net>
66459         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
66460         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
66461         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
66462         for 'resultvar' otherwise things get truncated on 64-bit.
66464         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
66465         Fix masking out of the most significant byte of random value used.
66467         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66469 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
66471         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66473 2012-03-09  David S. Miller  <davem@davemloft.net>
66475         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
66476         variables with appropriate CPP guards.
66477         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
66478         from the frame pointer, not the stack pointer.  Correct layout
66479         comments.  Fix test on resulting framesize and the management of
66480         the outregs buffer for pltexit.  Preserve floating point return
66481         values across _dl_call_pltexit call.
66482         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
66483         framesize and the management of the outregs buffer for pltexit.
66484         Preserve floating point return values across _dl_call_pltexit
66485         call.
66486         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
66487         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
66488         (la_sparc64_gnu_pltexit): New functions.
66489         (print_exit): Fix format string for return register value.
66491 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
66493         * sunrpc/Makefile (others): Add rpcgen.
66494         ($(objpfx)rpcgen): Remove special build rule and dependency on
66495         libc.
66496         * sunrpc/rpcgen.c: New file.
66498 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
66500         [BZ #13673]
66501         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
66502         * stdio-common/bug-vfprintf-nargs.c: Likewise.
66503         * sysdeps/i386/crti.S: Likewise.
66504         * sysdeps/i386/crtn.S: Likewise.
66505         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
66506         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
66507         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
66508         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
66509         * sysdeps/sh/crti.S: Likewise.
66510         * sysdeps/sh/crtn.S: Likewise.
66511         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
66513         [BZ #13673]
66514         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
66515         with URL.
66516         * locale/programs/locfile-kw.gperf: Likewise.
66517         * locale/programs/charmap-kw.h: Regenerated.
66518         * locale/programs/locfile-kw.h: Likewise.
66520         [BZ #13673]
66521         * intl/plural.y: Replace FSF snail mail address with URL.
66522         * intl/plural.c: Regenerated.
66524 2012-03-09  Richard Henderson  <rth@twiddle.net>
66526         * include/math_private.h: Remove file.
66527         * math/math_private.h: Move file ...
66528         * sysdeps/generic/math_private.h: ... here.
66530         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
66531         * sysdeps/powerpc/fpu/math_private.h: Likewise.
66532         * sysdeps/x86_64/fpu/math_private.h: Likewise.
66534         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
66535         and <math_private.h>.
66536         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
66537         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
66538         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
66539         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
66540         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
66541         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
66542         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
66543         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
66544         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
66545         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
66546         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
66547         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
66548         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
66549         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
66550         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
66551         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
66552         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
66553         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
66554         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
66555         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
66556         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
66557         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
66558         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
66559         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
66560         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
66561         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
66562         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
66563         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
66564         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
66565         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
66566         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
66567         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
66568         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
66569         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
66570         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
66571         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
66572         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
66573         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
66574         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
66575         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
66576         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
66577         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
66578         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
66579         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
66580         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
66581         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
66582         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
66583         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
66584         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
66585         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
66586         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
66587         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
66588         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
66589         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
66590         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
66591         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
66592         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
66593         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
66594         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
66595         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
66596         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
66597         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
66598         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
66599         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
66600         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
66601         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
66602         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
66603         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
66604         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
66605         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
66606         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
66607         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
66608         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
66609         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
66610         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
66611         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
66612         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
66613         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
66614         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
66615         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
66616         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
66617         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
66618         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
66619         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
66620         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
66621         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
66622         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
66623         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
66624         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
66625         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
66626         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
66627         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
66628         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
66629         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
66630         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
66631         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
66632         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
66633         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
66634         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
66635         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
66636         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
66637         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
66638         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
66639         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
66640         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
66641         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
66642         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
66643         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
66644         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
66645         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
66646         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
66647         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
66648         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
66649         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
66650         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
66651         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
66652         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
66653         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
66654         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
66655         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
66656         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
66657         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
66658         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
66659         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
66660         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
66661         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
66662         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
66663         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
66664         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
66665         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
66666         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
66667         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
66668         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
66669         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
66670         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
66671         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
66672         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
66673         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
66674         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
66675         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
66676         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
66677         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
66678         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
66679         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
66680         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
66681         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
66682         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
66683         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
66684         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
66685         * sysdeps/ieee754/k_standard.c: Likewise.
66686         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
66687         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
66688         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
66689         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
66690         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
66691         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
66692         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
66693         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
66694         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
66695         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
66696         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
66697         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
66698         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
66699         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
66700         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
66701         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
66702         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
66703         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
66704         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
66705         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
66706         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
66707         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
66708         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
66709         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
66710         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
66711         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
66712         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
66713         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
66714         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
66715         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
66716         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
66717         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
66718         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
66719         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
66720         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
66721         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
66722         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
66723         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
66724         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
66725         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
66726         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
66727         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
66728         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
66729         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
66730         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
66731         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
66732         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
66733         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
66734         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
66735         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
66736         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
66737         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
66738         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
66739         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
66740         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
66741         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
66742         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
66743         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
66744         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
66745         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
66746         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
66747         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
66748         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
66749         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
66750         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
66751         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
66752         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
66753         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
66754         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
66755         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
66756         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
66757         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
66758         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
66759         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
66760         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
66761         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
66762         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
66763         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
66764         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
66765         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
66766         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
66767         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
66768         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
66769         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
66770         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
66771         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
66772         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
66773         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
66774         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
66775         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
66776         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
66777         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
66778         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
66779         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
66780         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
66781         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
66782         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
66783         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
66784         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
66785         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
66786         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
66787         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
66788         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
66789         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
66790         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
66791         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
66792         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
66793         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
66794         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
66795         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
66796         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
66797         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
66798         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
66799         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
66800         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
66801         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
66802         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
66803         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
66804         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
66805         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
66806         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
66807         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
66808         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
66809         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
66810         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
66811         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
66812         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
66813         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
66814         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
66815         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
66816         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
66817         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
66818         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
66819         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
66820         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
66821         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
66822         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
66823         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
66824         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
66825         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
66826         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
66827         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
66828         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
66829         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
66830         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
66831         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
66832         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
66833         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
66834         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
66835         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
66836         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
66837         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
66838         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
66839         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
66840         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
66841         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
66842         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
66843         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
66844         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
66845         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
66846         * sysdeps/ieee754/s_lib_version.c: Likewise.
66847         * sysdeps/ieee754/s_matherr.c: Likewise.
66848         * sysdeps/ieee754/s_signgam.c: Likewise.
66849         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
66850         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
66851         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
66852         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
66853         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
66854         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
66855         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
66856         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
66857         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
66858         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
66859         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
66860         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
66861         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
66862         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
66863         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
66864         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
66865         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
66866         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
66867         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
66868         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
66869         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
66871 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
66873         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
66874         * sunrpc/rpc_main.c: Likewise.
66875         * sunrpc/rpc_svcout.c: Likewise.
66877 2012-03-09  David S. Miller  <davem@davemloft.net>
66879         * include/math_private.h: New file.
66881 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
66883         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
66884         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
66885         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
66886         from <bits/socket_type.h>.
66887         (enum __socket_type): Don't define here.
66888         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
66889         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
66890         bits/socket_type.h.
66892         [BZ #13566]
66893         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
66894         checking __USE_GNU.
66896         * Makerules ($(inst_includedir)/%.h): New rule.
66897         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
66898         (install-others): Remove variable setting.
66899         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
66901 2012-03-08  Richard Henderson  <rth@twiddle.net>
66903         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
66904         from macro to inline function; merge with the
66905         !__LIBC_INTERNAL_MATH_INLINES version.
66906         (__ieee754_sqrtf): Likewise.
66908         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
66909         to inline function.
66910         (__rintf, __floor, __floorf): Likewise.
66912         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
66913         macro to inline function.
66914         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
66916         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
66917         not <math/math_private.h>.
66919 2012-03-08  David S. Miller  <davem@davemloft.net>
66921         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
66922         copyright year.
66923         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
66925 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
66927         * resolv/gai_misc.c (handle_requests): Fix struct timespec
66928         normalization.
66929         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
66930         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
66932 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
66934         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
66935         be defined individually, they must be defined as a block.  Define
66936         S for printing a string instead of hidint the different by using a
66937         macro for adding the 'l'.
66938         * stdio-common/tst-fphex-wide.c: Adjust.
66940 2012-03-07  Marek Polacek  <polacek@redhat.com>
66942         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
66944 2012-03-08  Marek Polacek  <polacek@redhat.com>
66946         [BZ #13806]
66947         * stdio-common/Makefile (tests): Add tst-fphex-wide.
66948         * stdio-common/tst-fphex.c: Define a few macros to make the
66949         test reusable.  Use them.
66950         * stdio-common/tst-fphex-wide.c: New file.
66952 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
66954         [BZ #6911]
66955         * manual/macros.texi (gnusystems): New macro.
66956         (nongnusystems): Likewise.
66957         (gnulinuxhurdsystems): Likewise.
66958         (gnuhurdsystems): Likewise..
66959         (gnulinuxsystems): Likewise.
66960         * manual/charset.texi: Use new macros or @theglibc{} to refer to
66961         variants of the GNU system, not "GNU system".
66962         * manual/conf.texi: Likewise.
66963         * manual/errno.texi: Likewise.  Update example of errno macro
66964         expansion.
66965         * manual/filesys.texi: Likewise.
66966         (getumask): Document as specific to GNU/Hurd.
66967         * manual/install.texi: Likewise.  Reword some references to
66968         GNU/Linux.
66969         * manual/intro.texi: Likewise.
66970         * manual/io.texi: Likewise.
66971         (File Name Portability): Detail which constraints are inapplicable
66972         to all GNU systems and which are only inapplicable to GNU/Hurd.
66973         * manual/job.texi: Likewise.
66974         * manual/llio.texi: Likewise.
66975         (O_NOCTTY): Document as present on GNU/Linux.
66976         * manual/maint.texi: Likewise.
66977         * manual/memory.texi: Likewise.
66978         * manual/pattern.texi: Likewise.
66979         * manual/pipe.texi: Likewise.
66980         * manual/process.texi: Likewise.
66981         * manual/resource.texi: Likewise.
66982         (RUSAGE_CHILDREN): Remove statement about specifying a particular
66983         child on GNU/Hurd.
66984         * manual/setjmp.texi: Likewise.
66985         * manual/signal.texi: Likewise.
66986         * manual/startup.texi: Likewise.
66987         * manual/stdio.texi: Likewise.
66988         * manual/terminal.texi: Likewise.
66989         (ONLCR): Document as POSIX.
66990         (OXTABS): Document availability on GNU/Linux as XTABS.
66991         (ONOEOT): Document availability separately from other bits.
66992         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
66993         * manual/time.texi: Likewise.
66994         * manual/users.texi: Likewise.
66995         * INSTALL: Regenerated.
66996         * sysdeps/gnu/errlist.c: Regenerated.
66998         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
66999         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
67000         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
67001         puts.
67002         * configure: Regenerated.
67004 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
67006         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
67007         default includes instead of AC_HEADER_CHECK.
67008         * sysdeps/i386/configure: Regenerated.
67010         [BZ #10716]
67011         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
67012         * math/s_cacoshf.c (__cacoshf): Likewise.
67013         * math/s_cacoshl.c (__cacoshl): Likewise.
67014         * math/s_casinh.c (__casinh): Set signs of result from argument.
67015         * math/s_casinhf.c (__casinhf): Likewise.
67016         * math/s_casinhl.c (__casinhl): Likewise.
67017         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
67018         (casinh_test): Add more tests.
67019         * sysdeps/i386/fpu/libm-test-ulps: Update.
67020         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67022 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
67024         * po/zh_TW.po: Update from translation team.
67026         * login/Makefile (distribute): Remove variable.
67027         * catgets/Makefile: Likewise.
67028         * mach/Makefile: Likewise.
67029         * malloc/Makefile: Likewise.
67030         * misc/Makefile: Likewise.
67031         * iconv/Makefile: Likewise.
67032         * nscd/Makefile: Likewise.
67033         * hurd/Makefile: Likewise.
67034         * manual/Makefile: Likewise.
67035         * locale/Makefile: Likewise.
67036         * intl/Makefile: Likewise.
67037         * conform/Makefile: Likewise.
67038         * nss/Makefile: Likewise.
67039         * time/Makefile: Likewise.
67040         * soft-fp/Makefile: Likewise.
67041         * dirent/Makefile: Likewise.
67042         * gmon/Makefile: Likewise.
67043         * po/Makefile: Likewise.
67044         * rt/Makefile: Likewise.
67045         * socket/Makefile: Likewise.
67046         * math/Makefile: Likewise.
67047         * signal/Makefile: Likewise.
67048         * debug/Makefile: Likewise.
67049         * elf/Makefile: Likewise.
67050         * timezone/Makefile: Likewise.
67051         * stdlib/Makefile: Likewise.
67052         * iconvdata/Makefile: Likewise.
67053         * sunrpc/Makefile: Likewise.
67054         * io/Makefile: Likewise.
67055         * argp/Makefile: Likewise.
67056         * inet/Makefile: Likewise.
67057         * hesiod/Makefile: Likewise.
67058         * grp/Makefile: Likewise.
67059         * csu/Makefile: Likewise.
67060         * wctype/Makefile: Likewise.
67061         * crypt/Makefile: Likewise.
67062         * libio/Makefile: Likewise.
67063         * string/Makefile: Likewise.
67064         * nis/Makefile: Likewise.
67065         * resolv/Makefile: Likewise.
67066         * stdio-common/Makefile: Likewise.
67067         * wcsmbs/Makefile: Likewise.
67068         * dlfcn/Makefile: Likewise.
67069         * posix/Makefile: Likewise.
67071         [BZ #6959]
67072         * timezone/Makefile: Don't install timezone files, just the programs
67073         and scripts.
67075 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
67077         * nss/databases.def: Add missing gshadow entry.
67079         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
67081 2012-03-06  Marek Polacek  <polacek@redhat.com>
67083         [BZ #13726]
67084         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
67085         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
67086         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
67087         * stdio-common/tst-long-dbl-fphex.c: New file.
67089 2012-03-06  David S. Miller  <davem@davemloft.net>
67091         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
67092         (set_obp_int): New function.
67093         (get_obp_int): New function.
67094         (__get_clockfreq_via_dev_openprom): Likewise.
67095         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
67096         Avoid unused variable warnings on 'val' and use builtin_expect.
67097         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
67098         __builtin_expect.
67099         (INLINE_CLONE_SYSCALL): Likewise.
67101 2012-03-05  David S. Miller  <davem@davemloft.net>
67103         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67105 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
67107         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67109         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
67110         only for |x| >= 40.
67111         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
67113 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
67115         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
67116         Replace gettimeofday with __vdso_gettimeofday.
67118         * sysdeps/unix/sysv/linux/x86_64/init-first.c
67119         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
67120         __vdso_clock_gettime and __vdso_getcpu.
67122         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
67123         time with __vdso_time.
67125 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
67127         * manual/lang.texi (size_t): Note types to which size_t may be
67128         equivalent with the GNU C Library, but do not describe when
67129         differences between them are significant.
67131 2012-03-05  Andreas Jaeger  <aj@suse.de>
67133         * sysdeps/i386/fpu/libm-test-ulps: Update.
67135 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
67137         [BZ #3976]
67138         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
67139         (__ieee754_pow): Save and restore rounding mode and use
67140         round-to-nearest for main computations.
67141         * math/libm-test.inc (pow_test_tonearest): New function.
67142         (pow_test_towardzero): Likewise.
67143         (pow_test_downward): Likewise.
67144         (pow_test_upward): Likewise.
67145         (main): Call the new functions.
67146         * sysdeps/i386/fpu/libm-test-ulps: Update.
67147         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67149         [BZ #3976]
67150         * math/libm-test.inc (cosh_test_tonearest): New function.
67151         (cosh_test_towardzero): Likewise.
67152         (cosh_test_downward): Likewise.
67153         (cosh_test_upward): Likewise.
67154         (sinh_test_tonearest): Likewise.
67155         (sinh_test_towardzero): Likewise.
67156         (sinh_test_downward): Likewise.
67157         (sinh_test_upward): Likewise.
67158         (main): Call the new functions.
67159         * sysdeps/i386/fpu/libm-test-ulps: Update.
67160         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67162 2012-03-05  Tom de Vries  <tom@codesourcery.com>
67164         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
67165         default stack guard is set in last bytes.
67166         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
67168 2012-03-05  Kees Cook  <keescook@chromium.org>
67170         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
67172         [BZ #13656]
67173         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
67174         possibly allocate from heap instead of stack.
67175         * stdio-common/bug-vfprintf-nargs.c: New file.
67176         * stdio-common/Makefile (tests): Add nargs overflow test.
67178 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
67180         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67182 2012-03-03  Marek Polacek  <polacek@redhat.com>
67184         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
67185         * math/math_private.h: Likewise.
67186         * stdlib/tst-strtod.c: Likewise.
67187         * sysdeps/i386/i486/bits/atomic.h: Likewise.
67188         * sysdeps/x86_64/bits/atomic.h: Likewise.
67190 2012-03-02  David S. Miller  <davem@davemloft.net>
67192         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
67193         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
67194         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
67195         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
67196         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
67197         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
67198         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
67199         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
67201 2012-03-02  Roland McGrath  <roland@hack.frob.com>
67203         [BZ #13792]
67204         * manual/examples/README: New file, says the example source files
67205         can be used under GPL>=2.
67206         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
67207         line containing just "*/".
67208         * manual/examples/add.c: Add copyright header (GPL>=2).
67209         * manual/examples/argp-ex1.c: Likewise.
67210         * manual/examples/argp-ex2.c: Likewise.
67211         * manual/examples/argp-ex3.c: Likewise.
67212         * manual/examples/argp-ex4.c: Likewise.
67213         * manual/examples/atexit.c: Likewise.
67214         * manual/examples/db.c: Likewise.
67215         * manual/examples/dir.c: Likewise.
67216         * manual/examples/dir2.c: Likewise.
67217         * manual/examples/execinfo.c: Likewise.
67218         * manual/examples/filecli.c: Likewise.
67219         * manual/examples/filesrv.c: Likewise.
67220         * manual/examples/fmtmsgexpl.c: Likewise.
67221         * manual/examples/genpass.c: Likewise.
67222         * manual/examples/inetcli.c: Likewise.
67223         * manual/examples/inetsrv.c: Likewise.
67224         * manual/examples/isockad.c: Likewise.
67225         * manual/examples/longopt.c: Likewise.
67226         * manual/examples/memopen.c: Likewise.
67227         * manual/examples/memstrm.c: Likewise.
67228         * manual/examples/mkfsock.c: Likewise.
67229         * manual/examples/mkisock.c: Likewise.
67230         * manual/examples/mygetpass.c: Likewise.
67231         * manual/examples/pipe.c: Likewise.
67232         * manual/examples/popen.c: Likewise.
67233         * manual/examples/rprintf.c: Likewise.
67234         * manual/examples/search.c: Likewise.
67235         * manual/examples/select.c: Likewise.
67236         * manual/examples/setjmp.c: Likewise.
67237         * manual/examples/sigh1.c: Likewise.
67238         * manual/examples/sigusr.c: Likewise.
67239         * manual/examples/stpcpy.c: Likewise.
67240         * manual/examples/strdupa.c: Likewise.
67241         * manual/examples/strftim.c: Likewise.
67242         * manual/examples/strncat.c: Likewise.
67243         * manual/examples/subopt.c: Likewise.
67244         * manual/examples/swapcontext.c: Likewise.
67245         * manual/examples/termios.c: Likewise.
67246         * manual/examples/testopt.c: Likewise.
67247         * manual/examples/testpass.c: Likewise.
67248         * manual/examples/timeval_subtract.c: Likewise.
67250         [BZ #13792]
67251         * manual/time.texi (Elapsed Time): Move timeval_subtract example
67252         function to ...
67253         * manual/timeval_subtract.c.texi: ... here, new file.
67255 2012-03-02  David S. Miller  <davem@davemloft.net>
67257         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
67259 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
67261         [BZ #3976]
67262         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
67263         (__sin): Save and restore rounding mode and use round-to-nearest
67264         for all computations.
67265         (__cos): Save and restore rounding mode and use round-to-nearest
67266         for all computations.
67267         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
67268         <fenv.h>.
67269         (tan): Save and restore rounding mode and use round-to-nearest for
67270         all computations.
67271         * math/libm-test.inc (cos_test_tonearest): New function.
67272         (cos_test_towardzero): Likewise.
67273         (cos_test_downward): Likewise.
67274         (cos_test_upward): Likewise.
67275         (sin_test_tonearest): Likewise.
67276         (sin_test_towardzero): Likewise.
67277         (sin_test_downward): Likewise.
67278         (sin_test_upward): Likewise.
67279         (tan_test_tonearest): Likewise.
67280         (tan_test_towardzero): Likewise.
67281         (tan_test_downward): Likewise.
67282         (tan_test_upward): Likewise.
67283         (main): Call the new functions.
67284         * sysdeps/i386/fpu/libm-test-ulps: Update.
67285         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67287         [BZ #10135]
67288         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
67289         small n, then large n, before computing and testing k+n.
67290         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
67291         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
67292         Likewise.
67293         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
67294         Likewise.
67295         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
67296         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
67297         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
67298         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
67299         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
67300         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
67301         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
67302         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
67303         * math/libm-test.inc (scalbn_test): Add more tests.
67304         (scalbln_test): Likewise.
67306         * manual/filesys.texi (mode_t): Describe constraints on size and
67307         signedness, not exact equivalence to a particular type.
67308         (ino_t): Likewise.
67309         (ino64_t): Likewise.
67310         (dev_t): Likewise.
67311         (nlink_t): Likewise.
67312         (blkcnt_t): Likewise.
67313         (blkcnt64_t): Likewise.
67314         * manual/llio.texi (off_t): Likewise.
67316         [BZ #3976]
67317         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
67318         (__ieee754_exp): Save and restore rounding mode and use
67319         round-to-nearest for all computations.
67320         * math/libm-test.inc (exp_test_tonearest): New function.
67321         (exp_test_towardzero): Likewise.
67322         (exp_test_downward): Likewise.
67323         (exp_test_upward): Likewise.
67324         (main): Call the new functions.
67325         * sysdeps/i386/fpu/libm-test-ulps: Update.
67326         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67328 2012-03-01  Chris Demetriou  <cgd@google.com>
67330         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
67331         have predictable order.
67333 2012-03-01  David S. Miller  <davem@davemloft.net>
67335         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
67337         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
67338         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
67339         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
67340         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
67342         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
67343         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
67344         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
67345         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
67346         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
67347         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
67348         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
67349         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
67350         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
67352         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67354         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
67355         * sysdeps/sparc/fpu/libm-test-ulps: to here.
67356         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
67358         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
67359         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
67360         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
67361         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
67362         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
67363         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
67364         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
67365         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
67366         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
67367         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
67368         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
67369         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
67370         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
67371         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
67372         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
67373         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
67374         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
67375         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
67376         * sysdeps/sparc/elf/configure: Regenerated.
67378 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
67380         * configure.in (AS, LD): Require binutils 2.20 or later.
67381         * configure: Regenerated.
67382         * manual/install.texi (Tools for Compilation): Give binutils 2.20
67383         as required minimum version.
67384         * INSTALL: Regenerated.
67386         [BZ #2541]
67387         [BZ #4108]
67388         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
67389         before squaring exponent.
67390         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
67391         bottom long double and 27 bits of top long double before squaring
67392         exponent.
67393         * math/libm-test.inc (erfc_test): Add more tests.
67394         * sysdeps/i386/fpu/libm-test-ulps: Update.
67395         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
67396         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67398 2012-03-01  Kai Tietz  <ktietz@redhat.com>
67400         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
67401         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
67402         containing bit-fields.
67403         * soft-fp/extended.h (_FP_UNION_E): Likewise.
67404         * soft-fp/single.h (_FP_UNION_S): Likewise.
67405         * soft-fp/double.h (_FP_UNION_D): Likewise.
67407 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
67409         [BZ #13786]
67410         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
67411         not include ../strcmp.S.
67412         [USE_AS_STRNCASECMP_L]: Likewise.
67413         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
67414         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
67415         * sysdeps/i386/i686/multiarch/strncase_l-c.c
67416         (__strncasecmp_l_ia32): Define as alias to
67417         __strncasecmp_l_nonascii.
67419         [BZ #5794]
67420         * math/libm-test.inc (expm1_test): Add test for bug 5794.
67421         * sysdeps/i386/fpu/libm-test-ulps: Update.
67422         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67424         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
67425         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67427 2012-02-29  Jeff Law  <law@redhat.com>
67429         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
67430         out of bounds read.
67432 2012-02-29  Marek Polacek  <polacek@redhat.com>
67434         [BZ #13706]
67435         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
67436         * elf/Makefile: Add rules to run tst-unused-dep.out.
67438 2012-02-28  David S. Miller  <davem@davemloft.net>
67440         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
67441         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
67442         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
67443         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
67444         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
67445         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
67447 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
67449         * math/libm-test.inc (llround_test): Move one test from
67450         lround_test.  Use TEST_f_L in moved test.
67451         (lround_test): Move misplaced test to llround_test.  Add testcase
67452         from bug 2561.
67454 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
67456         * sysdeps/x86_64/fpu/e_expf.S: New file.
67457         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
67459 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
67461         [BZ #13637]
67462         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
67463         of remain_len that may cause incomplete multi-byte character and
67464         false match.
67465         * posix/bug-regex33.c: New file.
67466         * posix/Makefile (tests): Add bug-regex33.
67468 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
67470         * manual/macros.texi: New file.
67471         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
67472         * manual/libc.texinfo: Include macros.texi.
67473         * manual/creatute.texi: Likewise.
67474         * manual/install.texi: Likewise.
67475         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
67476         @glibcadj{} in references to the GNU C Library.
67477         * manual/charset.texi: Likewise.
67478         * manual/conf.texi: Likewise.
67479         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
67480         when not using those macros.
67481         * manual/creature.texi: Likewise.
67482         * manual/crypt.texi: Likewise.
67483         * manual/errno.texi: Likewise.
67484         * manual/filesys.texi: Likewise.
67485         * manual/header.texi: Likewise.
67486         * manual/install.texi: Likewise.
67487         * manual/intro.texi: Likewise.
67488         * manual/io.texi: Likewise.
67489         * manual/job.texi: Likewise.
67490         * manual/lang.texi: Likewise.
67491         * manual/libc.texiinfo: Likewise.
67492         * manual/llio.texi: Likewise.
67493         * manual/locale.texi: Likewise.
67494         * manual/maint.texi: Likewise.
67495         * manual/math.texi: Likewise.
67496         * manual/memory.texi: Likewise.
67497         * manual/message.texi: Likewise.
67498         * manual/nss.texi: Likewise.
67499         * manual/pattern.texi: Likewise.
67500         * manual/process.texi: Likewise.
67501         * manual/resource.texi: Likewise.
67502         * manual/search.texi: Likewise.
67503         * manual/setjmp.texi: Likewise.
67504         * manual/signal.texi: Likewise.
67505         * manual/socket.texi: Likewise.
67506         * manual/startup.texi: Likewise.
67507         * manual/stdio.texi: Likewise.
67508         * manual/string.texi: Likewise.
67509         * manual/sysinfo.texi: Likewise.
67510         * manual/syslog.texi: Likewise.
67511         * manual/terminal.texi: Likewise.
67512         * manual/time.texi: Likewise.
67513         * manual/users.texi: Likewise.
67514         * INSTALL: Regenerated.
67515         * NOTES: Regenerated.
67516         * sysdeps/gnu/errlist.c: Regenerated.
67518 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
67520         * include/dirent.h: Include <dirstream.h> before
67521         <dirent/dirent.h>.
67523 2012-02-28  David S. Miller  <davem@davemloft.net>
67525         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
67526         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
67527         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
67528         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
67530 2012-02-27  David S. Miller  <davem@davemloft.net>
67532         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
67533         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
67534         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
67535         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
67537         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
67538         frame pointer instead of stack pointer relative arg slot.
67539         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
67540         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
67541         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
67543 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
67545         [BZ #3992]
67546         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
67548 2012-02-27  David S. Miller  <davem@davemloft.net>
67550         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
67551         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
67552         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
67553         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
67554         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
67555         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
67556         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
67557         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
67559 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
67561         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
67562         later.  Allow versions 5-9.
67563         * configure: Regenerated.
67564         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
67565         required minimum version and 4.6 as recommended version.  Do not
67566         mention bugs in GCC 2.7 and 2.8.
67567         * INSTALL: Regenerated.
67569 2012-02-27  David S. Miller  <davem@davemloft.net>
67571         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
67572         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
67573         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
67574         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
67575         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
67576         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
67577         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
67578         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
67580         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
67581         manipulate bits before adding and subtracting TWO112[sx].
67582         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
67584 2012-02-27  Roland McGrath  <roland@hack.frob.com>
67586         [BZ #13775]
67587         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
67588         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
67589         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
67590         being in POSIX, because they are in 1003.1-2008.
67592         * rt/tst-aio.c: Include <fcntl.h>.
67593         * rt/tst-aio7.c: Likewise.
67594         * rt/tst-aio64.c: Likewise.
67596         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
67598 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
67600         * manual/install.texi (--with-headers): Describe headers as
67601         interface headers, not private headers.
67602         (Specific advice for GNU/Linux systems): Describe use of headers
67603         from "make headers_install", not private headers from older
67604         kernels.
67605         * INSTALL: Regenerated.
67606         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
67607         Change to 2.6.19.
67608         * sysdeps/unix/sysv/linux/configure: Regenerated.
67610         * manual/llio.texi (fclean): Remove documentation.
67612         * manual/Makefile (libc-texi-generated): New variable.  Include
67613         version.texi.
67614         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
67615         $(libc-texi-generated), not duplicated list of files.
67616         (version.texi, stamp-version): New rules.
67617         (realclean): Remove $(libc-texi-generated), not individual files
67618         from that list.  Do not remove dir-add.texinfo.
67619         * manual/libc.texinfo: Comment out uses of edition numbers and
67620         references to printed manual.  Remove last-updated dates.
67621         (EDITION): Comment out.
67622         (ISBN): Likewise.
67623         (VERSION, UPDATED): Remove.
67624         (version.texi): Include.
67626 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
67628         * sysdeps/posix/spawni.c: Include <signal.h>.
67629         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
67630         * sysdeps/pthread/aio_fsync.c: Likewise.
67632 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
67634         * conform/Makefile (tests): Run only when not cross-compiling and
67635         when fast-check is not defined.
67637         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
67638         * conform/data/limits.h-data: Fixes for POSIX2008.
67639         * conform/run-conformtest.sh: Run all tests.
67640         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
67641         headers.
67642         * include/bits/dlfcn.h: Likewise.
67643         * include/langinfo.h: Likewise.
67644         * include/monetary.h: Likewise.
67645         * include/sys/poll.h: Likewise.
67647         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
67648         for __USE_GNU.
67649         * posix/spawn.h: Define __need_sigset_t.
67650         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
67651         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
67652         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
67653         to get sigevent_t only.
67654         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
67655         only for __USE_GNU.
67656         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
67657         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
67658         process_vm_writev only for __USE_GNU.
67659         * termios/termios.h: Declare tcgetsid also for POSIX2008.
67661         * conform/Makefile: For now ignore errors from run-conformtest.
67662         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
67663         POSIX to avoid namespace pollution.  Don't prepend headers.
67664         * conform/data/aio.h-data: Fixes for POSIX testing.
67665         * conform/data/fcntl.h-data: Likewise.
67666         * conform/data/glob.h-data: Likewise.
67667         * conform/data/grp.h-data: Likewise.
67668         * conform/data/pthread.h-data: Likewise.
67669         * conform/data/pwd.h-data: Likewise.
67670         * conform/data/signal.h-data: Likewise.
67671         * conform/data/spawn.h-data: Likewise.
67672         * conform/data/stdio.h-data: Likewise.
67673         * conform/data/stdlib.h-data: Likewise.
67674         * conform/data/stropts.h-data: Likewise.
67675         * conform/data/sys/mman.h-data: Likewise.
67676         * conform/data/sys/stat.h-data: Likewise.
67677         * conform/data/sys/types.h-data: Likewise.
67678         * conform/data/sys/wait.h-data: Likewise.
67679         * conform/data/time.h-data: Likewise.
67680         * conform/data/unistd.h-data: Likewise.
67681         * conform/data/utime.h-data: Likewise.
67683         * io/sys/stat.h: fchmod was always in POSIX.
67684         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
67685         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
67686         * rt/aio.h: Define __need_timespec before including <time.h>.
67687         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
67688         struct.  Add forward declaration of pthread_attr_t and use it in
67689         sigevent.
67690         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
67691         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
67692         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
67693         always remove CLK_TCK definition.
67695 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
67697         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
67699 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
67701         * conform/run-conformtest.sh: New file.
67702         * conform/Makefile: Run run-conformtest for tests.
67703         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
67704         support.
67706         * conform/data/uchar.h-data: New file.
67707         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
67708         * conform/data/arpa/inet.h-data: Likewise.
67709         * conform/data/assert.h-data: Likewise.
67710         * conform/data/complex.h-data: Likewise.
67711         * conform/data/cpio.h-data: Likewise.
67712         * conform/data/ctype.h-data: Likewise.
67713         * conform/data/dirent.h-data: Likewise.
67714         * conform/data/dlfcn.h-data: Likewise.
67715         * conform/data/errno.h-data: Likewise.
67716         * conform/data/fcntl.h-data: Likewise.
67717         * conform/data/float.h-data: Likewise.
67718         * conform/data/fmtmsg.h-data: Likewise.
67719         * conform/data/fnmatch.h-data: Likewise.
67720         * conform/data/ftw.h-data: Likewise.
67721         * conform/data/glob.h-data: Likewise.
67722         * conform/data/grp.h-data: Likewise.
67723         * conform/data/iconv.h-data: Likewise.
67724         * conform/data/inttypes.h-data: Likewise.
67725         * conform/data/langinfo.h-data: Likewise.
67726         * conform/data/libgen.h-data: Likewise.
67727         * conform/data/limits.h-data: Likewise.
67728         * conform/data/locale.h-data: Likewise.
67729         * conform/data/math.h-data: Likewise.
67730         * conform/data/monetary.h-data: Likewise.
67731         * conform/data/mqueue.h-data: Likewise.
67732         * conform/data/ndbm.h-data: Likewise.
67733         * conform/data/net/if.h-data: Likewise.
67734         * conform/data/netdb.h-data: Likewise.
67735         * conform/data/netinet/in.h-data: Likewise.
67736         * conform/data/nl_types.h-data: Likewise.
67737         * conform/data/poll.h-data: Likewise.
67738         * conform/data/pthread.h-data: Likewise.
67739         * conform/data/pwd.h-data: Likewise.
67740         * conform/data/regex.h-data: Likewise.
67741         * conform/data/sched.h-data: Likewise.
67742         * conform/data/search.h-data: Likewise.
67743         * conform/data/semaphore.h-data: Likewise.
67744         * conform/data/setjmp.h-data: Likewise.
67745         * conform/data/signal.h-data: Likewise.
67746         * conform/data/spawn.h-data: Likewise.
67747         * conform/data/stdarg.h-data: Likewise.
67748         * conform/data/stdio.h-data: Likewise.
67749         * conform/data/stdlib.h-data: Likewise.
67750         * conform/data/string.h-data: Likewise.
67751         * conform/data/strings.h-data: Likewise.
67752         * conform/data/stropts.h-data: Likewise.
67753         * conform/data/sys/ipc.h-data: Likewise.
67754         * conform/data/sys/mman.h-data: Likewise.
67755         * conform/data/sys/msg.h-data: Likewise.
67756         * conform/data/sys/resource.h-data: Likewise.
67757         * conform/data/sys/select.h-data: Likewise.
67758         * conform/data/sys/sem.h-data: Likewise.
67759         * conform/data/sys/shm.h-data: Likewise.
67760         * conform/data/sys/socket.h-data: Likewise.
67761         * conform/data/sys/stat.h-data: Likewise.
67762         * conform/data/sys/statvfs.h-data: Likewise.
67763         * conform/data/sys/time.h-data: Likewise.
67764         * conform/data/sys/timeb.h-data: Likewise.
67765         * conform/data/sys/times.h-data: Likewise.
67766         * conform/data/sys/types.h-data: Likewise.
67767         * conform/data/sys/uio.h-data: Likewise.
67768         * conform/data/sys/un.h-data: Likewise.
67769         * conform/data/sys/utsname.h-data: Likewise.
67770         * conform/data/sys/wait.h-data: Likewise.
67771         * conform/data/syslog.h-data: Likewise.
67772         * conform/data/tar.h-data: Likewise.
67773         * conform/data/termios.h-data: Likewise.
67774         * conform/data/utime.h-data: Likewise.
67775         * conform/data/utmpx.h-data: Likewise.
67776         * conform/data/varargs.h-data: Likewise.
67777         * conform/data/wchar.h-data: Likewise.
67778         * conform/data/wctype.h-data: Likewise.
67779         * conform/data/wordexp.h-data: Likewise.
67781         * include/stropts.h: New file.
67782         * include/uchar.h: New file.
67783         * include/aio.h: Changes to allow conformtest.pl to use the headers.
67784         * include/assert.h: Likewise.
67785         * include/ctype.h: Likewise.
67786         * include/dirent.h: Likewise.
67787         * include/dlfcn.h: Likewise.
67788         * include/fcntl.h: Likewise.
67789         * include/fnmatch.h: Likewise.
67790         * include/glob.h: Likewise.
67791         * include/grp.h: Likewise.
67792         * include/libio.h: Likewise.
67793         * include/locale.h: Likewise.
67794         * include/math.h: Likewise.
67795         * include/net/if.h: Likewise.
67796         * include/netdb.h: Likewise.
67797         * include/netinet/in.h: Likewise.
67798         * include/pthread.h: Likewise.
67799         * include/pwd.h: Likewise.
67800         * include/regex.h: Likewise.
67801         * include/sched.h: Likewise.
67802         * include/search.h: Likewise.
67803         * include/setjmp.h: Likewise.
67804         * include/signal.h: Likewise.
67805         * include/stdio.h: Likewise.
67806         * include/stdlib.h: Likewise.
67807         * include/string.h: Likewise.
67808         * include/sys/cdefs.h: Likewise.
67809         * include/sys/mman.h: Likewise.
67810         * include/sys/msg.h: Likewise.
67811         * include/sys/resource.h: Likewise.
67812         * include/sys/select.h: Likewise.
67813         * include/sys/socket.h: Likewise.
67814         * include/sys/stat.h: Likewise.
67815         * include/sys/statvfs.h: Likewise.
67816         * include/sys/time.h: Likewise.
67817         * include/sys/times.h: Likewise.
67818         * include/sys/uio.h: Likewise.
67819         * include/sys/utsname.h: Likewise.
67820         * include/sys/wait.h: Likewise.
67821         * include/termios.h: Likewise.
67822         * include/time.h: Likewise.
67823         * include/ulimit.h: Likewise.
67824         * include/unistd.h: Likewise.
67825         * include/utime.h: Likewise.
67826         * include/wchar.h: Likewise.
67827         * include/wctype.h: Likewise.
67828         * include/wordexp.h: Likewise.
67830         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
67832         * time/time.h: TIME_UTC must be a macro.
67833         Make timespec_get available for ISO C11 only as well.
67835 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
67837         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
67838         Reported by Peng Haitao <penght@cn.fujitsu.com>.
67840 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
67842         * configure.in: Use -o not -a in test for unsupported multi-arch.
67844 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
67846         * manual/texinfo.tex: Update to version 2012-01-19.16.
67848 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
67850         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
67852 2012-02-24  Roland McGrath  <roland@hack.frob.com>
67854         [BZ #13738]
67855         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
67856         * manual/fdl-1.3.texi: New file.
67857         * manual/fdl-1.1.texi: File removed.
67859         [BZ #13738]
67860         * manual/libc.texinfo (FDL_VERSION): New @set.
67861         Use it for mention of FDL in cover text.
67862         (Documentation License): Use it in @include file name.
67864 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
67865             Roland McGrath  <roland@hack.frob.com>
67867         [BZ #5461]
67868         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
67869         (not LONG_LONG_MAX and LONG_LONG_MIN.
67870         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
67871         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
67872         name.
67873         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
67875 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
67877         [BZ #2547]
67878         [BZ #11365]
67879         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
67880         manipulate bits before adding and subtracting TWO23[sx].
67881         * math/libm-test.inc (nearbyint_test): Add more tests.
67883 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
67885         [BZ #2548]
67886         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
67887         bits before adding and subtracting TWO23[sx].
67888         * math/libm-test.inc (rint_test): Add more tests.
67889         (rint_test_tonearest): Likewise.
67890         (rint_test_towardzero): Likewise.
67891         (rint_test_downward): Likewise.
67892         (rint_test_upward: Likewise.
67894 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
67896         [BZ #10110]
67897         * include/stdc-predef.h: New file.  Extracted from features.h.
67898         * include/features.h: Include stdc-predef.h.
67899         * Makefile (headers): Add stdc-predef.h.
67900         * CONFORMANCE (Compiler limitations): Update.
67902 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
67904         * manual/libc.texinfo (VERSION, UPDATED): Revert.
67906 2012-02-21  David S. Miller  <davem@davemloft.net>
67908         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
67909         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
67911 2012-02-20  David S. Miller  <davem@davemloft.net>
67913         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
67914         using a normal save/restore sequence, rather than allocating a
67915         dummy stack frame just to store a frame pointer and restore.
67916         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
67918 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
67920         * manual/install.texi: Fix stray word in line-wrapped comment.
67922 2012-02-20  David S. Miller  <davem@davemloft.net>
67924         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
67925         both binutils and gcc support GOTDATA.
67927         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
67928         "rd %pc" in the PIC register setup sequences.
67930         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
67931         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
67932         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
67933         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
67934         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
67935         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
67936         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
67937         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
67938         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
67939         (SYSCALL_ERROR_HANDLER): Likewise.
67940         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
67941         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
67942         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
67943         (SYSCALL_ERROR_HANDLER): Likewise.
67945         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
67946         (HAVE_GCC_GOTDATA): New.
67947         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
67948         relocation support in both binutils and gcc.
67949         * sysdeps/sparc/elf/configure: Regenerate.
67951         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
67952         * sysdeps/sparc/sparc32/elf/configure: Delete.
67953         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
67954         * sysdeps/sparc/sparc64/elf/configure: Delete.
67955         * sysdeps/sparc/elf/configure.in: New file.
67956         * sysdeps/sparc/elf/configure: Generate.
67958         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
67959         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
67960         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
67961         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
67962         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
67964 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
67966         * manual/install.texi: Do not mention specific glibc version
67967         numbers.
67968         * manual/libc.texinfo (VERSION, UPDATED): Update.
67969         (@copying): Use @copyright{} and range of years.
67971 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
67973         [BZ #13695]
67974         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
67975         [crti.S not in sysdirs] (generated): Do not append.
67976         [crti.S not in sysdirs] (omit-deps): Likewise.
67977         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
67978         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
67979         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
67980         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
67981         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
67982         Likewise.
67983         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
67984         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
67985         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
67986         * csu/defs.awk: Remove file.
67987         * sysdeps/generic/initfini.c: Likewise.
67988         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
67989         variable.
67990         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
67991         Likewise.
67993 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
67995         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
67996         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
67997         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
67998         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
67999         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
68000         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
68001         <bits/epoll.h>.
68002         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
68003         (__EPOLL_PACKED): Define to empty if not defined by
68004         <bits/epoll.h>.
68005         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
68006         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68007         bits/epoll.h.
68009 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
68011         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
68012         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
68013         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
68014         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
68015         <bits/timerfd.h>.
68016         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
68017         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68018         bits/timerfd.h.
68020 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
68022         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
68023         in C locale.
68024         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
68025         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
68026         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
68027         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68029 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
68031         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
68032         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
68034 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
68036         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
68037         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
68038         defined.
68039         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
68040         Likewise.
68041         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
68042         entry for 2.16.
68044 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
68046         * math/w_acos.c: Use non-signaling floating-point comparisons.
68047         * math/w_acosf.c: Likewise.
68048         * math/w_acosh.c: Likewise.
68049         * math/w_acoshf.c: Likewise.
68050         * math/w_acoshl.c: Likewise.
68051         * math/w_acosl.c: Likewise.
68052         * math/w_asin.c: Likewise.
68053         * math/w_asinf.c: Likewise.
68054         * math/w_asinl.c: Likewise.
68055         * math/w_atanh.c: Likewise.
68056         * math/w_atanhf.c: Likewise.
68057         * math/w_atanhl.c: Likewise.
68058         * math/w_exp2.c: Likewise.
68059         * math/w_exp2f.c: Likewise.
68060         * math/w_exp2l.c: Likewise.
68061         * math/w_j0.c: Likewise.
68062         * math/w_j0f.c: Likewise.
68063         * math/w_j0l.c: Likewise.
68064         * math/w_j1.c: Likewise.
68065         * math/w_j1f.c: Likewise.
68066         * math/w_j1l.c: Likewise.
68067         * math/w_jn.c: Likewise.
68068         * math/w_jnf.c: Likewise.
68069         * math/w_log.c: Likewise.
68070         * math/w_log10.c: Likewise.
68071         * math/w_log10f.c: Likewise.
68072         * math/w_log10l.c: Likewise.
68073         * math/w_log2.c: Likewise.
68074         * math/w_log2f.c: Likewise.
68075         * math/w_log2l.c: Likewise.
68076         * math/w_logf.c: Likewise.
68077         * math/w_logl.c: Likewise.
68078         * math/w_sqrt.c: Likewise.
68079         * math/w_sqrtf.c: Likewise.
68080         * math/w_sqrtl.c: Likewise.
68081         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
68082         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
68083         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
68084         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
68085         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
68087 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
68089         [BZ #9739]
68090         * manual/string.texi (strnlen): Use correct parameter name in
68091         equivalent expression.
68093 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
68095         [BZ #11174]
68096         * manual/users.texi (seteuid): Consistently use neweuid for
68097         argument name.
68099 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
68101         [BZ #13704]
68102         * manual/nss.texi (Services in the NSS configuration): Correct
68103         list of services in example configuration file.
68105 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
68107         [BZ #11322]
68108         * manual/arith.texi: Remove statements about negative zero
68109         behaving identically to zero.
68111 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
68113         [BZ #5993]
68114         * manual/install.texi: Do not document upgrading from libc5.
68116 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
68118         [BZ #4596]
68119         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
68121 2012-02-18  David S. Miller  <davem@davemloft.net>
68123         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
68124         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
68125         %o7 across the call.
68126         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
68127         instead.
68128         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
68129         SETUP_PIC_REG_LEAF.
68130         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
68131         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
68132         * sysdeps/sparc/crtn.S: Likewise.
68134 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
68136         * aout/Makefile: Remove.
68138 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
68140         [BZ #13058]
68141         * manual/examples/argp-ex1.c (main): Format definition in GNU
68142         style.
68143         * manual/examples/argp-ex2.c (main): Likewise.
68144         * manual/examples/argp-ex3.c (main): Likewise.
68145         * manual/examples/argp-ex4.c (main): Likewise.
68146         * manual/examples/longopt.c (main): Use new-style prototype
68147         definition.
68148         * manual/examples/strncat.c (main): Specify return type and use
68149         (void) for arguments.
68150         * manual/examples/subopt.c (main): Use char **argv argument.
68152 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
68154         [BZ #5077]
68155         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
68156         rounding modes.
68158 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
68160         [BZ #6907]
68161         * manual/string.texi (strchr): Change when strchrnul is
68162         recommended.
68164 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
68166         [BZ #174]
68167         * manual/locale.texi (setlocale): Document LOCPATH.
68169 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
68171         [BZ #10210]
68172         * manual/process.texi (execle): Move @dots{} before last argument.
68174 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
68176         [BZ #12047]
68177         * manual/charset.texi (Generic Charset Conversion): Fix typo
68178         (LC_TYPE -> LC_CTYPE).
68180 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
68182         [BZ #5805]
68183         * manual/arith.texi (scalbn): Use @var{} on parameter names.
68184         (scalbnf): Likewise.
68185         (scalbnl): Likewise.
68186         (scalbln): Likewise.
68187         (scalblnf): Likewise.
68188         (scalblnl): Likewise.
68189         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
68190         (vwarnx): Likewise.
68191         (verr): Likewise.
68192         (verrx): Likewise.
68193         * manual/filesys.texi (telldir): Use braces around return type.
68194         * manual/llio.texi (mmap): Add space after comma.
68195         (mmap64): Likewise.
68196         * manual/math.texi (jn): Use @var{} on parameter names.
68197         (jnf): Likewise.
68198         (jnl): Likewise.
68199         (yn): Likewise.
68200         (ynf): Likewise.
68201         (ynl): Likewise.
68202         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
68203         line.
68204         * manual/resource.texi (ulimit): Use @dots{} instead of literal
68205         "...".
68206         (sched_get_priority_min): Remove semicolon on @deftypefun line.
68207         (sched_get_priority_max): Likewise.
68208         * manual/signal.texi (sigvec): Add space after comma.
68209         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
68210         names.
68211         (if_indextoname): Likewise.
68212         (if_freenameindex): Likewise.
68213         (sendto): Use ',' instead of '.' in prototype.
68214         * manual/startup.texi (syscall): Use @dots{} instead of literal
68215         "...".
68216         * manual/stdio.texi (__fpending): Separate initial words of
68217         paragraph from @deftypefun line.
68218         * manual/syslog.texi (syslog): Use @dots{} instead of literal
68219         "...".
68220         (vsyslog): Use @var{} on parameter names.
68221         * manual/terminal.texi (stty): Use @var{} on parameter names.
68222         * manual/users.texi (getutmp): Use @var{} on parameter names.
68223         (getutmpx): Likewise.
68225 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
68227         [BZ #6884]
68228         * manual/stdio.texi (fopen): Fix typos in description of
68229         ",ccs=STRING".
68231 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
68233         [BZ #4026]
68234         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
68235         get clock_id definition.
68237 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
68239         [BZ #4822]
68240         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
68241         (madvise): Cast every argument to void on its own.
68243 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
68245         [BZ #9902]
68246         * manual/startup.texi (Exit Status): Fix typo.
68248 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
68250         [BZ #10140]
68251         * manual/examples/argp-ex1.c: Include <stdlib.h>.
68252         * manual/examples/argp-ex2.c: Likewise.
68253         * manual/examples/argp-ex3.c: Likewise.
68255 2012-02-16  Richard Henderson  <rth@redhat.com>
68257         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
68258         * sysdeps/s390/s390-32/initfini.c: Remove.
68259         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
68260         * sysdeps/s390/s390-64/initfini.c: Remove.
68262 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
68264         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
68265         compiler output for sysdeps/generic/initfini.c.
68266         * sysdeps/sh/elf/initfini.c: Remove file.
68268 2012-02-16  David S. Miller  <davem@davemloft.net>
68270         [BZ #11494]
68271         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
68273         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
68274         * sysdeps/sparc/crti.S: New file.
68275         * sysdeps/sparc/crtn.S: New file.
68276         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
68277         * sysdeps/sparc/sparc64/Makefile: Likewise.
68279 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
68281         [BZ #3335]
68282         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
68284 2012-02-15  Roland McGrath  <roland@hack.frob.com>
68286         [BZ #4822]
68287         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
68289         * mach/devstream.c (cookie_io_functions_t): Macro removed.
68290         (write, read, close): Likewise.
68291         Patch by Aurelien Jarno <aurelien@aurel32.net>.
68293 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
68295         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
68296         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
68297         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
68298         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
68299         <bits/signalfd.h>.
68300         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
68301         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68302         bits/signalfd.h.
68304 2012-02-14  Marek Polacek  <polacek@redhat.com>
68306         * sysdeps/x86_64/crti.S: New file.
68307         * sysdeps/x86_64/crtn.S: New file.
68308         * sysdeps/x86_64/elf/initfini.c: Remove file.
68310 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
68312         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
68313         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
68314         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
68315         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
68316         <bits/inotify.h>.
68317         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
68318         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68319         bits/inotify.h.
68321 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
68323         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
68324         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
68325         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
68326         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
68327         <bits/eventfd.h>.
68328         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
68329         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68330         bits/eventfd.h.
68332 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
68334         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
68335         __feraiseexcept instead of feraiseexcept.
68337         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
68338         nanosleep invocations.
68339         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
68340         strings, and add error checking for a nanosleep invocations.
68342 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
68344         Replace FSF snail mail address with URLs, as per GNU coding standards.
68345         Most of the snail mail addresses were wrong anyway, and omitting
68346         them makes the source code easier to maintain.  Almost all of the
68347         changes are to license notices and to locale LC_IDENTIFICATION
68348         addresses, except for this one:
68349         * manual/libc.texinfo: In "Published by", give the FSF's URL,
68350         not its snail mail address.
68352 2012-02-09  Richard Henderson  <rth@twiddle.net>
68354         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
68355         of kernel-features.h.
68357         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
68359 2012-02-08  Marek Polacek  <polacek@redhat.com>
68361         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
68362         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
68363         * sysdeps/gnu/_G_config.h: Likewise.
68364         * sysdeps/generic/_G_config.h: Likewise.
68366 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
68368         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
68369         tests.
68370         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68372         * sysdeps/powerpc/powerpc32/crti.S: New file.
68373         * sysdeps/powerpc/powerpc32/crtn.S: New file.
68374         * sysdeps/powerpc/powerpc64/crti.S: New file.
68375         * sysdeps/powerpc/powerpc64/crtn.S: New file.
68377         * Makeconfig (have-initfini): Don't set.
68378         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
68379         * configure.in (nopic_initfini): Don't substitute.
68380         * config.h.in (HAVE_INITFINI): Don't #undef.
68381         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
68382         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
68384 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
68386         Support crti.S and crtn.S provided directly by architectures.
68387         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
68388         [crti.S in sysdirs] (omit-deps): Likewise.
68389         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
68390         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
68391         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
68392         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
68393         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
68394         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
68395         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
68396         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
68397         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
68398         compiler output for sysdeps/generic/initfini.c.
68399         * sysdeps/i386/elf/Makefile: Remove file.
68400         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
68402 2012-02-07  Marek Polacek  <polacek@redhat.com>
68404         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
68405         * sysdeps/gnu/_G_config.h: Likewise.
68406         * sysdeps/mach/hurd/_G_config.h: Likewise.
68408 2012-02-07  Marek Polacek  <polacek@redhat.com>
68410         * math/Makefile (tests): Add tst-CMPLX2.
68411         * math/tst-CMPLX2.c: New file.
68413 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
68415         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
68417         * math/libm-test.inc (jn_test): Add missing L suffix.
68419 2012-02-06  Marek Polacek  <polacek@redhat.com>
68421         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
68422         * sysdeps/i386/fpu/e_powf.S: Likewise.
68423         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
68424         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
68425         * sysdeps/i386/fpu/e_acosh.S: Likewise.
68426         * sysdeps/i386/fpu/e_pow.S: Likewise.
68427         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
68428         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
68429         * sysdeps/i386/fpu/s_expm1.S: Likewise.
68430         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
68431         * sysdeps/i386/fpu/e_log2.S: Likewise.
68432         * sysdeps/i386/fpu/e_log2l.S: Likewise.
68433         * sysdeps/i386/fpu/e_scalb.S: Likewise.
68434         * sysdeps/i386/fpu/e_powl.S: Likewise.
68435         * sysdeps/i386/fpu/s_log1p.S: Likewise.
68436         * sysdeps/i386/fpu/e_log10f.S: Likewise.
68437         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
68438         * sysdeps/i386/fpu/e_logl.S: Likewise.
68439         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
68440         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
68441         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
68442         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
68443         * sysdeps/i386/fpu/e_log2f.S: Likewise.
68444         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
68445         * sysdeps/i386/fpu/e_log.S: Likewise.
68446         * sysdeps/i386/fpu/s_cexp.S: Likewise.
68447         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
68448         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
68449         * sysdeps/i386/fpu/e_logf.S: Likewise.
68450         * sysdeps/i386/fpu/e_log10l.S: Likewise.
68451         * sysdeps/i386/fpu/e_atanh.S: Likewise.
68452         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
68453         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
68454         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
68455         * sysdeps/i386/fpu/e_log10.S: Likewise.
68456         * sysdeps/i386/fpu/s_frexp.S: Likewise.
68457         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
68458         * sysdeps/i386/fpu/s_asinh.S: Likewise.
68459         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
68460         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
68461         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
68462         * sysdeps/i386/asm-syntax.h: Likewise.
68463         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
68464         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
68465         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
68466         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
68467         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
68468         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
68469         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
68470         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
68471         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
68472         * sysdeps/powerpc/sysdep.h: Likewise.
68473         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
68474         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
68476 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
68478         [BZ #411]
68479         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
68481 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
68483         * sysdeps/i386/sysdep.h: Include <features.h>.
68484         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
68485         version.
68487 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
68489         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
68490         Define.
68491         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
68492         LOAD_PIC_REG_STR.
68494 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
68496         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
68497         (SETUP_PIC_REG): Use GET_PC_THUNK.
68498         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
68499         macro.
68501 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
68503         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
68504         for non-PIC compilation.
68505         (SETUP_PIC_REG): Add .p2align directive.
68506         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
68507         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
68508         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
68509         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
68510         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
68511         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
68512         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
68513         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
68514         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
68515         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
68516         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
68517         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
68518         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
68519         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
68520         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
68521         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
68522         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
68523         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
68524         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
68525         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
68526         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
68527         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
68528         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
68529         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
68530         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
68531         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
68532         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
68533         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
68534         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
68535         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
68536         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
68537         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
68538         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
68539         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
68540         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
68541         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
68542         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
68543         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
68544         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
68545         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
68546         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
68548 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
68550         * math/tst-CMPLX.c: Include <stdio.h>.
68552 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
68554         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
68555         float.
68556         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
68557         * sysdeps/sparc/bits/mathdef.h: Likewise.
68559 2012-01-31  Marek Polacek  <polacek@redhat.com>
68561         * libio/libio.h: Don't define _PARAMS.
68562         * locale/programs/config.h: Don't define PARAMS.
68563         * stdlib/strtol_l.c: Likewise.
68564         (__strtol_l): Remove PARAMS from the prototype.
68566 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
68568         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
68569         names.  Just use the correct names.  Remove unnecessary wrapper
68570         functions.
68571         * malloc/arena.c: Likewise.
68572         * malloc/hooks.c: Likewise.
68574         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
68575         ARENA_TEST says not to.  Simplify test for creation of a new arena.
68576         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
68578 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
68580         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
68581         into tail calls.
68582         (update_get_addr): New function.
68583         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
68584         GET_ADDR_MODULE parameter.
68586 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
68588         * crypt/cert.c: Remove __STDC__ conditionals.
68589         * crypt/crypt-entry.c: Likewise.
68590         * crypt/crypt_util.c: Likewise.
68591         * libio/filedoalloc.c: Likewise.
68592         * libio/fileops.c: Likewise.
68593         * libio/genops.c: Likewise.
68594         * libio/iofclose.c: Likewise.
68595         * libio/iofdopen.c: Likewise.
68596         * libio/iofopen.c: Likewise.
68597         * libio/iofopen64.c: Likewise.
68598         * libio/iogetdelim.c: Likewise.
68599         * libio/iopopen.c: Likewise.
68600         * libio/obprintf.c: Likewise.
68601         * libio/oldfileops.c: Likewise.
68602         * libio/oldiofclose.c: Likewise.
68603         * libio/oldiofdopen.c: Likewise.
68604         * libio/oldiofopen.c: Likewise.
68605         * libio/oldiopopen.c: Likewise.
68606         * libio/wfiledoalloc.c: Likewise.
68607         * libio/wgenops.c: Likewise.
68608         * locale/programs/xmalloc.c: Likewise.
68609         * misc/syslog.c: Likewise.
68610         * stdio-common/xbug.c: Likewise.
68611         * string/memchr.c: Likewise.
68612         * string/memcmp.c: Likewise.
68613         * string/memrchr.c: Likewise.
68614         * string/rawmemchr.c: Likewise.
68615         * sysdeps/posix/getcwd.c: Likewise.
68616         * time/strftime_l.c: Likewise.
68618 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
68620         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
68621         * config.make.in (config-cflags-sse2avx): Define.
68622         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
68623         Fix typo.
68625 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
68627         * scripts/config.guess: Update from upstream config git repository.
68628         * scripts/config.sub: Likewise.
68630 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
68632         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
68633         (EM_NUM): Update.
68634         (R_TILEPRO_*, R_TILEGX_*): New macros.
68636         * scripts/firstversions.awk: Fix bug in version range handling.
68638         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
68640         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
68642         * include/sys/epoll.h: New file.
68643         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
68644         libc_hidden_def.
68646 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
68648         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
68649         Avoid unnecessary __WORDSIZE == 64 test.
68650         (fmaxf): Use VEX format if possible.
68651         (fmax): Likewise.
68652         (fminf): Likewise.
68653         (fmin): Likewise.
68655         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
68656         * math/math_private.h: Remove libc_fegetround* and
68657         libc_fesetround*.
68658         * sysdeps/i386/configure.in: Check for -msse2avx.
68659         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
68660         also if SSE2AVX is defined.
68661         Remove libc_fegetround* and libc_fesetround*.
68662         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
68663         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
68664         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
68665         of HAS_YMM_USABLE.
68666         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
68667         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
68668         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
68669         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
68670         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
68672         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
68674 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68676         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
68677         size is not set.
68678         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
68680 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
68682         [BZ #13618]
68683         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
68684         relocation.
68685         * Makeconfig (libm): Define.
68686         * elf/Makefile: Add rules to build and run tst-relsort1.
68687         * elf/tst-relsort1.c: New file.
68688         * elf/tst-relsort1mod1.c: New file.
68689         * elf/tst-relsort1mod2.c: New file.
68691 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
68693         * math/s_ldexp.c: Remove __STDC__ conditionals.
68694         * math/s_ldexpf.c: Likewise.
68695         * math/s_ldexpl.c: Likewise.
68696         * math/s_nextafter.c: Likewise.
68697         * math/s_nexttowardf.c: Likewise.
68698         * math/s_significand.c: Likewise.
68699         * math/s_significandf.c: Likewise.
68700         * math/s_significandl.c: Likewise.
68701         * math/w_jnl.c: Likewise.
68702         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
68703         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
68704         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
68705         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
68706         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
68707         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
68708         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
68709         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
68710         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
68711         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
68712         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
68713         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
68714         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
68715         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
68716         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
68717         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
68718         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
68719         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
68720         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
68721         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
68722         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
68723         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
68724         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
68725         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
68726         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
68727         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
68728         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
68729         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
68730         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
68731         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
68732         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
68733         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
68734         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
68735         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
68736         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
68737         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
68738         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
68739         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
68740         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
68741         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
68742         * sysdeps/ieee754/k_standard.c: Likewise.
68743         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
68744         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
68745         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
68746         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
68747         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
68748         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
68749         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
68750         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
68751         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
68752         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
68753         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
68754         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
68755         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
68756         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
68757         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
68758         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
68759         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
68760         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
68761         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
68762         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
68763         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
68764         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
68765         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
68766         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
68767         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
68768         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
68769         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
68770         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
68771         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
68772         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
68773         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
68774         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
68775         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
68776         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
68777         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
68778         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
68779         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
68780         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
68781         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
68782         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
68783         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
68784         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
68785         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
68786         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
68787         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
68788         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
68789         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
68790         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
68791         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
68792         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
68793         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
68794         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
68795         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
68796         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
68797         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
68798         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
68799         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
68800         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
68801         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
68802         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
68803         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
68804         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
68805         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
68806         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
68807         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
68808         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
68809         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
68810         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
68811         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
68812         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
68813         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
68814         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
68815         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
68816         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
68817         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
68818         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
68819         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
68820         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
68821         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
68822         * sysdeps/ieee754/s_matherr.c: Likewise.
68823         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
68824         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
68825         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
68826         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
68828 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
68830         * crypt/md5.h: Remove __STDC__ conditionals.
68831         * libio/libioP.h: Likewise.
68832         * locale/programs/config.h: Likewise.
68833         * sysdeps/generic/sysdep.h: Likewise.
68834         * sysdeps/i386/asm-syntax.h: Likewise.
68835         * sysdeps/s390/asm-syntax.h: Likewise.
68836         * sysdeps/unix/sysdep.h: Likewise.
68837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
68838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
68840 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
68842         * libio/libio.h: Remove __STDC__ conditionals.
68843         * malloc/obstack.h: Likewise.
68844         * math/complex.h: Likewise.
68845         * math/math.h: Likewise.
68846         * sysdeps/generic/_G_config.h: Likewise.
68847         * sysdeps/gnu/_G_config.h: Likewise.
68848         * sysdeps/mach/hurd/_G_config.h: Likewise.
68849         * sysdeps/powerpc/bits/mathdef.h: Likewise.
68850         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
68851         * sysdeps/sparc/bits/mathdef.h: Likewise.
68853 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
68855         [BZ #13583]
68856         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
68857         Clean up HAS_* macros.
68858         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
68859         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
68860         possible.
68861         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
68862         HAS_AVX.
68863         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
68864         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
68865         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
68866         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
68867         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
68869 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
68871         * elf/tst-unique3.cc (gets): Remove declaration.
68872         * elf/tst-unique3lib.cc (gets): Likewise.
68873         * elf/tst-unique3lib2.cc (gets): Likewise.
68874         * elf/tst-unique4.cc (gets): Likewise.
68876 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
68878         * include/stdio.h: Add C++ protection.  Add gets declarations and
68879         definitions.
68880         * debug/tst-chk1.c: Don't declare gets here.
68881         * stdio-common/tst-gets.c: Likewise.
68883 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
68885         * posix/glob: Remove directory.
68887 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
68889         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
68891 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
68893         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
68894         of the non-standard EPFNOSUPPORT.
68896 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68898         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
68899         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
68900         ANYWHERE set to 1 only on KERN_NO_SPACE error.
68902 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
68904         * wcsmbs/uchar.h: Test __STDC_VERSION__.
68906 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
68908         * nscd/aicache.c (addhstaiX): Do not cache negative results of
68909         transient errors.
68910         * nscd/grpcache.c (cache_addgr): Likewise.
68911         * nscd/hstcache.c (cache_addhst): Likewise.
68912         * nscd/initgrcache.c (addinitgroupsX): Likewise.
68913         * nscd/pwdcache.c (cache_addpw): Likewise.
68914         * nscd/servicescache.c (cache_addserv): Likewise.
68916 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
68918         * malloc/malloc.c: Various cleanups.
68919         * malloc/hooks.c: Likewise.
68921         * stdlib/Makefile (tests): Add bug-fmtmsg1.
68922         * stdlib/bug-fmtmsg1.c: New file.
68924         * stdlib/fmtmsg.c (init): Add missing unlock.
68925         Patch by Peng Haitao <penght@cn.fujitsu.com>.
68927 2012-01-12  Marek Polacek  <polacek@redhat.com>
68929         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
68930         and _GNU_SOURCE.
68932 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
68934         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
68935         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
68936         macro to ensure uniqueness of label name.
68937         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
68938         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
68940 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
68942         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
68944         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
68945         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
68946         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
68947         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
68949 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
68951         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
68953         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
68954         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
68955         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
68957         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
68959         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
68960         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
68961         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
68962         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
68964         * math/bits/math-finite.h: Add ldexp support.
68966 2012-01-10  Marek Polacek  <polacek@redhat.com>
68968         * locale/programs/localedef.h (show_archive_content): Add noreturn
68969         attribute.
68971 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
68973         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
68975 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
68977         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
68979         * io/Makefile (headers): Add bits/poll2.h.
68981 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
68983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
68984         typo #include statement.
68986 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
68988         * include/sys/cdefs.h: Define __attribute_alloc_size.
68989         * catgets/gencat.c: Add alloc_size attribute and apply consistently
68990         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
68991         * elf/pldd.c: Likewise.
68992         * iconv/iconv_charmap.c: Likewise.
68993         * iconv/iconvconfig.c: Likewise.
68994         * iconv/strtab.c: Likewise.
68995         * locale/programs/locale.c: Likewise.
68996         * locale/programs/localedef.h: Likewise.
68997         * locale/programs/simple-hash.c: Likewise.
68998         * nscd/nscd.h: Likewise.
68999         * nss/makedb.c: Likewise.
69000         * sysdeps/generic/ldconfig.h: Likewise.
69001         * locale/programs/localedef.c: Remove xmalloc prototype.
69002         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
69004 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
69006         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
69007         appropriate.
69009 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
69011         * math/Makefile (tests): Add tst-CMPLX.
69012         * math/tst-CMPLX.c: New file.
69014         * math/complex.h (CMPLXL): Fix typo.
69016         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
69017         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
69018         GLIBC_2.16.
69019         * debug/tst-chk1.c: Add poll and ppoll tests.
69020         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
69021         * include/sys/poll.h: Add hidden proto for ppoll.
69022         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
69023         * sysdeps/mach/hurd/ppoll.c: Likewise.
69024         * io/ppoll.c: Likewise.
69025         * debug/poll_chk.c: New file.
69026         * debug/ppoll_chk.c: New file.
69027         * include/bits/poll2.h: New file.
69028         * io/bits/poll2.h: New file.
69030         [BZ #1350]
69031         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
69033         * configure.in: static is always set to yes.  Remove.
69034         * config.make.in: Don't set build-static.
69035         * Makeconfig: Remove use of build-static.
69036         * dlfcn/Makefile: Likewise.
69037         * elf/Makefile: Likewise.
69038         * math/Makefile: Likewise.
69039         * misc/Makefile: Likewise.
69040         * nptl/Makefile: Likewise.
69041         * sysdeps/mach/hurd/Makefile: Likewise.
69043         * configure.in: PWD_P is not used anymore.
69044         * config.make.in: Remove PWD_P entry.
69046         * configure.in: Remove last remnants of RANLIB.
69047         No need to check for signed size_t anymore.
69048         Don't set libc_commonpagesize and libc_relro_required here for Alpha
69049         and IA-64.
69050         Remove __builtin_expect test because we require at least gcc 3.4.
69051         * aclocal.m4: Likewise.
69053         * wcsmbs/mbrtoc16.c: Implement using towc function.
69054         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
69055         * wcsmbs/wcsmbsload.c: Likewise.
69056         * iconv/gconv_simple.c: Likewise.
69057         * iconv/gconv_int.h: Likewise.
69058         * iconv/gconv_builtin.h: Likewise.
69059         * iconv/iconv_prog.c: Remove CHAR16 handling.
69061         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
69063         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
69065         * configure.in: Remove --with-elf and --enable-bounded options.
69066         Dont set base_machine for ia64.  More non-ELF conditions removed.
69067         Remove testing and setting of leading underscore information.
69068         * config.make.in (build-bounded): Set to no.
69069         * config.h.in: Remove NO_UNDERSCORES entry.
69070         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
69071         them.
69072         * csu/start.c: Remove !NO_UNDERSCORE code.
69073         * locale/localeinfo.h: Likewise.
69074         * sysdeps/generic/machine-gmon.h: Likewise.
69075         * sysdeps/generic/sysdep.h: Likewise.
69076         * sysdeps/i386/sysdep.h: Likewise.
69077         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
69078         * sysdeps/mach/sysdep.h: Likewise.
69079         * sysdeps/s390/s390-32/sysdep.h: Likewise.
69080         * sysdeps/s390/s390-64/sysdep.h: Likewise.
69081         * sysdeps/sh/sysdep.h: Likewise.
69082         * sysdeps/sparc/sparc32/alloca.S: Likewise.
69083         * sysdeps/unix/i386/sysdep.S: Likewise.
69084         * sysdeps/unix/sparc/start.c: Likewise.
69085         * sysdeps/unix/sparc/sysdep.S: Likewise.
69086         * sysdeps/unix/sparc/sysdep.h: Likewise.
69087         * sysdeps/unix/start.c: Likewise.
69088         * sysdeps/unix/x86_64/sysdep.S: Likewise.
69089         * sysdeps/x86_64/sysdep.h: Likewise.
69091 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
69093         [BZ #13553]
69094         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
69095         for non-gcc.
69096         * argp/argp-fmtstream.h: Use const instead __const.
69097         * argp/argp.h: Likewise.
69098         * assert/assert.h: Likewise.
69099         * bits/fenv.h: Likewise.
69100         * bits/sched.h: Likewise.
69101         * bits/sigset.h: Likewise.
69102         * bits/sigthread.h: Likewise.
69103         * catgets/nl_types.h: Likewise.
69104         * conform/data/pthread.h-data: Likewise.
69105         * crypt/crypt-private.h: Likewise.
69106         * crypt/crypt.h: Likewise.
69107         * crypt/crypt_util.c: Likewise.
69108         * ctype/ctype.h: Likewise.
69109         * debug/execinfo.h: Likewise.
69110         * debug/mbsnrtowcs_chk.c: Likewise.
69111         * debug/mbsrtowcs_chk.c: Likewise.
69112         * debug/wcsnrtombs_chk.c: Likewise.
69113         * debug/wcsrtombs_chk.c: Likewise.
69114         * debug/wcstombs_chk.c: Likewise.
69115         * dirent/dirent.h: Likewise.
69116         * dlfcn/dlfcn.h: Likewise.
69117         * elf/neededtest4.c: Likewise.
69118         * grp/grp.h: Likewise.
69119         * gshadow/gshadow.h: Likewise.
69120         * iconv/gconv.h: Likewise.
69121         * iconv/gconv_int.h: Likewise.
69122         * iconv/gconv_simple.c: Likewise.
69123         * iconv/iconv.h: Likewise.
69124         * iconv/loop.c: Likewise.
69125         * iconv/skeleton.c: Likewise.
69126         * include/aio.h: Likewise.
69127         * include/aliases.h: Likewise.
69128         * include/argz.h: Likewise.
69129         * include/arpa/inet.h: Likewise.
69130         * include/assert.h: Likewise.
69131         * include/dirent.h: Likewise.
69132         * include/dlfcn.h: Likewise.
69133         * include/execinfo.h: Likewise.
69134         * include/fcntl.h: Likewise.
69135         * include/fenv.h: Likewise.
69136         * include/glob.h: Likewise.
69137         * include/grp.h: Likewise.
69138         * include/libintl.h: Likewise.
69139         * include/mntent.h: Likewise.
69140         * include/netdb.h: Likewise.
69141         * include/pwd.h: Likewise.
69142         * include/rpc/netdb.h: Likewise.
69143         * include/sched.h: Likewise.
69144         * include/search.h: Likewise.
69145         * include/shadow.h: Likewise.
69146         * include/signal.h: Likewise.
69147         * include/stdio.h: Likewise.
69148         * include/stdlib.h: Likewise.
69149         * include/string.h: Likewise.
69150         * include/sys/socket.h: Likewise.
69151         * include/sys/stat.h: Likewise.
69152         * include/sys/statfs.h: Likewise.
69153         * include/sys/statvfs.h: Likewise.
69154         * include/sys/syslog.h: Likewise.
69155         * include/sys/time.h: Likewise.
69156         * include/sys/uio.h: Likewise.
69157         * include/time.h: Likewise.
69158         * include/unistd.h: Likewise.
69159         * include/utmp.h: Likewise.
69160         * include/wchar.h: Likewise.
69161         * include/wctype.h: Likewise.
69162         * inet/aliases.h: Likewise.
69163         * inet/arpa/inet.h: Likewise.
69164         * inet/netinet/ether.h: Likewise.
69165         * inet/netinet/in.h: Likewise.
69166         * intl/libintl.h: Likewise.
69167         * io/bits/fcntl2.h: Likewise.
69168         * io/fcntl.h: Likewise.
69169         * io/ftw.h: Likewise.
69170         * io/sys/poll.h: Likewise.
69171         * io/sys/stat.h: Likewise.
69172         * io/sys/statfs.h: Likewise.
69173         * io/sys/statvfs.h: Likewise.
69174         * io/utime.h: Likewise.
69175         * libio/bits/stdio.h: Likewise.
69176         * libio/bits/stdio2.h: Likewise.
69177         * libio/libio.h: Likewise.
69178         * libio/libioP.h: Likewise.
69179         * libio/stdio.h: Likewise.
69180         * locale/lc-ctype.c: Likewise.
69181         * locale/locale.h: Likewise.
69182         * login/utmp.h: Likewise.
69183         * malloc/arena.c: Likewise.
69184         * malloc/malloc.c: Likewise.
69185         * malloc/malloc.h: Likewise.
69186         * malloc/mcheck.c: Likewise.
69187         * malloc/mtrace.c: Likewise.
69188         * math/bits/mathcalls.h: Likewise.
69189         * math/fenv.h: Likewise.
69190         * math/math_private.h: Likewise.
69191         * misc/bits/error.h: Likewise.
69192         * misc/bits/syslog.h: Likewise.
69193         * misc/err.h: Likewise.
69194         * misc/error.h: Likewise.
69195         * misc/fstab.h: Likewise.
69196         * misc/mntent.h: Likewise.
69197         * misc/regexp.h: Likewise.
69198         * misc/search.h: Likewise.
69199         * misc/sgtty.h: Likewise.
69200         * misc/sys/mman.h: Likewise.
69201         * misc/sys/syslog.h: Likewise.
69202         * misc/sys/uio.h: Likewise.
69203         * misc/sys/xattr.h: Likewise.
69204         * misc/ttyent.h: Likewise.
69205         * nis/rpcsvc/ypclnt.h: Likewise.
69206         * nss/nss.h: Likewise.
69207         * posix/bits/unistd.h: Likewise.
69208         * posix/fnmatch.h: Likewise.
69209         * posix/glob.h: Likewise.
69210         * posix/sched.h: Likewise.
69211         * posix/spawn.h: Likewise.
69212         * posix/sys/wait.h: Likewise.
69213         * posix/unistd.h: Likewise.
69214         * posix/wordexp.h: Likewise.
69215         * pwd/pwd.h: Likewise.
69216         * resolv/netdb.h: Likewise.
69217         * resource/sys/resource.h: Likewise.
69218         * rt/aio.h: Likewise.
69219         * rt/bits/mqueue2.h: Likewise.
69220         * rt/mqueue.h: Likewise.
69221         * shadow/shadow.h: Likewise.
69222         * signal/signal.h: Likewise.
69223         * socket/send.c: Likewise.
69224         * socket/sendto.c: Likewise.
69225         * socket/sys/socket.h: Likewise.
69226         * stdio-common/printf.h: Likewise.
69227         * stdlib/bits/stdlib.h: Likewise.
69228         * stdlib/fmtmsg.h: Likewise.
69229         * stdlib/monetary.h: Likewise.
69230         * stdlib/stdlib.h: Likewise.
69231         * stdlib/ucontext.h: Likewise.
69232         * streams/stropts.h: Likewise.
69233         * string/argz.h: Likewise.
69234         * string/bits/string2.h: Likewise.
69235         * string/string.h: Likewise.
69236         * string/strings.h: Likewise.
69237         * sunrpc/rpc/auth.h: Likewise.
69238         * sunrpc/rpc/auth_des.h: Likewise.
69239         * sunrpc/rpc/clnt.h: Likewise.
69240         * sunrpc/rpc/netdb.h: Likewise.
69241         * sunrpc/rpc/pmap_clnt.h: Likewise.
69242         * sunrpc/rpc/xdr.h: Likewise.
69243         * sysdeps/generic/inttypes.h: Likewise.
69244         * sysdeps/generic/net/if.h: Likewise.
69245         * sysdeps/generic/sys/swap.h: Likewise.
69246         * sysdeps/gnu/net/if.h: Likewise.
69247         * sysdeps/gnu/utmpx.h: Likewise.
69248         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
69249         * sysdeps/i386/i486/bits/string.h: Likewise.
69250         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
69251         * sysdeps/s390/bits/string.h: Likewise.
69252         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
69253         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
69254         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
69255         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
69256         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
69257         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
69258         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
69259         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
69260         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
69261         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
69262         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
69263         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
69264         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
69265         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
69266         * sysdeps/unix/sysv/linux/readv.c: Likewise.
69267         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
69268         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
69269         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
69270         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
69271         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
69272         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
69273         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
69274         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
69275         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
69276         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
69277         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
69278         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
69279         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
69280         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
69281         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
69282         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
69283         * sysvipc/sys/ipc.h: Likewise.
69284         * sysvipc/sys/msg.h: Likewise.
69285         * sysvipc/sys/sem.h: Likewise.
69286         * sysvipc/sys/shm.h: Likewise.
69287         * termios/termios.h: Likewise.
69288         * time/sys/time.h: Likewise.
69289         * time/time.h: Likewise.
69290         * wcsmbs/bits/wchar2.h: Likewise.
69291         * wcsmbs/uchar.h: Likewise.
69292         * wcsmbs/wchar.h: Likewise.
69293         * wctype/wctype.h: Likewise.
69295         [BZ #13551]
69296         * Makeconfig: Remove all but ELF support including AIX support.
69297         * Makerules: Likewise.
69298         * config.h.in: Likewise.
69299         * config.make.in: Likewise.
69300         * configure: Likewise.
69301         * configure.in: Likewise.
69302         * csu/Makefile: Likewise.
69303         * csu/version.c: Likewise.
69304         * debug/Makefile: Likewise.
69305         * dlfcn/Makefile: Likewise.
69306         * elf/Makefile: Likewise.
69307         * extra-lib.mk: Likewise.
69308         * iconv/Makefile: Likewise.
69309         * include/libc-symbols.h: Likewise.
69310         * include/shlib-compat.h: Likewise.
69311         * resolv/Makefile: Likewise.
69312         * resolv/res_libc.c: Likewise.
69313         * rt/Makefile: Likewise.
69314         * sysdeps/i386/asm-syntax.h: Likewise.
69315         * sysdeps/i386/sysdep.h: Likewise.
69316         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
69317         * sysdeps/mach/sysdep.h: Likewise.
69318         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
69319         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
69320         * sysdeps/s390/asm-syntax.h: Likewise.
69321         * sysdeps/s390/s390-32/sysdep.h: Likewise.
69322         * sysdeps/s390/s390-64/sysdep.h: Likewise.
69323         * sysdeps/sh/sysdep.h: Likewise.
69324         * sysdeps/unix/sparc/sysdep.h: Likewise.
69325         * sysdeps/wordsize-32/divdi3.c: Likewise.
69326         * sysdeps/x86_64/sysdep.h: Likewise.
69328         * argp/Versions: Remove _argp_unlock_xxx.
69330         [BZ #13559]
69331         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
69332         * abilist/libBrokenLocale.abilist: Likewise.
69333         * abilist/libanl.abilist: Likewise.
69334         * abilist/libc.abilist: Likewise.
69335         * abilist/libcrypt.abilist: Likewise.
69336         * abilist/libdl.abilist: Likewise.
69337         * abilist/libm.abilist: Likewise.
69338         * abilist/libnsl.abilist: Likewise.
69339         * abilist/libpthread.abilist: Likewise.
69340         * abilist/libresolv.abilist: Likewise.
69341         * abilist/librt.abilist: Likewise.
69342         * abilist/libthread_db.abilist: Likewise.
69343         * abilist/libutil.abilist: Likewise.
69344         * abilist/libnss_db.abilist: New file.
69346         * scripts/abilist.awk: Add support for indirect functions.
69348         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
69350         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
69352         * shlib-versions: Remove entries for ports architectures.
69354         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
69355         files in ports.
69356         * elf/stackguard-macros.h: Remove support for IA-64.
69357         * elf/tst-auditmod1.c: Likewise.
69358         * sysdeps/generic/ldsodefs.h: Likewise.
69360         * sysdeps/unix/sysv/linux/configure.in: Ports should define
69361         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
69362         configure files.
69364         [BZ #13552]
69365         * configure.in: Remove --enable-omitfp support.
69366         * FAQ.in: Adjust.
69367         * config.make.in: Likewise.
69368         * Makeconfig: Likewise.
69369         * manual/install.texi: Likewise.
69371         In case anyone cares, the IA-64 architecture could move to ports.
69372         * sysdeps/ia64/*: Removed.
69373         * sysdeps/unix/sysv/linux/ia64/*: Removed.
69374         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
69376         [BZ #13555]
69377         * configure.in: Remove entries for unsupported architectures.
69379         [BZ #13533]
69380         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
69381         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
69382         routines.
69383         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
69384         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
69385         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
69386         fall back to using wcrtomb.
69387         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
69388         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
69389         renaming.
69390         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
69391         * wcsmbs/tst-c16c32-1.c: New file.
69393         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
69394         local variable.
69396         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
69398         * elf/tst-unique3.cc: Add explicit declaration of gets.
69399         * elf/tst-unique3lib.cc: Likewise.
69400         * elf/tst-unique3lib2.cc: Likewise.
69401         * elf/tst-unique4.cc: Likewise.
69403         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
69405 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
69407         [BZ #13566]
69408         * assert/assert.h (static_assert): Don't define for C++.
69409         * libio/stdio.h (gets): Do declare for C++ <= C++11.
69410         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
69412 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
69414         * iconv/loop.c (single loop): Fix assertion in storing of
69415         remaining bytes.
69417         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
69419 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
69421         * posix/getconf.c: Update copyright year.
69422         * nss/getent.c: Likewise.
69423         * nss/makedb.c: Likewise.
69424         * iconv/iconvconfig.c: Likewise.
69425         * iconv/iconv_prog.c: Likewise.
69426         * elf/ldconfig.c: Likewise.
69427         * elf/pldd.c: Likewise.
69428         * elf/sotruss.ksh: Likewise.
69429         * catgets/gencat.c: Likewise.
69430         * csu/version.c: Likewise.
69431         * elf/ldd.bash.in: Likewise.
69432         * elf/sprof.c (print_version): Likewise.
69433         * locale/programs/locale.c: Likewise.
69434         * locale/programs/localedef.c: Likewise.
69435         * login/programs/pt_chown.c: Likewise.
69436         * nscd/nscd.c (print_version): Likewise.
69437         * debug/xtrace.sh: Likewise.
69438         * malloc/memusage.sh: Likewise.
69439         * malloc/mtrace.pl: Likewise.
69440         * debug/catchsegv.sh: Likewise.
69442 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
69444         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
69445         pure attribute.
69447 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
69449         [BZ #13533]
69450         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
69451         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
69452         transformations.
69453         * iconv/gconv_int.h: Likewise.
69454         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
69455         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
69456         from libc for GLIBC_2.16.
69457         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
69458         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
69459         * wcsmbs/uchar.h: Really define mbstate_t.
69460         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
69461         * wcsmbs/c16rtomb.c: New file.
69462         * wcsmbs/mbrtoc16.c: New file.
69463         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
69464         for C/POSIX locale.
69465         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
69466         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
69468         * wcsmbs/wchar.h: Add missing __restrict.
69470 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
69472         [BZ #13532]
69473         * time/Makefile (routines): Add timespec_get.
69474         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
69475         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
69476         timespec for ISO C11.
69477         * time/timespec_get.c: New file.
69478         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
69479         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
69481         [BZ #13531]
69482         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
69483         * stdlib/stdlib.h: Declare aligned_alloc.
69484         * Versions.def: Add GLIBC_2.16 for libc.
69485         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
69487         [BZ 13527]
69488         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
69489         ISO C11.
69491         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
69492         code.
69494         [BZ #13528]
69495         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
69497         [BZ #13529]
69498         * assert/assert.h (static_assert): Define.
69500         * version.h: Update for 2.16 development version.
69502         [BZ #13526]
69503         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
69504         _ISOC11_SOURCE.
69506         * version.h (RELEASE): Bump for 2.15 release.
69507         * include/features.h (__GLIBC_MINOR__): Bump to 15.
69509         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
69510         Patch by Marek Polacek <mpolacek@redhat.com>.
69512         * bits/byteswap.h: Protect long long constants with __extension__.
69513         * sysdeps/i386/bits/byteswap.h: Likewise.
69514         * sysdeps/ia64/bits/byteswap.h: Likewise.
69515         * sysdeps/s390/bits/byteswap.h: Likewise.
69516         * sysdeps/x86_64/bits/byteswap.h: Likewise.
69518 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69520         [BZ #13540]
69521         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
69522         destination buffer.
69523         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
69525 2011-12-23  Marek Polacek  <polacek@redhat.com>
69527         * elf/dl-addr.c (determine_info): Add inline keyword.
69528         * elf/tst-auditmod4b.c (check_avx): Likewise.
69529         * elf/tst-auditmod6b.c (check_avx): Likewise.
69530         * elf/tst-auditmod6c.c (check_avx): Likewise.
69531         * elf/tst-auditmod7b.c (check_avx): Likewise.
69533 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
69535         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
69536         !__SSE_MATH__.
69538 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69540         [BZ #13540]
69541         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
69542         processing for last bytes.
69544 2011-08-06  Bruno Haible  <bruno@clisp.org>
69546         [BZ #13061]
69547         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
69548         U+0385, not to U+1FEE.
69550         [BZ #13062]
69551         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
69552         entry for U+00A5 U+0301.
69554 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
69556         [BZ #13166]
69557         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
69558         buffer for the output is too small.
69560         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
69561         optimization.
69563         [BZ #13185]
69564         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
69565         SSE flags if possible.
69567 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69569         [BZ #13540]
69570         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
69571         processing for last bytes.
69573 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
69575         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
69576         (syscall-list-default-options, syscall-list-default-condition)
69577         (syscall-list-includes): Define.
69578         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
69579         list of ABIs and options and #if conditions for each ABI.  Do not
69580         handle common syscalls between ABIs specially.
69581         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
69582         Remove.
69583         (syscall-list-variants, syscall-list-32bit-options)
69584         (syscall-list-32bit-condition, syscall-list-64bit-options)
69585         (syscall-list-64bit-condition): Define.
69586         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
69587         (syscall-list-variants, syscall-list-32bit-options)
69588         (syscall-list-32bit-condition, syscall-list-64bit-options)
69589         (syscall-list-64bit-condition): Define.
69590         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
69591         Remove.
69592         (syscall-list-variants, syscall-list-32bit-options)
69593         (syscall-list-32bit-condition, syscall-list-64bit-options)
69594         (syscall-list-64bit-condition): Define.
69595         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
69596         Remove.
69597         (syscall-list-variants, syscall-list-32bit-options)
69598         (syscall-list-32bit-condition, syscall-list-64bit-options)
69599         (syscall-list-64bit-condition): Define.
69601 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
69603         * locale/iso-639.def: Add brx entry.
69605         [BZ #13328]
69606         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
69607         Proposed by Mariusz_Cukr <marcukr@op.pl>.
69609         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
69610         __feraiseexcept_renamed.
69612 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
69614         [BZ #13538]
69615         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
69616         EPOLLET with unsigned values.
69617         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
69618         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
69620         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
69621         to large cancellation.
69622         * math/s_cacoshf.c: Likewise.
69623         * math/s_cacoshl.c: Likewise.
69625 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
69627         [BZ #13305]
69628         [BZ #12786]
69629         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
69630         * math/s_cacoshf.c: Likewise.
69631         * math/s_cacoshl.c: Likewise.
69633 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
69635         [BZ #13439]
69636         * iconv/gconv.h: Define __GCONV_SWAP.
69637         * iconvdata/unicode.c: The swap bit must be stored in __flags.
69638         * iconvdata/utf-16.c: Likewise.
69639         * iconvdata/utf-32.c: Likewise.
69641 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
69643         [BZ #13524]
69644         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
69645         numerator after shifting it by one limb.
69647 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
69649         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
69650         under [__USE_EXTERN_INLINES].
69652 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
69654         [BZ #13446]
69655         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
69657 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69659         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
69660         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
69661         optimized code.
69662         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
69663         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
69664         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
69665         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
69666         for strncasecmp/strncasecmp_l compilation.
69667         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
69668         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
69670 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
69672         [BZ #13484]
69673         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
69674         of __asm__.
69676 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
69678         [BZ #13506]
69679         * time/tzfile.c (__tzfile_read): Check values from file header.
69681 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
69683         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
69684         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
69685         * powerpc/powerpc32/dl-start.S: Likewise.
69686         * powerpc/powerpc32/elf/start.S: Likewise.
69687         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
69688         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
69689         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
69690         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
69691         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
69692         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
69693         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
69694         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
69695         * powerpc/powerpc32/fpu/s_round.S: Likewise.
69696         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
69697         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
69698         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
69699         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
69700         * powerpc/powerpc32/memset.S: Likewise.
69701         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
69702         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
69703         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
69704         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
69705         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
69706         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
69707         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
69708         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
69709         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
69710         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
69711         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
69712         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
69713         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
69715 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69717         * math/libm-test.inc: Added more nearbyint tests.
69718         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
69719         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
69720         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
69721         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
69723 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
69725         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
69726         FD_CLOEXEC.
69728 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69730         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
69731         Add wcscpy-ssse3 wcscpy-c.
69732         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
69733         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
69734         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
69735         * sysdeps/x86_64/wcschr.S: New file.
69736         * sysdeps/x86_64/wcsrchr.S: New file.
69737         * string/test-strcmp.c: Remove checking of wcscmp function for
69738         wrong alignments.
69739         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
69740         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
69741         wcsrchr-sse2 wcsrchr-c.
69742         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
69743         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
69744         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
69745         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
69746         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
69747         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
69748         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
69749         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
69750         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
69751         * wcsmbc/wcschr.c (WCSCHR): New macro.
69753 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69755         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
69756         * wcsmbs/test-wcsrchr.c: New file.
69757         * string/test-strrchr.c: Add wcsrchr support.
69758         (WIDE): New macro.
69759         * wcsmbs/test-wcscpy.c: New file.
69760         * string/test-strcpy.c: Add wcscpy support.
69761         (WIDE): New macro.
69763 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
69765         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
69766         the inner loop.
69768 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
69770         [BZ #13472]
69771         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
69773 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
69775         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
69776         Minor optimizations.
69778         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
69779         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
69780         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
69782 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
69784         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
69785         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
69786         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
69787         for gcc to avoid warnings.
69788         * inet/Makefile (tests): Add tst-checks.
69789         * inet/tst-checks.c: New file.
69791         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
69792         warning.
69794         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
69795         __wmemcmp_sse2.
69797         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
69798         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
69800         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
69802 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
69804         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
69805         problem.
69807         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
69809 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
69811         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
69812         conditional on GCC version.
69813         (__arch_compare_and_exchange_val_8_acq)
69814         (__arch_compare_and_exchange_val_16_acq)
69815         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
69816         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
69817         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
69819 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
69821         * sysdeps/sh/backtrace.c: New file.
69823 2011-12-02  Andreas Schwab  <schwab@redhat.com>
69825         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
69826         parenthesis.
69828 2011-12-01  Andreas Schwab  <schwab@redhat.com>
69830         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
69831         falling back to utime.
69833 2011-11-30  Andreas Schwab  <schwab@redhat.com>
69835         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
69836         expectations for float.
69838 2011-11-29  Andreas Schwab  <schwab@redhat.com>
69840         * locale/weight.h (findidx): Add parameter len.
69841         * locale/weightwc.h (findidx): Likewise.
69842         * posix/fnmatch_loop.c (FCT): Adjust caller.
69843         * posix/regcomp.c (build_equiv_class): Likewise.
69844         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
69845         * posix/regexec.c (check_node_accept_bytes): Likewise.
69846         * string/strcoll_l.c (STRCOLL): Likewise.
69847         * string/strxfrm_l.c (STRXFRM): Likewise.
69849 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
69851         * Makefile.in: Remove CVSOPT handling.
69852         * configure.in: Remove use of AC_REVISION.
69853         * iconvdata/Makefile (distribute): No need to filter out CVS.
69854         * scripts/list-sources.sh: Remove CVS, subversion and monotone
69855         handling.
69857 2011-11-16  Andreas Schwab  <schwab@redhat.com>
69859         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
69860         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
69861         [USE_AS_STRNCASECMP_L]: Likewise.
69862         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
69863         NO_TLS_DIRECT_SEG_REFS.
69864         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
69865         Fix argument offsets for non-PIC.
69866         [USE_AS_STRNCASECMP_L]: Likewise.
69867         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
69868         NO_TLS_DIRECT_SEG_REFS.
69870 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
69872         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
69873         O_CLOEXEC.
69874         * locale/loadlocale.c (_nl_load_locale): Likewise.
69876 2011-11-15  Andreas Schwab  <schwab@redhat.com>
69878         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
69879         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
69880         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
69881         (SYSCALL_GETTIME): Set errno on error.
69883         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
69884         count references to noai6ai_cached.
69886 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
69888         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
69890         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
69891         FD_CLOEXEC for /proc/self/maps.
69893         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
69894         FD_CLOEXEC for /proc/meminfo.
69896         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
69897         gai.conf.
69899         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
69900         FD_CLOEXEC for given file.
69902         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
69904         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
69905         FD_CLOEXEC for /etc/hosts.
69906         (_gethtent): Likewise.
69908         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
69910         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
69911         cancellation and set FD_CLOEXEC for /etc/netgroup.
69913         * nss/nss_files/files-key.c (search): Don't allow cancellation when
69914         reading /etc/publickey.
69916         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
69917         allow cancellation when reading /etc/group.
69919         * nss/nss_files/files-alias.c (internal_setent): Don't allow
69920         cancellation.
69921         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
69923         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
69924         when using data file.
69926         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
69928         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
69929         (write_nis_obj): Use "c" and "e" in fopen.
69931         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
69933         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
69935         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
69937         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
69939         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
69940         locale.alias.
69942         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
69944         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
69946         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
69948         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
69949         file parsing and set FD_CLOEXEC.
69951 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
69953         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
69955 2011-11-14  Andreas Schwab  <schwab@redhat.com>
69957         * malloc/arena.c (arena_get2): Don't call reused_arena when
69958         _int_new_arena failed.
69960 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
69962         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
69963         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
69964         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
69965         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
69966         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
69967         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
69968         to compile strcasecmp and strncasecmp.
69969         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
69970         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
69972         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
69974 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
69976         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
69977         locale-defines.sym to gen-as-const-headers.
69978         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
69979         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
69980         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
69981         to compile strcasecmp and strncasecmp.
69982         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
69983         strcasecmp_l and strncasecmp_l.
69984         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
69985         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
69986         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
69987         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
69988         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
69989         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
69990         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
69991         * sysdeps/i386/i686/multiarch/strncase.S: New file.
69992         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
69993         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
69994         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
69996 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
69998         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
69999         result of SYSDEP_GETTIME_CPU to retval.
70000         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
70001         parameter list to macro.  Remove trailing semicolon.  Adjust users.
70003         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
70004         variable.
70006         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
70007         mantissa words.
70008         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
70010         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
70011         from unused variable.
70013         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
70014         DWARF definitions.
70015         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
70016         for assembling.
70018         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
70019         over namespaces.
70021         * sunrpc/rpc_prot.c (rejected): Fix case value.
70023         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
70024         unsigned long long int to avoid warnings in shift.
70026         * posix/regex_internal.c (re_string_reconstruct): Actually use result
70027         of use of trans.
70028         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
70029         variable tmp.
70031         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
70032         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
70033         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
70035         * nis/nis_table.c (nis_list): Use variable of correct type for
70036         result of __follow_path call.
70038 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70040         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
70041         of math functions ceil, trunc, floor, round, and sqrt, when
70042         avaliable on the platform.
70043         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
70044         name clash.
70045         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
70046         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
70047         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
70049 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
70051         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
70052         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
70054 2011-11-11  Roland McGrath  <roland@hack.frob.com>
70056         * include/unistd.h: Fix __readlink return type.
70057         Reported by Chris Metcalf <cmetcalf@tilera.com>.
70059 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
70061         * stdlib/ucontext.h: Undo last change for makecontext.
70063 2011-11-11  Andreas Schwab  <schwab@redhat.com>
70065         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
70067         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
70068         * setjmp/setjmp.h: Mark functions as non-leaf.
70069         * setjmp/bits/setjmp2.h: Likewise.
70070         * stdlib/ucontext.h: Likewise.
70072 2011-11-10  Andreas Schwab  <schwab@redhat.com>
70074         * malloc/arena.c (_int_new_arena): Don't increment narenas.
70075         (reused_arena): Don't check arena limit.
70076         (arena_get2): Atomically check arena limit.
70078 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
70080         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
70081         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
70083         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
70084         instructions.
70086 2011-11-07  Andreas Schwab  <schwab@redhat.com>
70088         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
70089         handler when locking.
70091         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
70092         Fix size of allocated buffer.
70094 2011-11-04  Andreas Schwab  <schwab@redhat.com>
70096         [BZ #10103]
70097         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
70098         declarations for long double functions.
70099         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
70101         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
70103 2011-11-03  Andreas Schwab  <schwab@redhat.com>
70105         * nscd/nscd.c (main): Don't start AVC thread until credentials are
70106         installed.
70108         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
70109         is disabled.
70111 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70113         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
70115 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
70117         * include/alloca.h (stackinfo_alloca_round): Define.
70118         (extend_alloca): Use it.
70119         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
70120         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
70121         here.
70123         * scripts/check-local-headers.sh: Ignore libaudit.h.
70125         * nscd/Makefile (extra-objs): Make recursively expanded.
70127 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
70129         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
70130         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
70132         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
70133         * posix/tst-rfc3484-2.c: Likewise.
70134         * posix/tst-rfc3484-3.c: Likewise.
70136         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
70137         process_vm_writev.
70138         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
70139         process_vm_writev.
70140         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
70141         process_vm_writev from libc using GLIBC_2.15 version.
70143         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
70145 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
70147         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
70148         stack usage.
70150 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
70152         [BZ #13367]
70153         * nss/getent.c (initgroups_keys): Show error message in case no group
70154         names are given.
70156         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
70157         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
70158         __bump_nl_timestamp.
70159         * nscd/connections (nscd_init): When host database is served open
70160         netlink socket and request notification about configuration changes.
70161         (main_loop_poll): Track netlink file descriptor and bump timestamp
70162         in case data becomes available.
70163         (main_loop_epoll): Likewise.
70164         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
70165         (database_pers_head): Add extra_data fileds.
70166         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
70167         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
70168         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
70169         Adjust caller.
70170         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
70171         in6ai data, call __free_in6ai.
70172         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
70173         Add -DHAVE_NETLINK.
70174         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
70175         interface information.  Reuse previous data if netlink timestamp
70176         is not changed.
70177         (__bump_nl_timestamp): New function.
70178         (__free_in6ai): New function.
70180 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
70182         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
70183         close_not_cancel_no_status here.
70184         (__check_pf): Reorganize code a bit to not call close twice if OOM.
70186 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
70188         [BZ #13276]
70189         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
70190         return value.
70192         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
70193         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
70194         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
70196 2011-07-03  Andreas Jaeger  <aj@suse.de>
70198         [BZ #10709]
70199         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
70200         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
70201         * math/libm-test.inc (sin_test): Add test case.
70203 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
70205         [BZ #13337]
70206         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
70207         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
70209         * elf/chroot_canon.c (chroot_canon): Cleanups.
70211         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
70213         [BZ #13335]
70214         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
70215         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
70217         * string/test-strchr.c: Make usable for strchrnul testing.
70218         * string/test-strchrnul.c: New file.
70219         * string/Makefile (strop-tests): Add strchrnul.
70221         * po/it.po: Update from translation team.
70222         * po/es.po: Likewise.
70224 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
70226         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
70227         the three constants needed as parameters.  Drop the others.
70228         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
70229         __m128i_strloadu_tolower.
70230         Create and initialize variable zero and use it in all the places
70231         where _mm_setzero_si128 was used.
70233         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
70234         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
70235         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
70236         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
70237         anymore.
70238         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
70239         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
70240         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
70241         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
70242         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
70243         __mpranred, __mptan.
70244         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
70245         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
70246         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
70247         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
70248         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
70249         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
70250         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
70251         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
70252         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
70254 2011-10-28  Andreas Schwab  <schwab@redhat.com>
70256         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
70257         redefine if SHARED.
70258         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
70260         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
70261         wide char related routines to wcsmbs subdir.
70263 2011-10-27  Andreas Schwab  <schwab@redhat.com>
70265         [BZ #13344]
70266         * misc/sys/cdefs.h (__THROWNL): Define.
70267         * posix/unistd.h: Use __THREADNL instead of __THREAD
70268         for memory synchronization functions.
70270 2011-10-26  Roland McGrath  <roland@hack.frob.com>
70272         [BZ #13349]
70273         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
70274         doesn't exist.
70275         * manual/stdio.texi (Obstack Streams): Node removed.
70277 2011-10-26  Andreas Schwab  <schwab@redhat.com>
70279         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
70280         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
70281         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
70283         * math/math_private.h (math_force_eval): Allow non-addressable
70284         arguments.
70285         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
70287 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
70289         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
70290         file is not needed.
70292         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
70293         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
70294         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
70295         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
70296         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
70297         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
70298         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
70299         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
70300         Add AVX variants.
70301         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
70302         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
70303         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
70304         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
70305         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
70306         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
70307         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
70308         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
70309         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
70310         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
70311         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
70312         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
70313         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
70314         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
70315         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
70316         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
70317         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
70318         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
70319         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
70321         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
70322         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
70324         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
70325         place.  Use VEX encoding when compiling for AVX.
70327 2011-10-25  Andreas Schwab  <schwab@redhat.com>
70329         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
70330         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
70332         * string/test-strchr.c (do_test): Don't generate NUL bytes.
70334 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
70336         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
70337         useless if() expression.
70338         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
70339         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
70340         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
70341         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
70342         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
70343         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
70344         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
70345         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
70346         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
70347         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
70348         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
70349         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
70350         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
70351         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
70352         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
70353         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
70354         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
70355         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
70356         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
70358         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
70360 2011-10-25  Andreas Schwab  <schwab@redhat.com>
70362         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
70363         condition.
70364         * elf/dl-fini.c (_dl_sort_fini): Likewise.
70366 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
70368         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
70369         .text section.  Avoid duplicate constants.
70370         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
70371         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
70372         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
70373         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
70374         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
70375         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
70376         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
70377         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
70378         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
70379         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
70380         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
70381         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
70382         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
70383         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
70384         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
70385         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
70386         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
70387         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
70388         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
70389         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
70390         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
70391         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
70392         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
70393         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
70394         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
70395         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
70396         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
70397         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
70398         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
70399         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
70400         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
70401         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
70402         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
70403         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
70404         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
70405         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
70406         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
70407         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
70408         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
70409         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
70410         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
70411         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
70412         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
70413         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
70414         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
70416 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
70418         * sysdeps/x86_64/dla.h: Move to ...
70419         * sysdeps/x86_64/fpu/dla.h: ...here.
70420         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
70421         situations.  Use __builtin_fma only for gcc 4.6 and up.
70423         * config.make.in: Add have-mfma4 entry.
70424         * configure.in: Substitute libc_cv_cc_fma4.
70425         * math/Makefile (dbl-only-routines): Add sincostab.
70426         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
70427         Use __sincostab not sincos.
70428         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
70429         name is a macro.
70430         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
70431         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
70432         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
70433         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
70434         using __copysign.
70435         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
70436         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
70437         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
70438         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
70439         and __inv.
70440         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
70441         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
70442         __copysign.
70443         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
70444         define aliases when function name is a macro.
70445         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
70446         sysdeps/ieee754/dbl-64/sincos.tbl.
70447         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
70448         fma4-enabled routines.
70449         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
70450         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
70451         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
70452         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
70453         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
70454         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
70455         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
70456         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
70457         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
70458         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
70459         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
70460         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
70461         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
70462         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
70463         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
70464         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
70465         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
70466         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
70467         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
70468         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
70469         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
70470         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
70471         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
70472         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
70473         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
70474         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
70475         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
70476         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
70477         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
70478         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
70480         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
70481         rename.
70482         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
70483         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
70484         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
70485         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
70486         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
70487         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
70488         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
70489         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
70491 2011-10-24  Andreas Schwab  <schwab@redhat.com>
70493         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
70495 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
70497         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
70499         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
70500         prediction.
70501         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
70503         * string/strnlen.c: Don't define STRNLEN, reverse logic.
70504         Remove unused variable magic_bits.
70505         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
70507         * string/strnlen.c: Define and use STRNLEN macro.
70508         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
70509         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
70510         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
70511         * wcsmbs/wcslen.c: Define and use WCSLEN.
70512         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
70513         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
70514         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
70515         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
70516         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
70517         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
70518         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
70520 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70522         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
70523         strnlen-sse2-no-bsf.
70524         Rename strlen-no-bsf to strlen-sse2-no-bsf.
70525         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
70526         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
70527         Add strnlen support.
70528         (USE_AS_STRNLEN): New macro.
70529         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
70530         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
70531         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
70532         * sysdeps/x86_64/wcslen.S: New file.
70534 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
70536         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
70537         XMM-moves are used for copying on small sizes.
70539 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70541         * wcsmbs/Makefile (strop-tests): Add wcschr.
70542         * wcsmbs/test-wcschr.c: New file.
70543         * string/test-strchr.c: Update.
70544         Add wcschr support.
70545         (WIDE): New macro.
70547 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70549         * wcsmbs/Makefile (strop-tests): Add wcslen.
70550         * wcsmbs/test-wcslen.c: New file.
70551         * string/test-strlen.c: Update.
70552         Add wcslen support.
70553         (WIDE): New macro.
70555 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
70557         * po/it.po: Update from translation team.
70559 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70561         * sysdeps/x86_64/wcscmp.S: Update.
70562         Fix wrong comparison semantics.
70563         wcscmp shall use signed comparison not unsigned.
70564         Don't use substraction to avoid overflow bug.
70565         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
70566         * wcsmbc/wcscmp.c: Likewise.
70567         * string/test-strcmp.c: Likewise.
70568         Add new tests to check cases with negative values.
70570 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
70572         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
70573         * sysdeps/x86_64/dla.h: ...here.  New file.
70574         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
70575         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
70576         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
70577         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
70578         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
70579         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
70580         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
70581         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
70582         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
70584 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
70586         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
70587         __ynl_finite aliases.
70589 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
70591         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70593         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
70594         define DLA_FMA.
70595         [DLA_FMA] (EMULV): Use DLA_FMA.
70596         [DLA_FMA] (MUL12): Use EMULV.
70597         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
70598         that are not needed.
70599         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
70600         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
70601         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
70602         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
70603         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
70604         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
70605         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
70607 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
70609         * math/s_nan.c: Undef __nan.
70610         * math/s_nanf.c: Undef __nanf.
70611         * math/s_nanl.c: Undef __nanl.
70612         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
70613         "math_private.h".
70615 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
70617         * math/s_catan.c: Add branch predictions.
70618         * math/s_catanf.c: Likewise.
70619         * math/s_catanh.c: Likewise.
70620         * math/s_catanhf.c: Likewise.
70621         * math/s_catanhl.c: Likewise.
70622         * math/s_catanl.c: Likewise.
70623         * math/s_cexp.c: Likewise.
70624         * math/s_cexpf.c: Likewise.
70625         * math/s_cexpl.c: Likewise.
70626         * math/s_clog.c: Likewise.
70627         * math/s_clog10.c: Likewise.
70628         * math/s_clog10f.c: Likewise.
70629         * math/s_clog10l.c: Likewise.
70630         * math/s_clogf.c: Likewise.
70631         * math/s_clogl.c: Likewise.
70632         * math/s_csqrt.c: Likewise.
70633         * math/s_csqrtf.c: Likewise.
70634         * math/s_csqrtl.c: Likewise.
70635         * math/s_ctanf.c: Likewise.
70636         * math/s_ctanh.c: Likewise.
70637         * math/s_ctanhf.c: Likewise.
70638         * math/s_ctanhl.c: Likewise.
70639         * math/s_ctanl.c: Likewise.
70641         * math/math_private.h: Define __nan, __nanf, __nanl.
70642         * math/s_cacosh.c: Include <math_private.h>.
70643         * math/s_cacoshl.c: Likewise.
70644         * math/s_casinh.c: Likewise.
70645         * math/s_casinhf.c: Likewise.
70646         * math/s_casinhl.c: Likewise.
70647         * math/s_ccos.c: Rely entire on ccosh.
70648         * math/s_ccosf.c: Rely entire on ccoshf.
70649         * math/s_ccosl.c: Rely entirely on ccoshl.
70650         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
70651         Remove tests for FE_INVALID.
70652         * math/s_ccoshf.c: Likewise.
70653         * math/s_ccoshl.c: Likewise.
70654         * math/s_csin.c: Likewise.
70655         * math/s_csinf.c: Likewise.
70656         * math/s_csinh.c Likewise.
70657         * math/s_csinhf.c: Likewise.
70658         * math/s_csinhl.c: Likewise.
70659         * math/s_csinl.c: Likewise.
70660         * math/s_ctan.c: Likewise.
70661         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
70662         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
70663         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
70665 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
70667         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
70668         compilation problems.
70670         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
70671         __builtin_expect.
70673 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
70675         * sysdeps/i386/configure.in: Test for -mfma4 option.
70676         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
70677         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
70678         COMMON_CPUID_INDEX_80000001.
70679         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
70680         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
70681         use it if FMA3 is not supported.
70682         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
70684         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
70685         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
70687 2011-10-20  Andreas Schwab  <schwab@redhat.com>
70689         [BZ #12892]
70690         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
70691         it would create a cycle with a link time dependency.
70693 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
70695         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
70696         instruction.
70697         * string/Makefile (strop-tests): Add rawmemchr.
70698         * string/test-rawmemchr.c: New file.
70700         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
70701         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
70702         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
70703         when compiling str{,n}casecmp and when AVX is available.  Hook up
70704         new optimized code in initializers.
70706 2011-10-19  Andreas Schwab  <schwab@redhat.com>
70708         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
70709         __feraiseexcept instead of feraiseexcept.
70711 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
70713         * math/math_private.h: Define defaults for libc_fetestexcept and
70714         libc_feupdateenv.
70715         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
70716         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
70717         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
70718         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
70719         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
70720         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
70721         libc_fetestexcept and libc_feupdateenv.
70723         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
70724         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
70725         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
70726         * sysdeps/x86_64/fpu/math_private.h: Define special version of
70727         libc_feholdexcept_setround.
70729         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
70730         Add s_nearbyint-c and s_nearbyintf-c.
70731         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
70732         nearbyintf inlines.
70733         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
70734         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
70735         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
70736         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
70738         * math/math_private.h: Define defaults for libc_fegetround,
70739         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
70740         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
70741         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
70742         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
70743         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
70744         standard functions.
70745         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
70746         Remove comments and hacks for old compiler versions.
70747         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
70748         libc_fegetround, libc_fesetround, libc_feholdexcept, and
70749         libc_feholdexceptl.
70751 2011-10-18  Andreas Schwab  <schwab@redhat.com>
70753         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
70754         (__feraiseexcept_renamed): Add __NTH.
70755         (feraiseexcept): Add __NTH.  Rename local variables to fix
70756         namespace violations.
70758 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
70760         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
70762         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
70764         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
70765         recently added interfaces.
70766         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
70768         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
70769         about macro parameter expansion.
70771         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
70772         __NO_MATH_INLINES is defined.  Cleanups.
70774         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
70775         and __floorf is target has SSE4.1.
70776         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
70777         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
70778         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
70779         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
70781         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
70782         name.
70783         (floorf): Likewise.
70785         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
70787 2011-10-17  Andreas Schwab  <schwab@redhat.com>
70789         * misc/sys/cdefs.h: Fix last change.
70791         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
70792         database lookup.
70794 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
70796         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
70798         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
70799         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
70800         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
70801         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
70802         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
70803         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
70804         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
70805         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
70806         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
70807         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
70808         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
70809         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
70810         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
70811         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
70812         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
70813         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
70814         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
70815         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
70816         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
70817         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
70818         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
70819         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
70821         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
70822         ceil, ceilf, floor, floorf.
70824         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
70825         Perform IRELATIVE relocations last.
70827         * elf/do-rel.h: Add another parameter nrelative, replacing the
70828         local variable with the same name.  Change name of the function
70829         to end in Rel or Rela (uppercase).
70830         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
70831         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
70832         elf_dynamic_do_##reloc function.
70834 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
70836         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
70837         is sufficient, at least on modern CPUs.
70839         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
70841         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
70842         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
70844         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
70845         __expl_finite.
70846         * math/bits/math-finite.h: Add entries for exp.
70847         * math/e_expl.c: Add __*_finite alias.
70848         * sysdeps/i386/fpu/e_exp.S: Likewise.
70849         * sysdeps/i386/fpu/e_expf.S: Likewise.
70850         * sysdeps/i386/fpu/e_expl.c: Likewise.
70851         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
70852         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
70853         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
70854         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
70855         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
70856         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
70857         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
70859         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
70860         is sufficient, at least on modern CPUs.
70862         * ctype/ctype-info.c (__ctype_init): Define.
70863         * include/ctype.h (__ctype_init): Declare.
70864         (__ctype_b_loc): The variable is always initialized.
70865         (__ctype_toupper_loc): Likewise.
70866         (__ctype_tolower_loc): Likewise.
70867         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
70868         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
70870 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
70872         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
70874         * configure.in: Also look in $cxxmachine/include for C++ system
70875         headers.
70877 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70879         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
70880         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
70881         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
70882         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
70883         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
70884         (USE_AS_WMEMCMP): New macro.
70885         Fixing indents.
70886         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
70887         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
70888         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
70889         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
70890         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
70891         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
70892         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
70893         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
70894         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
70895         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
70896         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
70897         (USE_AS_WMEMCMP): New macro.
70898         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
70899         * sysdeps/string/test-memcmp.c: Update.
70900         Fix simple_wmemcmp.
70901         Add new tests.
70902         * wcsmbs/wmemcmp.c: Update.
70903         (WMEMCMP): New macro.
70904         Fix overflow bug.
70906 2011-10-12  Andreas Jaeger  <aj@suse.de>
70908         [BZ #13268]
70909         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
70911 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
70913         * libio/iofwide.c (do_length): Avoid warning.
70915         * ctype/ctype.h (__isctype_f): Add missing __THROW.
70917 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
70919         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
70921         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
70922         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
70923         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
70924         * sysdeps/i386/i686/fpu/e_log.S: New file.
70925         * sysdeps/i386/i686/fpu/e_logf.S: New file.
70926         * sysdeps/i386/i686/fpu/e_logl.S: New file.
70928         * ctype/ctype.h: Add support for inlined isXXX functions when
70929         compiling C++ code.
70931 2011-10-14  Andreas Schwab  <schwab@redhat.com>
70933         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
70935         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
70937 2011-10-13  Roland McGrath  <roland@hack.frob.com>
70939         [BZ #13291]
70940         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
70942 2011-10-13  Andreas Schwab  <schwab@redhat.com>
70944         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
70945         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
70946         feraiseexcept.
70948         * sysdeps/x86_64/memrchr.S: Check for zero size.
70950         * string/stratcliff.c: Add memrchr tests.
70952 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70954         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
70955         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
70956         rawmemchr-sse2 rawmemchr-sse2-bsf.
70957         * sysdeps/i386/i686/multiarch/memchr.S: New file.
70958         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
70959         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
70960         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
70961         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
70962         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
70963         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
70964         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
70965         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
70966         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
70967         * string/memrchr.c (MEMRCHR): New macro.
70969 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
70971         Add integration with gcc's -ffinite-math-only and optimize wrapper
70972         functions in libm.
70973         * Versions.def: Define GLIBC_2.15 version for libm.
70974         * math/Makefile (headers): Add bits/math-finite.h.
70975         * math/bits/math-finite.h: New file.
70976         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
70977         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
70978         * math/e_acoshl.c: Add __*_finite alias.
70979         * math/e_acosl.c: Likewise.
70980         * math/e_asinl.c: Likewise.
70981         * math/e_atan2l.c: Likewise.
70982         * math/e_atanhl.c: Likewise.
70983         * math/e_coshl.c: Likewise.
70984         * math/e_exp10.c: Likewise.
70985         * math/e_exp10f.c: Likewise.
70986         * math/e_exp10l.c: Likewise.
70987         * math/e_exp2l.c: Likewise.
70988         * math/e_fmodl.c: Likewise.
70989         * math/e_gammal_r.c: Likewise.
70990         * math/e_hypotl.c: Likewise.
70991         * math/e_j0l.c: Likewise.
70992         * math/e_j1l.c: Likewise.
70993         * math/e_jnl.c: Likewise.
70994         * math/e_lgammal_r.c: Likewise.
70995         * math/e_log10l.c: Likewise.
70996         * math/e_log2l.c: Likewise.
70997         * math/e_logl.c: Likewise.
70998         * math/e_powl.c: Likewise.
70999         * math/e_sinhl.c: Likewise.
71000         * math/e_sqrtl.c: Likewise.
71001         * math/e_scalb.c: Completely rewritten and optimized.
71002         * math/e_scalbf.c: Likewise.
71003         * math/e_scalbl.c: Likewise.
71004         * math/w_acos.c: Likewise.
71005         * math/w_acosf.c: Likewise.
71006         * math/w_acosl.c: Likewise.
71007         * math/w_acosh.c: Likewise.
71008         * math/w_acoshf.c: Likewise.
71009         * math/w_acoshl.c: Likewise.
71010         * math/w_asin.c: Likewise.
71011         * math/w_asinf.c: Likewise.
71012         * math/w_asinl.c: Likewise.
71013         * math/w_atan2.c: Likewise.
71014         * math/w_atan2f.c: Likewise.
71015         * math/w_atan2l.c: Likewise.
71016         * math/w_atanh.c: Likewise.
71017         * math/w_atanhf.c: Likewise.
71018         * math/w_atanhl.c: Likewise.
71019         * math/w_exp10.c: Likewise.
71020         * math/w_exp10f.c: Likewise.
71021         * math/w_exp10l.c: Likewise.
71022         * math/w_fmod.c: Likewise.
71023         * math/w_fmodf.c: Likewise.
71024         * math/w_fmodl.c: Likewise.
71025         * math/w_j0.c: Likewise.
71026         * math/w_j0f.c: Likewise.
71027         * math/w_j0l.c: Likewise.
71028         * math/w_j1.c: Likewise.
71029         * math/w_j1f.c: Likewise.
71030         * math/w_j1l.c: Likewise.
71031         * math/w_jn.c: Likewise.
71032         * math/w_jnf.c: Likewise.
71033         * math/w_log.c: Likewise.
71034         * math/w_logf.c: Likewise.
71035         * math/w_logl.c: Likewise.
71036         * math/w_log10.c: Likewise.
71037         * math/w_log10f.c: Likewise.
71038         * math/w_log10l.c: Likewise.
71039         * math/w_log2.c: Likewise.
71040         * math/w_log2f.c: Likewise.
71041         * math/w_log2l.c: Likewise.
71042         * math/w_pow.c: Likewise.
71043         * math/w_powf.c: Likewise.
71044         * math/w_powl.c: Likewise.
71045         * math/w_remainder.c: Likewise.
71046         * math/w_remainderf.c: Likewise.
71047         * math/w_remainderl.c: Likewise.
71048         * math/w_scalb.c: Likewise.
71049         * math/w_scalbf.c: Likewise.
71050         * math/w_scalbl.c: Likewise.
71051         * math/w_sqrt.c: Likewise.
71052         * math/w_sqrtf.c: Likewise.
71053         * math/w_sqrtl.c: Likewise.
71054         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
71055         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
71056         used.
71057         * math/math_private.h: Declare __kernel_standard_f.
71058         * math/w_cosh.c: Remove cruft and optimize a bit.
71059         * math/w_coshf.c: Likewise.
71060         * math/w_coshl.c: Likewise.
71061         * math/w_exp2.c: Likewise.
71062         * math/w_exp2f.c: Likewise.
71063         * math/w_exp2l.c: Likewise.
71064         * math/w_hypot.c: Likewise.
71065         * math/w_hypotf.c: Likewise.
71066         * math/w_hypotl.c: Likewise.
71067         * math/w_lgamma.c: Likewise.
71068         * math/w_lgamma_r.c: Likewise.
71069         * math/w_lgammaf.c: Likewise.
71070         * math/w_lgammaf_r.c: Likewise.
71071         * math/w_lgammal.c: Likewise.
71072         * math/w_lgammal_r.c: Likewise.
71073         * math/w_sinh.c: Likewise.
71074         * math/w_sinhf.c: Likewise.
71075         * math/w_sinhl.c: Likewise.
71076         * math/w_tgamma.c: Likewise.
71077         * math/w_tgammaf.c: Likewise.
71078         * math/w_tgammal.c: Likewise.
71079         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
71080         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
71081         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
71082         Minor optimizations.  Pretty printing.  Remove cruft.
71083         * sysdeps/i386/fpu/e_acosf.S: Likewise.
71084         * sysdeps/i386/fpu/e_acosh.S: Likewise.
71085         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
71086         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
71087         * sysdeps/i386/fpu/e_acosl.c: Likewise.
71088         * sysdeps/i386/fpu/e_asin.S: Likewise.
71089         * sysdeps/i386/fpu/e_asinf.S: Likewise.
71090         * sysdeps/i386/fpu/e_atan2.S: Likewise.
71091         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
71092         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
71093         * sysdeps/i386/fpu/e_atanh.S: Likewise.
71094         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
71095         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
71096         * sysdeps/i386/fpu/e_exp10.S: Likewise.
71097         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
71098         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
71099         * sysdeps/i386/fpu/e_exp2.S: Likewise.
71100         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
71101         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
71102         * sysdeps/i386/fpu/e_fmod.S: Likewise.
71103         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
71104         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
71105         * sysdeps/i386/fpu/e_hypot.S: Likewise.
71106         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
71107         * sysdeps/i386/fpu/e_log.S: Likewise.
71108         * sysdeps/i386/fpu/e_log10.S: Likewise.
71109         * sysdeps/i386/fpu/e_log10f.S: Likewise.
71110         * sysdeps/i386/fpu/e_log10l.S: Likewise.
71111         * sysdeps/i386/fpu/e_log2.S: Likewise.
71112         * sysdeps/i386/fpu/e_log2f.S: Likewise.
71113         * sysdeps/i386/fpu/e_log2l.S: Likewise.
71114         * sysdeps/i386/fpu/e_logf.S: Likewise.
71115         * sysdeps/i386/fpu/e_logl.S: Likewise.
71116         * sysdeps/i386/fpu/e_pow.S: Likewise.
71117         * sysdeps/i386/fpu/e_powf.S: Likewise.
71118         * sysdeps/i386/fpu/e_powl.S: Likewise.
71119         * sysdeps/i386/fpu/e_remainder.S: Likewise.
71120         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
71121         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
71122         * sysdeps/i386/fpu/e_scalb.S: Likewise.
71123         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
71124         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
71125         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
71126         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
71127         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
71128         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
71129         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
71130         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71131         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
71132         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
71133         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
71134         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
71135         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
71136         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
71137         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
71138         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
71139         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
71140         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71141         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
71142         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
71143         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71144         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
71145         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
71146         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
71147         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71148         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
71149         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
71150         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
71151         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
71152         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
71153         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
71154         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
71155         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
71156         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
71157         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
71158         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
71159         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
71160         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
71161         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
71162         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
71163         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
71164         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
71165         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
71166         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
71167         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
71168         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
71169         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
71170         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
71171         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
71172         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
71173         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
71174         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
71175         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
71176         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
71177         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
71178         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
71179         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
71180         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
71181         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
71182         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
71183         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
71184         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
71185         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
71186         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
71187         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
71188         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
71189         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
71190         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
71191         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
71192         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
71193         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
71194         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
71195         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
71196         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
71197         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
71198         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
71199         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
71200         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
71201         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
71202         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
71203         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
71204         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
71205         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
71206         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
71207         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
71208         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
71209         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
71210         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
71211         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
71212         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
71213         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
71214         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
71215         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
71216         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
71217         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
71218         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
71219         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
71220         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
71221         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
71222         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
71223         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
71224         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
71225         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
71226         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
71227         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
71228         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
71229         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
71230         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
71231         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
71232         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
71233         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
71234         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
71235         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
71236         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
71237         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
71238         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
71239         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
71240         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
71241         (__isnanf): Likewise.
71242         (__isinf_ns): Likewise.
71243         (__isinf_nsf): Likewise.
71244         (__finite): Likewise.
71245         (__finitef): Likewise.
71246         (__ieee754_sqrt): Define as macro.
71247         (__ieee754_sqrtf): Define as macro.
71248         (__ieee754_sqrtl): Define as macro.
71249         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
71250         inlined copy.
71251         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
71252         __FINITE_MATH_ONLY__ consistent.
71253         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
71255 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
71257         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
71258         of rawmemchr.
71260         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
71262 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
71264         * po/ja.po: Update from translation team.
71266 2011-10-08  Roland McGrath  <roland@hack.frob.com>
71268         * locale/programs/locarchive.c (prepare_address_space): New function.
71269         (create_archive, enlarge_archive, open_archive): Use it.
71271         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
71272         inside [SHARED], where it is used.
71274         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
71276         * nss/getent.c (netgroup_keys): Remove unused variable.
71277         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
71279 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
71281         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
71282         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
71283         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
71284         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
71285         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
71286         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
71287         * math/Makefile (libm-calls): Add s_isinf_ns.
71288         * math/divtc3.c: Use __isinf_nsl instead of isinf.
71289         * math/multc3.c: Likewise.
71290         * math/s_casin.c: Likewise.
71291         * math/s_casinf.c: Likewise.
71292         * math/s_casinl.c: Likewise.
71293         * math/s_ccos.c: Likewise.
71294         * math/s_ccosf.c: Likewise.
71295         * math/s_ccosl.c: Likewise.
71296         * math/s_ctan.c: Likewise.
71297         * math/s_ctanf.c: Likewise.
71298         * math/s_ctanh.c: Likewise.
71299         * math/s_ctanhf.c: Likewise.
71300         * math/s_ctanhl.c: Likewise.
71301         * math/s_ctanl.c: Likewise.
71302         * math/w_fmod.c: Likewise.
71303         * math/w_fmodf.c: Likewise.
71304         * math/w_fmodl.c: Likewise.
71305         * math/w_remainder.c: Likewise.
71306         * math/w_remainderf.c: Likewise.
71307         * math/w_remainderl.c: Likewise.
71308         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
71309         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
71310         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
71311         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
71312         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
71313         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
71314         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
71315         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
71317         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
71318         of the number.
71319         * stdio-common/printf_fphex.c: Likewise.
71320         * stdio-common/printf_size.c: Likewise.
71322         * math/e_exp10.c: Include math_private.h using <...> not "...".
71323         * math/e_exp10f.c: Likewise.
71324         * math/e_exp10l.c: Likewise.
71325         * math/e_exp2l.c: Likewise.
71326         * math/e_j0l.c: Likewise.
71327         * math/e_j1l.c: Likewise.
71328         * math/e_jnl.c: Likewise.
71329         * math/e_lgammal_r.c: Likewise.
71330         * math/e_rem_pio2l.c: Likewise.
71331         * math/e_scalb.c: Likewise.
71332         * math/e_scalbf.c: Likewise.
71333         * math/e_scalbl.c: Likewise.
71334         * math/k_cosl.c: Likewise.
71335         * math/k_sinl.c: Likewise.
71336         * math/k_tanl.c: Likewise.
71337         * math/s_cacoshf.c: Likewise.
71338         * math/s_catan.c: Likewise.
71339         * math/s_catanf.c: Likewise.
71340         * math/s_catanh.c: Likewise.
71341         * math/s_catanhf.c: Likewise.
71342         * math/s_catanhl.c: Likewise.
71343         * math/s_catanl.c: Likewise.
71344         * math/s_ccosh.c: Likewise.
71345         * math/s_ccoshf.c: Likewise.
71346         * math/s_ccoshl.c: Likewise.
71347         * math/s_cexp.c: Likewise.
71348         * math/s_cexpf.c: Likewise.
71349         * math/s_cexpl.c: Likewise.
71350         * math/s_clog.c: Likewise.
71351         * math/s_clog10.c: Likewise.
71352         * math/s_clog10f.c: Likewise.
71353         * math/s_clog10l.c: Likewise.
71354         * math/s_clogf.c: Likewise.
71355         * math/s_clogl.c: Likewise.
71356         * math/s_csin.c: Likewise.
71357         * math/s_csinf.c: Likewise.
71358         * math/s_csinh.c: Likewise.
71359         * math/s_csinhf.c: Likewise.
71360         * math/s_csinhl.c: Likewise.
71361         * math/s_csinl.c: Likewise.
71362         * math/s_csqrt.c: Likewise.
71363         * math/s_csqrtf.c: Likewise.
71364         * math/s_csqrtl.c: Likewise.
71365         * math/s_ctan.c: Likewise.
71366         * math/s_ctanf.c: Likewise.
71367         * math/s_ctanh.c: Likewise.
71368         * math/s_ctanhf.c: Likewise.
71369         * math/s_ctanhl.c: Likewise.
71370         * math/s_ctanl.c: Likewise.
71371         * math/s_ldexp.c: Likewise.
71372         * math/s_ldexpf.c: Likewise.
71373         * math/s_ldexpl.c: Likewise.
71374         * math/s_significand.c: Likewise.
71375         * math/s_significandf.c: Likewise.
71376         * math/s_significandl.c: Likewise.
71377         * math/w_acos.c: Likewise.
71378         * math/w_acosf.c: Likewise.
71379         * math/w_acosh.c: Likewise.
71380         * math/w_acoshf.c: Likewise.
71381         * math/w_acoshl.c: Likewise.
71382         * math/w_acosl.c: Likewise.
71383         * math/w_asin.c: Likewise.
71384         * math/w_asinf.c: Likewise.
71385         * math/w_asinl.c: Likewise.
71386         * math/w_atan2.c: Likewise.
71387         * math/w_atan2f.c: Likewise.
71388         * math/w_atan2l.c: Likewise.
71389         * math/w_atanh.c: Likewise.
71390         * math/w_atanhf.c: Likewise.
71391         * math/w_atanhl.c: Likewise.
71392         * math/w_cosh.c: Likewise.
71393         * math/w_coshf.c: Likewise.
71394         * math/w_coshl.c: Likewise.
71395         * math/w_dremf.c: Likewise.
71396         * math/w_exp10.c: Likewise.
71397         * math/w_exp10f.c: Likewise.
71398         * math/w_exp10l.c: Likewise.
71399         * math/w_exp2.c: Likewise.
71400         * math/w_exp2f.c: Likewise.
71401         * math/w_fmod.c: Likewise.
71402         * math/w_fmodf.c: Likewise.
71403         * math/w_fmodl.c: Likewise.
71404         * math/w_hypot.c: Likewise.
71405         * math/w_hypotf.c: Likewise.
71406         * math/w_hypotl.c: Likewise.
71407         * math/w_j0.c: Likewise.
71408         * math/w_j0f.c: Likewise.
71409         * math/w_j0l.c: Likewise.
71410         * math/w_j1.c: Likewise.
71411         * math/w_j1f.c: Likewise.
71412         * math/w_j1l.c: Likewise.
71413         * math/w_jn.c: Likewise.
71414         * math/w_jnf.c: Likewise.
71415         * math/w_jnl.c: Likewise.
71416         * math/w_lgamma.c: Likewise.
71417         * math/w_lgamma_r.c: Likewise.
71418         * math/w_lgammaf.c: Likewise.
71419         * math/w_lgammaf_r.c: Likewise.
71420         * math/w_lgammal.c: Likewise.
71421         * math/w_lgammal_r.c: Likewise.
71422         * math/w_log.c: Likewise.
71423         * math/w_log10.c: Likewise.
71424         * math/w_log10f.c: Likewise.
71425         * math/w_log10l.c: Likewise.
71426         * math/w_log2.c: Likewise.
71427         * math/w_log2f.c: Likewise.
71428         * math/w_log2l.c: Likewise.
71429         * math/w_logf.c: Likewise.
71430         * math/w_logl.c: Likewise.
71431         * math/w_pow.c: Likewise.
71432         * math/w_powf.c: Likewise.
71433         * math/w_powl.c: Likewise.
71434         * math/w_remainder.c: Likewise.
71435         * math/w_remainderf.c: Likewise.
71436         * math/w_remainderl.c: Likewise.
71437         * math/w_scalb.c: Likewise.
71438         * math/w_scalbf.c: Likewise.
71439         * math/w_scalbl.c: Likewise.
71440         * math/w_sinh.c: Likewise.
71441         * math/w_sinhf.c: Likewise.
71442         * math/w_sinhl.c: Likewise.
71443         * math/w_sqrt.c: Likewise.
71444         * math/w_sqrtf.c: Likewise.
71445         * math/w_sqrtl.c: Likewise.
71446         * math/w_tgamma.c: Likewise.
71447         * math/w_tgammaf.c: Likewise.
71448         * math/w_tgammal.c: Likewise.
71450         * po/ja.po: Update from translation team.
71452 2011-09-29  Andreas Jaeger  <aj@suse.de>
71454         [BZ #13179]
71455         * sunrpc/netname.c (netname2host): Fix logic.
71457         [BZ #6779]
71458         [BZ #6783]
71459         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
71460         correctly.
71461         * math/w_remainder.c (__remainder): Likewise.
71462         * math/w_remainderf.c (__remainderf): Likewise.
71463         * math/libm-test.inc (remainder_test): Add test cases.
71465 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71467         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
71468         sdiv_qrnnd.
71470 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
71472         * string/test-memcmp.c: Avoid unncessary #defines.
71473         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
71475 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71477         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
71478         Use new sse2 version for core i3 - i7 as it's faster
71479         than sse42 version.
71480         (bit_Prefer_PMINUB_for_stringop): New.
71481         * sysdeps/x86_64/rawmemchr.S: Update.
71482         Replace with faster SSE2 version.
71483         * sysdeps/x86_64/memrchr.S: New file.
71484         * sysdeps/x86_64/memchr.S: Update.
71485         Replace with faster SSE2 version.
71487 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
71489         * elf/dl-load.c (lose): Add cast to avoid warning.
71491 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
71493         * po/ca.po: Update from translation team.
71495         * inet/getnetgrent_r.c: Hook up nscd.
71496         * nscd/Makefile (routines): Add nscd_netgroup.
71497         (nscd-modules): Add netgroupcache.
71498         (CFLAGS-netgroupcache.c): Define.
71499         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
71500         (cache_search): Add const to second parameter.
71501         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
71502         INNETGR.
71503         (dbs): Add netgrdb entry.
71504         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
71505         (verify_persistent_db): Handle netgrdb.
71506         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
71507         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
71508         GETFDNETGR.
71509         (netgroup_response_header): Define.
71510         (innetgroup_response_header): Define.
71511         (datahead): Add netgroup_response_header and innetgroup_response_header
71512         elements.
71513         * nscd/nscd.conf: Add entries for netgroup cache.
71514         * nscd/nscd.h (dbtype): Add netgrdb.
71515         (_PATH_NSCD_NETGROUP_DB): Define.
71516         (netgroup_iov_disabled): Declare.
71517         (xmalloc, xcalloc, xrealloc): Move declarations here.
71518         (cache_search): Adjust prototype.
71519         Add netgroup-related prototypes.
71520         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
71521         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
71522         (__nscd_innetgr): Declare.
71523         * nscd/selinux.c (perms): Use access_vector_t as element type and
71524         add netgroup-related initializers.
71525         * nscd/netgroupcache.c: New file.
71526         * nscd/nscd_netgroup.c: New file.
71527         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
71528         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
71529         For four parameters use innetgr.
71530         * nss/nss_files/files-init.c: Add definition and callback for netgr.
71531         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
71532         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
71533         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
71535         * nscd/connections.c (register_traced_file): Don't register file
71536         for disabled databases.
71538 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
71540         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
71542         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
71543         from tree and freeing node.
71545 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
71547         * nss/nsswitch.c (__nss_database_lookup): Handle
71548         nss_parse_service_list out of memory case.
71550 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
71552         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
71553         out of memory case.
71555 2011-10-04  Andreas Schwab  <schwab@redhat.com>
71557         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
71558         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
71559         pass it down.
71560         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
71561         elf_machine_rela, elf_machine_lazy_rel.
71562         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
71563         (ELF_DYNAMIC_DO_REL): Likewise.
71564         (ELF_DYNAMIC_DO_RELA): Likewise.
71565         (ELF_DYNAMIC_RELOCATE): Likewise.
71566         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
71567         to ELF_DYNAMIC_DO_REL.
71568         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
71569         (dl_main): In trace mode always set __RTLD_NOIFUNC.
71570         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
71571         elf_machine_rela.
71572         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
71573         skip_ifunc, don't call ifunc function if non-zero.
71574         (elf_machine_rela): Likewise.
71575         (elf_machine_lazy_rel): Likewise.
71576         (elf_machine_lazy_rela): Likewise.
71577         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
71578         (elf_machine_lazy_rel): Likewise.
71579         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
71580         Likewise.
71581         (elf_machine_lazy_rel): Likewise.
71582         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
71583         Likewise.
71584         (elf_machine_lazy_rel): Likewise.
71585         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
71586         (elf_machine_lazy_rel): Likewise.
71587         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
71588         (elf_machine_lazy_rel): Likewise.
71589         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
71590         (elf_machine_lazy_rel): Likewise.
71591         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
71592         (elf_machine_lazy_rel): Likewise.
71593         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
71594         (elf_machine_lazy_rel): Likewise.
71595         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
71596         (elf_machine_lazy_rel): Likewise.
71598 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
71600         * nss/nss_files/files-init.c (_nss_files_init): Use static
71601         initialization for all the *_traced_file variables.
71603 2011-09-28  Andreas Schwab  <schwab@redhat.com>
71605         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
71607 2011-09-27  Roland McGrath  <roland@hack.frob.com>
71609         [BZ #13226]
71610         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
71612 2011-09-27  Andreas Schwab  <schwab@redhat.com>
71614         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
71615         Reread the line before reparsing it.
71617 2011-09-26  Andreas Schwab  <schwab@redhat.com>
71619         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
71621 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
71622             Maxim Kuvyrkov  <maxim@codesourcery.com>
71623             Joseph Myers  <joseph@codesourcery.com>
71625         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
71626         if needed for __stack_chk_guard.
71628 2011-09-19  Roland McGrath  <roland@hack.frob.com>
71630         * sysdeps/posix/spawni.c (script_execute): Always define it.
71631         It will be optimized away if unused.
71632         (maybe_script_execute): New function.
71633         (__spawni): Call it.
71635         * Makerules: Don't include tls.make.
71636         (config-tls): Always set to thread.
71637         * tls.make.c: File removed.
71639 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
71641         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
71642         * config.make.in (CPPFLAGS-config): New substituted variable.
71644 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
71646         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
71648         [BZ #13192]
71649         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
71650         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
71652 2011-09-15  Roland McGrath  <roland@hack.frob.com>
71654         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
71655         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
71656         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
71657         (CALL_FAIL): Likewise.
71658         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
71659         (CALL_FAIL): Macro removed.
71660         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
71662 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
71664         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
71665         for __FINITE_MATH_ONLY__ == 1.
71667 2011-09-15  Andreas Schwab  <schwab@redhat.com>
71669         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
71670         __ieee754_sqrt instead of sqrt.
71671         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
71672         __ieee754_sqrtf instead of sqrtf.
71673         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
71674         __floorf instead of floorf.
71675         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
71676         __floorf, __truncf instead of floorf, truncf.
71678 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
71680         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
71682         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
71683         __extern_always_inline.
71684         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
71685         32-bit.
71687 2011-09-14  Andreas Schwab  <schwab@redhat.com>
71689         * elf/rtld.c (dl_main): Also relocate in dependency order when
71690         doing symbol dependency testing.
71692 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
71694         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
71695         Always define `refsym'.
71697 2011-09-13  Andreas Schwab  <schwab@redhat.com>
71699         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
71700         (__FD_ELT): Renamed from __FDELT.
71701         * misc/bits/select2.h (__FD_ELT): Likewise.
71702         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
71703         __FD_MASK instead of __FDELT, __FDMASK.
71704         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
71705         Likewise.
71706         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
71707         Likewise.
71709         * elf/Makefile (gen-ldd): Fix pattern.
71711         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
71712         (init_tls): Likewise.
71714 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
71716         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
71718 2011-09-12  Andreas Schwab  <schwab@redhat.com>
71720         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
71721         `struct cmsghdr *' instead of `void *'.
71722         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
71723         Likewise.
71725 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
71727         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
71728         if non-absolute.
71729         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
71730         ldd_rewrite_script.
71732 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
71734         * configure.in: Remove --with-tls option.
71735         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
71736         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
71737         out in case it is missing.
71738         * sysdeps/ia64/elf/configure.in: Likewise.
71739         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
71740         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
71741         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
71742         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
71743         * sysdeps/sh/elf/configure.in: Likewise.
71744         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
71745         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
71746         * sysdeps/x86_64/elf/configure.in: Likewise.
71747         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
71748         * sysdeps/mach/hurd/tls.h: Likewise.
71750         [BZ #13067]
71751         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
71753         [BZ #13090]
71754         * configure.in: Fix use of AC_INIT.
71756         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
71758 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
71760         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
71761         __set_errno.
71762         * malloc/hooks.c: Likewise.
71764         [BZ #11929]
71765         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
71766         variables statically.
71767         (narenas): Initialize.
71768         (list_lock): Initialize.
71769         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
71770         initializtion of main_arena and list_lock.  Small cleanups.
71771         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
71772         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
71773         Add initializers to main_arena and mp_.
71774         (malloc_state): Remove pagesize member.  Change all users to use
71775         GLRO(dl_pagesize).
71777         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
71778         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
71779         is always initialized.
71781         * malloc/malloc.c: Removed unused configurations and dead code.
71782         * malloc/arena.c: Likewise.
71783         * malloc/hooks.c: Likewise.
71784         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
71786         * include/tls.h: Removed.  USE___THREAD must always be defined.
71787         * bits/libc-tsd.h: Don't handle !USE___THREAD.
71788         * elf/dl-libc.c: Likewise.
71789         * elf/dl-tsd.c: Likewise.
71790         * include/errno.h: Likewise.
71791         * include/netdb.h: Likewise.
71792         * include/resolv.h: Likewise.
71793         * inet/herrno-loc.c: Likewise.
71794         * inet/herrno.c: Likewise.
71795         * malloc/arena.c: Likewise.
71796         * malloc/hooks.c: Likewise.
71797         * malloc/malloc.c: Likewise.
71798         * resolv/res-state.c: Likewise.
71799         * resolv/res_libc.c: Likewise.
71800         * sysdeps/i386/dl-machine.h: Likewise.
71801         * sysdeps/ia64/dl-machine.h: Likewise.
71802         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
71803         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
71804         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
71805         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
71806         * sysdeps/sh/dl-machine.h: Likewise.
71807         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
71808         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
71809         * sysdeps/unix/i386/sysdep.S: Likewise.
71810         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
71811         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
71812         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
71813         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
71814         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
71815         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
71816         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
71817         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
71818         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
71819         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
71820         * sysdeps/unix/x86_64/sysdep.S: Likewise.
71821         * sysdeps/x86_64/dl-machine.h: Likewise.
71822         * tls.make.c: Likewise.
71824         * configure.in: Remove --with-__thread option.  Make tests for
71825         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
71826         tls_model attribute fail if no support is available.  Remove
71827         USE_IN_LIBIO.
71828         * Makeconfig: Adjust for dropped configure option.  All features are
71829         now mandatory.
71830         * Makerules: Likewise.
71831         * Versions.def: Likewise.
71832         * argp/argp-fmtstream.c: Likewise.
71833         * argp/argp-fmtstream.h: Likewise.
71834         * argp/argp-help.c: Likewise.
71835         * assert/assert.c: Likewise.
71836         * config.h.in: Likewise.
71837         * config.make.in: Likewise.
71838         * configure: Likewise.
71839         * configure.in: Likewise.
71840         * csu/Versions: Likewise.
71841         * csu/init.c: Likewise.
71842         * elf/tst-audit2.c: Likewise.
71843         * elf/tst-tls10.c: Likewise.
71844         * elf/tst-tls10.h: Likewise.
71845         * elf/tst-tls11.c: Likewise.
71846         * elf/tst-tls12.c: Likewise.
71847         * elf/tst-tls14.c: Likewise.
71848         * elf/tst-tlsmod11.c: Likewise.
71849         * elf/tst-tlsmod12.c: Likewise.
71850         * elf/tst-tlsmod13.c: Likewise.
71851         * elf/tst-tlsmod13a.c: Likewise.
71852         * elf/tst-tlsmod14a.c: Likewise.
71853         * elf/tst-tlsmod15b.c: Likewise.
71854         * elf/tst-tlsmod16a.c: Likewise.
71855         * elf/tst-tlsmod16b.c: Likewise.
71856         * elf/tst-tlsmod7.c: Likewise.
71857         * elf/tst-tlsmod8.c: Likewise.
71858         * elf/tst-tlsmod9.c: Likewise.
71859         * gmon/gmon.c: Likewise.
71860         * grp/fgetgrent_r.c: Likewise.
71861         * grp/putgrent.c: Likewise.
71862         * hurd/fopenport.c: Likewise.
71863         * include/libc-symbols.h: Likewise.
71864         * include/tls.h: Likewise.
71865         * intl/gettextP.h: Likewise.
71866         * intl/loadinfo.h: Likewise.
71867         * locale/global-locale.c: Likewise.
71868         * locale/localeinfo.h: Likewise.
71869         * mach/devstream.c: Likewise.
71870         * malloc/arena.c: Likewise.
71871         * malloc/set-freeres.c: Likewise.
71872         * misc/err.c: Likewise.
71873         * misc/getttyent.c: Likewise.
71874         * misc/mntent_r.c: Likewise.
71875         * posix/getopt.c: Likewise.
71876         * posix/wordexp.c: Likewise.
71877         * pwd/fgetpwent_r.c: Likewise.
71878         * resolv/Versions: Likewise.
71879         * resolv/res_hconf.c: Likewise.
71880         * shadow/fgetspent_r.c: Likewise.
71881         * shadow/putspent.c: Likewise.
71882         * stdio-common/printf_fphex.c: Likewise.
71883         * stdio-common/tmpfile.c: Likewise.
71884         * stdlib/abort.c: Likewise.
71885         * stdlib/fmtmsg.c: Likewise.
71886         * sunrpc/auth_unix.c: Likewise.
71887         * sunrpc/clnt_perr.c: Likewise.
71888         * sunrpc/clnt_tcp.c: Likewise.
71889         * sunrpc/clnt_udp.c: Likewise.
71890         * sunrpc/clnt_unix.c: Likewise.
71891         * sunrpc/openchild.c: Likewise.
71892         * sunrpc/svc_simple.c: Likewise.
71893         * sunrpc/svc_tcp.c: Likewise.
71894         * sunrpc/svc_udp.c: Likewise.
71895         * sunrpc/svc_unix.c: Likewise.
71896         * sunrpc/xdr.c: Likewise.
71897         * sunrpc/xdr_array.c: Likewise.
71898         * sunrpc/xdr_rec.c: Likewise.
71899         * sunrpc/xdr_ref.c: Likewise.
71900         * sunrpc/xdr_stdio.c: Likewise.
71902 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
71904         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
71906 2011-07-03  Andreas Jaeger  <aj@suse.de>
71908         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
71909         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
71910         regenerate with gen-libm-tests.pl.
71912 2010-05-12  Petr Baudis  <pasky@suse.cz>
71914         [BZ #11589]
71915         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
71916         around j0() zero points by switching to j1().
71917         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
71918         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
71919         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
71920         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
71922 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
71924         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
71925         instead of 0.
71926         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
71927         instead of 0.
71928         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
71929         Patch in part by Pavel Roskin <proski@gnu.org>.
71931         [BZ #13138]
71932         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
71933         realloc.
71934         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
71935         Free memory block if necessary.
71937         [BZ #12847]
71938         * libio/genops.c (INTDEF): For string streams the _lock pointer can
71939         be NULL.  Don't lock in this case.
71941 2011-09-09  Roland McGrath  <roland@hack.frob.com>
71943         * elf/elf.h (ELFOSABI_GNU): New macro.
71944         (ELFOSABI_LINUX): Define to that.
71946 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
71948         * string/strncat.c (strncat): Undef the symbol in case it has been
71949         defined in bits/string.h.
71951 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
71953         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
71955         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
71956         link map.
71958 2011-08-17  Andreas Jaeger  <aj@suse.de>
71960         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
71962 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
71963             Ian Lance Taylor  <iant@google.com>
71965         * math/libm-test.inc (lround_test): New testcase.
71966         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
71968 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
71970         * Makefile: Remove support for automatic cvs check-ins.
71971         * Makerules: Likewise.
71972         * config.make.in: Likewise.
71973         * configure.in: Likewise.
71974         * intl/Makefile: Likewise.
71975         * locale/Makefile: Likewise.
71976         * po/Makefile: Likewise.
71977         * posix/Makefile: Likewise.
71978         * sysdeps/gnu/Makefile: Likewise.
71979         * sysdeps/mach/hurd/Makefile: Likewise.
71980         * sysdeps/sparc/sparc32/Makefile: Likewise.
71982         [BZ #13118]
71983         * posix/Makefile (bug-regex32-ENV): Define.
71984         Patch by John Stanley <jpsinthemix@verizon.net>.
71986         * misc/Makefile (headers): Add bits/select2.h.
71987         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
71988         * misc/bits/select2.h: New file.
71989         * include/bits/select2.h: New file.
71990         * debug/Makefile (routines): Add fdelt_chk.
71991         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
71992         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
71993         FD_ISSET.
71994         * debug/fdelt_chk.c: New file.
71996         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
71997         * wcsmbs/test-wmemcmp.c: Likewise.
71998         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
71999         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
72001 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72003         * string/Makefile (strop-tests): Add memcmp.
72004         * string/test-wmemcmp.c: New file.
72005         * string/test-memcmp.c: Add wmemcmp support.
72007 2011-09-08  Roland McGrath  <roland@hack.frob.com>
72009         [BZ #13153]
72010         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
72011         2011-07-19 change.
72013         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
72014         garbage value in a __mach_port_mod_refs call in the cases of the
72015         task-self and thread-self ports.
72017 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72019         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
72021 2011-09-08  Andreas Schwab  <schwab@redhat.com>
72023         * elf/dl-load.c (lose): Check for non-null L.
72025 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
72027         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
72029         * elf/dl-libc.c (dlerror_run): Pass back error code from
72030         dl_catch_error.
72032         [BZ #13123]
72033         * elf/dl-load.c (lose): Free l_origin if it is valid.
72035         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
72036         names.
72037         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
72038         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
72039         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
72040         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
72041         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
72042         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
72044 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72046         * sysdeps/powerpc/fpu/e_hypot.c: New file.
72047         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
72048         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
72049         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
72050         * sysdeps/powerpc/fpu/k_cosf.c: New file.
72051         * sysdeps/powerpc/fpu/k_sinf.c: New file.
72052         * sysdeps/powerpc/fpu/s_cosf.c: New file.
72053         * sysdeps/powerpc/fpu/s_sinf.c: New file.
72054         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
72055         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
72057 2011-08-15  Alan Modra  <amodra@gmail.com>
72059         [BZ #13092]
72060         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
72061         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
72062         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
72063         ppc_mcount to static-only-routines.
72064         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
72065         __mcount_internal.
72066         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
72067         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
72069 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
72071         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
72072         for finite and infinity parameters.
72074 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
72076         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
72077         and add nop instructions for throughput optimization.
72078         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
72080 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
72082         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
72083         aligned copy for power7 with vector-scalar instructions.
72084         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
72086 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
72088         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
72089         AVX check.
72091 2011-09-07  Andreas Schwab  <schwab@redhat.com>
72093         [BZ #13144]
72094         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
72095         last change.
72097 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
72099         * sysdeps/unix/sysv/linux/x86_64/init-first.c
72100         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
72101         syscall wrapper around clock_gettime in __vdso_clock_gettime.
72102         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
72103         clock_gettime.
72105 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
72107         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
72108         Forgot to demangle the pointer.
72110         * sysdeps/i386/sysdep.h: Define atom_text_section.
72111         * sysdeps/x86_64/sysdep.h: Likewise.
72112         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
72113         section with atom_text_section.
72114         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
72115         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
72116         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
72117         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
72118         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
72120         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
72121         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
72122         already be defined.  Change to take two parameters and don't assign
72123         result to variable.  Adjust all users.
72124         Define INTERNAL_GETTIME if not already defined.
72125         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
72126         call.
72127         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
72128         HAVE_CLOCK_GETTIME_VSYSCALL.
72129         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
72131         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
72132         gettimeofday vsyscall, just use time.
72134 2011-09-06  Andreas Schwab  <schwab@redhat.com>
72136         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
72137         <errno.h>.
72139 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
72141         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
72142         syscall on x86-64.
72143         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
72144         syscall.
72145         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
72146         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
72147         syscall if possible.
72149 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
72151         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
72152         e_ident.  Don't pass to find_mapsXX.
72153         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
72155 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
72157         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
72158         strchr-sse2-no-bsf strrchr-sse2-no-bsf
72159         * sysdeps/x86_64/multiarch/strchr.S: Update.
72160         Check bit_slow_BSF bit.
72161         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
72162         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
72163         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
72165 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
72167         [BZ #13134]
72168         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
72169         before glibc 2.15.
72170         (tryshell): Define.
72171         (__spawni): Change last parameter to be flag.  Test
72172         SPAWN_XFLAGS_USE_PATH flag to use path or not.
72173         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
72174         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
72175         * posix/spawni.c: Likewise.
72176         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
72177         * posix/spawnp.c: Likewise.  Change normal version to use
72178         SPAWN_XFLAGS_USE_PATH.
72179         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
72180         SPAWN_XFLAGS_TRY_SHELL.
72182         [BZ #13150]
72183         * posix/glob.h: Remove gcc 1.x support.
72185         [BZ #13068]
72186         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
72188 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
72190         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
72191         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
72192         strrchr-sse2-bsf
72193         * sysdeps/i386/i686/multiarch/strchr.S: New file.
72194         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
72195         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
72196         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
72197         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
72198         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
72200 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72202         * sysdeps/x86_64/wcscmp.S: New file.
72204         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
72205         wcscmp-c wcscmp-sse2
72206         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
72207         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
72208         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
72209         * wcsmbs/wcscmp.c: Allow renaming.
72211 2011-09-05  David S. Miller  <davem@davemloft.net>
72213         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
72214         stack slot, rather than the struct return pointer slot.
72215         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
72216         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
72217         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
72218         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
72220 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
72222         * po/ja.po: Update from translation team.
72224         [BZ #13144]
72225         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
72226         kernel in 64-bit binaries.
72228 2011-09-01  David S. Miller  <davem@davemloft.net>
72230         * elf/elf.h (HWCAP_SPARC_*): Move to..
72231         * sysdeps/sparc/sysdep.h: this new file and add new values.
72232         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
72233         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
72234         _DL_HWCAP_COUNT to 24.
72235         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
72236         entries.
72237         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
72238         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
72239         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
72240         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
72241         instead of magic constants.
72242         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
72244 2011-08-31  David S. Miller  <davem@davemloft.net>
72246         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
72247         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
72248         Reimplement to do errno handling inline.
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/sparc64/sysdep.h: Include
72254         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
72255         (PSEUDO): Reimplement to do errno handling inline.
72256         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
72257         (SYSCALL_ERROR_HANDLER): New macro.
72258         (__SYSCALL_STRING): Do not do errno handling in asm.
72259         (__CLONE_SYSCALL_STRING): Delete.
72260         (__INTERNAL_SYSCALL_STRING): Delete.
72261         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
72262         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
72263         i386.
72264         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
72265         (inline_syscall*): Add 'err' argument.
72266         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
72267         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
72268         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
72269         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
72271         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
72272         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
72274 2011-08-30  Andreas Schwab  <schwab@redhat.com>
72276         * elf/rtld.c (dl_main): Relocate objects in dependency order.
72278 2011-08-29  Jiri Olsa <jolsa@redhat.com>
72280         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
72281         directive.
72283 2011-08-24  David S. Miller  <davem@davemloft.net>
72285         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
72287 2011-08-24  Andreas Schwab  <schwab@redhat.com>
72289         * elf/Makefile: Add rules to build and run unload8 test.
72290         * elf/unload8.c: New file.
72291         * elf/unload8mod1.c: New file.
72292         * elf/unload8mod1x.c: New file.
72293         * elf/unload8mod2.c: New file.
72294         * elf/unload8mod3.c: New file.
72296         * elf/dl-close.c (_dl_close_worker): Reset private search list if
72297         it wasn't used.
72299 2011-08-23  David S. Miller  <davem@davemloft.net>
72301         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
72302         subtract stack bias.
72303         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
72304         %sp not %fp in calculations.
72305         (_JMPBUF_UNWINDS_ADJ): Likewise.
72307         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
72308         (aio_suspend): Call it to force an exception region around the
72309         AIO_MISC_WAIT() invocation.
72311 2011-08-23  Andreas Schwab  <schwab@redhat.com>
72313         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
72314         backslash.
72316 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
72318         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
72319         protection macro.
72320         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
72321         and <dl-machine.h>.
72322         (Elf64_FuncDesc): Remove.
72324 2011-08-22  David S. Miller  <davem@davemloft.net>
72326         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
72327         sigaltstack check, add missing cfi directives.
72328         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
72329         missing cfi directives, and sigaltstack handling.
72331 2011-08-16  Andreas Schwab  <schwab@redhat.com>
72333         [BZ #11724]
72334         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
72335         object is seen twice.
72336         * elf/dl-fini.c (_dl_sort_fini): Likewise.
72338         * elf/Makefile (distribute): Add tst-initorder2.c.
72339         (tests): Add tst-initorder2.
72340         (modules-names): Add tst-initorder2a tst-initorder2b
72341         tst-initorder2c tst-initorder2d.  Add rules to build them.
72342         ($(objpfx)tst-initorder2.out): New rule.
72343         * elf/tst-initorder2.c: New file.
72344         * elf/tst-initorder2.exp: New file.
72346 2011-08-22  Andreas Schwab  <schwab@redhat.com>
72348         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
72350         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
72351         dependencies back to end of function.
72353         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
72354         $(elfobjdir)/ld.so.
72356 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
72358         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
72359         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
72360         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
72361         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
72362         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
72363         of __vdso_gettimeofday.
72364         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
72365         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
72366         attribute_hidden.
72367         (_libc_vdso_platform_setup): Remove initialization of
72368         __vdso_gettimeofday and __vdso_time.
72370 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
72372         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
72373         and fgetc_unlocked.
72374         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
72375         getc_unlocked.
72377         * elf/dl-open.c (add_to_global): Report additions to the global scope
72378         for LD_DEBUG=scopes.
72379         (dl_open_worker): Also print scope of newly loaded dependencies.
72380         (_dl_show_scope): Indicate if there is no scope.
72382         [BZ #13114]
72383         * stdio-common/Makefile (tests): Add bug24.
72384         * stdio-common/bug24.c: New file.
72386 2011-08-19  Andreas Jaeger  <aj@suse.de>
72388         [BZ #13114]
72389         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
72390         non-existant file when using close-on-exec mode.
72392 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
72394         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
72395         the very first instruction.
72397         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
72398         the CFI state in the end.
72399         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
72400         inclusion of dl-trampoline.h.
72401         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
72403 2011-08-19  Andreas Schwab  <schwab@redhat.com>
72405         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
72406         expectations for long double.
72408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
72409         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
72411 2011-08-14  David S. Miller  <davem@davemloft.net>
72413         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
72414         artificual limit depends upon the system page size.
72416 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
72418         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
72419         * resolv/Makefile: Define CFLAGS-libresolv.
72421 2011-08-17  Andreas Schwab  <schwab@redhat.com>
72423         * nss/makedb.c (compute_tables): Make variables used in nested
72424         function static.
72426 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
72428         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
72429         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
72430         if buffer was too small.
72432         * elf/pldd.c (main): Attach to all threads in the process.
72433         Rewrite /proc handling to use *at functions.
72435 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
72437         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
72438         specifies first scope to show.
72439         (dl_open_worker): Update callers.  Move printing scope of new
72440         object to before the relocation.
72441         * elf/rtld.c (dl_main): Update _dl_show_scope call.
72442         * sysdeps/generic/ldsodefs.h: Update declaration.
72444         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
72445         string for the scope number.
72447 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
72449         * nscd/servicescache.c (cache_addserv): Make sure written is always
72450         initialized.
72452 2011-08-14  Roland McGrath  <roland@hack.frob.com>
72454         * sysdeps/i386/i486/bits/atomic.h
72455         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
72456         statement expression, so as to suppress "set but not used" warning.
72457         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
72459         * string/strncat.c (STRNCAT): Use prototype definition.
72461         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
72462         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
72463         -Iprograms here.
72464         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
72465         (localedef-modules): Add localedef.
72466         (locale-modules): Add locale.
72468         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
72469         * elf/rtld.c (dl_main): Invert order of assignment in last change,
72470         to avoid a warning.
72472 2011-08-14  David S. Miller  <davem@davemloft.net>
72474         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
72475         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
72477 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
72479         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
72480         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
72481         * elf/rtld.c (dl_main): Set l_name of vDSO.
72482         Call _dl_show_scope when DL_DEBUG_SCOPES.
72483         (process_dl_debug): Recognize scopes flag and also set it for all.
72484         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
72485         Declare _dl_show_scope.
72487         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
72488         (do_dlopen): Pass caller_dlopen to dl_open.
72489         (__libc_dlopen_mode): Initialize caller_dlopen.
72491         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
72492         of libc.  Make tolower call locale-independent.  Optimize a bit by
72493         using isdigit instead of isalnum.
72494         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
72496 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
72498         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
72499         was a dependency or dynamically loaded.
72501 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
72503         * intl/l10nflist.c: Allow architecture-specific pop function.
72504         * sysdeps/x86_64/l10nflist.c: New file.
72506         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
72507         classification.
72509 2011-08-10  Andreas Schwab  <schwab@redhat.com>
72511         * include/dirent.h: Add libc_hidden_proto for scandirat and
72512         scandirat64.  Don't declare __scandirat64.
72513         * dirent/scandirat.c: Add libc_hidden_def.
72514         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
72515         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
72517 2011-08-10  David S. Miller  <davem@davemloft.net>
72519         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
72520         enum.
72521         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
72522         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
72523         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
72525 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
72527         * Versions.def [libc]: Add GLIBC_2.15.
72528         * dirent/Makefile (routines): Add scandirat and scandirat64.
72529         * dirent/Versions [libc]: Export scandirat and scandirat64 for
72530         GLIBC_2.15.
72531         * dirent/dirent.h: Declare scandirat and scandirat64.
72532         * dirent/scandirat.c: New file.
72533         * dirent/scandirat64.c: New file.
72534         * sysdeps/wordsize-64/scandirat.c: New file.
72535         * sysdeps/wordsize-64/scandirat64.c: New file.
72536         * dirent/opendir.c: Define opendirat.
72537         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
72538         using scandirat.
72539         * dirent/scandir64.c: Adjust for scandir.c change.
72540         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
72541         __scandirat64, and __scandir_cancel_handler.
72542         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
72543         additional parameter and use openat instead of open (outside of ld.so).
72544         Add new __opendir as wrapper around __opendirat.
72545         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
72546         here without requiring old scandirat implementation.
72548 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
72550         * dirent/scandir.c (cancel_handler): Renamed to
72551         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
72552         defined.  Adjust users.
72553         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
72554         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
72556 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
72558         * string/test-string.h (IMPL): Use __STRING to expand name and then
72559         stringify it.
72561         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
72562         of cleanups.
72564 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72566         * string/Makefile: Update.
72567         (strop-tests): Append strncat.
72568         * string/test-wcscmp.c: New file.
72569         New comprehensive test for wcscmp.
72570         * string/test-strcmp.c: Update.
72571         (WIDE): New define.
72573 2011-07-22  Andreas Schwab  <schwab@redhat.com>
72575         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
72576         line.
72578 2011-07-26  Andreas Schwab  <schwab@redhat.com>
72580         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
72581         encoding to ACE if AI_IDN.
72583 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
72585         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
72586         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
72588 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
72590         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
72591         Fix overflow bug in strncat.
72592         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
72594         * string/test-strncat.c: Update.
72595         Add new tests for checking overflow bugs.
72597 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
72599         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
72600         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
72601         * sysdeps/i386/i686/multiarch/strcat.S: New file.
72602         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
72603         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
72604         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
72605         * sysdeps/i386/i686/multiarch/strncat.S: New file.
72606         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
72607         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
72609         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
72610         (USE_AS_STRCAT): Define.
72611         Add strcat and strncat support.
72612         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
72614 2011-07-25  Andreas Schwab  <schwab@redhat.com>
72616         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
72617         __n bigger than INT_MAX+1.
72618         (__strncmp_g): Likewise.
72620 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
72622         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
72623         * libio/stido.h: Likewise.
72625         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
72626         (AF_NFC): Define.
72627         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
72628         (AF_NFC): Define.
72630         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
72631         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
72632         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
72633         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
72634         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
72636         [BZ #13021]
72637         * scripts/test-installation.pl: Don't expect libnss_test1 to be
72638         installed.
72640         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
72641         typo.
72642         (_dl_x86_64_save_sse): Likewise.
72644 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
72646         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
72647         OSXSAVE.
72648         (_dl_x86_64_save_sse): Likewise.
72650         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
72652         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
72654 2011-07-21  Andreas Schwab  <schwab@redhat.com>
72656         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
72657         change.
72658         (_dl_x86_64_save_sse): Use correct AVX check.
72660 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72662         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
72663         bug in strncpy/strncat.
72664         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
72666 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
72668         * string/tester.c (test_strcat): Add tests for different alignments
72669         of source and destination.
72670         (test_strncat): Likewise.
72672 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
72674         [BZ #12852]
72675         * posix/glob.c (glob): Check passed in values before using them in
72676         expressions to avoid some overflows.
72677         (glob_in_dir): Likewise.
72679         [BZ #13007]
72680         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
72681         check for AVX enablement so that we don't crash with old kernels and
72682         new hardware.
72683         * elf/tst-audit4.c: Add same checks here.
72684         * elf/tst-audit6.c: Likewise.
72686         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
72688 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
72690         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
72692 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
72694         * po/cs.po: Update from translation team.
72695         * po/bg.po: Likewise.
72697 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
72699         * misc/sys/cdefs.h: Add support for const attribute.
72700         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
72701         to gnu_dev_{major,minor,makedev} functions.
72703 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
72705         * intl/dcigettext.c (get_output_charset): Add missing bracket.
72707 2011-07-20  Andreas Schwab  <schwab@redhat.com>
72709         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
72710         strlen results.
72712 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72714         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
72715         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
72716         register in order to avoid conflicts with the soft frame pointer
72717         being held in r11 when necessary.
72718         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
72719         (INTERNAL_VSYSCALL_NCS): Likewise.
72721 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
72723         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
72724         * elf/dl-fini.c (_dl_fini): Adjust caller.
72725         * elf/dl-close.c (_dl_close_worker): Likewise.
72726         * sysdeps/generic/ldsodefs.h: Adjust declaration.
72728 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
72730         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
72731         "aux_cache->nlibs < 0".
72733         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
72734         in the reload-count case.
72736 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
72738         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
72739         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
72740         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
72741         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
72742         * sysdeps/x86_64/multiarch/strcat.S: New file.
72743         * sysdeps/x86_64/multiarch/strncat.S: New file.
72744         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
72745         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
72746         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
72747         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
72748         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
72749         (USE_AS_STRCAT): Define.
72750         Add strcat and strncat support.
72751         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
72752         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
72753         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
72754         * string/strncat.c: Update.
72755         (USE_AS_STRNCAT): Define.
72756         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72757         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
72758         and i7.
72759         * sysdeps/x86_64/multiarch/init-arch.h
72760         (bit_Prefer_PMINUB_for_stringop): New.
72761         (index_Prefer_PMINUB_for_stringop): Likewise.
72762         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
72763         bit_Prefer_PMINUB_for_stringop.
72765 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
72767         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
72768         buffer64.
72769         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
72770         of casting of buffer.
72771         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
72772         buffer32 and buffer64.
72773         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
72774         writes instead of casting of buffer.
72775         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
72776         buffer32.
72777         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
72778         casting of buffer.
72780 2011-07-19  Andreas Schwab  <schwab@redhat.com>
72782         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
72784 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
72786         * nscd/nscd.c (termination_handler): Don't do anything for a database
72787         if it has not yet been initialized.
72789 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
72791         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
72793 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
72795         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
72797 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
72799         * po/nl.po: Update from translation team.
72800         * po/sv.po: Likewise.
72802 2011-07-16  Roland McGrath  <roland@hack.frob.com>
72804         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
72805         now disallowed by GCC.
72807         * configure.in (use-default-link): Default to yes if a test -shared
72808         link meets our qualifications.
72809         * configure: Regenerated.
72811         * config.make.in (output-format): New variable.
72812         * configure.in: Check for ld --print-output-format support.
72813         * configure: Regenerated.
72814         * Makerules ($(common-objpfx)format.lds)
72815         [$(output-format) != unknown]: Just use $(output-format),
72816         instead of the linker-script munging.
72818 2011-07-14  Roland McGrath  <roland@hack.frob.com>
72820         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
72821         of $(common-objpfx)shlib.lds.
72822         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
72824         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
72825         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
72827         * configure.in (-z relro check): Adjust test code to add a large
72828         writable data section after it.
72829         * configure: Regenerated.
72831 2011-07-11  Roland McGrath  <roland@hack.frob.com>
72833         * configure.in (-z relro check): Fix test code to make the variable
72834         truly const.
72835         * configure: Regenerated.
72837 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
72839         * nscd/nscd.h (struct traced_file): Define.
72840         (struct database_dyn): Remove inotify_descr, reset_res, and filename
72841         elements.  Add traced_files.
72842         (inotify_fd): Declare.
72843         (register_traced_file): Declare.
72844         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
72845         (inotify_fd): Export.
72846         (resolv_conf_descr): Remove.
72847         (nscd_init): Move inotify descriptor creation to main.
72848         Don't register files for notification here.
72849         (register_traced_file): New function.
72850         (invalidate_cache): Don't use reset_res to determine whether to call
72851         res_init, go through the list of registered files.
72852         (main_loop_poll): The inotify descriptors are now stored in the
72853         structures for the traced files.
72854         (main_loop_epoll): Likewise.
72855         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
72856         to __nss_disable_nscd.
72857         * nscd/cache.c (prune_cache): There is no single inotify descriptor
72858         for a database anymore.  Check the records for all the registered
72859         files instead.
72860         * nss/Makefile (libnss_files-routines): Add files-init.
72861         (libnss_db-routines): Add db-init.
72862         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
72863         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
72864         * nss/nss_db/db-init.c: New file.
72865         * nss/nss_files/files-init.c: New file.
72866         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
72867         __nss_lookup_function.
72868         (__nss_lookup_function): Call nss_load_library.
72869         (nss_load_all_libraries): New function.
72870         (__nss_disable_nscd): Take parameter with callback function for files
72871         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
72872         used for the cached services.
72873         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
72874         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
72875         options for features to all the files in nscd.
72877         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
72879 2011-07-10  Roland McGrath  <roland@hack.frob.com>
72881         * csu/elf-init.c (__libc_csu_init): Comment typo.
72883 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
72885         * po/pl.po: Update from translation team.
72886         * po/ja.po: Likewise.
72887         * po/ru.po: Likewise.
72888         * po/ko.po: Likewise.
72889         * po/fr.po: Likewise.
72891 2011-07-09  Roland McGrath  <roland@hack.frob.com>
72893         * configure.in (.ctors/.dtors header and trailer check):
72894         Use an empirical test on a built program.
72895         * configure: Regenerated.
72897         * configure.in (-z relro check): Use an empirical test on a built DSO.
72898         Detect, but do not require, on ia64.
72899         * configure: Regenerated.
72901         * configure.in (READELF): Find it with AC_CHECK_TOOL.
72902         Update tests that use readelf to use $READELF instead.
72903         * configure: Regenerated.
72905 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
72907         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
72908         if the result is not used.
72910 2011-07-05  Andreas Jaeger  <aj@suse.de>
72912         [BZ#9696]
72913         * stdlib/tst-strtod.c: Add testcase.
72915 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
72917         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
72918         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
72919         The latter has a higher limit.  Take additional parameter to pass to
72920         the new function.
72921         (__pathconf): Pass file to __statfs_link_max.
72922         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
72923         __statfs_link_max.
72924         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
72925         __statfs_link_max.
72927         [BZ #12868]
72928         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
72929         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
72930         Handle Lustre.
72931         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
72932         (__statfs_filesize_max): Likewise.
72933         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
72935 2011-07-05  Andreas Jaeger  <aj@suse.de>
72937         * resolv/res_comp.c (dn_skipname): Remove unused variable.
72939 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
72941         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
72942         `status' variable.
72943         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
72944         Likewise.
72946 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
72948         * Makefile (strop-tests): Add strncat.
72949         * string/test-strncat.c: New file.
72951 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
72953         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
72955 2011-06-21  Andreas Jaeger  <aj@suse.de>
72957         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
72958         Copy rule from iconvdata/Makefile.
72960 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
72962         [BZ #12922]
72963         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
72964         but no long options are defined, just return 'W'.
72966 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
72968         [BZ #9696]
72969         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
72971 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
72973         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
72974         netgroups to read.
72975         (innetgr): Likewise.
72977 2011-07-05  Roland McGrath  <roland@hack.frob.com>
72979         * config.make.in (install_root): Default to $(DESTDIR).
72981 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
72983         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
72985 2011-07-02  Roland McGrath  <roland@hack.frob.com>
72987         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
72989         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
72990         containing directory rather than embedding absolute directory names.
72992         * scripts/check-local-headers.sh: Rewritten using awk.
72993         Match by word, not by line.  Print error messages for matches.
72994         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
72996         * Makerules [shlib-lds-flags empty]:
72997         ($(common-objpfx)libc_pic.opts): New target.
72998         ($(common-objpfx)libc_pic.os.clean): New target.
72999         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
73001         * config.make.in (OBJCOPY): New variable.
73002         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
73003         * configure: Regenerated.
73005         * config.make.in (use-default-link): New variable.
73006         * configure.in (use_default_link): Grok --with-default-link to set it.
73007         * configure: Regenerated.
73008         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
73009         (shlib-lds, shlib-lds-flags): Define to empty.
73011         * Makerules (shlib-lds): New variable.
73012         (shlib-lds-flags): New variable.
73013         (build-shlib, build-moduile, build-module-asneeded): Use it.
73014         ($(common-objpfx)libc.so): Use $(shlib-lds).
73015         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
73016         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
73018         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
73019         DT_FLAGS/DT_FLAGS_1 with zero flags.
73021         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
73022         linker script munging.
73024 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
73026         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
73027         as 128-bit value.
73028         * crypt/sha512.c (sha512_process_block): Perform total addition using
73029         128-bit if possible.
73030         (__sha512_finish_ctx): Likewise.
73031         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
73032         as 64-bit value.
73033         * crypt/sha256.c (SWAP64): Define.
73034         (sha256_process_block): Perform total addition using 64-bit if
73035         possible.
73036         (__sha256_finish_ctx): Likewise.
73038 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
73040         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
73041         * nscd/initgrcache.c (addinitgroupsX): Likewise.
73042         * nscd/hstcache.c (cache_addhst): Likewise.
73043         * nscd/grpcache.c (cache_addgr): Likewise.
73044         * nscd/aicache.c (addhstaiX): Likewise.
73045         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
73047 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
73049         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
73050         * nscd/initgrcache.c (addinitgroupsX): Likewise.
73051         * nscd/hstcache.c (cache_addhst): Likewise.
73052         * nscd/grpcache.c (cache_addgr): Likewise.
73053         * nscd/aicache.c (addhstaiX): Likewise.
73055 2011-07-01  Andreas Schwab  <schwab@redhat.com>
73057         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
73058         domain only when needed.
73060 2011-06-30  Andreas Schwab  <schwab@redhat.com>
73062         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
73063         is always restored.
73065 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
73067         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
73068         are re-adding the entry.
73069         * nscd/servicescache.c (cache_addserv): Likewise.
73071 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
73073         * sysdeps/generic/dl-irel.h: fix protection against multiple
73074         inclusions.
73075         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
73077 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
73079         [BZ #12935]
73080         * malloc/memusage.sh: Fix quoting in message.
73081         * debug/xtrace.sh: Likewise.
73083         * configure.in: Remove support for --experimental-malloc option, make
73084         it the default.
73085         * config.make.in: Likewise.
73086         * malloc/Makefile: Likewise.
73088 2011-06-27  Andreas Schwab  <schwab@redhat.com>
73090         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
73091         two-byte characters.
73093 2011-06-27  Roland McGrath  <roland@hack.frob.com>
73095         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
73096         AC_CACHE_CHECK invocation.
73097         * configure: Regenerated.
73099         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
73101 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
73103         [BZ #12350]
73104         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
73105         bit from old_res_options.
73107         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
73109         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
73110         value type for setfct.
73112 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
73114         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
73115         __gettimeofday instead of gettimeofday.
73117 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
73119         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
73121 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
73123         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
73125         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
73126         info.
73128 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
73130         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
73131         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
73132         strcpy-sse2-unaligned strncpy-sse2-unaligned
73133         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
73134         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
73135         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
73136         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
73137         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
73138         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
73139         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
73140         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
73141         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
73142         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
73143         (STRCPY): Support SSE2 and SSSE3 versions.
73145 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
73147         [BZ #12874]
73148         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
73149         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
73150         kernels which artificially limit size of requests.
73152 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
73154         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
73155         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
73156         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
73157         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
73158         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
73159         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
73160         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
73161         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
73162         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
73163         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
73164         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
73165         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
73166         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
73167         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
73168         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
73169         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73170         Enable unaligned load optimization for Intel Core i3, i5 and i7
73171         processors.
73172         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
73173         Define.
73174         (index_Fast_Unaligned_Load): Define.
73175         (HAS_FAST_UNALIGNED_LOAD): Define.
73177 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
73179         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
73181 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
73183         [BZ #12907]
73184         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
73185         until it is clear that the information is realy needed.
73186         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
73188 2011-06-22  Andreas Schwab  <schwab@redhat.com>
73190         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
73192 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
73194         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
73195         /sys/devices/system/cpu/online if it is usable.
73197         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
73198         reading the information from the /proc filesystem to once a second.
73200 2011-06-21  Andreas Jaeger  <aj@suse.de>
73202         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
73203         NULL after inclusion of kernel headers.
73205 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
73207         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
73208         calls to internal_setent.
73210         [BZ #12885]
73211         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
73212         addresses using gethostbyname4_r ignore IPv4 addresses.
73214         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
73215         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
73217         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
73219 2011-06-20  David S. Miller  <davem@davemloft.net>
73221         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
73222         inclusions.
73223         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
73225         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
73226         (elf_irel): Use it.
73227         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
73228         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
73229         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
73230         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
73231         * sysdeps/x86_64/dl-irel.h: Likewise.
73233         * elf/dl-runtime.c: Use elf_ifunc_invoke.
73234         * elf/dl-sym.c: Likewise.
73236 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
73238         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
73239         need to dereference resplen2.
73241 2011-06-14  Andreas Schwab  <schwab@redhat.com>
73243         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
73245 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
73247         * Makeconfig: Define vardbdir and inst_vardbdir.
73248         * nss/Makefile: Add rules to install db-Makefile.
73250         * nss/nss_db/db-XXX.c: Cleanup.
73252         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
73253         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
73254         GLIBC_PRIVATE.
73255         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
73256         * nss/makedb.c: Implement -g option to specify that value strings
73257         are generated and should not be added to table iterated over for
73258         get*ent calls.
73259         * nss/nss_db/db-initgroups.c: New file.
73261         * nss/getent.c: Add support for initgroups lookups through getgrouplist
73262         interface.
73264         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
73265         (internal_getgrouplist): Adjust to name change.
73266         Update use_initgroups_entry if this is not the first call.
73267         * nss/databases.def: Add initgroups entry.
73269         * nss/makedb.c (compute_tables): Check result of multiple hash table
73270         sizes to minimize maximum chain length.
73272 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
73274         * Versions.def: Add entry for libnss_db.
73275         * shlib-versions: Likewise.
73276         * nss/Makefile: Add rules to build libnss_db.
73277         * nss/Versions: Add libnss_db information.  Organize libnss_files
73278         entries better.
73279         * nss/db-Makefile: Add gshadow support.  Change rules for the new
73280         makedb progra.  Some minor improvements to generate smaller files.
73281         * nss/nss_db/nss_db.h: Move NSS database header data structures to
73282         here from...
73283         * nss/makedb.c: ...here.
73284         Improve database format to be smaller and require less memory at
73285         runtime.
73286         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
73287         db anymore.
73288         * nss/nss_db/db-netgrp.c: Likewise.
73289         * nss/nss_db/db-open.c: Likewise.
73290         * nss/nss_files/flies-XXX.x: Adjust comments.
73291         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
73292         * nss/nss_files/files-grp.c: Likewise.
73293         * nss/nss_files/files-hosts.c: Likewise.
73294         * nss/nss_files/files-network.c: Likewise.
73295         * nss/nss_files/files-proto.c: Likewise.
73296         * nss/nss_files/files-pwd.c: Likewise.
73297         * nss/nss_files/files-rpc.c: Likewise.
73298         * nss/nss_files/files-service.c: Likewise.
73299         * nss/nss_files/files-sgrp.c: Likewise.
73300         * nss/nss_files/files-spwd.c: Likewise.
73301         * nss/nss_db/db-alias.c: Removed.
73302         * nss/nss_db/dummy-db.h: Removed.
73304 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
73306         * nss/makedb.c: Rewritten to not use database library.
73307         * nss/Makefile: Update to build new makedb program.
73309 2011-06-14  Andreas Jaeger  <aj@suse.de>
73311         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
73312         memset declaration.
73314 2011-06-10  Andreas Schwab  <schwab@redhat.com>
73316         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
73317         tmpbuf.
73319 2011-06-10  Roland McGrath  <roland@hack.frob.com>
73321         * Makerules (shlib.lds): Fail if the linker script comes out empty.
73322         * elf/Makefile ($(objpfx)ld.so): Likewise.
73324         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
73325         Don't list ld.so twice in dependencies.
73327         * posix/bug-regex31.c: Include <stdlib.h>.
73329         * nscd/hstcache.c (cache_addhst): Remove unused variable.
73331         * nis/nss_compat/compat-spwd.c
73332         (getspent_next_nss_netgr): Remove unused variable.
73333         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
73335         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
73336         nonmembers" output to use the right array.
73338         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
73340         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
73342         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
73343         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
73344         * catgets/gencat.c (read_input_file): Likewise.
73345         * locale/programs/locarchive.c (enlarge_archive): Likewise.
73347         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
73348         variable definition inside #if's controlling its use.
73350         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
73352         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
73354         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
73356         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
73357         unreachable code.
73359         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
73361         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
73362         * configure: Regenerated.
73364         * Makerules: Revert last change.
73365         * elf/Makefile: Likewise.
73367 2011-06-09  Roland McGrath  <roland@hack.frob.com>
73369         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
73370         * elf/Makefile ($(objpfx)librtld.os): Likewise.
73371         (reloc-link): Likewise.
73373 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
73375         * elf/Makefile: Add rules to build pldd.
73376         * elf/pldd.c: New file.
73377         * elf/pldd-xx.c: New file.
73379 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
73381         * version.h: Update for 2.15 development version.
73383 2011-06-07  David S. Miller  <davem@davemloft.net>
73385         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
73386         ifuncs.
73387         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
73388         elf_machine_lazy_rel): Likewise.
73389         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
73390         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
73391         elf_machine_lazy_rel): Likewise.
73392         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
73393         dl_hwcap via passed in argument.
73394         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
73395         Likewise.
73397 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73399         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
73401 2011-06-06  Roland McGrath  <roland@hack.frob.com>
73403         [BZ #12849]
73404         * manual/fdl-1.1.texi: New file, verbatim from:
73405         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
73406         * manual/lgpl-2.1.texi: New file, verbatim from:
73407         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
73408         * manual/Makefile (licenses): New variable, list those new file names.
73409         (texis): Use it.
73410         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
73412         * manual/fdl.texi: File removed.
73413         * manual/lesser.texi: File removed.
73414         * manual/libc.texinfo (Copying, Documentation License):
73415         Use new @include file names, put @appendix directive before @include.
73417 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
73419         [BZ #12841]
73420         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
73421         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
73422         (mq_open): Add __NTH.
73424 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
73426         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73427         Assume Intel Core i3/i5/i7 processor if AVX is available.
73429 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
73431         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
73432         typo.
73434 2011-05-31  Andreas Schwab  <schwab@redhat.com>
73436         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
73437         memory.  Use alloca_account.  Fix memory leak when retrying.
73439 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
73441         * version.h (RELEASE): Bump for 2.14 release.
73442         * include/features.h (__GLIBC_MINOR__): Bump to 14.
73444         * config.make.in (RANLIB): Remove entry.
73446 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
73448         * po/Makefile (po-sed-cmd): Add ksh to extensions.
73449         (libc.pot): Work around missing support for .ksh extension in xgettext.
73451         [BZ #12684]
73452         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
73453         if both request failed.
73454         (send_dg): In case of server errors clear resplen or *resplen2.
73456         [BZ #12454]
73457         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
73458         when there are multiple maps.
73459         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
73460         (_dl_fini): Remove test here.
73462         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
73464 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
73466         [BZ #12350]
73467         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
73468         bit from old_res_options.
73469         (gaih_inet): Likewise.
73471         [BZ #11099]
73472         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
73473         as signed.
73475         * resolv/res_init.c (res_setoptions): Make the code more compact.
73477         [BZ #11558]
73478         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
73479         set RES_USEVC.
73481         [BZ #11634]
73482         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
73484         * malloc/malloc.h: Mark malloc hook variables as deprecated.
73486         [BZ #11781]
73487         * malloc/malloc.h: Declare malloc hook variables as volatile.
73489         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
73490         in last patch.
73492         [BZ #11799]
73493         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
73494         raise in the comment.
73495         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
73496         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
73497         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
73499 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
73501         [BZ #12811]
73502         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
73503         grow the buffers more if it already has to be sufficient.
73504         (build_wcs_upper_buffer): Likewise.
73505         * posix/regexec.c (check_matching): Likewise.
73506         (clean_state_log_if_needed): Likewise.
73507         (extend_buffers): Don't enlarge buffers beyond size of the input
73508         buffer.
73509         Patches mostly by Emil Wojak <emil@wojak.eu>.
73510         * posix/bug-regex32.c: New file.
73511         * posix/Makefile (tests): Add bug-regex32.
73513         * locale/findlocale.c (_nl_find_locale): Return right away if
73514         _nl_explode_name failed.
73515         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
73517         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
73519         * debug/xtrace.sh: Unify messages.
73520         * malloc/memusage.sh: Likewise.
73522         [BZ #12813]
73523         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
73524         time symbol from vDSO.  Substitute with vsyscall if not available.
73525         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
73526         __vdso_time.
73528         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
73529         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
73530         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
73531         Add sendmmsg and internal_sendmmsg.
73532         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
73533         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
73534         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
73536         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
73537         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
73538         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
73540 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
73542         [BZ #12813]
73543         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
73544         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
73545         available.
73546         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
73547         __vdso_getcpu.
73549         [BZ #12814]
73550         * iconvdata/Makefile (tests): Add bug-iconv9.
73551         * iconvdata/bug-iconv9.c: New file.
73553 2011-05-27  Andreas Schwab  <schwab@redhat.com>
73555         [BZ #12814]
73556         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
73558 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
73560         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
73561         (struct user_regs_struct): Change intcs field back to cs.
73563 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
73565         * po/ja.po: Update from translation team.
73567 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
73569         [BZ #12795]
73570         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
73571         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
73573 2011-05-20  Andreas Schwab  <schwab@redhat.com>
73575         * stdlib/longlong.h: Update from GCC.
73577 2011-05-23  Andreas Schwab  <schwab@redhat.com>
73579         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
73580         parameter name.
73581         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
73582         Add parameter name.
73583         (__sysconf): Pass it down.
73585 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
73587         [BZ #12671]
73588         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
73589         some situations.
73590         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
73591         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
73592         add in in __libc_use_alloca calls.  Adjust callers.
73593         (glob): Use malloc in some situations.
73595         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
73596         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
73597         pltexit.
73599 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
73601         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
73602         and CLOCK_BOOTTIME_ALARM.
73604         [BZ #12782]
73605         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
73606         is returned.
73608         * string/_strerror.c (__strerror_r): Print negative errors as signed
73609         numbers.
73611         [BZ #12777]
73612         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
73613         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
73614         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
73616         * configure.in: Fix typo in redirection and correct removal of test
73617         files in two cases.
73619         [BZ #12788]
73620         * locale/setlocale.c (new_composite_name): Fix test to check for
73621         identical name of all categories.
73623         [BZ #12792]
73624         * libio/filedoalloc.c (local_isatty): New function.
73625         (_IO_file_doallocate): Use local_isatty.
73626         * stdio-common/perror.c (perror): In case a new stream is used
73627         forward the stream error.
73628         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
73629         error flag.
73631 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
73633         [BZ #11884]
73634         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
73635         alloca.
73636         * include/alloca.h (extend_alloca_account): Define.
73638         [BZ #11857]
73639         * posix/regex.h: Fix comments with documentation of user-accessible
73640         fields after compilation and describe correct free'ing of pattern
73641         after re_compile_pattern.
73642         Patch by Reuben Thomas <rrt@sc3d.org>.
73644 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
73646         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
73647         and -mno-altivec to prevent the compiler from using Altivec and/or
73648         VSX instructions when the corresponding registers are not available.
73650 2011-05-19  Andreas Schwab  <schwab@redhat.com>
73652         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
73654 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
73656         * libio/freopen.c (freopen): Use __dup2, not dup2.
73657         * libio/freopen64.c (freopen64): Likewise.
73659 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
73661         [BZ #12775]
73662         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
73663         * math/Makefile (tests): Add test-powl.
73664         (CFLAGS-test-powl.c): Define.
73665         * math/test-powl.c: New file.
73667 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
73669         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
73671 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
73673         [BZ #11837]
73674         * iconvdata/gb18030.c: Update to GB18020-2005.
73676 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
73678         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
73679         RE_SYNTAX_POSIX_AWK): Update to match recent development.
73680         Patch by Aharon Robbins <arnold@skeeve.com>.
73682         [BZ #11892]
73683         * stdlib/putenv.c (putenv): Don't always create copy of the variable
73684         on the stack.
73686         [BZ #11895]
73687         * misc/pselect.c (__pselect): Handle timeout value errors hidden
73688         through underflows.
73690         [BZ #12766]
73691         * misc/error.c (error_at_line): Ensure file_name and old_file_name
73692         point to strings before performing equality test for error_one_per_line
73693         mode.
73695         [BZ #11697]
73696         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
73698         [BZ #11820]
73699         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
73700         (struct user_fpregs_struct): Avoid __uint*_t types.
73702         [BZ #6420]
73703         * malloc/mtrace.c (tr_where): Add additional parameter to point to
73704         symbol info.  Use it instead of calling _dl_addr locally.
73705         (lock_and_info): New function.
73706         (tr_freehook): Call lock_and_info and pass symbol info as additional
73707         parameter to tr_where.
73708         (tr_mallochook): Likewise.
73709         (tr_reallochook): Likewise.
73710         (tr_memalignhook): Likewise.
73712         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
73713         used and couldn't be at all thread-safe.
73715 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
73717         * libio/freopen.c (freopen): Don't close old file descriptor
73718         before the new one is opened.  Instead dup the new file descriptor
73719         to the old one after the new stream is created.
73720         * libio/freopen64.c (freopen64): Likewise.
73721         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
73722         * libio/fileops.c (_IO_new_file_close_it): Handle new
73723         _IO_FLAGS2_NOCLOSE flag.
73724         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
73725         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
73726         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
73727         _IO_FLAGS2_NOCLOSE flag.
73728         * include/unistd.h: Add hidden_proto for dup3.
73729         Define __have_dup3.
73730         * io/dup3.c: Define hidden symbol.
73731         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
73733         [BZ #7101]
73734         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
73735         when an incomplete long option is used.
73736         * posix/tst-getopt_long1.c: New file.
73737         * posix/Makefile (tests): Add tst-getopt_long1.
73739         [BZ #10138]
73740         * scripts/config.guess: Update from autoconf-2.68.
73741         * scripts/config.sub: Likewise.
73743         [BZ #10157]
73744         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
73745         tests into ...
73746         (has_cpuclock): ...this.  New function.
73747         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
73748         macro here based on has_cpuclock code.
73750         [BZ #10149]
73751         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
73752         First byte (not low byte) is now always NUL.
73753         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
73755         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
73756         Use non-cancelable interfaces.
73758         [BZ #9809]
73759         * locale/iso-639.def: Add entry for Sorani.
73761         [BZ #11901]
73762         * include/stdlib.h: Move include protection to the right place.
73763         Define abort_msg_s.  Declare __abort_msg with it.
73764         * stdlib/abort.c (__abort_msg): Adjust type.
73765         * assert/assert.c (__assert_fail_base): New function.  Majority
73766         of code from __assert_fail.  Allocate memory for __abort_msg with
73767         mmap.
73768         (__assert_fail): Now call __assert_fail_base.
73769         * assert/assert-perr.c: Remove bulk of implementation.  Use
73770         __assert_fail_base.
73771         * include/assert.hL Declare __assert_fail_base.
73772         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
73773         mmap.
73774         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
73776 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
73778         [BZ #11952]
73779         [BZ #12453]
73780         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
73781         until all modules are registered in the DTV.
73782         * elf/Makefile: Add rules to build and run tst-tls19.
73783         * elf/tst-tls19.c: New file.
73784         * elf/tst-tls19mod1.c: New file.
73785         * elf/tst-tls19mod2.c: New file.
73786         * elf/tst-tls19mod3.c: New file.
73787         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
73789         [BZ #12083]
73790         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
73791         correctly.
73793         [BZ #12601]
73794         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
73795         two-byte sequence errors.
73796         * iconvdata/Makefile (tests): Add bug-iconv8.
73797         * iconvdata/bug-iconv8.c: New file.
73799         [BZ #12626]
73800         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
73801         buf2 definition.
73803         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
73805         [BZ #12432]
73806         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
73807         (dummy_getcfa): New function.
73808         (init): Get _Unwind_GetCFA address, use dummy if not found.
73809         (backtrace_helper): In recursion check, also check whether CFA changes.
73810         (__backtrace): Completely initialize arg.
73812         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
73813         storing incomplete byte sequence in state object.  Avoid testing for
73814         guaranteed too small input if we know there is enough data available.
73816 2011-05-11  Andreas Schwab  <schwab@redhat.com>
73818         * Makeconfig (+link-pie): Indent.
73819         * Rules (binaries-pie): Define if $(have-fpie) and
73820         $(build-shared).
73821         (binaries-shared): Also filter out $(binaries-pie).
73822         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
73823         * nscd/Makefile (others-pie): Add nscd.
73824         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
73825         ($(objpfx)nscd): Remove command override.
73826         * login/Makefile (others-pie): Add pt_chown.
73827         ($(objpfx)pt_chown): Remove command override.
73828         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
73829         remove command overrides.
73831 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
73833         * libio/tst_putwc.c: Fix error messages.
73835         [BZ #12724]
73836         * libio/fileops.c (_IO_new_file_close_it): Always flush when
73837         currently writing and seek to current position when not.
73838         * libio/Makefile (tests): Add bug-fclose1.
73839         * libio/bug-fclose1.c: New file.
73841 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
73843         [BZ #12511]
73844         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
73845         don't set DF_1_NODELETE here.
73846         (do_lookup_x): When entering new entry test for copy relocation
73847         and if necessary set DF_1_NODELETE flag.
73848         * elf/tst-unique4.cc: New file.
73849         * elf/tst-unique4.h: New file.
73850         * elf/tst-unique4lib.cc: New file.
73851         * elf/Makefile: Add rules to build and run tst-unique4.
73852         Patch by Piotr Bury <pbury@goahead.com>.
73854 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
73856         [BZ #12052]
73857         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
73859         [BZ #12625]
73860         * misc/mntent_r.c (addmntent): Flush the stream after the output
73862         [BZ #12393]
73863         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
73864         (is_trusted_path_normalize): Skip initial colon.  Append slash
73865         to empty buffer.  Duplicate is_trusted_path code but allow
73866         constructed patch to be prefix.
73867         (is_dst): Allow $ORIGIN followed by /.
73868         (_dl_dst_substitute): Correct clearing of check_for_trusted.
73869         Correct testing of result of is_trusted_path_normalize
73870         (decompose_rpath): Fix warning.
73872 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
73874         [BZ #11257]
73875         * grp/initgroups.c (internal_getgrouplist): When we found the service
73876         list through the initgroups entry in nsswitch.conf do not always
73877         continue on a successful lookup.  Don't always use the
73878         __nss_group_database value if it is set.
73879         * nss/nsswitch.conf (initgroups): Change action for successful db
73880         lookup to continue for compatibility.
73882 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
73884         [BZ #11532]
73885         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
73886         and CP774 modules.
73887         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
73888         and CP774 modules.
73889         * iconvdata/tst-tables.sh: Likewise.
73890         * iconvdata/cp770.c: New file.
73891         * iconvdata/cp771.c: New file.
73892         * iconvdata/cp772.c: New file.
73893         * iconvdata/cp773.c: New file.
73894         * iconvdata/cp774.c: New file.
73895         * iconvdata/testdata/CP770: New file.
73896         * iconvdata/testdata/CP770..UTF8: New file.
73897         * iconvdata/testdata/CP771: New file.
73898         * iconvdata/testdata/CP771..UTF8: New file.
73899         * iconvdata/testdata/CP772: New file.
73900         * iconvdata/testdata/CP772..UTF8: New file.
73901         * iconvdata/testdata/CP773: New file.
73902         * iconvdata/testdata/CP773..UTF8: New file.
73903         * iconvdata/testdata/CP774: New file.
73904         * iconvdata/testdata/CP774..UTF8: New file.
73906         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
73907         END CHARMAP line.
73908         * iconvdata/gen-8bit-gap.sh: Likewise.
73909         * iconvdata/gen-8bit.sh: Likewise.
73911         * locale/iso-639.def: Add ary entry.
73913         [BZ #11258]
73914         * locale/C-translit.h.in: Add U20A1 transliteration.
73916         [BZ #12178]
73917         * locale/iso-639.def: Add wae entry.
73918         Patch by Kevin Bortis <bortis@translate-wae.ch>.
73920         [BZ #12545]
73921         * locale/programs/localedef.c (construct_output_path): Use ssize_t
73922         for n.
73924         [BZ #12711]
73925         * locale/C-translit.h.in: Add entry for U20B9.
73926         Patch by pravin.d.s@gmail.com.
73928 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
73930         [BZ #12713]
73931         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
73932         ENAMETOOLONG use generic getcwd.
73933         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
73934         in rtld.  Use *stat64.
73935         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
73936         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
73937         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
73938         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
73939         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
73940         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
73941         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
73942         __fstatat64 macros.
73943         * include/dirent.h: Add libc_hidden_proto for rewinddir.
73944         * dirent/rewinddir.c: Add libc_hidden_def.
73945         * sysdeps/mach/hurd/rewinddir.c: Likewise.
73946         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
73948         * include/dirent.h (__alloc_dir): Add flags parameter.
73949         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
73950         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
73951         __alloc_dir.
73952         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
73953         from fdopendir if O_CLOEXEC is already set.
73955 2011-03-15  Alan Modra  <amodra@gmail.com>
73957         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
73958         l_tls_firstbyte_offset non-zero.  Save padding offset in
73959         l_tls_firstbyte_offset for later use.
73960         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
73961         freeing static tls block.
73963 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
73965         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
73966         where #ifdef was intended.  The intent is to prevent ARG_MAX from
73967         being defined by the kernel headers.
73969 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
73971         [BZ #12734]
73972         * resolv/resolv.h: Define RES_NOTLDQUERY.
73973         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
73974         no-tld-query and set RES_NOTLDQUERY.
73975         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
73976         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
73977         modern BIND to search name as TLD unless forbidden.
73979 2011-05-07  Petr Baudis  <pasky@suse.cz>
73980             Ulrich Drepper  <drepper@gmail.com>
73982         [BZ #12393]
73983         * elf/dl-load.c (fillin_rpath): Move trusted path check...
73984         (is_trusted_path): ...to here.
73985         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
73986         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
73987         using is_trusted_path_normalize() in setuid scripts.
73989 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
73991         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
73992         __BEGIN/__END_DECLS.
73994 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
73996         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
73997         NSS_STATUS_NOTFOUND if no record was found.
73999 2011-05-05  Andreas Schwab  <schwab@redhat.com>
74001         * sunrpc/Makefile (headers): Add rpc/netdb.h.
74002         (headers-not-in-tirpc): Remove rpc/netdb.h
74003         * resolv/netdb.h: Revert last change.
74005 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
74007         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
74008         circular dependency between libgcc.a and libc.a.
74010 2011-05-05  Andreas Schwab  <schwab@redhat.com>
74012         * resolv/netdb.h: Don't include <rpc/netdb.h>.
74013         * nis/Makefile: Don't install rpcsvc/*.
74014         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
74015         instead of <rpc/types.h>.
74016         (MAXHOSTNAMELEN): Define.
74018 2011-05-03  Andreas Schwab  <schwab@redhat.com>
74020         * elf/ldconfig.c (add_dir): Don't crash on empty path.
74022 2011-04-28  Maciej Babinski  <mbabinski@google.com>
74024         [BZ #12714]
74025         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
74026         gethostbyname4_r when IPv6 results are possible.
74028 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
74030         [BZ #12723]
74031         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
74032         _PC_PIPE_BUF handling.
74034 2011-04-30  Bruno Haible  <bruno@clisp.org>
74036         [BZ #12717]
74037         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
74038         * resolv/netdb.h (getnameinfo): Change type of flags parameter
74039         to 'int'.
74040         * inet/getnameinfo.c (getnameinfo): Likewise.
74042 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
74044         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
74045         to groups setting in database lookup.
74046         * nss/nsswitch.conf: Add initgroups entry.
74048 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
74050         [BZ #12685]
74051         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
74052         mode string.
74053         Patch by Eric Blake <eblake@redhat.com>.
74055 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
74057         * sunrpc/Makefile (need-export-routines): Add svc_run.
74058         (routines): Remove svc_run.
74059         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
74060         * sunrpc/clnt_perr.c (clnt_perrno): Export.
74061         * sunrpc/svc_run.c (svc_run): Likewise.
74062         * sunrpc/svc_udp.c (svcudp_create): Likewise.
74064 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
74066         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
74067         problem in reallocation in last patch.
74069 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
74071         * sunrpc/Makefile: Move inclusion of Rules.
74073 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
74075         * nss/nss_files/files-initgroups.c: New file.
74076         * nss/Makefile (libnss_files-routines): Add files-initgroups.
74077         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
74078         _nss_files_initgroups_dyn.
74080 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
74082         * elf/elf.h (R_ARM_IRELATIVE): Define.
74084 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
74086         * po/ru.po: Update from translation team.
74088 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
74090         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
74091         dependencies.
74093 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
74095         [BZ #12653]
74096         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
74097         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
74098         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
74099         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
74100         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
74102 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
74104         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
74105         differing bytes.
74106         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
74107         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
74108         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
74110 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
74112         [BZ #12420]
74113         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
74114         storing it.
74115         * stdlib/bug-getcontext.c: New file.
74116         * stdlib/Makefile: Add rules to build and run bug-getcontext.
74118 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74120         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
74121         instructions into .machine "z9-109".
74122         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
74123         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
74125 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74127         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
74128         between environment variables and auxiliary vector.
74130 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
74132         * Makefile: Add rules to build linkobj/libc.so.
74133         * include/libc-symbols.h: Define libc_hidden_nolink.
74134         * include/rpc/auth.h: Mark functions which are to be hidden.
74135         * include/rpc/auth_des.h: Likewise.
74136         * include/rpc/auth_unix.h: Likewise.
74137         * include/rpc/clnt.h: Likewise.
74138         * include/rpc/des_crypt.h: Likewise.
74139         * include/rpc/key_prot.h: Likewise.
74140         * include/rpc/pmap_clnt.h: Likewise.
74141         * include/rpc/pmap_prot.h: Likewise.
74142         * include/rpc/pmap_rmt.h: Likewise.
74143         * include/rpc/rpc_msg.h: Likewise.
74144         * include/rpc/svc.h: Likewise.
74145         * include/rpc/svc_auth.h: Likewise.
74146         * include/rpc/xdr.h: Likewise.
74147         * nis/Makefile: Link all DSOs against linkobj/libc.so.
74148         * nss/Makefile: Likewise.
74149         * sunrpc/Makefile: Don't install headers.  Build library with normal
74150         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
74151         * sunrpc/auth_des.c: Hide exported symbols by default, export some
74152         for the compat linking library.  Remove use of INTDEF/INTUSE.
74153         * sunrpc/auth_none.c: Likewise.
74154         * sunrpc/auth_unix.c: Likewise.
74155         * sunrpc/authdes_prot.c: Likewise.
74156         * sunrpc/authuxprot.c: Likewise.
74157         * sunrpc/clnt_gen.c: Likewise.
74158         * sunrpc/clnt_perr.c: Likewise.
74159         * sunrpc/clnt_raw.c: Likewise.
74160         * sunrpc/clnt_simp.c: Likewise.
74161         * sunrpc/clnt_tcp.c: Likewise.
74162         * sunrpc/clnt_udp.c: Likewise.
74163         * sunrpc/clnt_unix.c: Likewise.
74164         * sunrpc/des_crypt.c: Likewise.
74165         * sunrpc/des_soft.c: Likewise.
74166         * sunrpc/get_myaddr.c: Likewise.
74167         * sunrpc/key_call.c: Likewise.
74168         * sunrpc/key_prot.c: Likewise.
74169         * sunrpc/netname.c: Likewise.
74170         * sunrpc/pm_getmaps.c: Likewise.
74171         * sunrpc/pm_getport.c: Likewise.
74172         * sunrpc/pmap_clnt.c: Likewise.
74173         * sunrpc/pmap_prot.c: Likewise.
74174         * sunrpc/pmap_prot2.c: Likewise.
74175         * sunrpc/pmap_rmt.c: Likewise.
74176         * sunrpc/publickey.c: Likewise.
74177         * sunrpc/rpc_cmsg.c: Likewise.
74178         * sunrpc/rpc_common.c: Likewise.
74179         * sunrpc/rpc_dtable.c: Likewise.
74180         * sunrpc/rpc_prot.c: Likewise.
74181         * sunrpc/rpc_thread.c: Likewise.
74182         * sunrpc/rtime.c: Likewise.
74183         * sunrpc/svc.c: Likewise.
74184         * sunrpc/svc_auth.c: Likewise.
74185         * sunrpc/svc_authux.c: Likewise.
74186         * sunrpc/svc_raw.c: Likewise.
74187         * sunrpc/svc_run.c: Likewise.
74188         * sunrpc/svc_simple.c: Likewise.
74189         * sunrpc/svc_tcp.c: Likewise.
74190         * sunrpc/svc_udp.c: Likewise.
74191         * sunrpc/svc_unix.c: Likewise.
74192         * sunrpc/svcauth_des.c: Likewise.
74193         * sunrpc/xcrypt.c: Likewise.
74194         * sunrpc/xdr.c: Likewise.
74195         * sunrpc/xdr_array.c: Likewise.
74196         * sunrpc/xdr_float.c: Likewise.
74197         * sunrpc/xdr_intXX_t.c: Likewise.
74198         * sunrpc/xdr_mem.c: Likewise.
74199         * sunrpc/xdr_rec.c: Likewise.
74200         * sunrpc/xdr_ref.c: Likewise.
74201         * sunrpc/xdr_sizeof.c: Likewise.
74202         * sunrpc/xdr_stdio.c: Likewise.
74204 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
74206         [BZ #12650]
74207         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
74208         * sysdeps/ia64/dl-tls.h: Likewise.
74209         * sysdeps/powerpc/dl-tls.h: Likewise.
74210         * sysdeps/s390/dl-tls.h: Likewise.
74211         * sysdeps/sh/dl-tls.h: Likewise.
74212         * sysdeps/sparc/dl-tls.h: Likewise.
74213         * sysdeps/x86_64/dl-tls.h: Likewise.
74214         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
74216 2011-03-14  Andreas Schwab  <schwab@redhat.com>
74218         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
74219         rpath element also skip the following colon.
74220         (expand_dynamic_string_token): Add is_path parameter and pass
74221         down to DL_DST_REQUIRED and _dl_dst_substitute.
74222         (decompose_rpath): Call expand_dynamic_string_token with
74223         non-zero is_path.  Ignore empty rpaths.
74224         (_dl_map_object_from_fd): Call expand_dynamic_string_token
74225         with zero is_path.
74227 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
74229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
74230         Make cancelable.
74232 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
74234         [BZ #12655]
74235         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
74236         Patch by Filipe David Manana <fdmanana@apache.org>.
74238 2011-04-07  Andreas Schwab  <schwab@redhat.com>
74240         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
74241         Maintain aligned stack.
74242         (CHECK_RSP): Remove unused macro.
74244 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
74246         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
74247         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
74249 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
74251         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
74253         * include/features.h: Mention __USE_XOPEN2K8 in comment.
74255 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
74257         [BZ #12518]
74258         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
74259         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
74260         * sysdeps/x86_64/memmove.c: New file.
74261         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
74262         (memcpy): Renamed to ...
74263         (__new_memcpy): This.
74264         (memcpy): Provide GLIBC_2_14 memcpy.
74265         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
74266         (memcpy): Provide GLIBC_2_2_5 memcpy.
74268 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
74270         [BZ #12631]
74271         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
74273 2011-03-30  Andreas Schwab  <schwab@redhat.com>
74275         * misc/syncfs.c: New file.
74276         * misc/Makefile (routines): Add syncfs.
74277         * posix/unistd.h: Declare syncfs.
74278         * sysdeps/unix/syscalls.list: Add syncfs.
74280 2011-04-01  Andreas Schwab  <schwab@redhat.com>
74282         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
74283         open_by_handle_at.
74284         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
74285         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
74286         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
74287         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
74288         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
74289         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
74290         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
74292 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
74294         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
74295         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
74296         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
74297         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
74298         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
74299         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
74300         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
74302         * io/Makefile: Compile fallocate.c, fallocate64.c, and
74303         sync_file_range.c with -fexceptions.
74304         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
74305         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
74306         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
74307         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
74308         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
74309         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
74310         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
74311         sync_file_range as cancellation point
74312         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
74313         now a wrapper around __call_sync_file_range with cancellation handling.
74314         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
74315         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
74316         function name to __call_sync_file_range.
74317         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
74318         Add call_sync_file_range.
74320 2011-04-01  Andreas Schwab  <schwab@redhat.com>
74322         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
74323         bits/timex.h.
74325 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
74327         * iconv/iconv.h: Fix typo in comment.
74328         * io/fcntl.h: Likewise.
74329         * libio/stdio.h: Likewise.
74330         * posix/spawn.h: Likewise.
74331         * posix/unistd.h: Likewise.
74332         * stdlib/stdlib.h: Likewise.
74333         * time/time.h: Likewise.
74334         * wcsmbs/wchar.h: Likewise.
74336         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
74337         open_by_handle): Add.
74338         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
74339         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
74340         Augment a few comments.
74341         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
74342         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
74343         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
74344         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
74345         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
74346         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
74347         open_by_handle.
74349         * io/fcntl.h (AT_EMPTY_PATH): Define.
74351 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
74353         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
74354         * sysdeps/unix/sysv/linux/bits/time.h: New file.
74355         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
74356         to...
74357         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
74358         * Versions.def: Add GLIBC_2.14.
74359         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
74360         Export.
74362 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
74364         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
74365         round counter.
74366         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
74368 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
74370         [BZ #12597]
74371         * string/test-strncmp.c (do_page_test): New function.
74372         (check2): Likewise.
74373         (test_main): Call check2.
74374         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
74376 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
74378         [BZ #12587]
74379         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
74380         Handle cache information in CPU leaf 4.
74381         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
74383 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
74385         [BZ #12583]
74386         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
74387         character representation.
74388         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
74390 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
74392         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
74393         END(__isnan) to END(__isnanf) to match function entry point/label
74394         EALIGN(__isnanf,...).
74396 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
74398         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
74400 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
74402         [BZ #12510]
74403         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
74404         copy from the symbol referenced in the relocation to initialize the
74405         used variable.
74406         Patch by Piotr Bury <pbury@goahead.com>.
74407         * elf/Makefile: Add rules to build and tst-unique3.
74408         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
74409         * elf/tst-unique3.cc: New file.
74410         * elf/tst-unique3.h: New file.
74411         * elf/tst-unique3lib.cc: New file.
74412         * elf/tst-unique3lib2.cc: New file.
74414         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
74416 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
74418         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
74419         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
74420         to _start.
74422 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
74424         * elf/dl-load.c (_dl_map_object): If we are looking for the first
74425         to-be-loaded object along a path to loader is ld.so.
74427 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
74428             Ulrich Drepper  <drepper@gmail.com>
74430         * sysdeps/x86_64/memset.S: After aligning destination, code
74431         branches to different locations depending on the value of
74432         misalignment, when multiarch is enabled. Fix this.
74434 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
74436         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
74437         Set _x86_64_preferred_memory_instruction for AMD processsors.
74438         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74439         Set bit_Prefer_SSE_for_memop for AMD processors.
74441 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
74443         * libio/fmemopen.c (fmemopen): Optimize a bit.
74445 2011-03-03  Andreas Schwab  <schwab@redhat.com>
74447         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
74449 2011-03-03  Roland McGrath  <roland@redhat.com>
74451         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
74453 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
74455         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
74456         __bzero_ultra1 instead of __memset_ultra1.
74458 2011-02-23  Andreas Schwab  <schwab@redhat.com>
74459             Ulrich Drepper  <drepper@gmail.com>
74461         [BZ #12509]
74462         * include/link.h (struct link_map): Add l_orig_initfini.
74463         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
74464         returning unsuccessfully.
74465         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
74466         close of a file loaded at startup, restore the original l_initfini
74467         list.
74468         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
74469         list, store the pointer.
74470         * elf/Makefile ($(objpfx)noload-mem): New rule.
74471         (noload-ENV): Define.
74472         (tests): Add $(objpfx)noload-mem.
74473         * elf/noload.c: Include <memcheck.h>.
74474         (main): Call mtrace.  Close all opened handles.
74476 2011-02-17  Andreas Schwab  <schwab@redhat.com>
74478         [BZ #12454]
74479         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
74480         dependencies are missing.
74482 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74484         Fix __if_freereq crash: Unlike the generic version which uses free,
74485         Hurd needs munmap.
74486         * sysdeps/mach/hurd/ifreq.h: New file.
74488 2011-01-27  Petr Baudis  <pasky@suse.cz>
74489             Ulrich Drepper  <drepper@gmail.com>
74491         [BZ 12445]#
74492         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
74493         to extend_alloca().
74494         * stdio-common/bug23.c: New file.
74495         * stdio-common/Makefile (tests): Add bug23.
74497 2010-09-28  Andreas Schwab  <schwab@redhat.com>
74498             Ulrich Drepper  <drepper@gmail.com>
74500         [BZ #12489]
74501         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
74502         before performing relro protection.  At old place add assertion
74503         to make sure nothing changed.
74505 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
74506             Glauber de Oliveira Costa  <glommer@gmail.com>
74508         * elf/elf.h: Add new ARM TLS relocs.
74510 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
74512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
74513         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
74514         cast from r3.
74515         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
74516         'tests' variable.
74517         * sysdeps/wordsize-64/tst-writev.c: New file.
74519 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
74521         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
74522         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
74523         insns in _dl_start to prevent a TOC reference before relocs are
74524         resolved.
74526 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
74528         [BZ #12469]
74529         * Makeconfig: Remove RANLIB definition.
74530         * Makerules: Don't use RANLIB.
74531         * aclocal.m4: Remove ranlib test.
74532         * configure.in: No need to check for ranlib.
74533         * elf/rtld-Rules: Don't use RANLIB.
74535 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74537         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
74538         protection macro.
74539         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
74540         inclusion protection macro.
74542         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
74543         SIGRTMIN and SIGRTMAX and print information in that case only when
74544         SIGRTMIN is defined.
74546 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
74548         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
74549         arginfo fn returning -1.
74551         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
74552         and thousands string is zero terminated.
74554 2011-02-03  Andreas Schwab  <schwab@redhat.com>
74556         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
74557         sysdeps/unix/sysv/linux/bits/socket.h.
74559 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74561         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
74562         (__CPU_COUNT): Remove old macros.
74563         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
74564         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
74565         (__CPU_ALLOC, __CPU_FREE): Add macros.
74566         (__sched_cpualloc, __sched_cpufree): Add declarations.
74568 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
74570         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
74571         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
74572         * nscd/aicache.c (addhstaiX): Return timeout of added value.
74573         (readdhstai): Return value of addhstaiX call.
74574         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
74575         (addgrbyX): Return value returned by cache_addgr.
74576         (readdgrbyname): Return value returned by addgrbyX.
74577         (readdgrbygid): Likewise.
74578         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
74579         (addpwbyX): Return value returned by cache_addpw.
74580         (readdpwbyname): Return value returned by addhstbyX.
74581         (readdpwbyuid): Likewise.
74582         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
74583         (addservbyX): Return value returned by cache_addserv.
74584         (readdservbyname): Return value returned by addservbyX:
74585         (readdservbyport): Likewise.
74586         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
74587         (addhstbyX): Return value returned by cache_addhst.
74588         (readdhstbyname): Return value returned by addhstbyX.
74589         (readdhstbyaddr): Likewise.
74590         (readdhstbynamev6): Likewise.
74591         (readdhstbyaddrv6): Likewise.
74592         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
74593         (readdinitgroups): Return value returned by addinitgroupsX.
74594         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
74595         (prune_cache): Keep track of timeout value of re-added entries.
74596         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
74597         * nscd/nscd.h: Adjust prototypes of readd* functions.
74599 2011-02-04  Roland McGrath  <roland@redhat.com>
74601         * nis/nis_server.c (nis_servstate): Use the right name for 0.
74602         (nis_stats): Likewise.
74603         * nis/nis_modify.c (nis_modify): Likewise.
74604         * nis/nis_remove.c (nis_remove): Likewise.
74605         * nis/nis_add.c (nis_add): Likewise.
74607         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
74609         * posix/fnmatch_loop.c: Add some consts.
74611         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
74613 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
74615         [BZ #12460]
74616         * config.make.in (config-cflags-novzeroupper): Define.
74617         * configure.in: Substitute libc_cv_cc_novzeroupper.
74618         * elf/Makefile (AVX-CFLAGS): Define.
74619         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
74620         (CFLAGS-tst-auditmod4a.c): Likewise.
74621         (CFLAGS-tst-auditmod4b.c): Likewise.
74622         (CFLAGS-tst-auditmod6b.c): Likewise.
74623         (CFLAGS-tst-auditmod6c.c): Likewise.
74624         (CFLAGS-tst-auditmod7b.c): Likewise.
74625         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
74627 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
74629         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
74630         function to the callback.
74631         Patch partly by Jiri Olsa <jolsa@redhat.com>.
74633 2011-02-02  Andreas Schwab  <schwab@redhat.com>
74635         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
74636         of errno.
74638 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
74640         [BZ #11724]
74641         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
74642         of constructors.
74643         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
74644         of destructors.
74645         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
74647         [BZ #11724]
74648         * elf/Makefile: Add rules to build and run new test.
74649         * elf/tst-initorder.c: New file.
74650         * elf/tst-initorder.exp: New file.
74651         * elf/tst-initordera1.c: New file.
74652         * elf/tst-initordera2.c: New file.
74653         * elf/tst-initordera3.c: New file.
74654         * elf/tst-initordera4.c: New file.
74655         * elf/tst-initorderb1.c: New file.
74656         * elf/tst-initorderb2.c: New file.
74657         * elf/tst-order-a1.c: New file.
74658         * elf/tst-order-a2.c: New file.
74659         * elf/tst-order-a3.c: New file.
74660         * elf/tst-order-a4.c: New file.
74661         * elf/tst-order-b1.c: New file.
74662         * elf/tst-order-b2.c: New file.
74663         * elf/tst-order-main.c: New file.
74664         New test case by George Gensure <werkt0@gmail.com>.
74666 2010-10-01  Andreas Schwab  <schwab@redhat.com>
74668         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
74669         decoding ACE if AI_CANONIDN.
74671 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
74673         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
74675 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
74677         * version.h (RELEASE): Bump for 2.13 release.
74678         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
74680         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
74682         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
74683         MADV_NOHUGEPAGE.
74684         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
74685         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
74686         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
74687         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
74688         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
74689         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
74691         * posix/getconf.c: Update copyright year.
74692         * catgets/gencat.c: Likewise.
74693         * csu/version.c: Likewise.
74694         * debug/catchsegv.sh: Likewise.
74695         * debug/xtrace.sh: Likewise.
74696         * elf/ldconfig.c: Likewise.
74697         * elf/ldd.bash.in: Likewise.
74698         * elf/sprof.c (print_version): Likewise.
74699         * iconv/iconv_prog.c: Likewise.
74700         * iconv/iconvconfig.c: Likewise.
74701         * locale/programs/locale.c: Likewise.
74702         * locale/programs/localedef.c: Likewise.
74703         * malloc/memusage.sh: Likewise.
74704         * malloc/mtrace.pl: Likewise.
74705         * nscd/nscd.c (print_version): Likewise.
74706         * nss/getent.c: Likewise.
74708         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
74709         PF_CAIF, and PF_ALG.
74710         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
74712 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
74714         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
74715         (modules-names): Use them.
74716         (ifunc-test-modules, ifunc-pie-tests): Define.
74717         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
74718         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
74719         (test-extras): Likewise.
74720         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
74721         $(compile-command.c).
74722         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
74723         (all-built-dso): Define.
74724         (check-textrel.out, check-execstack.out): Depend on it.
74726         * configure.in: Don't override --enable-multi-arch.
74728 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
74730         [BZ #6812]
74731         * nscd/hstcache.c (tryagain): Define.
74732         (cache_addhst): Return tryagain not notfound for temporary errors.
74733         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
74734         failed.
74736 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
74738         [BZ #10563]
74739         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
74740         to make the syscall.
74741         * sysdeps/unix/sysv/linux/setgroups.c: New file.
74743         [BZ #12378]
74744         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
74745         and fall back to matching as normal character if the string ends before
74746         the matching ']' is found.  This is what POSIX requires.
74747         * posix/testfnm.c: Adjust test result.
74748         * posix/globtest.sh: Adjust test result.  Add new test.
74749         * posix/tst-fnmatch.input: Likewise.
74750         * posix/tst-fnmatch2.c: Add new test.
74752 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
74754         * elf/Makefile (check-execstack): Revert last change.  Depend on
74755         check-execstack.h.
74756         (check-execstack.h): New target.
74757         (generated): Add check-execstack.h.
74758         * elf/check-execstack.c: Include "check-execstack.h".
74759         (main): Revert last change.
74760         (handle_file): Return zero if GNU_STACK is absent and
74761         DEFAULT_STACK_PERMS doesn't include PF_X.
74763 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
74765         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
74766         in child fails because the descriptor is already closed.
74767         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
74768         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
74769         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
74771         [BZ #12397]
74772         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
74773         syscall.
74775         [BZ #10484]
74776         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
74777         temporary buffer used to handle multi lookups locally.
74778         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
74780 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
74782         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
74783         loader is ld.so.
74785 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
74787         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
74788         alignment for SSE2.
74790 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
74792         [BZ #12394]
74793         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
74794         characters.  When rounding increased number of integer digits recompute
74795         number of groups.
74796         * stdio-common/tst-grouping.c: New file.
74797         * stdio-common/Makefile: Add rules to build and run tst-grouping.
74799 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
74801         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
74802         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
74804         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
74805         void.
74806         * bits/select.h: Likewise.
74808 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
74810         * po/ja.po: Update from translation team.
74812 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
74814         [BZ #11155]
74815         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
74816         implementation just like for lxstat, fxstatat, et al.
74818 2010-12-27  Jim Meyering  <meyering@redhat.com>
74820         [BZ #12348]
74821         * posix/regexec.c (build_trtable): Return failure indication upon
74822         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
74824 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
74826         [BZ #12201]
74827         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
74828         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
74829         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
74830         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
74832         [BZ #12207]
74833         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
74835         [BZ #12204]
74836         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
74837         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
74839 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
74841         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
74842         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
74843         script has SORT_BY_INIT_PRIORITY.
74844         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
74845         NO_CTORS_DTORS_SECTIONS is defined.
74846         * elf/soinit.c: Likewise.
74847         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
74848         NO_CTORS_DTORS_SECTIONS is defined.
74849         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
74850         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
74851         * sysdeps/sh/init-first.c: Likewise.
74852         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
74854 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
74856         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
74857         always use the slow path.
74859 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
74861         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
74862         similar rule which adds the sysdep directories to the header search in
74863         order to pick up the correct platform stackinfo.h.
74864         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
74865         perform test if it is, otherwise return successfully without testing.
74866         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
74867         DEFAULT_STACK_PERMS define in stackinfo.h.
74868         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
74869         defined in stackinfo.h.
74870         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
74871         DEFAULT_STACK_PERMS defined in stackinfo.h.
74872         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
74873         * sysdeps/ia64/stackinfo.h: Likewise.
74874         * sysdeps/s390/stackinfo.h: Likewise.
74875         * sysdeps/sh/stackinfo.h: Likewise.
74876         * sysdeps/sparc/stackinfo.h: Likewise.
74877         * sysdeps/x86_64/stackinfo.h: Likewise.
74878         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
74879         PF_X for powerpc64.  Retain PF_X for powerpc32.
74881 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
74883         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
74884         accurately.
74885         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
74886         GETDENTS_64BIT_ALIGNED.
74888 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
74890         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
74892 2010-12-10  Andreas Schwab  <schwab@redhat.com>
74894         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
74895         _GNU_SOURCE.
74897         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
74898         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
74899         Remove __restrict.
74900         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
74901         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
74903 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
74905         [BZ #11655]
74906         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
74907         are initialized.
74909 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
74911         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
74913 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
74915         * po/it.po: Update from translation team.
74917 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
74919         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
74920         unused codes.
74922 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
74924         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
74926 2010-11-24  Andreas Schwab  <schwab@redhat.com>
74928         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
74929         specially.
74930         (gaih_getanswer_slice): Likewise.
74932 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
74934         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
74936 2010-05-31  Petr Baudis  <pasky@suse.cz>
74938         [BZ #11149]
74939         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
74940         silently even in the chroot mode.
74942 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
74944         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
74945         last patch a bit.  Pretty printing
74947 2010-05-31  Petr Baudis <pasky@suse.cz>
74949         [BZ #10085]
74950         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
74951         initialization of skip_initgroups_dyn.
74953 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
74955         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
74956         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
74958 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
74960         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
74962 2010-11-11  Andreas Schwab  <schwab@redhat.com>
74964         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
74965         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
74966         (tst-fnmatch-ENV): Set MALLOC_TRACE.
74967         ($(objpfx)tst-fnmatch-mem): New rule.
74968         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
74969         * posix/tst-fnmatch.c (main): Call mtrace.
74971 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
74973         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74974         Support Intel processor model 6 and model 0x2c.
74976 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
74978         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
74979           signed comparison.
74981 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
74983         [BZ #12205]
74984         * string/test-strncasecmp.c (check_result): New function.
74985         (do_one_test): Use it.
74986         (check1): New function.
74987         (test_main): Use it.
74988         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
74989         Support strcasecmp and strncasecmp.
74991 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
74993         [BZ #12194]
74994         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
74995         * sysdeps/x86_64/bits/byteswap.h: Likewise.
74997 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
74999         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
75000         IFUNC support.
75001         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
75002         memset-x86-64.
75003         * sysdeps/x86_64/multiarch/bzero.S: New file.
75004         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
75005         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
75006         * sysdeps/x86_64/multiarch/memset.S: New file.
75007         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
75008         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75009         Set bit_Prefer_SSE_for_memop for Intel processors.
75010         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
75011         Define.
75012         (index_Prefer_SSE_for_memop): Define.
75013         (HAS_PREFER_SSE_FOR_MEMOP): Define.
75015 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
75017         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
75018         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
75020 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
75022         [BZ #12191]
75023         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
75024         (__x86_64_raw_data_cache_size_half): Likewise.
75025         (__x86_64_raw_shared_cache_size): Likewise.
75026         (__x86_64_raw_shared_cache_size_half): Likewise.
75028         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
75029         (__x86_64_raw_data_cache_size_half): Likewise.
75030         (__x86_64_raw_shared_cache_size): Likewise.
75031         (__x86_64_raw_shared_cache_size_half): Likewise.
75032         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
75033         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
75034         and __x86_64_raw_shared_cache_size_half.  Round
75035         __x86_64_data_cache_size_half, __x86_64_data_cache_size
75036         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
75037         to multiple of 256 bytes.
75039 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
75041         [BZ #12167]
75042         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
75043         of inacessible symlinks.  Verify result of symlink before returning it.
75044         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
75045         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
75047 2010-10-28  Erich Ritz  <erichritz@gmail.com>
75049         * math/math.h (isinf): Fix typo in comment.
75051 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
75053         * po/da.po: Update from translation team.
75055 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
75057         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
75058         is added to the list.
75060 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75061             Ulrich Drepper  <drepper@gmail.com>
75063         * elf/dl-object.c (_dl_new_object): Don't append the new object to
75064         the global list here.  Move code to...
75065         (_dl_add_to_namespace_list): ...here.  New function.
75066         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
75067         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
75068         * elf/dl-load.c (lose): Don't remove the element from the list.
75069         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
75070         (_dl_map_object): Likewise.
75072 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
75074         [BZ #12159]
75075         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
75076         into all bytes of SSE register.
75077         Patch by Richard Li <richardpku@gmail.com>.
75079 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
75081         [BZ #12140]
75082         * malloc/malloc.c (_int_free): Fill correct number of bytes when
75083         perturbing.
75085 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
75087         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
75088         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
75089         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
75090         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
75091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
75092         submachine.
75093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
75095 2010-10-22  Andreas Schwab  <schwab@redhat.com>
75097         * include/dlfcn.h (__RTLD_SECURE): Define.
75098         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
75099         mode & __RTLD_SECURE instead.
75100         (open_path): Rename preloaded parameter to secure.
75101         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
75102         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
75103         * elf/dl-deps.c (openaux): Likewise.
75104         * elf/rtld.c (struct map_args): Remove is_preloaded.
75105         (map_doit): Don't use it.
75106         (dl_main): Likewise.
75107         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
75108         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
75110 2010-09-09  Andreas Schwab  <schwab@redhat.com>
75112         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
75113         (sysd-rules-targets): Remove duplicates.
75114         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
75115         rtld-%.$o dependency.
75117 2010-10-18  Andreas Schwab  <schwab@redhat.com>
75119         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
75120         _dl_map_object do it.
75122 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
75124         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
75125         fast fma builtins, define the macros in the C99 standard.
75126         (FP_FAST_FMAF): Likewise.
75127         (FP_FAST_FMAL): Likewise.
75128         * sysdeps/x86_64/bits/mathdef.h: Likewise.
75130         * bits/mathdef.h: Update copyright year.
75131         * sysdeps/powerpc/bits/mathdef.h: Likewise.
75133 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
75135         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
75136         builtins, define the macros in the C99 standard.
75137         (FP_FAST_FMAF): Likewise.
75138         (FP_FAST_FMAL): Likewise.
75139         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
75140         multiply/add.
75141         (FP_FAST_FMAF): Likewise.
75143 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
75145         [BZ #3268]
75146         * math/libm-test.inc (fma_test): Some new testcases.
75147         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
75148         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
75149         y and infinite z.  Do multiplication by C already in long double.
75150         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
75151         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
75152         y and infinite z.  Do bitwise or of inexact bit into u.d.
75153         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
75154         * sysdeps/i386/fpu/s_fmaf.S: Removed.
75155         * sysdeps/i386/fpu/s_fma.S: Removed.
75156         * sysdeps/i386/fpu/s_fmal.S: Removed.
75158 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
75160         [BZ #3268]
75161         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
75162         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
75163         computation is not scheduled after fetestexcept.  Fix value
75164         of minimum denormal long double.
75166 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
75168         [BZ #3268]
75169         * math/libm-test.inc (fma_test): Add some more tests.
75170         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
75171         correctly.
75173 2010-10-15  Andreas Schwab  <schwab@redhat.com>
75175         * scripts/data/localplt-s390-linux-gnu.data: New file.
75176         * scripts/data/localplt-s390x-linux-gnu.data: New file.
75178 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
75180         [BZ #3268]
75181         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
75182         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
75183         instead of dbl-64.
75184         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
75185         inlines.
75186         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
75187         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
75188         if one of x and y is very large and the other is subnormal.
75189         * sysdeps/s390/fpu/s_fmaf.c: New file.
75190         * sysdeps/s390/fpu/s_fma.c: New file.
75191         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
75192         * sysdeps/powerpc/fpu/s_fma.S: New file.
75193         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
75194         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
75195         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
75197 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
75199         [BZ #3268]
75200         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
75201         fma tests.
75202         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
75203         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
75204         * sysdeps/i386/i686/multiarch/s_fma.c: Include
75205         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
75206         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
75207         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
75208         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
75210 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
75212         [BZ #12078]
75213         * posix/regcomp.c (parse_branch): One more memory leak plugged.
75214         * posix/bug-regex31.input: Add test case.
75216 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
75218         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
75219         * posix/bug-regex31.input: New file.
75221         [BZ #12078]
75222         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
75223         (parse_sub_exp): Fix last change, use postorder.
75225         * posix/bug-regex31.c: New file.
75226         * posix/Makefile: Add rules to build and run bug-regex31.
75228         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
75230         [BZ #12078]
75231         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
75233         [BZ #12108]
75234         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
75235         to have entries in sys_siglist.
75237         [BZ #12093]
75238         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
75239         be NULL.
75241 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
75243         [BZ #3268]
75244         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
75245         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
75246         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
75247         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
75248         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
75249         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
75250         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
75251         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
75252         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
75253         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
75254         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
75255         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
75256         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
75257         * math/ftestexcept.c (fetestexcept): Likewise.
75258         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
75259         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
75260         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
75261         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
75262         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
75263         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
75264         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
75266 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
75268         [BZ #12107]
75269         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
75270         newline.
75272 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
75274         * string/bug-strstr1.c: New file.
75275         * string/Makefile: Add rules to build and run bug-strstr1.
75277 2010-10-05  Eric Blake  <eblake@redhat.com>
75279         [BZ #12092]
75280         * string/str-two-way.h (two_way_long_needle): Always clear memory
75281         when skipping input due to the shift table.
75283 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
75285         [BZ #12005]
75286         * malloc/mcheck.c: Handle large requests.
75288         [BZ #12077]
75289         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
75290         for strncmp and strncasecmp.
75291         * string/stratcliff.c: Add tests for strcmp and strncmp.
75292         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
75294 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
75296         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
75297         __set_fpscr.
75299 2010-09-30  Andreas Jaeger  <aj@suse.de>
75301         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
75302         (CGROUP_SUPER_MAGIC): Define.
75303         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
75304         Handle btrfs and cgroup file systems.
75305         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
75306         Likewise.
75308 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
75310         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
75311         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
75313 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75315         [BZ #12067]
75316         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
75317         trying to locate the ELF header.
75319 2010-09-27  Andreas Schwab  <schwab@redhat.com>
75321         [BZ #11611]
75322         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
75323         Mask out sign-bit copies when constructing f_fsid.
75325 2010-09-24  Petr Baudis <pasky@suse.cz>
75327         * debug/stack_chk_fail_local.c: Add missing licence exception.
75328         * debug/warning-nop.c: Likewise.
75330 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
75332         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
75333         implementing getdents64 using getdents syscall, set d_type if
75334         __ASSUME_GETDENTS32_D_TYPE.
75336 2010-09-16  Andreas Schwab  <schwab@redhat.com>
75338         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
75339         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
75341 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
75343         [BZ #12037]
75344         * posix/unistd.h: Undo change of feature selection for ftruncate from
75345         2010-01-11.
75347 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
75349         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
75350         detection.
75352 2010-09-20  Andreas Schwab  <schwab@redhat.com>
75354         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
75355         fanotify_mark.
75356         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
75358 2010-09-14  Andreas Schwab  <schwab@redhat.com>
75360         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
75361         variables after CHECK_SP call.
75362         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
75364 2010-09-13  Andreas Schwab  <schwab@redhat.com>
75365             Ulrich Drepper  <drepper@redhat.com>
75367         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
75368         re-relocationg ld.so.
75369         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
75370         _dl_init_paths call.
75371         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
75372         here anymore.
75374 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
75376         * resolv/res_init.c (__res_vinit): Count the default server we added.
75378 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
75379             Ulrich Drepper  <drepper@redhat.com>
75381         [BZ #11968]
75382         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
75383         (____longjmp_chk): Use %ebx for saving value across system call.
75384         Add unwind info.
75386 2010-09-06  Andreas Schwab  <schwab@redhat.com>
75388         * manual/Makefile: Don't mix pattern rules with normal rules.
75390 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
75392         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
75393         operation.
75394         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
75395         * libio/iofopncook.c (_IO_cookie_init): Likewise.
75396         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
75397         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
75398         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
75399         Likewise.
75401 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
75403         [BZ #11979]
75404         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
75405         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
75407 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
75409         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
75410         * sysdeps/x86_64/addmul_1.S: Likewise.
75411         * sysdeps/x86_64/lshift.S: Likewise.
75412         * sysdeps/x86_64/mul_1.S: Likewise.
75413         * sysdeps/x86_64/rshift.S: Likewise.
75414         * sysdeps/x86_64/sub_n.S: Likewise.
75415         * sysdeps/x86_64/submul_1.S: Likewise.
75417 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75419         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
75420         Define __sched_param instead of SCHED_* and sched_param when
75421         <bits/sched.h> is included with __need_schedparam defined.
75422         * bits/sched.h [__need_schedparam]
75423         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
75424         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
75425         (__defined_schedparam): Define to 1.
75426         (__sched_param): New structure, identical to sched_param.
75427         (__need_schedparam): Undefine.
75429 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
75431         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
75432         (epoll_create1): Declare.
75434         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
75436 2010-08-31  Andreas Schwab  <schwab@redhat.com>
75438         [BZ #7066]
75439         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
75440         shifting retval into place.
75442 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
75444         * nis/rpcsvc/nis.h: Update copyright notice.
75445         * nis/rpcsvc/nis.x: Likewise.
75446         * nis/rpcsvc/nis_callback.h: Likewise.
75447         * nis/rpcsvc/nis_callback.x: Likewise.
75448         * nis/rpcsvc/nis_object.x: Likewise.
75449         * nis/rpcsvc/nis_tags.h: Likewise.
75450         * nis/rpcsvc/yp.h: Likewise.
75451         * nis/rpcsvc/yp.x: Likewise.
75452         * nis/rpcsvc/ypupd.h: Likewise.
75453         * nis/yp_xdr.c: Likewise.
75454         * nis/ypupdate_xdr.c: Likewise.
75456         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
75457         mainly the body of pmap_getport.  Add parameters to specify timeouts.
75458         (pmap_getport): Use __libc_rpc_getport.
75459         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
75460         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
75461         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
75463 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
75465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
75466         fanotify_mark.
75468 2010-08-27  Roland McGrath  <roland@redhat.com>
75470         * sysdeps/i386/i686/multiarch/Makefile
75471         (CFLAGS-varshift.c): New variable.
75473 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
75475         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
75476         * sysdeps/i386/i686/multiarch/varshift.c: New file.
75478         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
75480         * sysdeps/x86_64/strlen.S: Minimal code improvement.
75482 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
75484         * sysdeps/x86_64/strlen.S: Unroll the loop.
75485         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
75486         strlen-sse2 strlen-sse2-bsf.
75487         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
75488         __strlen_no_bsf if bit_Slow_BSF is set.
75489         (__strlen_sse42): Removed.
75490         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
75491         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
75493 2010-08-25  Roland McGrath  <roland@redhat.com>
75495         * sysdeps/x86_64/multiarch/varshift.S: File removed.
75496         * sysdeps/x86_64/multiarch/varshift.c: New file.
75497         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
75498         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
75499         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
75500         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
75502 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
75504         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
75505         strlen-sse2 strlen-sse2-bsf.
75506         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
75507         __strlen_sse2_bsf if bit_Slow_BSF is unset.
75508         (__strlen_sse2): Removed.
75509         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
75510         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
75511         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
75512         bit_Slow_BSF for Atom.
75513         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
75514         (index_Slow_BSF): Define.
75515         (HAS_SLOW_BSF): Define.
75517 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
75519         [BZ #10851]
75520         * resolv/res_init.c (__res_vinit): When no server address at all
75521         is given default to loopback.
75523 2010-08-24  Roland McGrath  <roland@redhat.com>
75525         * configure.in: Remove config-name.h generation.
75526         * configure: Regenerated.
75527         * config-name.in: File removed.
75528         * scripts/config-uname.sh: New file.
75529         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
75530         ($(objdir)config-name.h): New target.
75532         * sunrpc/rpc_parse.h: Avoid nested comment.
75534 2010-08-24  Richard Henderson  <rth@redhat.com>
75535             Ulrich Drepper  <drepper@redhat.com>
75536             H.J. Lu  <hongjiu.lu@intel.com>
75538         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
75539         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
75540         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
75541         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
75542         _mm_alignr_epi8 with _mm_loadu_si128.
75543         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
75544         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
75545         (__m128i_shift_right): Removed.
75546         * sysdeps/i386/i686/multiarch/varshift.h: New file.
75547         * sysdeps/i386/i686/multiarch/varshift.S: New file.
75548         * sysdeps/x86_64/multiarch/varshift.h: New file.
75549         * sysdeps/x86_64/multiarch/varshift.S: New file.
75551 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
75553         * configure.in: Move assembler checks to before sysdep dir checking.
75555 2010-08-20  Petr Baudis  <pasky@suse.cz>
75557         * LICENSES: Sync the sunrpc license.
75559 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
75561         * sunrpc/auth_des.c: Update copyright notice once again.
75562         * sunrpc/auth_none.c: Likewise.
75563         * sunrpc/auth_unix.c: Likewise.
75564         * sunrpc/authdes_prot.c: Likewise.
75565         * sunrpc/authuxprot.c: Likewise.
75566         * sunrpc/bindrsvprt.c: Likewise.
75567         * sunrpc/clnt_gen.c: Likewise.
75568         * sunrpc/clnt_perr.c: Likewise.
75569         * sunrpc/clnt_raw.c: Likewise.
75570         * sunrpc/clnt_simp.c: Likewise.
75571         * sunrpc/clnt_tcp.c: Likewise.
75572         * sunrpc/clnt_udp.c: Likewise.
75573         * sunrpc/clnt_unix.c: Likewise.
75574         * sunrpc/des_crypt.c: Likewise.
75575         * sunrpc/des_soft.c: Likewise.
75576         * sunrpc/get_myaddr.c: Likewise.
75577         * sunrpc/getrpcport.c: Likewise.
75578         * sunrpc/key_call.c: Likewise.
75579         * sunrpc/key_prot.c: Likewise.
75580         * sunrpc/openchild.c: Likewise.
75581         * sunrpc/pm_getmaps.c: Likewise.
75582         * sunrpc/pm_getport.c: Likewise.
75583         * sunrpc/pmap_clnt.c: Likewise.
75584         * sunrpc/pmap_prot.c: Likewise.
75585         * sunrpc/pmap_prot2.c: Likewise.
75586         * sunrpc/pmap_rmt.c: Likewise.
75587         * sunrpc/rpc/auth.h: Likewise.
75588         * sunrpc/rpc/auth_unix.h: Likewise.
75589         * sunrpc/rpc/clnt.h: Likewise.
75590         * sunrpc/rpc/des_crypt.h: Likewise.
75591         * sunrpc/rpc/key_prot.h: Likewise.
75592         * sunrpc/rpc/netdb.h: Likewise.
75593         * sunrpc/rpc/pmap_clnt.h: Likewise.
75594         * sunrpc/rpc/pmap_prot.h: Likewise.
75595         * sunrpc/rpc/pmap_rmt.h: Likewise.
75596         * sunrpc/rpc/rpc.h: Likewise.
75597         * sunrpc/rpc/rpc_des.h: Likewise.
75598         * sunrpc/rpc/rpc_msg.h: Likewise.
75599         * sunrpc/rpc/svc.h: Likewise.
75600         * sunrpc/rpc/svc_auth.h: Likewise.
75601         * sunrpc/rpc/types.h: Likewise.
75602         * sunrpc/rpc/xdr.h: Likewise.
75603         * sunrpc/rpc_clntout.c: Likewise.
75604         * sunrpc/rpc_cmsg.c: Likewise.
75605         * sunrpc/rpc_common.c: Likewise.
75606         * sunrpc/rpc_cout.c: Likewise.
75607         * sunrpc/rpc_dtable.c: Likewise.
75608         * sunrpc/rpc_hout.c: Likewise.
75609         * sunrpc/rpc_main.c: Likewise.
75610         * sunrpc/rpc_parse.c: Likewise.
75611         * sunrpc/rpc_parse.h: Likewise.
75612         * sunrpc/rpc_prot.c: Likewise.
75613         * sunrpc/rpc_sample.c: Likewise.
75614         * sunrpc/rpc_scan.c: Likewise.
75615         * sunrpc/rpc_scan.h: Likewise.
75616         * sunrpc/rpc_svcout.c: Likewise.
75617         * sunrpc/rpc_tblout.c: Likewise.
75618         * sunrpc/rpc_util.c: Likewise.
75619         * sunrpc/rpc_util.h: Likewise.
75620         * sunrpc/rpcinfo.c: Likewise.
75621         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
75622         * sunrpc/rpcsvc/key_prot.x: Likewise.
75623         * sunrpc/rpcsvc/klm_prot.x: Likewise.
75624         * sunrpc/rpcsvc/mount.x: Likewise.
75625         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
75626         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
75627         * sunrpc/rpcsvc/rex.x: Likewise.
75628         * sunrpc/rpcsvc/rstat.x: Likewise.
75629         * sunrpc/rpcsvc/rusers.x: Likewise.
75630         * sunrpc/rpcsvc/sm_inter.x: Likewise.
75631         * sunrpc/rpcsvc/spray.x: Likewise.
75632         * sunrpc/rpcsvc/yppasswd.x: Likewise.
75633         * sunrpc/rtime.c: Likewise.
75634         * sunrpc/svc.c: Likewise.
75635         * sunrpc/svc_auth.c: Likewise.
75636         * sunrpc/svc_authux.c: Likewise.
75637         * sunrpc/svc_raw.c: Likewise.
75638         * sunrpc/svc_run.c: Likewise.
75639         * sunrpc/svc_simple.c: Likewise.
75640         * sunrpc/svc_tcp.c: Likewise.
75641         * sunrpc/svc_udp.c: Likewise.
75642         * sunrpc/svc_unix.c: Likewise.
75643         * sunrpc/svcauth_des.c: Likewise.
75644         * sunrpc/xcrypt.c: Likewise.
75645         * sunrpc/xdr.c: Likewise.
75646         * sunrpc/xdr_array.c: Likewise.
75647         * sunrpc/xdr_float.c: Likewise.
75648         * sunrpc/xdr_mem.c: Likewise.
75649         * sunrpc/xdr_rec.c: Likewise.
75650         * sunrpc/xdr_ref.c: Likewise.
75651         * sunrpc/xdr_sizeof.c: Likewise.
75652         * sunrpc/xdr_stdio.c: Likewise.
75654         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
75655         handling.
75657 2010-08-19  Andreas Schwab  <schwab@redhat.com>
75659         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
75661 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
75663         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
75664         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
75665         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
75666         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
75667         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
75668         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
75669         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
75670         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
75671         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
75672         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
75673         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
75674         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
75675         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
75676         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
75678 2010-07-26  Anton Blanchard  <anton@samba.org>
75680         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
75681         * malloc/arena.c (heap_trim): Likewise.
75683 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
75685         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
75686         here.  Not...
75687         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
75688         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
75690 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
75692         * sysdeps/i386/elf/Makefile: New file.
75694 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
75696         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
75697         from fanotify_init.
75698         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
75699         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
75701 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
75703         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
75704         of strncasecmp_l.
75705         * sysdeps/multiarch/strcmp.S: Likewise.
75707 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
75709         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
75710         strncase_l-nonascii.
75711         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
75712         Add strncase_l-ssse3.
75713         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
75714         * sysdeps/x86_64/strcmp.S: Likewise.
75715         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
75716         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
75717         * sysdeps/x86_64/strncase.S: New file.
75718         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
75719         * sysdeps/x86_64/strncase_l.S: New file.
75720         * string/Makefile (strop-tests): Add strncasecmp.
75721         * string/test-strncasecmp.c: New file.
75723         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
75724         warning.
75726         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
75727         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
75729 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
75731         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
75733 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
75735         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
75736         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
75737         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
75739 2010-05-01  Alan Modra  <amodra@gmail.com>
75741         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
75742         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
75743         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
75744         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
75745         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
75746         tidying.  Don't tail-call __sigjmp_save for static lib.
75747         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
75748         save location.
75749         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
75750         (CALL_MCOUNT): Add eh info, and nop after bl.
75751         (TAIL_CALL_SYSCALL_ERROR): New macro.
75752         (PSEUDO_RET): Use it.
75753         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
75754         Correct save location of integer regs and cr.
75755         (_dl_profile_resolve): Correct cr save location.  Delete nops
75756         after bl when SHARED.  Reduce cfi size a little by better
75757         placement of cfi directives.
75758         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
75759         make a stack frame.  Instead use parm save area as a temp.
75760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
75761         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
75762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
75763         Don't make a stack frame for parent, use parm save area.
75764         Increase child stack frame to 112 bytes.  Don't save unused reg,
75765         and adjust reg usage.  Set up cfi on error recovery and
75766         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
75767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
75768         (__makecontext): Add dummy nop after jump to exit.
75769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
75770         Use correct parm save area and cr save, reduce stack frame.
75771         Correct cfi for possible PSEUDO_RET frame setup.
75772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
75773         Branch to local label emitted by PSEUDO_RET rather than
75774         __syscall_error.
75776 2010-08-12  Andreas Schwab  <schwab@redhat.com>
75778         [BZ #11904]
75779         * locale/programs/locale.c (print_assignment): New function.
75780         (show_locale_vars): Use it.
75782 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
75784         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
75785         field.
75786         (struct statfs64): Likewise.
75787         (_STATFS_F_FLAGS): Define.
75788         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
75789         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
75790         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
75791         (ST_VALID): Define locally.
75792         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
75793         __statvfs_getflags, use the provided value.
75794         * sysdeps/unix/sysv/linux/kernel-features.h: Define
75795         __ASSUME_STATFS_F_FLAGS.
75797         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
75799         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
75800         Add sys/fanotify.h.
75801         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
75802         fanotify_mask for GLIBC_2.13.
75803         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
75804         fanotify_init and fanotify_mark.
75805         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
75806         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
75808         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
75809         Add prlimit.
75810         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
75811         prlimit64 for GLIBC_2.13.
75812         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
75813         prlimit64.
75814         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
75815         syscall.
75816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
75817         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
75818         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
75819         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
75820         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
75821         add prlimit alias.
75822         * sysdeps/unix/sysv/linux/prlimit.c: New file.
75824         [BZ #11903]
75825         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
75826         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
75828         * nss/Makefile: Add rules to build and run tst-nss-test1.
75829         * shlib-versions: Add entry for libnss_test1.
75830         * nss/nss_test1.c: New file.
75831         * nss/tst-nss-test1.c: New file.
75833         * nss/nsswitch.c (__nss_database_custom): Define new variable.
75834         (__nss_configure_lookup): Set appropriate entry in
75835         __nss_configure_lookup to true.
75836         * nss/nsswitch.h: Define enum with indeces of databases in
75837         databases and __nss_database_custom arrays.  Declare
75838         __nss_database_custom.
75839         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
75840         to avoid using nscd when custom rules are installed.
75841         * nss/getXXbyYY_r.c: Likewise.
75842         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
75844         * nss/nss_files/files-parse.c: Whitespace fixes.
75846 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
75848         [BZ #11883]
75849         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
75850         * posix/fnmatch_loop.c: Likewise.
75852 2010-07-17  Andi Kleen  <ak@linux.intel.com>
75854         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
75855         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
75856         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
75857         * Versions.def [GLIBC_2.13]: Add.
75859 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
75861         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
75862         Also fail if tpwd after pwuid call is NULL.
75864 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75866         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
75867         when converting to ms.
75869 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75871         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
75872         EOPNOTSUPP errors with ENOTTY.
75873         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
75874         EOPNOTSUPP errors with ENOTTY.
75876 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
75878         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
75879         Add strcasecmp_l-ssse3.
75880         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
75881         strcasecmp.
75882         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
75883         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
75884         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
75886 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
75888         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
75890         * string/Makefile (strop-tests): Add strcasecmp.
75891         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
75892         strcasecmp_l-nonascii.
75893         (gen-as-const-headers): Add locale-defines.sym.
75894         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
75895         * sysdeps/x86_64/strcasecmp.S: New file.
75896         * sysdeps/x86_64/strcasecmp_l.S: New file.
75897         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
75898         * sysdeps/x86_64/locale-defines.sym: New file.
75899         * string/test-strcasecmp.c: New file.
75901         * string/test-strcasestr.c: Test both ends of the range of characters.
75902         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
75904 2010-07-29  Roland McGrath  <roland@redhat.com>
75906         [BZ #11856]
75907         * manual/locale.texi (Yes-or-No Questions): Fix example code.
75909 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
75911         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
75912         for ld.so.
75914 2010-07-27  Andreas Schwab  <schwab@redhat.com>
75916         * manual/memory.texi (Malloc Tunable Parameters): Document
75917         M_PERTURB.
75919 2010-07-26  Roland McGrath  <roland@redhat.com>
75921         [BZ #11840]
75922         * configure.in (-fgnu89-inline check): Set and substitute
75923         gnu89_inline, not libc_cv_gnu89_inline.
75924         * configure: Regenerated.
75925         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
75927 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
75929         * string/test-strnlen.c: New file.
75930         * string/Makefile (strop-tests): Add strnlen.
75931         * string/tester.c (test_strnlen): Add a few more test cases.
75932         * string/tst-strlen.c: Better error reporting.
75934         * sysdeps/x86_64/strnlen.S: New file.
75936 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
75938         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
75939         lower-latency instructions.
75941 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
75943         * string/test-strcasestr.c: New file.
75944         * string/test-strstr.c: New file.
75945         * string/Makefile (strop-tests): Add strstr and strcasestr.
75946         * string/str-two-way.h: Don't undefine MAX.
75947         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
75949 2010-07-21  Andreas Schwab  <schwab@redhat.com>
75951         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
75952         strcasestr-nonascii.
75953         (CFLAGS-strcasestr-nonascii.c): Define.
75954         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
75955         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
75956         Remove unused attribute.
75958 2010-07-20  Roland McGrath  <roland@redhat.com>
75960         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
75961         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
75962         ld.so.cache was broken.  With it, there is no way to disable dsocaps
75963         like LD_HWCAP_MASK can disable hwcaps.
75965 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
75967         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
75969 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
75971         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
75972         call in strcasestr.
75973         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
75974         __strcasestr_sse42_nonascii.
75975         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
75976         strcasestr-nonascii.c.
75977         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
75979 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
75981         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
75982         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
75983         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
75984         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
75986 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
75988         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
75989         fcntl.
75991 2010-07-06  Andreas Schwab  <schwab@redhat.com>
75993         [BZ #11577]
75994         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
75995         dl_signal_cerror.
75997 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
75999         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
76000         _PC_PIPE_BUF using F_GETPIPE_SZ.
76002 2010-07-05  Roland McGrath  <roland@redhat.com>
76004         * manual/arith.texi (Rounding Functions): Fix rint description
76005         implicit in round description.
76007 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
76009         * elf/Makefile: Fix linking for a few tests to make recent linker
76010         happy.
76012 2010-06-30  Andreas Schwab  <schwab@redhat.com>
76014         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
76015         $(common-objpfx)libc_nonshared.a.
76017 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
76019         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
76020         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
76021         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
76022         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
76023         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
76024         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
76025         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
76026         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
76027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
76028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
76029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
76030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
76031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
76032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
76033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
76034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
76035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
76036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
76037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
76038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
76039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
76040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
76041         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
76042         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
76043         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
76044         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
76045         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
76046         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
76047         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
76048         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
76049         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
76050         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
76051         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
76052         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
76053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
76054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
76055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
76056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
76057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
76058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
76059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
76060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
76061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
76062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
76063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
76064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
76065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
76066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
76068 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
76070         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
76071         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
76072         * string/memmove.c (memmove): Renamed to ...
76073         (MEMMOVE): ...this.  Default to memmove.
76074         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
76075         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
76076         (END_CHK): Define.
76077         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76078         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
76079         mempcpy-ssse3-back memmove-ssse3-back.
76080         * sysdeps/x86_64/multiarch/bcopy.S: New file .
76081         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
76082         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
76083         * sysdeps/x86_64/multiarch/memcpy.S: New file.
76084         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
76085         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
76086         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
76087         * sysdeps/x86_64/multiarch/memmove.c: New file.
76088         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
76089         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
76090         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
76091         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
76092         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
76093         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
76094         Define.
76095         (index_Fast_Copy_Backward): Define.
76096         (HAS_ARCH_FEATURE): Define.
76097         (HAS_FAST_REP_STRING): Define.
76098         (HAS_FAST_COPY_BACKWARD): Define.
76100 2010-06-21  Andreas Schwab  <schwab@redhat.com>
76102         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
76103         Restore proper fallback handling.
76105 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
76107         [BZ #11701]
76108         * posix/group_member.c (__group_member): Correct checking loop.
76110         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
76111         OOM in getpwuid_r correctly.  Return error number when the caller
76112         should return, otherwise -1.
76113         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
76114         call returning > 0 value.
76115         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
76117 2010-06-07  Andreas Schwab  <schwab@redhat.com>
76119         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
76120         libc_nonshared.a from targets in modules-names.
76122 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
76124         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
76125         requires it.
76127 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
76129         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
76130         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
76131         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
76132         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
76134 2010-06-02  Andreas Schwab  <schwab@redhat.com>
76136         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
76138 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
76140         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
76141         and F_GETPIPE_SZ.
76142         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
76143         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
76144         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
76145         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
76146         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
76147         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
76149 2010-06-14  Roland McGrath  <roland@redhat.com>
76151         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
76153 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
76155         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
76156         __REDIRECT followed by __THROW.
76157         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
76158         * posix/getopt.h (getopt): Likewise.
76160 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
76162         * hurd/lookup-at.c (__file_name_lookup_at): Accept
76163         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
76164         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
76165         in AT_FLAGS.
76166         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
76167         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
76169 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
76171         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
76173 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
76175         [BZ #11640]
76176         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76177         Properly check family and model.
76179 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
76181         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
76183 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
76185         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
76187 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
76189         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
76190         symbol reference.
76192 2010-05-19  Andreas Schwab  <schwab@redhat.com>
76194         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
76195         symbol reference.
76197 2010-05-21  Andreas Schwab  <schwab@redhat.com>
76199         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
76200         and internal_recvmmsg.
76201         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
76202         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
76203         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
76204         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
76206         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
76207         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
76208         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
76210 2010-05-20  Andreas Schwab  <schwab@redhat.com>
76212         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
76214 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
76216         POWER7 optimizations.
76217         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
76218         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
76220 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
76222         * version.h: Update for 2.13 development version.
76224 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
76226         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
76227         exceptions.  Return 0.
76229 2010-05-07  Roland McGrath  <roland@redhat.com>
76231         * elf/ldconfig.c (main): Add a const.
76233 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
76235         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
76236         (args_options): Add no-idn option.
76237         (ahosts_keys_int): Add idn_flags to ai_flags.
76238         (parse_option): Handle 'i' option to clear idn_flags.
76240         * malloc/malloc.c (_int_free): Possible race in the most recently
76241         added check.  Only act on the data if no current modification
76242         happened.
76244 See ChangeLog.17 for earlier changes.